/* styles.css */
/* Ensure :root variables are defined here as well for the full stylesheet */
:root {
    /* Official Black Ops 7 Color Palette */
    --light-void: #DAE3EA;      /* Light grayish blue - backgrounds */
    --winterlakes: #5F92CC;     /* Medium blue - primary accent */
    --cobalt-blue: #003DA5;     /* Deep blue - dark accent */
    --bo-orange: #F96800;       /* Signature Black Ops orange - accent bursts */
    --black-void: #000000;      /* Pure black - deep shadows */

    /* Theme Colors (using official BO7 palette) */
    --primary: #5F92CC;         /* Winterlakes - main accent */
    --primary-dark: #003DA5;    /* Cobalt Blue - dark accent */
    --secondary: #333333;
    --dark: #0a0a0a;            /* Near black void */
    --darker: #000000;          /* Black void */
    --light: #DAE3EA;           /* Light void */
    --gray: #A0A0A0;

    /* Gradients */
    --gradient: linear-gradient(135deg, #003DA5 0%, #5F92CC 100%);
    --gradient-hover: linear-gradient(135deg, #002d7a 0%, #4a7db8 100%);
    --shadow: 0 10px 30px rgba(0, 61, 165, 0.3);

    /* Layout */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 8px;
    --header-height: 80px;

    /* Game-specific colors */
    --bo7-color: linear-gradient(135deg, #003DA5 0%, #5F92CC 100%);
    --bo7-solid: #5F92CC;
    --bo6-color: #f96800;       /* Black Ops Orange */
    --mw3-color: #d70000;
    --dmz-color: #7bc32d;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: calc(var(--header-height) + 20px); /* Increased padding slightly */
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Add main element styling */
main {
    display: block; /* Ensure block behavior */
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
}

/* Improve link visibility within paragraphs */
p a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(95, 146, 204, 0.5);
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
p a:hover, p a:focus {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}


ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Section anchor positioning */
.section-anchor {
    position: absolute;
    top: calc(-1 * (var(--header-height) + 20px));
    height: 0;
    width: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1A1A1A 0%, var(--darker) 100%);
    z-index: -2;
}

.animated-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PGRlZnM+PHBhdHRlcm4gaWQ9InBhdHRlcm5fS3YwZGNnIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgwKSI+PGxpbmUgeDE9IjAiIHk9IjAiIHgyPSIwIiB5Mj0iMTAiIHN0cm9rZT0iIzJBMkEyQSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm5fS3YwZGNnKSIgb3BhY2l0eT0iMC4wNCIvPjwvc3ZnPg==');
    opacity: 0.4;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 61, 165, 0.08) 0%, rgba(0, 0, 0, 0) 25%),
        radial-gradient(circle at 80% 80%, rgba(95, 146, 204, 0.05) 0%, rgba(0, 0, 0, 0) 25%);
    z-index: -1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-align: center; /* Ensure text is centered */
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 61, 165, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(0, 61, 165, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::before, .btn-secondary:focus-visible::before {
    width: 100%;
}

.btn-secondary:hover, .btn-secondary:focus-visible {
    color: white;
    box-shadow: var(--shadow);
}

.btn-join {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.btn-join:hover, .btn-join:focus-visible {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn.glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary);
    }
    100% {
        box-shadow: 0 0 20px var(--primary), 0 0 30px var(--primary-dark);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    height: var(--header-height);
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9); /* Slightly less opaque for performance */
    backdrop-filter: blur(10px); /* Reduced blur */
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure logo link is focusable */
.logo a {
    color: var(--light); /* Inherit color */
    text-decoration: none; /* Remove underline */
}
.logo a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}


.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block; /* Ensure focus outline wraps correctly */
}

.logo-text::after {
    content: 'DISCORD';
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.highlight {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0; /* Add padding for larger focus area */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link:focus-visible {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link:focus-visible::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Initially hidden */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001; /* Ensure it's above header bg */
}


.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light);
    transition: transform 0.3s ease, opacity 0.3s ease; /* Use separate transitions */
    border-radius: 1px; /* Slight rounding */
}

