/* Base Styles */
:root {
   
    --bg-primary: #000000; 
    --bg-secondary: #111111; 
    --accent-primary: #29A26E;
    --accent-secondary: #1E845B; 
    --text-primary: #FFFFFF; 
    --text-secondary: #B0B0B0; 

    --gradient-accent: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-glow: linear-gradient(90deg, transparent, rgba(41, 162, 110, 0.2), transparent);

    --border-color-cards: #222222; 
    --box-shadow-cards: 0 8px 25px rgba(41, 162, 110, 0.15); 
    --box-shadow-accent: 0 4px 15px rgba(41, 162, 110, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Animation Durations bara*/
    --anim-duration-short: 0.3s;
    --anim-duration-medium: 0.6s;
    --anim-duration-long: 1s;
}

/* Keyframe Animations  bara */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(41, 162, 110, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(41, 162, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41, 162, 110, 0); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(41, 162, 110, 0.8); }
    50% { text-shadow: 0 0 20px rgba(41, 162, 110, 0.8); }
    100% { text-shadow: 0 0 5px rgba(41, 162, 110, 0.8); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes flicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    20% { transform: scale(1.08); }
    40% { transform: scale(0.96); }
    60% { transform: scale(1.04); }
    80% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(41, 162, 110, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(41, 162, 110, 0.03) 0%, transparent 25%);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* 3D Container Styles bara*/
.content-3d {
    position: relative;
    width: 100%;
    min-height: 100vh;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* 3D Elements bara */
.bg-3d-element {
    position: absolute;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.6s ease-out;
}

h1:hover::after, h2:hover::after {
    width: 100%;
}

.hero-h1-esports {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s infinite;
}

/* Hero Section Gaming Styles */
.hero h1 {
    font-size: 4.5rem;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px rgba(41, 162, 110, 0.3);
}

.hero-h1-highlight {
    color: var(--accent-primary);
    position: relative;
    animation: glowPulse 40s ease-in-out infinite;
}

.hero-h1-esports {
    background: linear-gradient(45deg, var(--accent-primary), #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: gradientFlow 3s linear infinite;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(41, 162, 110, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-features-list {
    margin-bottom: 2rem;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cyber-bullet {
    color: var(--accent-primary);
    margin-right: 10px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--accent-primary);
}

@keyframes gradientFlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px var(--accent-primary); }
    50% { text-shadow: 0 0 60px var(--accent-primary), 0 0 60px var(--accent-primary); }
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 6rem 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Form Elements */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Button Loading State */
button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

button.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    margin: -11px 0 0 -11px;
    border: 3px solid #fff;
    border-top-color: var(--accent-primary, #29a26e);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    z-index: 2;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notifications er jinish bara */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: rgba(41, 162, 110, 0.9);
    border-left: 4px solid #1E845B;
}

.notification.error {
    background: rgba(255, 59, 48, 0.9);
    border-left: 4px solid #cc1e1e;
}


.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Buttons bara*/
.cta-button {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-on-accent);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 0 15px rgba(41, 162, 110, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(41, 162, 110, 0.4);
    color: var(--text-primary) !important;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button.animated {
    animation: buttonPulse 0.5s;
}

/* Navbar bara*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 20, 0.95);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(41, 162, 110, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.70rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo .logo-esports {
    background: linear-gradient(90deg, #29a26e, #00fff0, #29a26e);
    background-size: 200% auto;
    color: #29a26e;
    font-weight: 800;
    margin-left: 0.5em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: esportsGradient 2.5s linear infinite;
}
@keyframes esportsGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.logo-esports {
    color: var(--accent-primary); /* Esports in green */
    font-weight: 700; /* Slightly less bold or distinct */
    margin-left: 0.25em;
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .cta-button {
    background: var(--accent-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41, 162, 110, 0.3);
    color: var(--text-primary) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* 3D Background Elements */
.bg-3d-element {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
    animation: float 12s ease-in-out infinite, flicker 8s infinite alternate;
    transition: all 1s ease-out;
}

.bg-3d-element.one {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-3d-element.two {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    top: 70%;
    right: 15%;
    animation-delay: -4s;
}

.bg-3d-element.three {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    bottom: 10%;
    left: 20%;
    animation-delay: -8s;
}

/* Hover effect on 3D elements */
.bg-3d-element:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Hero Section */
.hero {
    color: var(--text-primary);
    padding: 0; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-glow);
    animation: scanline 8s linear infinite;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: float 12s ease-in-out infinite;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.97) 35%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.1) 85%, rgba(41,162,110,0.07) 100%), url('media/BG_HERO_SEC.jpg') right center/cover no-repeat;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    filter: blur(0.5px);
}

.hero-background-image::after { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); 
}

.hero .container.hero-content-container {
    position: relative;
    z-index: 2; 
    padding-top: 10rem; 
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    height: 100%; 
}

.hero-main-content {
    max-width: 56%;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px rgba(41, 162, 110, 0.3);
}

.hero-h1-highlight {
    color: var(--accent-primary);
    position: relative;
    animation: glowPulse 30s ease-in-out infinite;
}

.hero-h1-esports {
    background: linear-gradient(45deg, var(--accent-primary), #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: gradientFlow 3s linear infinite;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(41, 162, 110, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-features-list {
    margin-bottom: 2rem;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cyber-bullet {
    color: var(--accent-primary);
    margin-right: 10px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--accent-primary);
}

@keyframes gradientFlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px var(--accent-primary); }
    50% { text-shadow: 0 0 40px var(--accent-primary), 0 0 60px var(--accent-primary); }
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.4rem;
    font-weight: 400;
    max-width: 540px;
}

