:root {
    --bg-primary: #111122;
    --bg-secondary: #071543;
    --bg-accent-blue: #0D2C7C;
    --accent-green: #00ff33;
    --accent-cyan: #00ffff;
    --accent-yellow: #ffcc00;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation & Layout */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- Global Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 34, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled {
    background: rgba(17, 17, 34, 0.95);
    padding: 5px 0;
    border-bottom: 1px solid var(--accent-cyan);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    padding: 2px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .site-logo {
        height: 34px;
        padding: 1px;
    }

    .logo-text {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--accent-yellow);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

/* Stylish Play Now Button in Header */
.header-play-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%) !important;
    color: var(--bg-primary) !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 0 15px rgba(0, 255, 51, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-left: 15px;
    border: none !important;
    text-shadow: none !important;
    font-size: 0.95rem !important;
    animation: none;
}

.header-play-btn i:first-child {
    font-size: 0.85em;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.header-play-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.7);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%) !important;
    color: var(--bg-primary) !important;
}

.header-play-btn::after {
    display: none !important;
}

@keyframes playBtnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 255, 51, 0.5);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 255, 51, 0.5);
    }
}

.header-btn {
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--accent-green);
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 51, 0.4);
}

.header-btn:hover {
    background: #fff;
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        gap: 5px;
    }

    .bar {
        width: 24px;
        height: 2px;
    }

    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 34, 0.98);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 20px 40px 20px;
        gap: 0;
        transition: top 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        overflow-y: auto;
    }

    /* Fix to ensure content is accessible if it overflows context of justified center */
    .nav-menu::before,
    .nav-menu::after {
        display: none;
    }

    .nav-menu.active {
        top: 0;
    }

    .nav-link {
        font-size: 1.3rem;
        margin: 2px 0;
        padding: 10px 0;
        line-height: 1.2;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav-link i {
        font-size: 0.8em;
        margin-top: 2px;
    }

    .header-play-btn {
        margin: 20px auto 10px !important;
        width: 90% !important;
        max-width: 320px !important;
        justify-content: center !important;
        padding: 15px 30px !important;
        font-size: 1.2rem !important;
        border-radius: 12px !important;
        /* Slightly less rounded on mobile for better touch target feel */
        box-shadow: 0 4px 15px rgba(0, 255, 51, 0.4) !important;
    }

    .header-play-btn i {
        font-size: 0.9em !important;
    }

    /* Mobile Dropdown Styling */
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto !important;
        margin: 0;
        padding: 0;
    }

    .dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        min-width: unset;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 0;
        backdrop-filter: none;
        text-align: center;

        /* Smooth Transition Properties */
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown.active .dropdown-content {
        opacity: 1;
        max-height: 800px;
        padding: 4px 0 8px 0;
    }

    .dropdown-content a {
        display: block;
        width: 85%;
        /* Indentation via visual width reduction */
        padding: 10px 18px;
        font-size: 1rem;
        line-height: 1.2;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.03);
        margin: 2px 0;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        /* Very subtle border */
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
        color: var(--text-primary);
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--accent-cyan);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--accent-cyan);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://img.geometrydash.pk/geometry-dash.webp') no-repeat center center/cover;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
    /* Ensure content clears the fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 34, 0.75);
    /* Darken the background for readability */
    background-image: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 120%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 1.5rem 2rem 2rem 2rem;
    animation: fadeInUp 1s ease-out;
}

/* Typography */
.hero h1 {
    font-size: 4rem;
    /* Increased slightly for impact */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    /* Reduced margin to group with tagline */
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(0, 255, 51, 0.6), 0 0 30px rgba(0, 255, 51, 0.4);
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-main-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 51, 0.6);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 51, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 255, 51, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    transform: translateY(-3px);
}

.btn-blue {
    background-color: transparent;
    border-color: #007aff;
    color: #007aff;
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
}

.btn-blue:hover {
    background-color: #007aff;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.6);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.features-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-size: 0.8rem;
    top: 5px;
}

.highlight-text {
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 20px;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        padding: 1.5rem 1rem 2rem 1rem;
    }

    .about-section {
        padding: 50px 15px;
    }

    .about-section .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-content,
    .about-image {
        min-width: 100%;
        padding: 0 10px;
    }

    .features-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }

    .features-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {

    /* Hero Adjustments */
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .hero-main-tagline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* About Adjustments */
    .about-section h2 {
        font-size: 1.8rem;
    }

    .highlight-text {
        font-size: 1rem;
        padding-left: 15px;
        margin-top: 20px;
    }
}

/* Key Features Section */
.key-features-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.key-features-section h2 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 50px;
    margin-top: 0;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(7, 21, 67, 0.4);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 51, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.feature-card:hover .feature-icon {
    color: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .key-features-section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .key-features-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Why Possible Section */
.why-popular-section {
    padding: 80px 20px;
    background-color: var(--bg-accent-blue);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-accent-blue) 100%);
    text-align: center;
}

.levels-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0D2C7C 0%, #0b0b14 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.why-popular-section h2,
.levels-section h2 {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(0, 255, 51, 0.3);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.popular-grid,
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.popular-card {
    background: rgba(7, 21, 67, 0.3);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.popular-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
}

.popular-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.popular-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* -- Updated Level Card Design -- */
.level-card {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    /* Clips the image corners */
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Important: Full bleed image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.level-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.15);
    /* Cyan glow */
}