/* Styles for active menu toggle (X shape) */
.menu-toggle.active span:first-child {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%); /* Slide out */
}
.menu-toggle.active span:last-child {
     transform: translateY(-9px) rotate(-45deg);
}


/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: min(75%, 300px); /* Max width */
    height: 100vh;
    background-color: var(--darker);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem; /* Adjust padding */
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Use transform for performance */
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2); /* Add shadow */
    visibility: hidden; /* Hide initially */
    transform: translateX(100%);
}

.mobile-menu.active {
    right: 0; /* Slide in */
    transform: translateX(0);
    visibility: visible; /* Show */
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap */
}

.mobile-link {
    font-size: 1.3rem; /* Slightly smaller */
    font-weight: 600;
    display: block;
    padding: 0.8rem 0; /* Adjusted padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Lighter border */
}
.mobile-link:hover, .mobile-link:focus-visible {
    color: var(--primary);
}


.mobile-btn {
    display: block; /* Make it block level for consistency */
    background: var(--gradient);
    color: white;
    padding: 1rem 1.5rem; /* Adjusted padding */
    border-radius: 50px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.mobile-btn:hover, .mobile-btn:focus-visible {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}


/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 4rem) 0 5rem; /* Adjust top padding for fixed header */
    overflow: hidden;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    /* Animation styles handled by JS */
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    position: relative;
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.main-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #ffffff, var(--primary));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Updated section-tag style */
.section-tag {
    display: block !important; /* Ensure display override */
    margin-bottom: 1rem !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
    padding: 0 50px; /* Add padding to prevent overlap with lines */
}

.section-tag::before, .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
    transform: translateY(-50%); /* Center vertically */
}

.section-tag::before {
    left: 10px; /* Adjusted position */
}

.section-tag::after {
    right: 10px; /* Adjusted position */
}

/* Updated section-header style */
.section-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.highlight-text {
    color: var(--primary) !important;
    position: relative;
    display: inline-block;
    /* Ensure gradient override doesn't happen here */
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--primary) !important;
    background: none !important;
}


.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 61, 165, 0.3);
    z-index: -1;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem; /* Increased margin */
    position: relative;
    margin-top: 0 !important; /* Override margin */
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Slightly smaller */
    height: 3px; /* Thicker */
    background: var(--primary);
    border-radius: 2px; /* Rounded */
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: #B8C4CE;
    padding-top: 0.5rem; /* Reduced padding */
}

.section-description a {
    color: var(--primary);
    text-decoration: underline;
}


.dynamic-text {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    min-height: 1.6em; /* Reserve space to reduce CLS */
}

.dynamic-text a {
    color: var(--primary);
    text-decoration: underline;
}

.game-title {
    position: relative;
    display: inline-block;
    transition: color 0.5s ease, opacity 0.5s ease, transform 0.5s ease; /* Added opacity/transform */
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #C8D4DE;
    max-width: 550px; /* Limit width */
}


.cta-container {
    display: flex;
    flex-direction: column; /* Ensure column layout */
    align-items: flex-start; /* Align left */
    gap: 1rem;
    margin-bottom: 3rem;
}

.discord-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gray);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    opacity: 0.8; /* Make it slightly subtle */
}


.mouse {
    width: 28px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.image-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensure square aspect ratio based on image */
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background-color: var(--darker); /* Placeholder background */
}

/* Game Image Slider */
.game-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden; /* Use visibility */
    transform: translateX(100%);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0.8s; /* Delay visibility change */
    overflow: hidden;
}

.game-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible; /* Make visible */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0s;
}

/* Exit animation state */
.game-slide.previous {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden; /* Hide immediately */
     transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0s;
}


.game-slide img {
    display: block; /* Remove extra space below image */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed srcset */
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Ensure icons are above image */
}


.icon-float {
    position: absolute;
    color: var(--primary);
    opacity: 0.4; /* Slightly reduced opacity */
    animation: float 6s ease-in-out infinite;
    will-change: transform; /* Optimize animation */
}


