/* click to enter */

#enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: none;
    z-index: 9999;
    text-align: center;
    transition: opacity 1s ease, font-family 0.5s ease;
    opacity: 1;
}

#enter-overlay.fade-out {
    opacity: 0;
}

.font-0 { font-family: 'Rubik Glitch', sans-serif; }
.font-1 { font-family: 'Monoton', cursive; }
.font-2 { font-family: 'Press Start 2P', cursive; }
.font-3 { font-family: 'Henny Penny', cursive; }
.font-4 { font-family: 'Special Elite', cursive; }
.font-5 { font-family: 'Orbitron', sans-serif; }
.font-6 { font-family: 'Fredericka the Great', cursive; }
.font-7 { font-family: 'Mountains of Christmas', cursive; }
.font-8 { font-family: 'Eater', cursive; }
.font-9 { font-family: 'Gochi Hand', cursive; }
.font-10 { font-family: 'Black Ops One', cursive; }
.font-11 { font-family: 'Nosifer', cursive; }
.font-12 { font-family: 'Bungee Inline', cursive; }
.font-13 { font-family: 'Stalinist One', cursive; }
.font-14 { font-family: 'Vast Shadow', cursive; }
.font-15 { font-family: 'Rock Salt', cursive; }
.font-16 { font-family: 'Luckiest Guy', cursive; }
.font-17 { font-family: 'Ultra', serif; }
.font-18 { font-family: 'Megrim', cursive; }
.font-19 { font-family: 'Titan One', cursive; }
  
/* body */

body {
    min-height: 100vh;
    margin: 0;
    color: #fff;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
    transition: background 0.2s;
    cursor: none;
    background: #1a1a1a;
}

/* bg video */

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}
  
/* custom cursor */

#custom-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border: none;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), background 0.18s, opacity 0.1s;
    box-shadow: 0 0 8px 2px rgba(80,80,80,0.18);
    mix-blend-mode: normal;
    opacity: 1;
}

#custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
}

/* page wrapper */

.page-wrapper {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* center + project card */

.center, .project-card {
    background: rgba(20, 21, 26, 0.65);
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.28);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.3s, background 0.3s;
    padding: 2.5rem 5rem;
    margin-bottom: 3.5rem;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
}

.subtitle {
    color: #bfc7d5;
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 1.7rem;
    margin-top: -0.5rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.icon-link {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
    text-decoration: none;
    position: relative;
}

.icon-link:hover {
    color: #333;
}

.icon-link[aria-label="Discord"]:hover {
    color: #5865f2;
}

.icon-link[aria-label="Steam"]:hover {
    color: #1b2838;
}

.icon-link[aria-label="Roblox"]:hover {
    color: #ff0000;
}

/* project card */

.project-card {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 0;
    z-index: 1;
    font-size: 0.98rem;
    max-width: 600px;
}

.project-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

.project-card a.project-link {
    font-size: 0.98rem;
} 

a, button, .back-button {
    cursor: none;
}

.view-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfc7d5;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(0,0,0,0.18);
    margin-top: 1rem;
    margin-bottom: 1rem;
    user-select: none;
}

.view-counter i {
    font-size: 1.2rem;
}

#viewCount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
}

/* Blog styles */
.blog-index {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
}

.blog-index h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 64px 0 rgba(0,0,0,0.22);
}

.post-card h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #fff;
}

.post-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h2 a:hover {
    color: #bfc7d5;
}

.post-card .excerpt {
    color: #8b95a5;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfc7d5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .blog-index {
        padding: 1rem;
        margin: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}