.level-img-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* For zoom effect */
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.level-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.level-card:hover .level-card-img {
    transform: scale(1.1);
    /* Smooth zoom on hover */
}

.level-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.level-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    /* Orbitron */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.level-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Specific color tweaks for different cards if needed (optional) */
.level-card:nth-child(2) h3 {
    color: var(--accent-cyan);
    /* Community gets cyan */
}

.level-card:nth-child(3) h3 {
    color: var(--accent-green);
    /* Difficulty gets green */
}

@media (max-width: 768px) {

    .why-popular-section h2,
    .levels-section h2 {
        font-size: 1.8rem;
    }

    .levels-grid {
        gap: 20px;
        padding: 0 10px;
    }

    .level-card {
        max-width: 360px;
        margin: 0 auto;
    }



    .level-content {
        padding: 20px;
    }
}

/* Game Modes Section */
.game-modes-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0D2C7C 0%, #111122 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.game-modes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.game-modes-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-modes-section h2 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    position: relative;
    display: inline-block;
}

.game-modes-section h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--accent-cyan);
    margin: 10px auto 0;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.game-modes-section .section-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.mode-card {
    background: rgba(7, 21, 67, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1 1 300px;
    max-width: 360px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFCC00, #0D2C7C, #071543);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mode-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(13, 44, 124, 0.4);
    /* #0D2C7C with opacity */
    border-color: #FFCC00;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 204, 0, 0.2);
}

.mode-card:hover::before {
    transform: scaleX(1);
}

.mode-icon-wrapper {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Base Icon Styling */
.mode-icon {
    width: 50px;
    height: 50px;
    transition: all 0.4s ease;
}

/* Cube Icon */
.mode-icon.cube {
    background: transparent;
    border: 3px solid var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green), inset 0 0 10px var(--accent-green);
    transform: rotate(0deg);
}

.mode-card:hover .mode-icon.cube {
    background: rgba(0, 255, 51, 0.2);
}

/* Ship Icon */
.mode-icon.ship {
    background: transparent;
    width: 60px;
    height: 30px;
    border: 3px solid var(--accent-cyan);
    border-radius: 5px 30px 30px 5px;
    /* Bullet/Ship shape */
    box-shadow: 0 0 15px var(--accent-cyan);
    position: relative;
}

.mode-icon.ship::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 10px;
    height: 20px;
    background: var(--accent-cyan);
}



/* Ball Icon */
.mode-icon.ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--accent-yellow);
    box-shadow: 0 0 15px var(--accent-yellow);
    border-top: 3px solid transparent;
    /* Spin effect */
    border-bottom: 3px solid transparent;
}

.mode-icon.ball::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    margin: 7px;
    border-radius: 50%;
    background: var(--accent-yellow);
    opacity: 0.5;
}



/* UFO Icon */
.mode-icon.ufo {
    width: 60px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #ff00ff;
    /* Magenta for variety */
    box-shadow: 0 0 15px #ff00ff;
    position: relative;
    top: 10px;
}

.mode-icon.ufo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 15px;
    width: 24px;
    height: 24px;
    border: 3px solid #ff00ff;
    border-radius: 50% 50% 0 0;
    border-bottom: none;
}



/* Wave Icon */
.mode-icon.wave {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid var(--text-primary);
    /* Use text color or accent */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
    transform: rotate(45deg);
}



/* Robot Icon */
.mode-icon.robot {
    width: 40px;
    height: 50px;
    border: 3px solid #ff5500;
    /* Orange */
    border-radius: 5px;
    box-shadow: 0 0 15px #ff5500;
    position: relative;
}

.mode-icon.robot::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5px;
    width: 8px;
    height: 10px;
    background: #ff5500;
    box-shadow: 18px 0 0 #ff5500;
    /* Two legs */
}



/* Spider Icon */
.mode-icon.spider {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-secondary, #aa00ff);
    box-shadow: 0 0 15px #aa00ff;
    position: relative;
}

.mode-icon.spider::before,
.mode-icon.spider::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: #aa00ff;
    left: -10px;
    top: 20px;
}

.mode-icon.spider::after {
    transform: rotate(90deg);
}

.mode-card:hover .mode-icon.spider {
    box-shadow: 0 0 25px #aa00ff;
}

.mode-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.mode-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .game-modes-section h2 {
        font-size: 1.8rem;
    }
}

/* Image Icon Formatting */
.mode-icon-img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 5px var(--accent-green));
}

.mode-card:hover .mode-icon-img {
    filter: drop-shadow(0 0 15px var(--accent-green));
}

/* Versions Section */
.versions-section {
    padding: 120px 20px;
    background-color: #0b0b14;
    background-image:
        radial-gradient(circle at 50% 0%, #1a1a2e 0%, transparent 70%),
        linear-gradient(0deg, #111122 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

/* Background Grid Effect */
.versions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.versions-section .section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.versions-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.2));
}

.versions-section .section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.versions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* Base Card Styling */
.version-card {
    --card-color: #bdbdbd;
    /* Fallback */
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    /* Tech Shape */
    clip-path: polygon(20px 0, 100% 0,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            0 100%, 0 20px);
    flex: 1 1 320px;
    max-width: 450px;
}

/* Card Specific Colors */
.full-version {
    --card-color: var(--accent-yellow);
}