.icon-1 {
    top: 20%;
    left: 10%;
    font-size: 2rem;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: 15%;
    font-size: 1.5rem;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 25%;
    left: 25%;
    font-size: 1.8rem;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about {
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
    padding-top: 5rem; /* Adjusted padding */
    padding-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    /* Reveal animation */
    transform: translateY(30px); /* Start slightly lower */
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease;
    will-change: transform, opacity; /* Optimize animation */
}


.feature-card.revealed {
    transform: translateY(0);
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0); /* Animate scale */
    transform-origin: bottom;
    transition: transform 0.4s ease;
}


.feature-card:hover {
    transform: translateY(-8px); /* Reduced hover effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Adjusted hover shadow */
}

.feature-card:hover::before {
    transform: scaleY(1); /* Grow line on hover */
}


.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block; /* Ensure icon takes space */
}


.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem; /* Reduced margin */
}
.feature-card p {
    color: #B8C4CE;
    font-size: 0.95rem;
}


/* Games Section */
.games {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); /* Responsive columns */
    gap: 2rem;
    margin-bottom: 4rem; /* Increased margin before legacy */
}

.game-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Adjusted shadow */
    position: relative;
    background-color: var(--darker);
    /* Reveal animation */
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease;
    will-change: transform, opacity;
    display: flex; /* Use flex for better content control */
    flex-direction: column;
}


.game-card.revealed {
    transform: translateY(0);
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px); /* Slightly reduced hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.game-image {
    /* Height is determined by aspect-ratio */
    aspect-ratio: 16 / 9; /* Use aspect ratio for consistency */
    position: relative;
    overflow: hidden;
    background-color: var(--dark); /* Placeholder */
}

.game-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
     /* Removed srcset */
}

.game-card:hover .game-image img {
    transform: scale(1.05); /* Reduced scale */
}

.game-overlay {
    position: absolute;
    bottom: 0; /* Position at bottom */
    left: 0;
    width: 100%;
    height: 70%; /* Cover more area */
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.95) 100%); /* Smoother gradient */
    z-index: 1;
    pointer-events: none; /* Allow clicking through */
}


.game-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
}


.game-content h3 {
    font-size: 1.4rem; /* Slightly smaller */
    margin-bottom: 0.5rem;
    color: var(--primary); /* Use primary color for titles */
}
/* Assign specific colors if desired */
.bo7 + .game-content h3, .bo7-alt + .game-content h3 { 
    background: var(--bo7-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #00d4ff; /* Fallback for non-supporting browsers */
}
.bo6 + .game-content h3 { color: var(--bo6-color); }
.mw3 + .game-content h3 { color: var(--mw3-color); }

.game-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
    flex-grow: 1; /* Push button to bottom */
}

.game-content .btn-secondary {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start; /* Align button left */
}


/* Legacy Section - Background Image Removed */
.legacy-section {
    margin-top: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--darker);
    /* Removed background-image from here */
    position: relative;
    background-image: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* Reveal animation */
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

/* Removed .legacy-section::before rule */

.legacy-section.revealed {
    transform: translateY(0);
    opacity: 1;
}

.legacy-content {
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}


.legacy-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legacy-content p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7; /* Improved line height */
    opacity: 0.9;
}


/* Stats Section */
.stats {
    background: var(--gradient);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle diagonal lines pattern */
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 20px
    );
    opacity: 0.8;
}


.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjust min size */
    gap: 2rem; /* Reduced gap */
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    position: relative;
    padding: 1rem 0; /* Add some padding */
}


.stat-number {
    font-size: 3rem; /* Slightly smaller */
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: inline-block;
    line-height: 1; /* Ensure consistent line height */
    color: #fff; /* Ensure white color */
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: 0px; /* Adjust position */
    right: -18px; /* Adjust position */
    font-size: 1.8rem; /* Adjust size */
    font-weight: 600; /* Match label weight */
    opacity: 0.8; /* Slightly subtle */
}
/* Remove '+' for specific counters if needed */
/* .stat-item:nth-child(2) .stat-number::after { content: ''; } */

.stat-label {
    font-size: 1rem; /* Smaller label */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9; /* Slightly subtle */
    color: #fff;
}


/* CTA Section - Background Image Removed */
.cta-section {
    padding: 6rem 0; /* Adjusted padding */
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure pseudo-elements are contained */
    background-color: var(--dark); /* Fallback color */
}
/* Removed .cta-section::before rule */

