        :root {
            --primary-color: #2563eb;
            --primary-hover: #1d4ed8;
            --accent-color: #eab308;
            --dark-bg: #0f172a;
            --darker-bg: #070b14;
            --card-bg: rgba(30, 41, 59, 0.7);
            --nav-bg: rgba(15, 23, 42, 0.85);
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.6;
        }

 /* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-login {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.nav-sound-toggle {
    background: transparent;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
}

.nav-sound-toggle:hover {
    color: var(--accent-color);
}

.nav-sound-toggle.muted {
    color: var(--accent-color);
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .nav-login {
        order: 2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .nav-sound-toggle {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Animation for mobile menu */
@media (max-width: 1024px) {
    .nav-links {
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden; /* Ensures video doesn't overflow */
    background: none; /* Remove image background */
}

/* Video background styling */
.hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100%;
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    background: #000;
}

/* Optional: overlay for readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.45));
    z-index: 2;
    pointer-events: none;
}

/* Hero content above video and overlay */
.hero-content {
    max-width: 1300px;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-slogan {
    font-size: 1.2rem;
    color: #fff; /* white text */
    margin-bottom: 2rem;
    /* Shining effect: multiple white glows + a subtle highlight */
    text-shadow:
        0 2px 4px rgba(0,0,0,0.5),      /* original shadow for depth */
        0 0 10px #fff,                   /* white glow */
        0 0 20px #fff,                   /* stronger white glow */
        0 0 40px #fff,                   /* even stronger white glow */
        0 1px 0 rgba(255,255,255,0.7);   /* subtle top highlight */
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .hero-bg-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        /* Sometimes adding max-width/max-height helps on small screens */
        max-width: 100vw;
        max-height: 100vh;
    }
    .hero h1 {
        font-size: 2rem;         /* smaller headline */
        margin-top: 2.5rem;      /* push down from nav, adjust as needed */
        margin-bottom: 0.5rem;
        text-shadow: 0 1px 2px rgba(0,0,0,0.28); /* softer shadow */
    }
    .hero-slogan {
        font-size: 0.95rem;      /* smaller slogan */
        margin-bottom: 1rem;
        text-shadow:
            0 1px 2px rgba(0,0,0,0.25),
            0 0 8px #fff,
            0 0 16px #fff,
            0 1px 0 rgba(255,255,255,0.5);
        font-weight: 500;
        letter-spacing: 0.3px;
    }
}