.lite-version {
    --card-color: #00AAFF;
}

.meltdown-version {
    --card-color: #FF4400;
}

.subzero-version {
    --card-color: #00FFFF;
}

.world-version {
    --card-color: #00FF33;
}

.v22-version {
    --card-color: #b00b69;
}

/* Vibrant Pink/Purple */

/* Border Glow Effect */
.version-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, var(--card-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

/* Top Accent Line */
.version-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-color), transparent);
    transform: scaleX(0.5);
    transition: transform 0.4s ease, height 0.4s ease;
    box-shadow: 0 0 10px var(--card-color);
}

/* Hover States */
.version-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 15, 25, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.version-card:hover::before {
    opacity: 0.15;
}

.version-card:hover::after {
    transform: scaleX(1);
    height: 3px;
    box-shadow: 0 0 20px var(--card-color);
}

/* Image Wrapper */
.version-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.version-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: grayscale(30%) brightness(0.9);
}

.version-card:hover .version-img-wrapper img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.1);
}

/* Overlay Gradient on Image */
.version-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 15, 25, 1), transparent);
}

/* Content */
.version-content {
    padding: 30px 25px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.version-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.version-card:hover h3 {
    color: var(--card-color);
    text-shadow: 0 0 15px var(--card-color);
}

.version-card p {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Call to Action */
/* Version Meta & Difficulty */
/* Version Meta & Difficulty */
.version-meta {
    display: none;
    /* No longer used but kept for safety if rollback needed */
}

.difficulty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    /* Slightly squarer for professional look */
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: none;
}

.difficulty-badge.easy {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 255, 85, 0.4);
}