.cta-section::after { /* Keep overlay gradient */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9));
    z-index: 0;
}


.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem; /* Adjusted size */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff; /* Ensure text is white */
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem; /* Increased margin */
    opacity: 0.9;
    color: var(--light); /* Ensure text is light */
}
.cta-content .btn-primary {
    padding: 1rem 2.5rem; /* Larger button */
    font-size: 1.1rem;
}


/* Video Section */
.video-section {
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    /* Reveal animation */
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}


.video-container.revealed {
    transform: translateY(0);
    opacity: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Adjusted shadow */
    background-color: var(--dark); /* Placeholder background */
}


.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove default border */
}

/* Video Placeholder - Image Removed */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3; /* Above iframe */
    background-color: var(--dark); /* Ensure background */
    transition: opacity 0.4s ease; /* Fade out */
}
.video-placeholder.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Removed .video-placeholder img rule */

.play-button {
    position: absolute;
    width: 70px; /* Smaller button */
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem; /* Smaller icon */
    transition: transform 0.3s ease; /* Only transition transform */
    z-index: 4; /* Above potential background */
    box-shadow: 0 0 0 0 rgba(0, 61, 165, 0.7); /* Initial state for pulse */
    animation: pulse-play 2s infinite cubic-bezier(0.66, 0, 0, 1); /* Use different easing */
}

@keyframes pulse-play {
    to {
        box-shadow: 0 0 0 20px rgba(0, 61, 165, 0);
    }
}


.video-placeholder:hover .play-button {
    transform: scale(1.1);
}


/* Contact Section */
.contact {
    background-color: var(--dark);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    width: 100%; /* Ensure it takes width on smaller screens */
    padding: 3rem 2rem; /* Adjusted padding */
    background-color: rgba(255, 255, 255, 0.03); /* Subtler background */
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Adjusted shadow */
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary); /* Use border instead of pseudo */
}

.contact-item {
    margin-bottom: 2.5rem; /* Increased spacing */
}
.contact-item:last-of-type {
    margin-bottom: 0; /* Remove margin from last item if needed */
}

.contact-icon { /* Use a div for the icon */
    font-size: 2.5rem; /* Adjusted size */
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1; /* Prevent extra spacing */
}


.contact-item h3 {
    font-size: 1.6rem; /* Adjusted size */
    margin-bottom: 0.8rem;
}
.contact-item p {
    color: #B0B0B0;
    margin-bottom: 1rem; /* Add margin below paragraph */
}

.contact-item p a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem; /* Adjusted size */
    position: relative;
    padding-bottom: 5px; /* Add padding for underline */
    word-break: break-all; /* Prevent long links breaking layout */
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0; /* Position underline correctly */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.contact-link:hover::after, .contact-link:focus-visible::after {
    width: 100%;
}

.contact-cta {
    margin-top: 2.5rem; /* Adjusted spacing */
}
.contact-cta .btn-primary {
    padding: 0.9rem 2.2rem; /* Adjust button size */
}


/* Footer */
footer {
    background-color: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem; /* Add gap for wrapping */
    margin-bottom: 3rem; /* Increased spacing */
}

.footer-logo {
    margin-bottom: 1rem;
    flex-basis: 250px; /* Give logo some base width */
    flex-grow: 1; /* Allow growing */
}
.footer-logo a {
    display: inline-block; /* Ensure focus works */
}

.tagline {
    font-size: 0.9rem;
    color: #A0A0A0;
    margin-top: 0.5rem;
}

.footer-links {
    flex-basis: auto; /* Allow natural width */
}
.footer-links ul {
    display: flex;
    gap: 1.5rem; /* Adjusted gap */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Center links when wrapped */
}

.footer-links a {
    color: #B0B0B0;
    transition: var(--transition);
    padding: 5px; /* Add padding for focus */
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem; /* Reduced gap */
    flex-basis: auto;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Subtler */
    border-radius: 50%;
    transition: var(--transition);
    color: var(--light); /* Ensure icon color */
}
.footer-social a i {
    font-size: 1.1rem; /* Ensure icon size */
}