.hero-features {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
}

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

.hero-features-list.column-1, .hero-features-list.column-2 {
    padding: 0;
    margin: 0 2.5rem 0 0;
    list-style: none;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-secondary);
}

.custom-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-right: 0.7em;
    vertical-align: middle;
    box-shadow: 0 0 8px 2px rgba(41,162,110,0.18);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-bottom: 3.2rem;
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent-primary);
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: none;
    outline: none;
}

.cta-button-outline:hover {
    background: var(--accent-primary);
    color: var(--text-on-accent);
    box-shadow: 0 4px 15px rgba(41,162,110,0.18);
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    text-align: center;
    z-index: 2;
    color: var(--accent-primary);
}

.scroll-indicator p {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.mouse-icon {
    width: 32px;
    height: 48px;
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    margin: 0 auto;
    position: relative;
}

.mouse-wheel {
    width: 6px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: mouse-scroll 1.3s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; top: 10px; }
    60% { opacity: 0; top: 25px; }
    100% { opacity: 1; top: 10px; }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-indicator p {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--accent-primary);
    border-radius: 11px;
    position: relative;
    margin: 0 auto;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 1.5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnimation 1.8s ease-in-out infinite;
}

@keyframes scrollWheelAnimation {
    0% { top: 7px; opacity: 1; }
    50% { top: 15px; opacity: 0; }
    51% { top: 7px; opacity: 0; }
    100% { top: 7px; opacity: 1; }
}

/* Features Section */
.features {
    background: var(--bg-primary);
    position: relative;
}

.features h2,
.benefits h2,
.waitlist h2,
.community h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2::after,
.benefits h2::after,
.waitlist h2::after,
.community h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 20, 25, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px 0 rgba(15, 20, 25, 0.3),
        0 2px 8px 0 rgba(41, 162, 110, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(41, 162, 110, 0.1),
        transparent
    );
    transition: 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 162, 110, 0.4);
    box-shadow: 
        0 15px 45px rgba(15, 20, 25, 0.2),
        0 5px 20px rgba(41, 162, 110, 0.15);
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(41, 162, 110, 0.15);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--accent-primary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(41, 162, 110, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(41, 162, 110, 0.4);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefits Section */
.benefits {
    background: var(--bg-primary);
    position: relative;
}

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

.benefit-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 20, 25, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px 0 rgba(15, 20, 25, 0.3),
        0 2px 8px 0 rgba(41, 162, 110, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(41, 162, 110, 0.1),
        transparent
    );
    transition: 0.6s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 162, 110, 0.4);
    box-shadow: 
        0 15px 45px rgba(15, 20, 25, 0.2),
        0 5px 20px rgba(41, 162, 110, 0.15);
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(41, 162, 110, 0.15);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--accent-primary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(41, 162, 110, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(41, 162, 110, 0.4);
}

.benefit-item h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    background: var(--gradient-accent);
    padding: 4rem 2rem;
    border-radius: 15px;
    color: white;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-on-accent);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-section .cta-button {
    background: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    opacity: 1;
    transition: background 0.2s, color 0.2s;
}

