* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --orange: #FF6B35;
    --red: #DC143C;
    --dark-red: #8B0000;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --text-white: #FFFFFF;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden; /* Mantém escondido só na lateral */
    overflow-y: auto;   /* Permite rolar para baixo se precisar */
    color: var(--text-white);
    background: var(--black);
    min-height: 100vh;  /* Altura MÍNIMA é a tela toda */
    width: 100vw;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    overflow: hidden;
}

/* Sparks Container */
.sparks-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Individual Spark */
.spark {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #FFD700 0%, #FF6B35 50%, #DC143C 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FF6B35,
        0 0 30px #DC143C;
    opacity: 0.8;
    animation: sparkRise linear infinite;
}

/* Spark Animation - Rise Up */
@keyframes sparkRise {
    0% {
        transform: translateY(0) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) translateX(var(--spark-drift)) scale(1.2);
        opacity: 0;
    }
}

/* Random positions and timings for each spark */
.spark:nth-child(1) {
    left: 5%;
    animation-duration: 8s;
    animation-delay: 0s;
    --spark-drift: -20px;
}

.spark:nth-child(2) {
    left: 15%;
    animation-duration: 7s;
    animation-delay: 0.5s;
    --spark-drift: 30px;
}

.spark:nth-child(3) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 1s;
    --spark-drift: -15px;
}

.spark:nth-child(4) {
    left: 35%;
    animation-duration: 8.5s;
    animation-delay: 0.3s;
    --spark-drift: 25px;
}

.spark:nth-child(5) {
    left: 45%;
    animation-duration: 7.5s;
    animation-delay: 1.2s;
    --spark-drift: -30px;
}

.spark:nth-child(6) {
    left: 55%;
    animation-duration: 8.8s;
    animation-delay: 0.7s;
    --spark-drift: 20px;
}

.spark:nth-child(7) {
    left: 65%;
    animation-duration: 9.2s;
    animation-delay: 0.2s;
    --spark-drift: -25px;
}

.spark:nth-child(8) {
    left: 75%;
    animation-duration: 7.8s;
    animation-delay: 1.5s;
    --spark-drift: 15px;
}

.spark:nth-child(9) {
    left: 85%;
    animation-duration: 8.3s;
    animation-delay: 0.8s;
    --spark-drift: -35px;
}

.spark:nth-child(10) {
    left: 10%;
    animation-duration: 9.5s;
    animation-delay: 0.4s;
    --spark-drift: 28px;
}

.spark:nth-child(11) {
    left: 20%;
    animation-duration: 7.2s;
    animation-delay: 1.1s;
    --spark-drift: -22px;
}

.spark:nth-child(12) {
    left: 30%;
    animation-duration: 8.6s;
    animation-delay: 0.6s;
    --spark-drift: 32px;
}

.spark:nth-child(13) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: 1.3s;
    --spark-drift: -18px;
}

.spark:nth-child(14) {
    left: 50%;
    animation-duration: 7.7s;
    animation-delay: 0.9s;
    --spark-drift: 24px;
}

.spark:nth-child(15) {
    left: 60%;
    animation-duration: 8.4s;
    animation-delay: 0.1s;
    --spark-drift: -28px;
}

.spark:nth-child(16) {
    left: 70%;
    animation-duration: 9.3s;
    animation-delay: 1.4s;
    --spark-drift: 19px;
}

.spark:nth-child(17) {
    left: 80%;
    animation-duration: 7.9s;
    animation-delay: 0.5s;
    --spark-drift: -26px;
}

.spark:nth-child(18) {
    left: 90%;
    animation-duration: 8.7s;
    animation-delay: 1s;
    --spark-drift: 31px;
}

.spark:nth-child(19) {
    left: 95%;
    animation-duration: 9.1s;
    animation-delay: 0.7s;
    --spark-drift: -21px;
}

.spark:nth-child(20) {
    left: 12%;
    animation-duration: 8.2s;
    animation-delay: 1.6s;
    --spark-drift: 27px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
    border: 2px solid transparent;
    background-clip: padding-box;
    color: var(--gold);
    padding: 10px 18px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.lang-btn:hover::before {
    left: 100%;
}

.lang-btn:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 107, 53, 0.4);
    border-color: transparent;
}

.lang-btn.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--black);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 107, 53, 0.5);
    border-color: transparent;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 15px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.5));
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8));
    }
}

/* Main Title */
.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 107, 53, 0.6),
        0 0 30px rgba(220, 20, 60, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    letter-spacing: 2px;
}