.footer-social a:hover, .footer-social a:focus-visible {
    background-color: var(--primary);
    transform: translateY(-4px); /* Slightly less lift */
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem; /* Adjusted spacing */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #9A9A9A;
    font-size: 0.9rem;
}


/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px; /* Adjusted position */
    right: 20px;
    width: 45px; /* Smaller */
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Start lower */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    border: none; /* Ensure it's treated as a button */
    padding: 0; /* Remove padding */
}
.scroll-top i {
    font-size: 1.2rem;
}


.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move up */
}

.scroll-top:hover, .scroll-top:focus-visible {
    background-color: var(--primary-dark);
    transform: translateY(-4px); /* Lift on hover/focus */
}


/* Responsive */
@media (max-width: 1024px) {
    html { font-size: 15px; } /* Adjust base font size */

    .hero-container {
        flex-direction: column;
        gap: 3rem; /* Reduced gap */
        text-align: center; /* Center text content */
    }

    .hero-image {
        max-width: 500px; /* Limit width */
        width: 80%; /* Responsive width */
        margin: 0 auto; /* Center image */
    }

    .hero-content {
        text-align: center;
        max-width: 600px; /* Limit width */
        width: 100%;
    }

    .cta-container {
        align-items: center; /* Center buttons */
        margin-bottom: 2rem;
    }

    .main-title {
        font-size: 3rem; /* Adjust title size */
    }

    .cta-content h2 {
        font-size: 2.5rem; /* Adjust CTA title */
    }

    .features-grid, .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); /* Adjust grid */
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }

    nav, .join-btn-small {
        display: none; /* Hide desktop nav */
    }

    .menu-toggle {
        display: flex; /* Show mobile menu toggle */
    }

    header {
        padding: 1rem 0; /* Adjust header padding */
        height: calc(var(--header-height) - 10px); /* Adjust height if padding changes */
    }
    html {
        scroll-padding-top: calc(var(--header-height) - 10px + 20px); /* Adjust scroll padding */
    }
    .section-anchor {
         top: calc(-1 * (var(--header-height) - 10px + 20px));
    }
    .hero {
        padding-top: calc(var(--header-height) - 10px + 3rem); /* Adjust hero padding */
    }


    .main-title {
        font-size: 2.5rem;
    }

    /* Reset reveal animation start point for mobile */
    .feature-card, .game-card, .legacy-section, .video-container {
        transform: translateY(20px);
    }


    .legacy-content {
        padding: 2.5rem 1.5rem; /* Adjust padding */
    }

    .legacy-content h3 {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .footer-logo, .footer-links, .footer-social {
        flex-basis: 100%; /* Full width on mobile */
    }

    .footer-links ul {
        justify-content: center;
        gap: 1rem;
    }

    .scroll-indicator {
        display: none; /* Hide scroll indicator */
    }

    .section-header h2 {
        font-size: 2rem; /* Adjust section titles */
    }
     .section-header h2::after {
        width: 60px;
     }

    .cta-content h2 {
        font-size: 2.2rem;
    }
    .cta-section {
        padding: 5rem 0;
    }

    .video-wrapper {
        margin: 0; /* Remove margin */
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Adjust section padding for mobile */
    section, .about, .games, .contact, .video-section, .stats {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .stats { padding: 3rem 0; } /* Specific padding for stats */

    .stat-number { font-size: 2.5rem; }
    .stat-number::after { right: -15px; font-size: 1.5rem; }
    .stat-label { font-size: 0.9rem; }

    .contact-info { padding: 2.5rem 1rem; }
}

@media (max-width: 480px) {
    html { font-size: 13px; }

    .main-title {
        font-size: 2rem;
    }
     .hero-description {
        font-size: 1.1rem;
     }

    .cta-content h2 {
        font-size: 2rem;
    }
    .cta-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .badge {
        margin-bottom: 1.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Adjust section tag lines for small screens */
    .section-tag { padding: 0 30px; }
    .section-tag::before, .section-tag::after {
        width: 20px;
    }
    .section-tag::before { left: 5px; }
    .section-tag::after { right: 5px; }

    .feature-card {
        padding: 1.5rem;
    }
     .feature-card h3 { font-size: 1.3rem; }

    .game-content { padding: 1.2rem; }
     .game-content h3 { font-size: 1.2rem; }
     .game-content p { font-size: 0.9rem; }

    .contact-info {
        padding: 2rem 1rem;
    }
     .contact-item h3 { font-size: 1.4rem; }
     .contact-link { font-size: 1rem; }

    .logo-text { font-size: 1.3rem; }
    .logo-text::after {
        bottom: -0.4rem;
        font-size: 0.5rem;
    }

    .stat-number { font-size: 2.2rem; }
     .stat-number::after { right: -12px; font-size: 1.3rem; }

    .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; transition: none; }
    .btn i { font-size: 1rem; }
    .cta-content .btn-primary { padding: 0.8rem 2rem; font-size: 1rem;}

    .scroll-top { width: 40px; height: 40px; bottom: 15px; right: 15px; }
    .scroll-top i { font-size: 1rem; }
}

/* Reduce Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } /* Disable smooth scroll */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    animation-delay: 0ms !important;
  }
  .pulse::before, .glow, .wheel, .float, .pulse-play {
      animation: none !important; /* Disable specific animations */
  }
  .btn:hover, .btn:focus-visible,
  .feature-card:hover, .game-card:hover,
  .footer-social a:hover, .footer-social a:focus-visible,
  .scroll-top:hover, .scroll-top:focus-visible {
      transform: none !important; /* Disable hover transforms */
  }
  .feature-card::before { transform: scaleY(0) !important; } /* Keep line hidden */
  .feature-card:hover::before { transform: scaleY(0) !important; }

}