.difficulty-badge.medium {
    background: linear-gradient(135deg, #fce38a, #f38181);
    color: #333333;
    text-shadow: none;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.difficulty-badge.hard {
    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.difficulty-badge.latest {
    background: linear-gradient(135deg, #da22ff, #9733ee);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(176, 11, 105, 0.4);
}

.section-footer-cta {
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Highlight Box */
/* Removed highlight-box styles as it is no longer used in this section */

@media (max-width: 768px) {
    .versions-section {
        padding: 60px 15px;
    }

    .versions-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .versions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .version-card {
        max-width: 100%;
        margin: 0;
        clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    }

    .version-img-wrapper {
        height: 180px;
    }

    .version-content {
        padding: 20px;
    }

    /* Disable sticky hover effects on mobile */
    .version-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .version-card:active {
        transform: scale(0.98);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Guides Section */
.guides-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0b0b14 0%, #111122 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.guides-section .section-header {
    max-width: 900px;
    margin: 0 auto 70px;
}

.guides-section h2 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guides-section .section-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Optional: Tweaks for guide cards if needed */
.guide-card {
    min-height: 280px;
    /* Ensure consistent height */
    justify-content: flex-start;
}

.guide-card h3 {
    margin-top: 10px;
}

.guides-section .feature-card:hover .feature-icon {
    color: var(--accent-yellow);
    transform: none;
}

@media (max-width: 768px) {
    .guides-section {
        padding: 60px 20px;
    }

    .guides-section h2 {
        font-size: 1.8rem;
    }

    .guides-section .section-header {
        margin-bottom: 40px;
    }

    .guides-section .section-intro {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* News Section */
.news-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #111122 0%, #0b0b14 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.news-section .section-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.news-section h2 {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 51, 0.4);
    text-transform: uppercase;
}

.news-section .section-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 20px;
    }

    .news-section h2 {
        font-size: 1.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        /* Stack cards properly on mobile */
        gap: 25px;
        padding: 0 10px;
    }

    .news-card {
        max-width: 400px;
        /* Prevent overly wide cards on tablets */
        margin: 0 auto;
        padding: 12px;
    }

    .news-card h3 {
        font-size: 1.2rem;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: rgba(20, 20, 35, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    padding: 15px;
    /* Added padding around the inner content */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card:hover {
    transform: translateY(-10px);
    background: rgba(25, 25, 45, 0.8);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Force square aspect ratio */
    height: auto;
    /* Remove fixed height */
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    /* Round the image itself */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures regular filling */
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px 10px 10px;
    /* Adjust padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Divider */
    padding-bottom: 10px;
}

.news-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Global Footer (Simplified) --- */
.site-footer {
    background-color: #0A0F1E;
    color: #ffffff;
    padding: 50px 20px 20px;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 50px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-col:first-child {
    padding-right: 30px;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col p {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    /* Slightly larger for better touch target and visual */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    color: #fff;
}

/* Facebook */
.social-icon[aria-label="Facebook"]:hover {
    background-color: #1877F2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
    border-color: #1877F2;
}

/* Twitter */
.social-icon[aria-label="Twitter"]:hover {
    background-color: #1DA1F2;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.6);
    border-color: #1DA1F2;
}

/* Instagram */
.social-icon[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* YouTube */
.social-icon[aria-label="YouTube"]:hover {
    background-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    border-color: #FF0000;
}

/* Discord */
.social-icon[aria-label="Discord"]:hover {
    background-color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
    border-color: #5865F2;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-bottom span,
.footer-bottom a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Dropdown Menu Styles */
@media (min-width: 769px) {
    .dropdown {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }
}

@media (min-width: 769px) {
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: rgba(17, 17, 34, 0.95);
        min-width: 240px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        border-radius: 8px;
        border: 1px solid rgba(0, 255, 255, 0.2);
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 0;
        backdrop-filter: blur(10px);
        margin-top: 15px;
        /* Visual spacing */
    }

    /* Invisible bridge to prevent hover loss */
    .dropdown-content::before {
        content: '';
        position: absolute;
        top: -40px;
        /* Extend upward to overlap with the header */
        left: 0;
        width: 100%;
        height: 40px;
        background: transparent;
    }
}

/* Specific animation for menu to avoid gap issues */
@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
        animation: fadeInMenu 0.3s ease forwards;
    }
}

@media (min-width: 769px) {
    .dropdown-content a {
        color: var(--text-primary);
        padding: 12px 20px;
        text-decoration: none;
        display: block;
        font-family: var(--font-body);
        font-size: 0.9rem;
        transition: all 0.2s ease;
        border-left: 2px solid transparent;
    }

    .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--accent-cyan);
        border-left: 2px solid var(--accent-cyan);
        padding-left: 25px;
    }
}

/* Download Section */
.download-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0b0b14 0%, #1a1a3a 50%, #0b0b14 100%);
    text-align: center;
    position: relative;
    position: relative;
}

.download-section h2 {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    letter-spacing: 2px;
}

.download-section .section-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.download-card:hover::before {
    opacity: 1;
}

.download-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(13, 44, 124, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.download-card:hover .icon-wrapper {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: rotateY(180deg);
}

.download-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 48px;
    /* Alignment fix */
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    letter-spacing: 1px;
    border-radius: 8px;
    /* Ensure styles from .btn inherit/override correctly */
}

.security-badge {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.security-badge i {
    color: var(--accent-green);
}

.download-card:hover .security-badge {
    opacity: 1;
    background: rgba(0, 255, 51, 0.1);
    color: var(--text-primary);
}

.system-req-link {
    margin-top: 60px;
}

.system-req-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.system-req-link a:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    letter-spacing: 2px;
}

/* Mobile Responsive Adjustments for Download Section */
@media (max-width: 768px) {
    .download-section {
        padding: 60px 15px;
        border-top: none;
        /* Cleaner look on mobile */
    }

    .download-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .download-section .section-intro {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 25px;
        max-width: 400px;
        /* Constrain width for better readability */
    }

    .download-card {
        padding: 30px 20px;
        backdrop-filter: blur(8px);
        /* slightly less blur for performance */
    }

    .download-card:hover {
        transform: translateY(-5px);
        /* Reduce movement on touch */
    }

    .download-card .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .download-card h3 {
        font-size: 1.3rem;
    }

    .download-card p {
        font-size: 0.9rem;
        min-height: auto;
        /* Remove fixed height on mobile */
        margin-bottom: 20px;
    }

    .btn-lg {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .security-badge {
        margin-top: 15px;
        font-size: 0.8rem;
    }
}

/* --- Gameplay & Game Modes Specific Styles (Added for Mobile Perfection) --- */

/* Desktop / Default Styles */
.gameplay-header-group {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.gameplay-title {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.gameplay-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.modes-header-group {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.modes-title {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

.modes-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .game-modes-section {
        padding: 60px 15px;
        /* Reduce padding */
    }

    .gameplay-header-group {
        margin-bottom: 40px;
    }

    .gameplay-title {
        font-size: 1.8rem;
        /* Scaled down */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .gameplay-desc {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .modes-header-group {
        margin-bottom: 30px;
        margin-top: 40px;
        /* Separation from previous section */
    }

    .modes-title {
        font-size: 1.6rem;
    }

    .modes-intro {
        font-size: 1rem;
    }

    /* Grid Adjustments for Mobile */
    .modes-grid {
        gap: 20px;
        padding: 0 10px;
    }

    .mode-card {
        /* Force full width or near full width for professional look on small screens */
        flex: 1 1 100%;
        max-width: 100%;
        padding: 25px 20px;
        /* Slightly tighter padding */
    }

    .mode-icon-wrapper {
        height: 60px;
        width: 60px;
        margin-bottom: 15px;
    }

    .mode-icon-img {
        max-width: 60px;
        max-height: 60px;
    }

    .mode-card h3 {
        font-size: 1.3rem;
    }

    .mode-card p {
        font-size: 0.95rem;
    }
}

/* Trust & Quick Info Bar */
.trust-info-bar {
    background: rgba(17, 17, 34, 0.95);
    background: rgba(17, 17, 34, 0.95);
    padding: 25px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 2rem;
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(0, 255, 51, 0.4);
    min-width: 40px;
    text-align: center;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .trust-container {
        justify-content: center;
        gap: 30px 50px;
    }
}

@media (max-width: 768px) {
    .trust-info-bar {
        padding: 20px 0;
    }

    .trust-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
    }

    .trust-icon {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .trust-title {
        font-size: 0.8rem;
    }

    .trust-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trust-container {
        grid-template-columns: 1fr;
        /* Stack on very small screens for better readability if needed, or keep 2 col? */
        /* Actually 2 col usually works for these short items, let's keep 2 col but adjust gap */
        gap: 15px;
    }

    .trust-title {
        font-size: 0.9rem;
    }
}

/* FAQ Section Unified */
.faq-section {
    padding: 80px 20px 30px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    color: var(--accent-cyan);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin-bottom: 50px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    background: rgba(0, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
    margin: 0;
    font-family: var(--font-body);
}

.faq-item:hover .faq-question {
    color: var(--accent-cyan);
}

.faq-item.active .faq-question {
    color: var(--accent-cyan);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent-cyan);
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 30px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 1rem;
    }
}



/* Version Buttons */
.version-btn-wrapper {
    margin-top: 20px;
    width: 100%;
}

.btn-version {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-version:hover {
    background: var(--card-color, #fff);
    color: #111;
    /* Dark text for contrast against bright card colors */
    border-color: var(--card-color, #fff);
    box-shadow: 0 0 20px var(--card-color, rgba(255, 255, 255, 0.5));
    transform: translateY(-2px);
}

.btn-version::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-version:hover::before {
    transform: translateX(100%);
}


/* Final CTA Section */
.final-cta-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #071543 0%, #050a14 100%);
    text-align: center;
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-section h2 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 51, 0.4);
}

.final-cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 20px;
    }

    .final-cta-section h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .final-cta-section p {
        font-size: 1rem;
    }
}

/* Onboarding Section - Professional Steps */
.onboarding-section {
    padding: 80px 20px;
    background-color: var(--bg-secondary);
    position: relative;
    position: relative;
}

.onboarding-section .section-header {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
}

.onboarding-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.onboarding-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 51, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: rgba(17, 17, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-8px);
    background: rgba(17, 17, 34, 0.9);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-primary);
    background: var(--accent-yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.step-card:hover .step-number {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(0, 255, 51, 0.6);
    transform: scale(1.1);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-green);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.onboarding-footer {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}

.highlight-quote {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 500;
    padding: 20px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 51, 0.05), transparent);
    border-top: 1px solid rgba(0, 255, 51, 0.2);
    border-bottom: 1px solid rgba(0, 255, 51, 0.2);
    display: inline-block;
}

@media (max-width: 768px) {
    .onboarding-section {
        padding: 60px 20px;
    }

    .onboarding-section h2 {
        font-size: 2rem;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px auto 0;
    }

    .step-card {
        padding: 25px 20px;
    }

    .step-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

/* Play Online Section */
/* --- Play Online Section --- */
.play-online-hp-section {
    padding: 80px 20px;
    background: radial-gradient(circle at center, #1a1a2e 0%, #111122 100%);
    text-align: center;
    position: relative;
    position: relative;
    overflow: hidden;
}

.play-online-hp-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 51, 0.03) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.play-online-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.play-online-hp-section h2 {
    font-size: 2.8rem;
    color: var(--accent-green);
    margin-bottom: 40px;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(0, 255, 51, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.play-content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.play-text-content {
    flex: 1;
    text-align: left;
}

.play-preview-wrapper {
    flex: 1;
    position: relative;
}

.play-lead {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.play-features-list {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.play-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 51, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 51, 0.2);
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.play-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--accent-green);
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 51, 0.4);
    transition: all 0.3s ease;
}

.play-btn-large:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 51, 0.7);
}

.play-description {
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Preview Card */
.preview-card-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.game-preview-frame {
    width: 100%;
    /* Removed fixed aspect-ratio and background to show full image */
    border-radius: 16px;
    border: 3px solid var(--accent-green);
    position: relative;
    /* Removed flex centering as we use absolute positioning for overlays now */
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.preview-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--accent-green);
    text-transform: uppercase;
    z-index: 5;
}

.play-overlay-icon {
    font-size: 4rem;
    color: #fff;
    z-index: 5;
    filter: drop-shadow(0 0 15px rgba(0, 255, 51, 0.6));
    transition: transform 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preview-card-link:hover .play-overlay-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--accent-green);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 255, 51, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 960px) {
    .play-online-hp-section {
        padding: 60px 15px;
    }

    .play-online-hp-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .play-content-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .play-text-content {
        order: 2;
        /* Text below Video */
        text-align: center;
        width: 100%;
    }

    .play-preview-wrapper {
        order: 1;
        /* Video on top */
        width: 100%;
    }

    .play-features-list {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-bottom: 20px;
    }

    .play-feature-item:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .play-feature-item {
        font-size: 0.75rem;
        padding: 6px 12px;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    .play-lead {
        font-size: 1.1rem;
    }

    .play-description {
        font-size: 0.95rem;
    }

    .play-btn-large {
        width: 100%;
        padding: 15px;
    }
}


/* --- SubZero Gameplay Gallery (Mobile Slider) --- */
.subzero-gameplay-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.subzero-gameplay-gallery img {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.subzero-gameplay-gallery img:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .subzero-gameplay-gallery {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px 20px 30px 20px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    .subzero-gameplay-gallery::-webkit-scrollbar {
        display: none;
    }

    .subzero-gameplay-gallery img {
        flex: 0 0 85%;
        width: 85%;
        max-width: unset;
        scroll-snap-align: center;
    }
}

/* SubZero Description Section */
.subzero-desc-section {
    padding: 60px 20px;
    width: 100%;
    background-color: #071543;
    text-align: center;
}

.subzero-desc-section h2 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.subzero-desc-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.subzero-image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.subzero-image-grid img {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subzero-image-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .subzero-desc-section {
        padding: 40px 15px;
    }

    .subzero-desc-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .subzero-desc-text {
        font-size: 1rem;
    }

    .subzero-image-grid {
        gap: 15px;
        margin-top: 30px;
    }
}

/* --- Download Platform Section --- */
.download-platforms {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title-wrapper h2 {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(0, 255, 51, 0.4);
}

.section-title-wrapper .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-mini-text {
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.platform-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-download-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.platform-download-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 255, 0.15);
}

.platform-download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.platform-icon {
    font-size: 4.5rem;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

.android-card .platform-icon {
    color: var(--accent-green);
    filter: drop-shadow(0 0 15px rgba(0, 255, 51, 0.4));
}

.ios-card .platform-icon {
    color: #007aff;
    filter: drop-shadow(0 0 15px rgba(0, 122, 255, 0.4));
}

.platform-download-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.platform-download-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.platform-download-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.card-footer .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Mobile Optimization for Download Platforms Section */
@media (max-width: 768px) {
    .download-platforms {
        padding: 70px 0 50px;
        background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(7, 21, 67, 0.4) 100%);
    }

    .download-platforms .container {
        padding: 0 20px;
    }

    .section-title-wrapper {
        margin-bottom: 45px;
        padding: 0;
    }

    .section-title-wrapper h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        margin-bottom: 15px;
        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .section-title-wrapper .subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 18px;
        color: var(--text-secondary);
        max-width: 100%;
    }

    .cta-mini-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
        color: var(--accent-cyan);
        opacity: 0.9;
    }

    .platform-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 440px;
        margin: 0 auto;
        padding: 0;
    }

    .platform-download-card {
        padding: 40px 25px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .android-card {
        border-bottom: 3px solid var(--accent-green);
    }

    .ios-card {
        border-bottom: 3px solid #007aff;
    }

    .platform-icon {
        font-size: 3.8rem;
        margin-bottom: 20px;
    }

    .platform-download-card h3 {
        font-size: 1.7rem;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    .platform-download-card p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
    }

    .card-footer .btn {
        padding: 15px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
        font-weight: 700;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Enhancements for very small screens */
@media (max-width: 480px) {
    .download-platforms {
        padding: 50px 0 30px;
    }

    .section-title-wrapper h2 {
        font-size: 1.75rem;
    }

    .platform-download-card {
        padding: 35px 20px;
        border-radius: 18px;
    }

    .platform-icon {
        font-size: 3.2rem;
    }

    .platform-download-card h3 {
        font-size: 1.5rem;
    }

    .platform-download-card p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .card-footer .btn {
        padding: 14px 15px;
        font-size: 0.9rem;
    }
}

/* ================================================
   PC OVERVIEW SECTION - MOBILE OPTIMIZATION
   Geometry Dash for PC – Official Game Overview
   ================================================ */

/* Tablet/Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {

    /* Section Container */
    .pc-overview-section {
        padding: 50px 0 !important;
    }

    /* Header Section */
    .pc-overview-header {
        margin-bottom: 35px !important;
    }

    .pc-overview-label {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }

    .pc-overview-title {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 18px !important;
        padding: 0 10px;
    }

    .pc-overview-divider {
        width: 60px !important;
        height: 3px !important;
    }

    /* Two Column Layout - Stack on Mobile */
    .pc-overview-columns {
        flex-direction: column !important;
        gap: 25px !important;
    }

    /* Image Column */
    .pc-overview-image-col {
        min-width: 100% !important;
        order: 1;
    }

    .pc-overview-image-container {
        max-width: 100% !important;
        padding: 0 10px;
    }

    .pc-overview-image-frame {
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 255, 0.15) !important;
    }

    .pc-overview-glow {
        filter: blur(25px) !important;
        opacity: 0.7;
    }

    .pc-overview-image-label {
        padding: 12px 15px !important;
    }

    .pc-overview-image-label span {
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }

    /* Decorative Corners - Smaller on Mobile */
    .pc-overview-corner-tl,
    .pc-overview-corner-br {
        width: 20px !important;
        height: 20px !important;
        border-width: 2px !important;
    }

    /* Content Column */
    .pc-overview-content-col {
        min-width: 100% !important;
        order: 2;
    }

    .pc-overview-card {
        padding: 25px 20px !important;
        border-radius: 16px !important;
        height: auto !important;
    }

    /* Developer Badge */
    .pc-overview-developer {
        gap: 12px !important;
        margin-bottom: 18px !important;
        padding-bottom: 15px !important;
    }

    .pc-overview-dev-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
    }

    .pc-overview-dev-icon i {
        font-size: 1.2rem !important;
    }

    /* Description Text */
    .pc-overview-desc-primary {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 12px !important;
    }

    .pc-overview-desc-secondary {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        margin-bottom: 20px !important;
    }

    /* Core Gameplay Box */
    .pc-overview-gameplay {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }

    .pc-overview-gameplay-title {
        font-size: 1.05rem !important;
        margin-bottom: 15px !important;
        gap: 8px !important;
    }

    /* Gameplay Elements */
    .pc-overview-elements {
        gap: 10px !important;
    }

    .pc-overview-element {
        padding: 10px 12px !important;
        gap: 10px !important;
        border-radius: 8px !important;
    }

    .pc-overview-element-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }

    .pc-overview-element-icon i {
        font-size: 0.8rem !important;
    }

    .pc-overview-element-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    /* Footer/Closing Statement */
    .pc-overview-footer {
        margin-top: 25px !important;
        padding: 18px 20px !important;
        border-radius: 12px !important;
        border-left-width: 3px !important;
    }

    .pc-overview-footer-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }

    .pc-overview-footer-text i {
        margin-right: 8px !important;
        display: inline-block;
    }
}

/* Extra Small Mobile Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
    .pc-overview-section {
        padding: 40px 0 !important;
    }

    .pc-overview-header {
        margin-bottom: 28px !important;
    }

    .pc-overview-label {
        font-size: 0.7rem !important;
        letter-spacing: 1.5px !important;
    }

    .pc-overview-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        padding: 0 5px;
    }

    .pc-overview-columns {
        gap: 20px !important;
    }

    .pc-overview-card {
        padding: 20px 15px !important;
    }

    .pc-overview-developer {
        flex-direction: row;
        gap: 10px !important;
    }

    .pc-overview-dev-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .pc-overview-desc-primary {
        font-size: 0.9rem !important;
    }

    .pc-overview-desc-secondary {
        font-size: 0.85rem !important;
    }

    .pc-overview-gameplay {
        padding: 16px 12px !important;
    }

    .pc-overview-gameplay-title {
        font-size: 0.95rem !important;
    }

    .pc-overview-element {
        padding: 9px 10px !important;
    }

    .pc-overview-element-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .pc-overview-element-text {
        font-size: 0.8rem !important;
    }

    .pc-overview-footer {
        margin-top: 20px !important;
        padding: 15px 15px !important;
    }

    .pc-overview-footer-text {
        font-size: 0.88rem !important;
    }
}


/* Contact Page Styles */
.contact-hero {
    position: relative;
    padding: 160px 20px 80px;
    background: url('https://img.geometrydash.pk/hero-bg.webp') no-repeat center center/cover;
    text-align: center;
    overflow: hidden;
    margin-bottom: -50px;
    /* Slight overlap effect */
    z-index: 1;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 34, 0.85);
    background-image: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 120%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 20px 100px;
    background-color: transparent;
    /* Rely on body bg */
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* improved border */
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* deeper shadow */
    height: 100%;
}

.contact-form h2 {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.contact-form-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.contact-form-select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px) translateX(5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    background: rgba(0, 255, 51, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 255, 51, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 51, 0.1);
}

.contact-info-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-info-content a:hover {
    color: var(--accent-cyan);
}

.faq-promo-card {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(13, 44, 124, 0.6) 0%, rgba(7, 21, 67, 0.6) 100%);
    border: 1px solid var(--accent-cyan);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.faq-promo-card * {
    position: relative;
    z-index: 1;
}

.faq-promo-card h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.faq-promo-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-hero {
        padding: 140px 20px 80px;
    }

    .contact-section {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 30px 20px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-info-item {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .contact-icon {
        margin-bottom: 5px;
    }
}

.hero-small {
    min-height: 50vh;
    padding-top: 120px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .hero-small {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }
}


/* About Page Custom Styles */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    /* Center align for better visual on large screens, though content is width: 100% mostly */
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.about-block {
    background: rgba(17, 17, 34, 0.6);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 100%;
    /* Ensure full width within container */
}

.about-block:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-block h2 {
    color: var(--accent-green);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
    /* Full width for border on mobile looks better sometimes, but inline is fine. Let's keep inline but maybe block on mobile? */
}

.about-block h3 {
    color: var(--accent-cyan);
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.about-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    /* improved readability */
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-cta-block {
    text-align: center;
    width: 100%;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
    .about-container {
        gap: 40px;
        padding: 0 10px;
    }

    .about-block {
        padding: 25px 20px;
    }

    .about-block h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
        text-align: center;
        /* Center headers on mobile */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        /* Full width border */
    }

    .about-block h3 {
        font-size: 1.3rem;
        margin-top: 20px;
    }

    .about-block p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-cta-block {
        padding: 30px 20px;
        margin-top: 40px;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    color: var(--bg-primary);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 51, 0.6);
    color: var(--bg-primary);
    /* Ensure text stays dark on hover */
    background: linear-gradient(90deg, #fff, var(--accent-green));
}


/* --- Official Levels Section (Refined) --- */
.official-levels-wrapper {
    margin: 80px 0;
    position: relative;
    padding: 0 20px;
}

.official-levels-card {
    background: linear-gradient(145deg, rgba(13, 28, 60, 0.8) 0%, rgba(0, 10, 20, 0.95) 100%);
    border: 1px solid rgba(0, 255, 51, 0.2);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 0 auto;
}

.official-levels-card::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 51, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.official-levels-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 203, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

.official-levels-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.official-levels-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 25px rgba(0, 255, 51, 0.4);
    line-height: 1.2;
}

.official-levels-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.official-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.feature-col {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-col:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 51, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #e0e0e0;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.feature-list li:hover {
    transform: translateX(8px);
    color: #fff;
}

.feature-list li i {
    color: var(--accent-green);
    margin-right: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 51, 0.4);
}

.recommend-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.rec-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.rec-badge:hover {
    background: rgba(0, 255, 51, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 51, 0.2);
}

.official-btn-container {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.btn-official-view {
    position: relative;
    background: var(--accent-green);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 25px rgba(0, 255, 51, 0.5);
    overflow: hidden;
}

.btn-official-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.btn-official-view:hover::before {
    left: 100%;
}

.btn-official-view:hover {
    background: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    transform: translateY(-5px) scale(1.02);
}

.btn-official-view i {
    transition: transform 0.3s ease;
}

.btn-official-view:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .official-levels-card {
        padding: 50px 30px;
    }

    .official-levels-title {
        font-size: 2.5rem;
    }

    .official-features-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .official-levels-wrapper {
        margin: 50px 0;
        padding: 0 15px;
    }

    .official-levels-card {
        padding: 35px 20px;
        border-radius: 16px;
    }

    .official-levels-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .official-levels-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .official-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 35px;
    }

    .feature-col {
        padding: 25px 20px;
    }

    .feature-col h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .btn-official-view {
        font-size: 1.1rem;
        padding: 18px 30px;
        width: 100%;
        justify-content: center;
    }

    /* Mobile specific adjustments for badges */
    .recommend-badges {
        justify-content: center;
    }

    .rec-badge {
        width: auto;
    }
}

@media (max-width: 480px) {
    .official-levels-title {
        font-size: 1.8rem;
    }

    .official-levels-desc {
        font-size: 0.95rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .rec-badge {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Level Detail Pages */
.level-content-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0b0b14 100%);
    position: relative;
}

.level-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

.main-info h2,
.main-info h3 {
    margin-bottom: 20px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
}

.stats-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--accent-green);
    margin: 25px 0;
    backdrop-filter: blur(5px);
}

