:root {
    --primary-red: #ff3333;
    --dark-red: #660000;
    --bg-black: #050505;
    --text-white: #ffffff;
    --text-gray: #888888;
    --accent-glow: rgba(255, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.glow-sphere {
    position: fixed;
    width: 80vw;
    height: 80vw;
    max-width: 1000px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.container {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 2rem;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
}

.logo-container {
    padding-top: 3rem;
}

.logo {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0.8;
}

.logo span {
    color: var(--primary-red);
}

.content {
    padding: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 51, 51, 0.08);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 100px;
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -4px;
}

.highlight {
    background: linear-gradient(to bottom, #fff 40%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.hero-desc {
    color: var(--text-gray);
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto 4rem auto;
    line-height: 1.5;
    font-weight: 400;
}

.status-box {
    margin-bottom: 4rem;
    height: 24px;
}

#status-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
}

.discord {
    background: var(--primary-red);
    border: none;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.studio-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tobias-btn {
    background: rgba(255, 255, 255, 0.05);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: white;
    color: black;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

footer {
    padding-bottom: 3rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #444;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-red);
}

.copyright {
    color: #222;
    font-size: 0.7rem;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
}

.modal-content, .game-container {
    position: relative;
    background: transparent;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    color: white;
    overflow-y: auto;
    padding: 2rem;
}

.game-container {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 40px;
    text-align: center;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    aspect-ratio: 1;
}

.hole {
    background: #111;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid #222;
}

.tobias {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ff3333;
    bottom: -100%;
    transition: bottom 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    cursor: crosshair;
    border-radius: 50%;
}

.tobias.up {
    bottom: 0;
}

.close {
    font-size: 3rem;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.modal-body {
    color: #777;
    line-height: 1.8;
}

@media (max-width: 768px) {
    h2 { font-size: 3.5rem; letter-spacing: -2px; }
    .social-links { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .footer-nav { gap: 1.5rem; }
}