/* Print styles */
@media print {
  body { background-color: #fff; color: #000; }
  header, footer, .animated-background, .scroll-top, .video-placeholder, .play-button, .scroll-indicator, .floating-icons, .cta-section::before, .cta-section::after, .stats::before, .legacy-section::before { display: none !important; }
  section, .about, .games, .contact, .video-section, .stats, .cta-section { padding: 2rem 0 !important; background: none !important; }
  .container { width: 100%; max-width: none; padding: 0 1cm; }
  .hero { padding-top: 1rem !important; }
  .main-title { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; font-size: 24pt; }
  .highlight-text { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
  .highlight-text::after { display: none; }
  a { color: #000 !important; text-decoration: underline !important; }
  .btn { border: 1px solid #ccc !important; background: #eee !important; color: #000 !important; box-shadow: none !important; padding: 0.5rem 1rem !important; }
  .feature-card, .game-card, .legacy-section { box-shadow: none !important; border: 1px solid #eee !important; transform: none !important; opacity: 1 !important; }
  .game-image img, .image-container img { filter: grayscale(100%); }
  .stats-container { grid-template-columns: 1fr !important; }
  .stat-number, .stat-label { color: #000 !important; }
  .stat-number::after { display: none; }
  .video-wrapper iframe { border: 1px solid #ccc; }
}


/* Focus Visible Polyfill fallback if needed */
/* Add styles for .focus-visible class if using polyfill */
/* a.focus-visible, button.focus-visible { ... } */

/* Visually Hidden Class */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* Prevent content wrapping */
  border: 0;
  margin: -1px;
  padding: 0;
}

/* --- ADD THIS CRITICAL CSS TO THE <style> TAG IN THE <head> of index.html --- */
/* Minimal critical CSS focusing on layout, header, and hero section structure */
/* :root{--primary:#f96800;--primary-dark:#d95600;--dark:#121212;--darker:#0a0a0a;--light:#f7f3f5;--header-height:80px;--transition:all .3s cubic-bezier(.25,.46,.45,.94);--radius:8px;--bo6-color:#f96800;--mw3-color:#d70000;--dmz-color:#7bc32d}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth;font-size:16px;scroll-padding-top:calc(var(--header-height) + 20px)}body{font-family:'Rajdhani',sans-serif;background-color:var(--dark);color:var(--light);line-height:1.6;overflow-x:hidden;position:relative;margin:0;padding:0}a{text-decoration:none;color:var(--light);transition:var(--transition)}.container{width:90%;max-width:1200px;margin:0 auto;padding:0 1rem}.animated-background{position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(ellipse at center,#1a1a1a 0%,var(--darker) 100%);z-index:-2}header{position:fixed;top:0;left:0;width:100%;padding:1.5rem 0;z-index:1000;transition:background-color .3s ease,backdrop-filter .3s ease,padding .3s ease,box-shadow .3s ease;height:var(--header-height)}.header-container{display:flex;justify-content:space-between;align-items:center}.logo a{color:var(--light);text-decoration:none}.logo-text{font-family:'Montserrat',sans-serif;font-weight:800;font-size:1.5rem;text-transform:uppercase;letter-spacing:1px;position:relative;display:inline-block}.logo-text::after{content:'DISCORD';position:absolute;bottom:-.5rem;right:0;font-size:.6rem;color:var(--primary);letter-spacing:2px}.highlight{color:var(--primary)}nav ul{display:flex;gap:2rem;list-style:none}.nav-link{font-weight:600;font-size:1rem;text-transform:uppercase;position:relative;padding:5px 0}.menu-toggle{display:none;flex-direction:column;justify-content:space-between;width:30px;height:20px;cursor:pointer;background:none;border:none;padding:0;z-index:1001}.menu-toggle span{display:block;width:100%;height:2px;background-color:var(--light);transition:transform .3s ease,opacity .3s ease;border-radius:1px} */
/* .hero{padding:calc(var(--header-height) + 4rem) 0 5rem;overflow:hidden;position:relative}.hero-container{display:flex;align-items:center;gap:4rem}.hero-content{flex:1;max-width:600px}.badge{display:inline-flex;align-items:center;gap:.5rem;background-color:rgba(255,255,255,.1);padding:.5rem 1rem;border-radius:50px;margin-bottom:2rem;position:relative}.main-title{font-size:3.5rem;margin-bottom:1rem;line-height:1.1;background:linear-gradient(90deg,#fff,var(--primary));background-size:200% auto;color:transparent;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:gradient 8s linear infinite}@keyframes gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.dynamic-text{font-size:1.5rem;margin-bottom:1.5rem;font-weight:600;min-height:1.6em}.game-title{position:relative;display:inline-block;transition:color .5s ease,opacity .5s ease,transform .5s ease}.hero-description{font-size:1.2rem;margin-bottom:2rem;opacity:.9;max-width:550px}.cta-container{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;margin-bottom:3rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.8rem 2rem;font-family:'Montserrat',sans-serif;font-weight:700;font-size:1rem;text-transform:uppercase;border-radius:50px;border:none;cursor:pointer;transition:var(--transition);position:relative;overflow:hidden;letter-spacing:1px;text-align:center}.btn i{margin-right:.5rem;font-size:1.1rem}.btn-primary{background:var(--gradient);color:#fff;box-shadow:var(--shadow)}.discord-link{font-family:'Montserrat',sans-serif;font-size:.9rem;color:var(--gray)}.hero-image{flex:1;max-width:500px;position:relative}.image-container{width:100%;aspect-ratio:1 / 1;border-radius:var(--radius);position:relative;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.5);background-color:var(--darker)}.game-image-slider{position:relative;width:100%;height:100%}.game-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transform:translateX(100%);transition:opacity .8s ease,transform .8s ease,visibility 0s .8s;overflow:hidden}.game-slide.active{opacity:1;transform:translateX(0);visibility:visible;transition:opacity .8s ease,transform .8s ease,visibility 0s 0s}.game-slide img{display:block;width:100%;height:100%;object-fit:cover} */
/* @media (max-width: 1024px){.hero-container{flex-direction:column;gap:3rem;text-align:center}.hero-content{text-align:center;max-width:600px;width:100%}.cta-container{align-items:center}.main-title{font-size:3rem}.hero-image{max-width:500px;width:80%;margin:0 auto}} */
/* @media (max-width: 768px){nav,.join-btn-small{display:none}.menu-toggle{display:flex}.main-title{font-size:2.5rem}header{padding:1rem 0;height:calc(var(--header-height) - 10px)}html{scroll-padding-top:calc(var(--header-height) - 10px + 20px)}.hero{padding-top:calc(var(--header-height) - 10px + 3rem)}} */
/* @media (max-width: 480px){.main-title{font-size:2rem}} */
/* a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;margin:-1px;padding:0} */