.stats-box p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.stats-box strong {
    color: var(--text-primary);
    margin-right: 10px;
}

.sidebar-info h3 {
    margin-bottom: 25px;
    color: var(--accent-yellow);
    font-family: var(--font-heading);
}

.coin-guide {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coin-item {
    background: rgba(255, 204, 0, 0.08);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    transition: transform 0.3s ease;
}

.coin-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 204, 0, 0.12);
}

.coin-item strong {
    color: var(--accent-yellow);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.tips-box {
    background: rgba(7, 21, 67, 0.4);
    padding: 40px;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tips-box h2 {
    margin-top: 0;
    color: var(--accent-green);
    font-family: var(--font-heading);
    margin-bottom: 25px;
}

.tips-box ul {
    list-style: none;
    padding: 0;
}

.tips-box li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.tips-box li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.navigation-links {
    margin: 60px auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.next-btn,
.prev-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.next-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    color: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(0, 255, 51, 0.3);
}

.prev-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.next-btn:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
}

.prev-btn:hover {
    transform: translateY(-3px) translateX(-5px);
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .level-details-grid {
        grid-template-columns: 1fr;
    }

    .navigation-links {
        flex-direction: column;
    }

    .next-btn,
    .prev-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- FAQ Page Styles --- */
.faq-page-content {
    padding: 120px 20px 80px;
    background-color: #0D2C7A;
    min-height: 100vh;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 255, 51, 0.3);
}

.faq-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-category-title {
    font-family: var(--font-heading);
    color: var(--accent-yellow);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Inherits .faq-item, .faq-question, .faq-answer from main styles */

.faq-answer ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.faq-answer li::before {
    content: "•";
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.demon-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 25px;
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.demon-guide-link:hover {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

/* New FAQ Utility Classes */
.faq-category-header {
    grid-column: 1 / -1;
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
}

/* Remove separate grid margin interactions since we control spacing via header */
.faq-grid {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
        padding: 0 10px;
        line-height: 1.2;
    }

    .faq-page-content {
        padding-top: 110px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 60px;
    }

    .faq-intro {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .faq-category-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 8px;
        width: 100%;
        text-align: center;
        border-bottom-width: 1px;
    }

    .faq-category-header {
        margin-top: 30px;
        margin-bottom: 5px;
    }

    .faq-question {
        padding: 18px;
        gap: 15px;
        align-items: flex-start;
    }

    .faq-question span:first-child {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    /* Icon alignment for multi-line questions */
    .faq-question .faq-icon {
        margin-top: 2px;
    }

    .faq-grid {
        gap: 15px;
    }

    .faq-answer p {
        padding: 5px 18px 20px;
        font-size: 0.95rem;
    }


}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    /* Glassy Dark Design with Yellow Accent */
    background: rgba(20, 20, 20, 0.85);
    /* Darker neutral background for contrast */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    border-radius: 12px;
    /* Rounded Square */
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    /* Dark text on yellow background */
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.6);
    border-color: var(--accent-yellow);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Onboarding Hero Image */
.onboarding-hero-image {
    margin: 40px auto 50px;
    text-align: center;
    max-width: 900px;
    perspective: 1000px;
}

.onboarding-hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 51, 0.3),
        0 0 40px rgba(13, 44, 124, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.onboarding-hero-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.7),
        0 0 40px rgba(0, 255, 51, 0.5),
        0 0 60px rgba(13, 44, 124, 0.6);
}

@media (max-width: 768px) {
    .onboarding-hero-image {
        margin: 30px auto 40px;
    }
}

/* Play Online Preview Image */
.play-preview-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    /* Changed from absolute to allow container to resize */
    z-index: 0;
    border-radius: inherit;
}

/* Ensure frame is relative */
.game-preview-frame {
    position: relative;
    overflow: hidden;
}

/* Raise overlay elements */
.pulse-ring,
.play-overlay-icon {
    z-index: 10;
}