.floating-logo-container {
    padding: 60px 0;
    margin: 1rem 0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-logo {
    width: 800px;
    height: 800px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5))
           drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0px); }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.button {
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-secondary {
    background: var(--accent-color);
    color: var(--darker-bg);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive Design */

@media (max-width: 1400px) {
    .floating-logo {
        width: 600px;
        height: 600px;
    }

    .hero-content {
        max-width: 1100px;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .floating-logo {
        width: 500px;
        height: 500px;
    }

    .floating-logo-container {
        height: 300px;
        padding: 40px 0;
    }

    .hero-content {
        max-width: 900px;
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .floating-logo {
        width: 400px;
        height: 400px;
    }

    .floating-logo-container {
        height: 250px;
        padding: 30px 0;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero-content {
        padding: 1rem;
        gap: 1.25rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-logo {
        width: 300px;
        height: 300px;
    }

    .floating-logo-container {
        height: 200px;
        padding: 20px 0;
    }

    .hero {
        padding: 40px 10px;
    }

    .hero-content {
        padding: 0.75rem;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-slogan {
        font-size: 0.9rem;
    }
}

/* Portrait Mobile Devices */
@media (max-height: 700px) {
    .floating-logo-container {
        height: 180px;
        padding: 15px 0;
    }

    .floating-logo {
        width: 250px;
        height: 250px;
    }
}

/* Support for Ultra-wide Screens */
@media (min-width: 1921px) {
    .hero-content {
        max-width: 1300px;
    }

    .floating-logo {
        width: 800px;
        height: 800px;
    }
}

        /* Server Info Section */
.info-section {
    padding: 5rem 0;
    /* Reflected gradient: black at top, #070b14 at bottom, default bg in center */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0%,                    /* Strong black at the top */
        rgba(0,0,0,0.35) 20%,                  /* Fade out quickly */
        var(--background-color, #0f172a) 50%,  /* Default bg color at center */
        rgba(7,11,20,0.7) 95%,                 /* Fades in to bottom color */
        #070b14 100%                           /* Solid #070b14 at the bottom */
    );
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.info-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
}
.info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}
.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
    position: relative;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* Image background only, no video */
    background: linear-gradient(
        rgba(7, 11, 20, 0.92),
        rgba(7, 11, 20, 0.92)
    ),
    url('../../../p16-marketing-sg.bytedgame.com/obj/g-marketing-assets-sg/static/media/section2_bg.31aa5bb1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Remove video background container if present */
/* .footer-video-bg { display: none; } */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--accent-color);
    background: rgba(234, 179, 8, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-grid {
        gap: 1.5rem;
    }
    .social-links {
        justify-content: center;
    }
}
        
/* Server Features Section */
/* Server Features Section */
.server-features {
    position: relative;
    padding: 5rem 0;
    background: var(--darker-bg);
    overflow: hidden;
}

/* Video background container fills the section */
.server-features-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* YouTube iframe fills the section */
.server-features-video-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.5; /* Dim for readability */
    border: none;
    display: block;
}

/* Overlay for readability */
.server-features::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Gradients: top (#070a13) and bottom (#545a63) with transparency in between */
    background:
        linear-gradient(
            to bottom,
            #070a13 8%,
            rgba(7,10,19,0.7) 12%,
            rgba(7,10,19,0.0) 18%,
            rgba(84,90,99,0.0) 82%,
            rgba(84,90,99,0.7) 92%,
            #545a63 100%
        ),
        /* optional: base overlay for extra readability */
        linear-gradient(
            rgba(7, 11, 20, 0.6),
            rgba(7, 11, 20, 0.6)
        );
    z-index: 1;
    pointer-events: none;
}

/* Make sure section content is above video and overlay */
.server-features .container {
    position: relative;
    z-index: 2;
}

/* Section title styling */
.section-title {
    color: #007bff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Info Tables */
.info-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-table {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
}

.info-table h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.table-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.row-title {
    color: var(--text-secondary);
    font-weight: 500;
}

.row-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Features and Events Section */
.features-section, .events-section {
    margin-top: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive: fallback to solid background on mobile */
@media (max-width: 768px) {
    .info-tables {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .server-features-video-bg {
        display: none;
    }
    .server-features {
        background: var(--darker-bg);
    }
}

/* Updated Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(166px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.game-time-image {
    width: 166px;
    height: 193px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.price-text {
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 0;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.price-card:hover::before {
    left: 100%;
}/* Game Time Section Styles */
.game-time {
    padding: 5rem 0;
    background: linear-gradient(rgba(7, 11, 20, 0.65), rgba(7, 11, 20, 0.65)), url('images/game-bg.html');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
}

.game-time-content {
    max-width: 900px;
    margin: 0 auto;
}

.game-time-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1rem;
}

.game-time-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.intro-text {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-text p {
    margin-bottom: 1rem;
}

.game-time-section {
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.price-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.earning-list, .nostalgia-list {
    list-style: none;
    padding: 1rem 0;
}

.earning-list li, .nostalgia-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .game-time-image {
        width: 100%;
        height: auto;
        aspect-ratio: 166/193;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}



/* Updated Benefit Cards */
.benefit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.2s; }
.benefit-card:nth-child(2) { animation-delay: 0.4s; }
.benefit-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.benefit-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .game-time-title {
        font-size: 2rem;
    }

    .game-time-subtitle {
        font-size: 1.5rem;
    }

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

/* Updated Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.price-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(30, 41, 59, 0.9));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.price-card:hover::before {
    left: 100%;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 150px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top i {
    font-size: 14px;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }
}
.feature-buttons-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
    padding: 0 1rem;
    overflow: hidden;
}

.feature-buttons-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.feature-buttons-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.feature-buttons {
justify-content: center;
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    min-width: min-content;
    margin: 0 auto;
}

.feature-button {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
    position: relative;
}

.feature-button img {
    width: 365px;
    height: 94px;
    display: block;
}

.feature-button:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1920px) {
    .feature-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .feature-buttons-wrapper {
        padding: 0 0.5rem;
    }
    
    .feature-button img {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .feature-buttons-scroll {
        overflow-x: visible; /* No horizontal scroll needed */
        overflow-y: visible;
    }

    .feature-buttons {
        flex-direction: column;   /* Stack vertically */
        align-items: center;      /* Center buttons horizontally */
        gap: 1rem;
        padding: 0.5rem 0;
        min-width: 0;
        margin: 0 auto;
    }

    .feature-button img {
        width: 90vw;              /* Responsive width */
        max-width: 320px;         /* Prevents overly large images */
        height: auto;
    }
}

.sound-toggle {
    position: fixed;
    top: 20px;
    right: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.sound-toggle.muted {
    background: rgba(255, 0, 0, 0.3);
}

.sound-toggle.muted:hover {
    background: rgba(255, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .sound-toggle {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: var(--darker-bg);
    margin: 2rem auto;
    max-width: 800px;
    width: 90%;
    border-radius: 1rem;
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

.modal-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.modal-body {
    padding: 0 2rem 2rem;
    color: var(--text-primary);
}

.modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.step h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.step ul {
    list-style: none;
    padding-left: 1.5rem;
}

.step li {
    margin-bottom: 0.5rem;
    position: relative;
}

.step li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -1.5rem;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.price-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.tip {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

.community-note {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    text-align: center;
}

.additional-links {
    margin: 2rem 0;
}

.ready-note {
    text-align: center;
    margin-top: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.modal-btn {
    background: var(--accent-color);
    color: var(--darker-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes modalSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .modal-body {
        padding: 0 1rem 1rem;
    }

    .modal-body h2 {
        font-size: 2rem;
    }

    .modal-body h3 {
        font-size: 1.5rem;
    }

    .step {
        padding: 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
        text-align: center;
    }
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: var(--darker-bg);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 1.2rem;
}

.download-size {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

.registration-button {
    margin: 1.5rem 0;
}

.create-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: var(--darker-bg);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.create-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.create-account-btn i {
    font-size: 1.2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .registration-button {
        text-align: center;
    }

    .create-account-btn {
        width: 100%;
        justify-content: center;
    }
}

.game-time-info {
    margin-bottom: 1.5rem;
}



.free-time-badge i {
    font-size: 1.2rem;
}

.game-time-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.method-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.method-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.method-item span {
    font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .game-time-methods {
        grid-template-columns: 1fr;
    }

    .free-time-badge {
        width: 100%;
        justify-content: center;
    }
}

.button-secondary {
    position: relative; /* Add this to your existing button-secondary class */
}

/* Glowing Free Days Bubble */
.free-days-bubble {
    position: absolute;
    top: -20px;
    right: -40px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #e8e8e8, #ffffff); /* Pearl white gradient */
    color: #666; /* Darker text for better contrast on white */
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
    animation: bubble-glow 3s infinite ease-in-out;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: pulse 5s infinite;
}

/* Bubble glow animation with pearl effect */
@keyframes bubble-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                   0 0 20px rgba(255, 255, 255, 0.3),
                   inset 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
                   0 0 40px rgba(255, 255, 255, 0.4),
                   inset 0 0 10px rgba(255, 255, 255, 0.7);
    }
}

* Additional pearl shimmer effect */
.free-days-bubble::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        125deg,
        rgba(255,255,255, 0.3) 0%,
        rgba(255,255,255, 0.2) 40%,
        rgba(255,255,255, 0.6) 50%,
        rgba(255,255,255, 0.2) 60%,
        rgba(255,255,255, 0.3) 100%
    );
    border-radius: 15px;
    opacity: 0.6;
    z-index: 1;
    animation: pearl-shimmer 3s infinite ease-in-out;
}

@keyframes pearl-shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}


/* Add a subtle pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .free-days-bubble {
        font-size: 0.7rem;
        padding: 3px 6px;
        top: -10px;
        right: -10px;
    }
}

.community-note {
    text-align: center;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #5865F2;  /* Discord's brand color */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(88, 101, 242, 0.4);
}

.discord-button:hover {
    background: #4752C4;  /* Darker shade for hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.6);
}

.discord-button i {
    font-size: 1.2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .discord-button {
        width: 100%;
        justify-content: center;
    }
}

.gametime-warning {
    background: #2a323e;
    border: 1px solid #3a434f;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.gametime-warning h4 {
    color: #ffd457;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.ingame-notification {
    background: #444548;
    border: 1px solid #6a7688;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.notification-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}

.notification-image {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.faq-image {
    max-width: 300px;
    margin-top: 2rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Login Button Animation - Glowing Slick Blue */
/* Login Button Animation - Glowing Slick Blue & Centered Text */
.nav-login {
    position: relative;
    width: 190px; /* Set your desired width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* Center text vertically */
    text-align: center;        /* Center text horizontally */
    text-shadow: 0 0 12px #4fc3f7, 0 0 3px #23397e;
    background: linear-gradient(
        90deg,
        #84b6f4 0%,
        #4fc3f7 50%,
        #23397e 100%
    );
    border: 2px solid #4fc3f7;
    color: #fff;
    font-weight: 700;
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    padding: 0.75rem 1.25rem;
    border-radius: 0.6rem;
    letter-spacing: 2px;
    box-shadow: 0 0 16px #4fc3f766;
    transition:
        background 0.3s,
        color 0.2s,
        box-shadow 0.3s,
        transform 0.2s;
    overflow: hidden;
}

.nav-login .nav-link-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-login::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 0.7rem;
    background: linear-gradient(45deg, #4fc3f7 0%, #23397e 100%);
    z-index: -1;
    opacity: 0.8;
    filter: blur(6px);
    animation: glowing 2s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes glowing {
    0%   { opacity: 0.8; }
    50%  { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.nav-login:hover {
    transform: scale(1.09);
    box-shadow: 0 0 32px #4fc3f7, 0 0 16px #23397e99;
    background: linear-gradient(
        90deg,
        #4fc3f7 0%,
        #84b6f4 60%,
        #23397e 100%
    );
    color: #fff;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .nav-login {
        width: 180px;
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

/* Floating Airship Animation */
.airship-container {
    width: 100%;
    max-width: 1500px;
    height: 120px;
    position: relative;
    overflow: hidden;
    margin: -30px auto 0;
}

.airship {
    position: absolute;
    animation: floatAirship 15s linear infinite;
    will-change: transform;
}

.airship img {
    animation: flipAirship 15s linear infinite, fadeEffect 15s linear infinite;
    will-change: transform, opacity;
}

@keyframes floatAirship {
    0% {
        transform: translateX(-150px);
    }
    42.5% {
        transform: translateX(1314px);
    }
    50% {
        transform: translateX(1314px);
    }
    92.5% {
        transform: translateX(-150px);
    }
    100% {
        transform: translateX(-150px);
    }
}

@keyframes flipAirship {
    0% {
        transform: scaleX(1);
    }
    42.5% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(-1);
    }
    92.5% {
        transform: scaleX(-1);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes fadeEffect {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    45% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    55% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    95% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .airship-container {
        height: 80px;
        margin-top: -20px;
    }
    
    .airship img {
        width: 102px;
        height: 79px;
    }
}

/* Updated Falling Leaves Effect */
.leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.leaf {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    width: 24px;
    height: 24px;
    top: -30px;
}

/* Different leaf types */
.leaf.type1 { background-image: url('images/leafs1.html'); }
.leaf.type2 { background-image: url('images/leafs2.html'); }
.leaf.type3 { background-image: url('images/leafs3.html'); }
.leaf.type4 { background-image: url('images/leafs4.html'); }

/* Single direction animation */
@keyframes falling-leaf {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--drift-x), var(--fall-distance)) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Updated Particle Effect Styles */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    left: -50px; /* Start from just outside the left edge */
    height: 2px; /* Line height */
    background: linear-gradient(to right, 
        rgba(234, 179, 8, 0.8),  /* Your accent color */
        rgba(234, 179, 8, 0.3),
        rgba(234, 179, 8, 0)
    );
    pointer-events: none;
}

@keyframes float-right-1 {
    0% {
        transform: translateX(0) scaleY(1);
        opacity: 0.8;
    }
    100% {
        transform: translateX(120vw) scaleY(0.5);
        opacity: 0;
    }
}

@keyframes float-right-2 {
    0% {
        transform: translateX(0) scaleY(1);
        opacity: 0.8;
    }
    100% {
        transform: translateX(120vw) scaleY(0.8);
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.5);
    }
}

.game-time {
    position: relative;
    overflow: hidden;
}

.game-time-content {
    position: relative;
    z-index: 2;
}

/* Floating Characters Styles */
/* Floating Characters Styles */
.floating-characters {
    display: none; /* Hidden by default on mobile */
}

@media (min-width: 768px) {
    .floating-characters {
        display: block;
    }

    .floating-character {
        position: fixed;
        /* Responsive width: scales down as viewport shrinks below 1920px */
        width: clamp(200px, 31vw, 600px);
        height: auto;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
        z-index: 1;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5))
                drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }

    .floating-character.left {
        left: 2%;
        top: 50%;
        transform: translateY(-50%);
    }

    .floating-character.right {
        right: 2%;
        top: 50%;
        transform: translateY(-50%);
    }

    .floating-character img {
        width: 100%;
        height: auto;
    }

    @keyframes floatUpDown {
        0%, 100% {
            transform: translateY(-50%);
        }
        50% {
            transform: translateY(calc(-50% - 15px));
        }
    }
}

/* Even smaller on tablets and small laptops */
@media (max-width: 1200px) and (min-width: 768px) {
    .floating-character {
        width: clamp(150px, 25vw, 400px);
    }
}

/* Hide or much smaller on very small desktops */
@media (max-width: 900px) and (min-width: 768px) {
    .floating-character {
        width: clamp(100px, 20vw, 250px);
    }
}

.game-time {
    position: relative;
    overflow: hidden;
}

.game-time-content {
    position: relative;
    z-index: 2;
}

/* Base button styles with blue theme sunray effect */
.button.button-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #0066ff; /* Primary blue color */
    border: none;
    z-index: 1;
}

/* Sunray rotating effect with blue theme */
.button.button-primary::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 157, 255, 0.5) 90deg, /* Light blue */
        transparent 180deg,
        rgba(0, 157, 255, 0.5) 270deg,
        transparent 360deg
    );
    animation: rotate-rays 4s linear infinite;
    z-index: -1;
}

/* Blue glow effect */
.button.button-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(0, 225, 255, 0.8) 0%, /* Bright blue */
        transparent 70%
    );
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Hover effects with blue theme */
.button.button-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6),
                0 0 40px rgba(0, 157, 255, 0.4),
                0 0 60px rgba(0, 225, 255, 0.2);
}

.button.button-primary:hover::before {
    animation: rotate-rays 2s linear infinite;
}

.button.button-primary:hover::after {
    opacity: 0.8;
}

/* Sunray rotation animation */
@keyframes rotate-rays {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button styling */
.button.button-primary {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #0066ff, #00ccff); /* Blue gradient background */
}

.button.button-primary i {
    font-size: 16px;
}

/* Pulsing effect for the play icon */
.button.button-primary i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Create Account Button Styles - Yellow Theme */
.button.button-secondary {
    position: relative;
    overflow: visible;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: linear-gradient(-145deg, #FFD700, #FFA500); /* Gold to Orange gradient */
    transition: all 0.3s ease;
    animation: button-glow 3s ease-in-out infinite;
}

/* Yellow glow effect */
.button.button-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 0, 0.8) 0%,
        transparent 70%
    );
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Button glow animation */
@keyframes button-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4),
                   0 0 30px rgba(255, 165, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6),
                   0 0 50px rgba(255, 165, 0, 0.3);
    }
}

/* Hover effects */
.button.button-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7),
                0 0 60px rgba(255, 165, 0, 0.4);
}