.cta-section .cta-button:hover {
    background: #12805c;
    color: #fff;
}

/* Waitlist Section */
.waitlist {
    background: var(--bg-primary);
    position: relative;
}

.waitlist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: var(--box-shadow-cards);
    border: 1px solid var(--border-color-cards);
    overflow: hidden;
}

.waitlist-form {
    padding: 3rem;
}

.waitlist-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.waitlist-form p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color-cards);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
    background-color: var(--bg-secondary);
}

/* Contact form select and textarea fix */
.contact-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 50px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}

.contact-form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 30px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  resize: vertical;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}

/* Discord Widget with RGB Border */
.discord-widget {
    background: rgba(15, 15, 15, 0.9);
    padding: 2px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Main content container */
.discord-widget > div {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* RGB Border Animation */
.discord-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(45deg, 
        #ff0000, #ff00ff, #00ff00, #00ffff, 
        #0000ff, #ffff00, #ff0000);
    background-size: 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 12px;
    animation: rgbBorder 8s linear infinite;
    pointer-events: none;
}

@keyframes rgbBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.discord-widget h3 {
    color: #fff;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.discord-widget iframe {
    border-radius: 8px;
    margin: 0;
    min-height: 300px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.discord-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #5865F2;
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

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

.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath fill='white' d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

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

.community-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 20, 25, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px 0 rgba(15, 20, 25, 0.3),
        0 2px 8px 0 rgba(41, 162, 110, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(41, 162, 110, 0.1),
        transparent
    );
    transition: 0.6s ease;
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 162, 110, 0.4);
    box-shadow: 
        0 15px 45px rgba(15, 20, 25, 0.2),
        0 5px 20px rgba(41, 162, 110, 0.15);
}

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

.community-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(41, 162, 110, 0.15);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--accent-primary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(41, 162, 110, 0.2);
    transition: all 0.3s ease;
}

.community-card:hover .community-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(41, 162, 110, 0.4);
}

.community-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5rem 0 0;
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #29A26E;
    display: inline-block;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-logo-esports {
    font-family: 'Orbitron', sans-serif;
    color: #29A26E;
    font-weight: 800;
    margin-left: 0.3em;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color-cards);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: var(--text-on-accent);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color-cards);
    padding: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
}