/* Subtitle */
.subtitle {
    font-size: 1rem;
    color: var(--orange);
    text-shadow: 
        0 0 10px rgba(255, 107, 53, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    font-weight: bold;
    text-transform: uppercase;
}

/* Countdown Section */
.countdown-section {
    margin: 15px 0;
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-box {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(26, 26, 26, 0.9));
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 12px 18px;
    min-width: 75px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        inset 0 0 15px rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.2);
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 107, 53, 0.4);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-label-small {
    font-size: 0.6rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    font-weight: bold;
}

/* Launch Date */
.launch-date {
    font-size: 0.85rem;
    color: var(--text-white);
    margin: 12px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

/* Server Info */
.server-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 12px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.info-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(26, 26, 26, 0.9));
    border: 2px solid var(--orange);
    border-radius: 10px;
    padding: 12px 20px;
    min-width: 110px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 15px rgba(255, 107, 53, 0.3),
        inset 0 0 15px rgba(255, 107, 53, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.5),
        inset 0 0 20px rgba(255, 107, 53, 0.2);
    border-color: var(--red);
}

.info-label {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: bold;
}

.info-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 107, 53, 0.3);
}

/* Enter Button */
.enter-button {
    display: inline-block;
    padding: 18px 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35, #FFD700);
    background-size: 200% 200%;
    border: 3px solid #FFD700;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    border-radius: 12px;
    margin: 25px 0 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 107, 53, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease-out 1.7s backwards, buttonGlow 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes buttonGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 107, 53, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 1),
            0 0 80px rgba(255, 107, 53, 0.8),
            0 0 100px rgba(220, 20, 60, 0.4),
            0 8px 25px rgba(0, 0, 0, 0.5);
    }
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:hover {
    background: linear-gradient(135deg, #FFED4E, #FFB84D, #FF8C42, #FFED4E);
    background-size: 200% 200%;
    border-color: #FFED4E;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 1),
        0 0 100px rgba(255, 107, 53, 0.9),
        0 0 120px rgba(220, 20, 60, 0.6),
        0 12px 35px rgba(0, 0, 0, 0.6);
}

.enter-button:active {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.9),
        0 0 80px rgba(255, 107, 53, 0.7),
        0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    animation: fadeInUp 1s ease-out 1.8s backwards;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35);
    color: var(--black);
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 107, 53, 0.5);
    border-color: transparent;
}

.social-icon:hover svg {
    transform: rotate(360deg) scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 220px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .countdown-box {
        padding: 10px 14px;
        min-width: 65px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .info-card {
        padding: 10px 16px;
        min-width: 95px;
    }

    .info-value {
        font-size: 1rem;
    }

    .info-label {
        font-size: 0.55rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .enter-button {
        padding: 14px 45px;
        font-size: 1.2rem;
        letter-spacing: 3px;
        margin: 20px 0 15px 0;
    }

    .language-selector {
        top: 10px;
        right: 10px;
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-height: 800px) {
    .logo {
        max-width: 200px; /* Logo menor */
        margin-bottom: 5px;
    }

    .main-title {
        font-size: 1.8rem; /* Título menor */
        margin-bottom: 5px;
    }

    .subtitle {
        margin-bottom: 10px;
    }

    .countdown-section {
        margin: 5px 0;
    }

    .countdown-box {
        padding: 5px 12px;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .enter-button {
        padding: 12px 40px; /* Botão mais fino */
        font-size: 1.1rem;
        margin: 15px 0;
    }

    .server-info {
        margin: 8px 0;
    }
    
    .info-card {
        padding: 8px 15px;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .info-label {
        font-size: 0.5rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .enter-button {
        padding: 12px 35px;
        font-size: 1rem;
        letter-spacing: 2px;
        margin: 15px 0 12px 0;
    }
}

.countdown-container {
    display: flex; gap: 15px; margin-bottom: 40px;
}
.time-box {
    border: 1px solid var(--gold); border-radius: 8px;
    padding: 10px 15px; min-width: 80px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}
.time-val {
    display: block; font-size: 2rem; font-weight: 800; color: var(--gold);
    font-family: 'Cinzel', serif;
}
.time-label {
    font-size: 0.7rem; color: #fff; text-transform: uppercase; letter-spacing: 1px;
}

/* --- STATS GRID --- */
.stats-grid {
    display: flex; gap: 20px; margin-bottom: 40px;
}
.stat-card {
    border: 1px solid var(--fire); border-radius: 20px;
    padding: 10px 25px; background: rgba(0,0,0,0.7);
    display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}
.stat-label {
    font-size: 0.6rem; color: #ff884d; text-transform: uppercase; margin-bottom: 5px;
}
.stat-value {
    font-size: 1.2rem; font-weight: 700; color: #fff;
}