.button.button-secondary:hover::after {
    opacity: 0.8;
}

/* User icon pulse */
.button.button-secondary i {
    font-size: 16px;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}


.clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2; /* Above the leaves */
}

.cloud {
    position: absolute;
    width: 500px; /* Adjust based on your cloud images */
    height: 300px; /* Adjust based on your cloud images */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3; /* 30% opacity as requested */
}

/* Cloud images - replace with your actual image paths */
.cloud1 { background-image: url('images/cloud1.html'); }
.cloud2 { background-image: url('images/cloud2.html'); }
.cloud3 { background-image: url('images/cloud3.html'); }

@keyframes move-cloud {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 200px)); /* Move across screen plus cloud width */
    }
}

/* Grand Opening Modal Styles */
.grand-opening-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.grand-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background: var(--darker-bg);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalPopup 0.5s ease;
}

.grand-opening-image {
    width: 900px;
    height: 500px;
    object-fit: cover;
    display: block;
}

.countdown-container {
    padding: 20px;
    text-align: center;
    background: linear-gradient(to bottom, 
        rgba(15, 23, 42, 0.9),
        rgba(15, 23, 42, 1)
    );
}

.countdown-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-box span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
    margin-bottom: 5px;
}

.countdown-box label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Post-countdown Buttons */
.post-countdown-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding: 0 20px;
}