.footer-bottom-right a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--accent-primary);
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    padding-bottom: 2rem;
  }
  
  .footer-col {
    margin-bottom: 0;
  }

  .footer-col.brand-col {
    margin-bottom: 1rem;
  }
  
  .footer-desc {
    margin-bottom: 1.5rem;
  }
  
  .footer-socials {
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .footer-col ul {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-right {
    justify-content: center;
  }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 1080px) {
    /* Container adjustments */
    .container {
        width: 92%;
        padding: 0 15px;
    }

    /* Hero section adjustments */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero .container.hero-content-container {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .hero-main-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Features layout */
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        align-items: center;
    }

    .hero-features-list {
        margin: 0;
        width: 100%;
        max-width: 300px;
    }

    .hero-features-list li {
        justify-content: flex-start;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    /* Button adjustments */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2.5rem;
    }

    .cta-button, 
    .cta-button-outline {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Stats section */
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .stat-item {
        flex: 0 1 auto;
        min-width: 100px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Grid layouts */
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .feature-card,
    .benefit-item,
    .community-card {
        padding: 2rem 1.5rem;
    }

    /* Waitlist section */
    .waitlist-container {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    .waitlist-form,
    .discord-widget {
        padding: 2rem 1.5rem;
    }

    .discord-widget iframe {
        min-height: 300px;
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 20, 25, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links .cta-button {
        width: 80%;
        margin: 1rem auto;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: var(--accent-primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Footer adjustments */
    .footer-main {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-col {
        margin-bottom: 2rem;
    }

    .footer-desc {
        white-space: normal;
        margin-bottom: 1rem;
    }

    .footer-socials {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}

/* Join Waitlist and Discord Section Styles */
@media screen and (max-width: 768px) {
    .waitlist {
        padding: 2rem 1rem;
    }

    .waitlist h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 0.5rem;
        font-family: 'Orbitron', sans-serif;
        background: linear-gradient(45deg, #fff, #a5a5a5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

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

    /* Discord Widget Specific Mobile Styles */
    .discord-widget {
        margin: 0 1rem;
        padding: 2px;
        border-radius: 15px;
        background: rgba(15, 15, 15, 0.95);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .discord-widget > div {
        background: #1a1a1a;
        border-radius:  14px;
        padding: 1.5rem;
    }

    .discord-widget h3 {
        font-size: 2rem;
        font-family: 'Orbitron', sans-serif;
        margin-bottom: 1.5rem;
        text-align: center;
        background: linear-gradient(45deg, #fff, #a5a5a5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .discord-widget iframe {
        width: 100%;
        min-height: 380px;
        margin-bottom: 1rem;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.3);
    }

    .discord-button {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 8px;
        background: #5865F2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    .discord-button::after {
        width: 24px;
        height: 24px;
    }

    /* RGB Border Animation for Discord Widget */
    .discord-widget::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 2px;
        background: linear-gradient(45deg, 
            #0000ff, #00ff00, #ff0000, #0000ff);
        background-size: 300%;
        border-radius: 15px;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: rgbBorder 8s linear infinite;
    }

    @keyframes rgbBorder {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }

    /* Contact form select and textarea fix */
.contact-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 50px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}

.contact-form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 30px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  resize: vertical;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}
}

/* Modal */
.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 99999; 
    display: flex; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
    background: rgba(0, 0, 0, 0.7); /* Revert to original background */
    transform: scale(1) translateY(0);
}

.modal-content {
    display: block !important;
    min-width: 300px !important;
    min-height: 200px !important;
    overflow: visible !important;
    background: var(--bg-secondary); /* Revert to theme variable */
    color: var(--text-primary); /* Revert to theme variable */
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow-cards);
    border: 1px solid var(--border-color-cards);
    z-index: 100000; /* Ensure content is on top within the modal */
}

.modal-content h3,
.modal-content p {
    color: #FFFFFF !important; /* Force text color to white */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.modal p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .waitlist-container {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        order: 2;
    }
    
    .waitlist-benefits {
        order: 1;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
        background: var(--bg-secondary);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}

/* Footer Redesign */
.footer-redesign {
  background: var(--bg-primary);
  color: #fff;
  padding: 3.5rem 0 0;
  font-family: 'Poppins', sans-serif;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color-cards);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  gap: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col.brand-col {
  flex: 1.5;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  display: inline-block;
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col ul li {
  margin: 0;
  color: var(--text-secondary);
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-col ul li a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color-cards);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  color: var(--text-secondary);
  opacity: 0.8;
}

.footer-bottom-right {
  display: flex;
  gap: 2rem;
}

.footer-bottom-right a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
  color: var(--accent-primary);
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    padding-bottom: 2rem;
  }
  
  .footer-col {
    margin-bottom: 0;
  }

  .footer-col.brand-col {
    margin-bottom: 1rem;
  }
  
  .footer-desc {
    margin-bottom: 1.5rem;
  }
  
  .footer-socials {
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .footer-col ul {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-right {
    justify-content: center;
  }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 1080px) {
    /* Container adjustments */
    .container {
        width: 92%;
        padding: 0  15px;
    }

    /* Hero section adjustments */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero .container.hero-content-container {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .hero-main-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Features layout */
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        align-items: center;
    }

    .hero-features-list {
        margin: 0;
        width: 100%;
        max-width: 300px;
    }

    .hero-features-list li {
        justify-content: flex-start;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    /* Button adjustments */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2.5rem;
    }

    .cta-button, 
    .cta-button-outline {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Stats section */
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .stat-item {
        flex: 0 1 auto;
        min-width: 100px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Grid layouts */
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .feature-card,
    .benefit-item,
    .community-card {
        padding: 2rem 1.5rem;
    }

    /* Waitlist section */
    .waitlist-container {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    .waitlist-form,
    .discord-widget {
        padding: 2rem 1.5rem;
    }

    .discord-widget iframe {
        min-height: 300px;
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 20, 25, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links .cta-button {
        width: 80%;
        margin: 1rem auto;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: var(--accent-primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Footer adjustments */
    .footer-main {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer-col {
        margin-bottom: 2rem;
    }

    .footer-desc {
        white-space: normal;
        margin-bottom: 1rem;
    }

    .footer-socials {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}

/* Modal */
.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 99999; 
    display: flex; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
    background: rgba(0, 0, 0, 0.7); /* Revert to original background */
    transform: scale(1) translateY(0);
}

.modal-content {
    display: block !important;
    min-width: 300px !important;
    min-height: 200px !important;
    overflow: visible !important;
    background: var(--bg-secondary); /* Revert to theme variable */
    color: var(--text-primary); /* Revert to theme variable */
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow-cards);
    border: 1px solid var(--border-color-cards);
    z-index: 100000; /* Ensure content is on top within the modal */
}

.modal-content h3,
.modal-content p {
    color: #FFFFFF !important; /* Force text color to white */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.modal p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .waitlist-container {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        order: 2;
    }
    
    .waitlist-benefits {
        order: 1;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
        background: var(--bg-secondary);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}

/* Modal */
.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 99999; 
    display: flex; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
    background: rgba(0, 0, 0, 0.7); /* Revert to original background */
    transform: scale(1) translateY(0);
}

.modal-content {
    display: block !important;
    min-width: 300px !important;
    min-height: 200px !important;
    overflow: visible !important;
    background: var(--bg-secondary); /* Revert to theme variable */
    color: var(--text-primary); /* Revert to theme variable */
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow-cards);
    border: 1px solid var(--border-color-cards);
    z-index: 100000; /* Ensure content is on top within the modal */
}

.modal-content h3,
.modal-content p {
    color: #FFFFFF !important; /* Force text color to white */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.modal p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .waitlist-container {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        order: 2;
    }
    
    .waitlist-benefits {
        order: 1;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
        background: var(--bg-secondary);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}

/* Join Waitlist and Discord Section Styles */
@media screen and (max-width: 768px) {
    .waitlist {
        padding: 2rem 1rem;
    }

    .waitlist h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 0.5rem;
        font-family: 'Orbitron', sans-serif;
        background: linear-gradient(45deg, #fff, #a5a5a5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

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

    /* Discord Widget Specific Mobile Styles */
    .discord-widget {
        margin: 0 1rem;
        padding: 2px;
        border-radius: 15px;
        background: rgba(15, 15, 15, 0.95);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .discord-widget > div {
        background: #1a1a1a;
        border-radius:  14px;
        padding: 1.5rem;
    }

    .discord-widget h3 {
        font-size: 2rem;
        font-family: 'Orbitron', sans-serif;
        margin-bottom: 1.5rem;
        text-align: center;
        background: linear-gradient(45deg, #fff, #a5a5a5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .discord-widget iframe {
        width: 100%;
        min-height: 380px;
        margin-bottom: 1rem;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.3);
    }

    .discord-button {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 8px;
        background: #5865F2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    .discord-button::after {
        width: 24px;
        height: 24px;
    }

    /* RGB Border Animation for Discord Widget */
    .discord-widget::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 2px;
        background: linear-gradient(45deg, 
            #0000ff, #00ff00, #ff0000, #0000ff);
        background-size: 300%;
        border-radius: 15px;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: rgbBorder 8s linear infinite;
    }

    @keyframes rgbBorder {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }

    /* Contact form select and textarea fix */
.contact-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 50px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}

.contact-form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 30px;
  padding: 15px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color-cards);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  box-sizing: border-box;
  resize: vertical;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}
}

/* Modal */
.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 99999; 
    display: flex; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Enable interaction when visible */
    background: rgba(0, 0, 0, 0.7); /* Revert to original background */
    transform: scale(1) translateY(0);
}

.modal-content {
    display: block !important;
    min-width: 300px !important;
    min-height: 200px !important;
    overflow: visible !important;
    background: var(--bg-secondary); /* Revert to theme variable */
    color: var(--text-primary); /* Revert to theme variable */
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow-cards);
    border: 1px solid var(--border-color-cards);
    z-index: 100000; /* Ensure content is on top within the modal */
}

.modal-content h3,
.modal-content p {
    color: #FFFFFF !important; /* Force text color to white */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.modal p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .waitlist-container {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        order: 2;
    }
    
    .waitlist-benefits {
        order: 1;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
        background: var(--bg-secondary);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .features-grid,
    .benefits-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Main content spacing */
    .hero-content-container {
        padding: 1rem;
        margin-top: 2rem;
    }

    /* Text alignment and spacing */
    .hero-main-content {
        text-align: center;
        padding: 0 1rem;
    }

    /* Remove unnecessary margins */
    .waitlist-container {
        margin: 0;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }

    section:last-child {
        padding-bottom: 5rem;
    }

    /* Fix bottom navigation spacing */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.8rem 0;
        z-index: 1000;
    }
}