* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #06C594;
    --red-primary: #EF476F;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
    -webkit-overflow-scrolling: touch;
    transition: filter 0.3s ease;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ====== NAVIGATION ====== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-img {
    height: 45px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(6, 197, 148, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--green-primary);
    background: rgba(6, 197, 148, 0.08);
}

.discord-nav-btn {
    background: #5865f2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-nav-btn::before {
    content: '💬';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-nav-btn:hover::before {
    left: 8px;
}

.discord-nav-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
    padding-left: 32px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(6, 197, 148, 0.1);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--green-primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--green-primary);
}

/* ====== MOBILE MENU OVERLAY ====== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 48px;
    /* padding-bottom: 20px; */
    /* border-bottom: 2px solid rgba(6, 197, 148, 0.3); */
}

.mobile-logo {
    display: none;
}

.mobile-menu-close {
    background: rgba(6, 197, 148, 0.1);
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
    transform: rotate(90deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: white;
    border: 2px solid rgba(6, 197, 148, 0.2);
    border-radius: 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(0);
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link:hover {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(6, 197, 148, 0.3);
}

.mobile-nav-link:hover .mobile-link-icon {
    color: white;
}

.mobile-link-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(6, 197, 148, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-discord-btn {
    margin-top: 24px;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}

.mobile-discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.5);
}

.mobile-discord-btn .discord-icon {
    width: 24px;
    height: 24px;
}

/* ====== BADGES ====== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    transition: all 0.3s ease;
}

.badge-video {
    background: rgba(88, 101, 242, 0.08);
    color: #5865f2;
    border: 1px solid rgba(88, 101, 242, 0.12);
}

.badge-waitlist {
    background: rgba(255, 184, 0, 0.08);
    color: #FF8C00;
    border: 1px solid rgba(255, 184, 0, 0.15);
}

.badge:hover {
    transform: translateY(-2px);
}

/* ====== MINIMAL HERO SECTION ====== */
.hero-section {
    margin-top: 40px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fade-in-up 0.8s ease-out;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-right 0.8s ease-out;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* border-radius: 20px; */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Phone Stack Containers */
.phone-stack {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 3D Phone Mockup Base */
.phone-mockup-3d {
    position: absolute;
    width: 200px;
    height: 400px;
    background: #1a1a2e;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    background: white;
}

/* LEFT PHONE STACK - 3D Arrangement */
.phone-left-1 {
    transform: translateX(-80px) translateZ(0px) rotateY(25deg) rotateZ(-5deg);
    z-index: 3;
    animation: float-left-1 6s ease-in-out infinite;
}

.phone-left-2 {
    transform: translateX(-40px) translateY(80px) translateZ(-100px) rotateY(20deg) rotateZ(3deg);
    z-index: 2;
    opacity: 0.9;
    animation: float-left-2 7s ease-in-out infinite;
}

.phone-left-3 {
    transform: translateX(-20px) translateY(-100px) translateZ(-200px) rotateY(15deg) rotateZ(-2deg);
    z-index: 1;
    opacity: 0.8;
    scale: 0.9;
    animation: float-left-3 8s ease-in-out infinite;
}

/* RIGHT PHONE STACK - 3D Arrangement */
.phone-right-1 {
    transform: translateX(80px) translateZ(0px) rotateY(-25deg) rotateZ(5deg);
    z-index: 3;
    animation: float-right-1 6s ease-in-out infinite 0.5s;
}

.phone-right-2 {
    transform: translateX(40px) translateY(80px) translateZ(-100px) rotateY(-20deg) rotateZ(-3deg);
    z-index: 2;
    opacity: 0.9;
    animation: float-right-2 7s ease-in-out infinite 0.5s;
}

.phone-right-3 {
    transform: translateX(20px) translateY(-100px) translateZ(-200px) rotateY(-15deg) rotateZ(2deg);
    z-index: 1;
    opacity: 0.8;
    scale: 0.9;
    animation: float-right-3 8s ease-in-out infinite 0.5s;
}

/* Floating Animations */
@keyframes float-left-1 {
    0%, 100% { 
        transform: translateX(-80px) translateY(0px) translateZ(0px) rotateY(25deg) rotateZ(-5deg);
    }
    50% { 
        transform: translateX(-80px) translateY(-20px) translateZ(20px) rotateY(28deg) rotateZ(-3deg);
    }
}

@keyframes float-left-2 {
    0%, 100% { 
        transform: translateX(-40px) translateY(80px) translateZ(-100px) rotateY(20deg) rotateZ(3deg);
    }
    50% { 
        transform: translateX(-40px) translateY(60px) translateZ(-80px) rotateY(22deg) rotateZ(5deg);
    }
}

@keyframes float-left-3 {
    0%, 100% { 
        transform: translateX(-20px) translateY(-100px) translateZ(-200px) rotateY(15deg) rotateZ(-2deg);
    }
    50% { 
        transform: translateX(-20px) translateY(-120px) translateZ(-180px) rotateY(17deg) rotateZ(0deg);
    }
}

@keyframes float-right-1 {
    0%, 100% { 
        transform: translateX(80px) translateY(0px) translateZ(0px) rotateY(-25deg) rotateZ(5deg);
    }
    50% { 
        transform: translateX(80px) translateY(-20px) translateZ(20px) rotateY(-28deg) rotateZ(3deg);
    }
}

@keyframes float-right-2 {
    0%, 100% { 
        transform: translateX(40px) translateY(80px) translateZ(-100px) rotateY(-20deg) rotateZ(-3deg);
    }
    50% { 
        transform: translateX(40px) translateY(60px) translateZ(-80px) rotateY(-22deg) rotateZ(-5deg);
    }
}

@keyframes float-right-3 {
    0%, 100% { 
        transform: translateX(20px) translateY(-100px) translateZ(-200px) rotateY(-15deg) rotateZ(2deg);
    }
    50% { 
        transform: translateX(20px) translateY(-120px) translateZ(-180px) rotateY(-17deg) rotateZ(0deg);
    }
}

/* Hover Effects */
.phone-mockup-3d:hover {
    transform: scale(1.05) translateZ(50px) !important;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 10 !important;
}

/* Center Hero Content */
.hero-content-center {
    text-align: center;
    z-index: 5;
    position: relative;
    animation: fade-in-center 1s ease-out;
}

@keyframes fade-in-center {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.red-baji {
    color: var(--red-primary);
}

.green-baji {
    color: var(--green-primary);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    /* line-height: 1.1; */
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.hero-tagline {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--gray);
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 540px;
}

/* Launch Badge */
.launch-badge {
    display: inline-block;
    margin-bottom: 20px;
    animation: slide-down 0.6s ease-out;
}

.badge-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 16px;
    margin: 30px 0;
    justify-content: center;
}

.countdown-box {
    background: linear-gradient(135deg, rgba(6, 197, 148, 0.1), rgba(6, 197, 148, 0.05));
    border: 2px solid rgba(6, 197, 148, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-3px);
    border-color: var(--green-primary);
    box-shadow: 0 8px 16px rgba(6, 197, 148, 0.2);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 6px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* CTA Button with Glass Effect */
.cta-button {
    text-decoration: none;
    display: inline-block;
}

.primary-cta {
    background: var(--dark);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.primary-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.primary-cta:hover::after {
    opacity: 1;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #0f0f1e;
}

/* ====== HOW TO PLAY SECTION ====== */
.how-to-play-section {
    padding: 60px 20px 80px;
    background: white;
}

.badge-how {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.how-to-play-image-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.how-to-play-img {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    display: block;
}

.how-to-play-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* ====== VIDEO SECTION ====== */
.video-section {
    padding: 60px 20px 80px;
    background: #f8f9fa;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.video-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.video-wrapper {
    display: flex;
    justify-content: center;
}

.video-container {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ====== DISCORD SECTION ====== */
.discord-section {
    padding: 60px 20px 80px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.discord-section.visible {
    opacity: 1;
    transform: translateX(0);
}

.discord-card {
    max-width: 600px;
    width: 100%;
    background: #5865f2;
    border-radius: var(--radius-md);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.2);
    transition: all 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.28);
}

.discord-content {
    position: relative;
    z-index: 1;
}

.discord-icon-wrapper {
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.discord-card:hover .discord-icon-wrapper {
    transform: scale(1.08);
}

.discord-icon-large {
    width: 70px;
    height: 70px;
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.discord-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.discord-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.discord-btn {
    background: white;
    color: #5865f2;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.discord-icon {
    width: 20px;
    height: 20px;
}

/* ====== WAITLIST SECTION ====== */
.waitlist-section {
    padding: 60px 20px 80px;
    background: #ffffff;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.waitlist-section.visible {
    opacity: 1;
    transform: translateX(0);
}

.waitlist-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.perks-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.perk:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.perk-emoji {
    font-size: 20px;
}

.perk-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

/* Custom Form Styles */
.form-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.form-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 12px 32px rgba(6, 197, 148, 0.15);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(6, 197, 148, 0.1);
}

.form-input::placeholder {
    color: var(--gray);
}

.submit-btn {
    background: linear-gradient(135deg, var(--green-primary), #05a87c);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 4px 12px rgba(6, 197, 148, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 197, 148, 0.4);
    gap: 10px;
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
}

.submit-btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text {
    font-weight: 600;
}

.form-message {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: rgba(6, 197, 148, 0.1);
    color: var(--green-primary);
    border: 1px solid var(--green-primary);
    display: block;
}

.form-message.error {
    background: rgba(239, 71, 111, 0.1);
    color: var(--red-primary);
    border: 1px solid var(--red-primary);
    display: block;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 16px;
}

/* Confetti Effect */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--green-primary);
    pointer-events: none;
    z-index: 9999;
    animation: confetti-fall 3s ease-out forwards;
}

.confetti:nth-child(2n) {
    background: var(--red-primary);
}

.confetti:nth-child(3n) {
    background: #FFB800;
}

.confetti:nth-child(4n) {
    background: #5865f2;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0f0f1e 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-top: 3px solid var(--green-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-brand {
    margin-bottom: 8px;
}

.footer-logo-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-3px);
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

.footer-subtext {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 14px;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* ====== RESPONSIVE DESIGN ====== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-img {
        max-width: 450px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 12px 20px;
        height: 60px;
        justify-content: space-between;
    }
    
    .nav-logo .logo-img {
        height: 38px;
    }

    .hero-section {
        min-height: auto;
        padding: 90px 20px 50px;
        margin-top: 0;
        overflow-x: hidden;
    }
    
    .hero-container {
        gap: 32px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-img {
        max-width: 320px;
        width: 100%;
        height: auto;
    }

    .how-to-play-section {
        padding: 50px 20px;
        width: 100%;
        overflow-x: hidden;
    }

    .how-to-play-image-wrapper {
        padding: 0 10px;
        margin: 30px auto 0;
    }

    .how-to-play-img {
        border-radius: var(--radius-md);
    }

    .section-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .video-section,
    .discord-section,
    .waitlist-section {
        padding: 50px 20px;
        width: 100%;
        overflow-x: hidden;
    }

    .discord-card {
        padding: 40px 24px;
        width: 100%;
        max-width: calc(100vw - 40px);
        margin: 0 auto;
    }
    
    .discord-title {
        font-size: 1.75rem;
    }
    
    .discord-description {
        font-size: 1rem;
    }

    .perks-row {
        flex-direction: column;
        align-items: center;
    }

    .perk {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .form-card {
        padding: 30px 20px;
        width: 100%;
        max-width: calc(100vw - 40px);
        margin: 0 auto;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .video-container {
        max-width: 100%;
        width: 100%;
        border: 2px solid white;
    }
    
    .badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 16px;
        height: 56px;
        justify-content: space-between;
    }
    
    .nav-logo .logo-img {
        height: 34px;
    }
    
    .hero-section {
        padding: 80px 16px 40px;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .hero-img {
        max-width: 280px;
        width: 100%;
        height: auto;
    }

    .primary-cta,
    .discord-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .how-to-play-section,
    .video-section,
    .discord-section,
    .waitlist-section {
        padding: 40px 16px;
        width: 100%;
        overflow-x: hidden;
    }

    .how-to-play-image-wrapper {
        margin: 20px auto 0;
        padding: 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }

    .discord-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .discord-title {
        font-size: 1.5rem;
    }
    
    .discord-description {
        font-size: 0.95rem;
    }

    .form-card {
        padding: 24px 16px;
        width: 100%;
        max-width: calc(100vw - 32px);
        margin: 0 auto;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 36px 16px;
        width: 100%;
        overflow-x: hidden;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-links {
        font-size: 13px;
    }
    
    .footer-text,
    .footer-subtext {
        font-size: 13px;
    }
    
    .mobile-nav-link {
        padding: 16px 18px;
        font-size: 1rem;
    }
    
    .mobile-link-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .mobile-discord-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .mobile-menu-content {
        padding: 20px;
    }
}