.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--darker-bg);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn i {
    font-size: 1.2rem;
}

.action-btn .file-size {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-pc {
    background: #4CAF50;
}

.download-apk {
    background: #2196F3;
}

.create-account {
    background: #FFC107;
}

.join-discord {
    background: #7289DA;
}

.close-modal-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    border: none;
    color: var(--darker-bg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal-btn:hover {
    background: #ffc107;
    transform: translateY(-1px);
}

@keyframes modalPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .grand-modal-content {
        width: 95%;
        max-width: 900px;
    }

    .grand-opening-image {
        width: 100%;
        height: auto;
        aspect-ratio: 900/500;
    }

    .countdown-timer {
        gap: 10px;
    }

    .countdown-box {
        min-width: 60px;
    }

    .countdown-box span {
        font-size: 1.5rem;
        min-width: 45px;
    }

    .countdown-box label {
        font-size: 0.8rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .post-countdown-buttons {
        grid-template-columns: 1fr;
    }

    .countdown-box span {
        font-size: 1.2rem;
        min-width: 40px;
        padding: 8px;
    }

    .countdown-title {
        font-size: 1.2rem;
    }
}


/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-image-container {
    position: relative;
    width: 1024px;
    height: 768px;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.loading-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: glow 2s ease-in-out infinite;
    border-radius: 20px;
}

.loading-bar-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.loading-bar {
    width: 0%;
    height: 15px;
    background: linear-gradient(90deg, #007bff, #00a8ff);
    border-radius: 8px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.loading-progress-gif {
    position: absolute;
    height: 150px;
    width: 120px;
    bottom: 100%; /* Changed from top: 50% to bottom: 100% */
    transform: translateY(50%); /* Changed from translateY(-50%) to translateY(50%) */
    left: 0;
    z-index: 3; /* Increased z-index to appear above the bar */
    pointer-events: none;
    transition: left 0.5s ease;
}

.loading-text {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1));
    }
}

/* Media Queries */
@media (max-aspect-ratio: 4/3) {
    .loading-image-container {
        width: 90vw;
        height: calc(90vw * 0.75);
    }
}

@media (max-height: 768px) {
    .loading-image-container {
        height: 90vh;
        width: calc(90vh * 1.33);
    }
}

.pre-register-btn {
justify-content: center;
    display: inline-block;
    width: 400px;
    height: 75px;
    line-height: 75px;
    font-size: 2rem;
    font-weight: bold;
    color: #23397e;
    background: linear-gradient(135deg, #fffdfa 0%, #e6e7ee 100%);
    border: 3px solid #ffe270;
    border-radius: 38px;
    box-shadow: 0 8px 24px #ffe27080, 0 0 0 6px #ffe27040;
    text-align: center;
    text-decoration: none;
    transition: 
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s,
        transform 0.1s;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 24px #ffe27080, 0 0 0 6px #ffe27040;
        background: linear-gradient(135deg, #fffdfa 0%, #e6e7ee 100%);
    }
    50% {
        box-shadow: 0 16px 48px #ffe270cc, 0 0 40px 12px #ffe27050;
        background: linear-gradient(135deg, #ffe270 0%, #fffdfa 100%);
    }
    100% {
        box-shadow: 0 8px 24px #ffe27080, 0 0 0 6px #ffe27040;
        background: linear-gradient(135deg, #fffdfa 0%, #e6e7ee 100%);
    }
}

.pre-register-btn:hover,
.pre-register-btn:focus {
    background: linear-gradient(135deg, #ffe270 0%, #fffdfa 100%);
    color: #191919;
    box-shadow: 0 12px 36px #312c2aAA, 0 0 0 10px #fff20060, 0 0 40px 12px #ffe27060;
    transform: scale(1.03);
    text-decoration: none;
    animation: pulse-glow 1s infinite;
}

.pre-register-btn:active {
    background: #ffe270;
    color: #191919;
    box-shadow: 0 4px 12px #312c2a80;
    transform: scale(0.98);
    animation: none;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 600px) {
    .pre-register-btn {
        display: block;            /* ensures easy centering */
        margin: 32px auto;         /* center horizontally, spacing above/below */
        width: 70vw;               /* smaller, fits most phones */
        min-width: 140px;
        max-width: 90vw;
        height: 44px;              /* shorter button */
        line-height: 44px;
        font-size: 1rem;           /* smaller text */
        border-radius: 22px;       /* round but proportionate */
        padding: 0 0.5rem;
        letter-spacing: 1px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&amp;display=swap');

body, .game-time, .earning-section, .expiration-warning, .pre-register-btn {
    font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.earning-section,
.expiration-warning {
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.pre-register-btn {
    font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}


.section-transition-image {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 2560px; /* Adjust to your image width */
    height: auto;
    z-index: 15;
    pointer-events: none;
    user-select: none;
}

/* Small chat text inside/below speaker button */


.speaker-chat-text {
    position: absolute;
    left: 50%;
    top: 140%; /* Just below the button */
    transform: translateX(-50%);
    background: #fff;
    color: #1A202C;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 16px;
    white-space: nowrap;
    text-shadow: 0 0 8px #fff, 0 2px 8px rgba(0,0,0,0.10);
    /* Glow effect: soft blue outer glow + white inner glow */
    box-shadow:
        0 0 16px 6px #6ec8fa, /* blue glow */
        0 2px 8px rgba(0,0,0,0.12), /* subtle shadow */
        0 0 4px #fff; /* white inner glow */
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
    letter-spacing: 0.01em;
    transition: box-shadow 0.2s;
}

@media (max-width: 600px) {
    .speaker-chat-text {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
}
