/* ================================
   DOTA KEEPER - MODERN DESIGN
   Professional landing page with WebGL,
   advanced gradients, and glass morphism
   ================================ */

/* CSS Variables */
:root {
    /* Color Palette */
    --gold: #f4c430;
    --gold-bright: #ffd700;
    --gold-dark: #d4af37;
    --red-glow: #ff3838;
    --blue-glow: #38a3ff;
    --purple-glow: #a855f7;

    /* Dark Theme */
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-navy: #0f1420;
    --bg-card: rgba(15, 20, 32, 0.7);
    --bg-glass: rgba(20, 25, 40, 0.4);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Effects */
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;

    /* Spacing */
    --section-padding: 8rem;

    /* Fonts */
    --font-display: 'Orbitron', 'Trebuchet MS', sans-serif;
    --font-body: 'Rajdhani', 'Segoe UI', Tahoma, sans-serif;
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ================================
   WEBGL BACKGROUND
   ================================ */
.webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.375rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1rem;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(244, 196, 48, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(var(--blur-sm));
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

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

.badge-icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
    position: relative;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
}

.title-highlight {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark), var(--gold-bright));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(244, 196, 48, 0.5));
}

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

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    color: var(--bg-darker);
    border: 2px solid var(--gold-bright);
    box-shadow: 0 0 30px rgba(244, 196, 48, 0.3);
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(244, 196, 48, 0.5);
}

.btn-secondary {
    background: rgba(20, 25, 40, 0.5);
    color: var(--text-primary);
    border: 2px solid rgba(244, 196, 48, 0.3);
    backdrop-filter: blur(var(--blur-sm));
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(244, 196, 48, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 196, 48, 0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.25rem;
}

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

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

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Hero Screenshot */
.hero-screenshot {
    position: relative;
    margin-top: 4rem;
    perspective: 1000px;
}

.screenshot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(244, 196, 48, 0.3), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(244, 196, 48, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(244, 196, 48, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: screenshot-float 6s ease-in-out infinite;
}

@keyframes screenshot-float {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(2deg); }
}

.screenshot-img:hover {
    transform: scale(1.02);
}

/* ================================
   DOWNLOAD SECTION
   ================================ */
.download {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.8) 50%, transparent 100%);
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.5), transparent);
}

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

.download-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

.download-card.featured {
    border: 2px solid rgba(244, 196, 48, 0.5);
}

.download-card:hover {
    transform: translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    color: var(--bg-darker);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.card-inner {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.platform-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(244, 196, 48, 0.3);
    transition: all 0.3s;
}

.download-card:hover .platform-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(244, 196, 48, 0.3);
}

.platform-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    transition: color 0.3s;
}

.download-card:hover .platform-icon {
    color: var(--gold-bright);
}

.platform-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
    margin-top: auto;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    color: var(--bg-darker);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-download:hover::before {
    width: 300px;
    height: 300px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 196, 48, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-darker);
}

.download-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.version-info {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(244, 196, 48, 0.1);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(var(--blur-sm));
}

.version {
    color: var(--gold-bright);
    font-weight: 700;
    font-family: var(--font-display);
}

.version-date {
    color: var(--text-muted);
}

.license-info {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.license-info a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

.license-info a:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 196, 48, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(244, 196, 48, 0.1);
}

.feature-card.highlighted {
    border: 2px solid rgba(244, 196, 48, 0.4);
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), rgba(212, 175, 55, 0.05));
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    color: var(--bg-darker);
    padding: 0.375rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(244, 196, 48, 0.5));
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), rgba(212, 175, 55, 0.05));
    border-top: 1px solid rgba(244, 196, 48, 0.2);
    border-bottom: 1px solid rgba(244, 196, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-footer-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.checkmark {
    color: var(--gold);
    font-weight: bold;
}

.separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

/* ================================
   FAQ SECTION
   ================================ */
.faq {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: rgba(99, 102, 241, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    gap: 1rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-answer p { margin: 0; padding-top: 1rem; }

.faq-answer a {
    color: var(--accent);
    text-decoration: none;
}

.faq-answer a:hover { text-decoration: underline; }

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 196, 48, 0.1);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 8px;
    color: var(--gold);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 196, 48, 0.3);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.version-badge-footer {
    color: var(--gold);
    font-weight: 600;
}

.footer-note {
    font-size: 0.8125rem !important;
    color: rgba(148, 163, 184, 0.6) !important;
    margin-top: 1rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .cta-group,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .download-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

    .download-card,
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* ================================
   ANIMATIONS & EFFECTS
   ================================ */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Fade-in on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Selection */
::selection {
    background: rgba(244, 196, 48, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Discord hero button */
.btn-discord {
    background: rgba(88, 101, 242, 0.15);
    color: var(--text-primary);
    border: 2px solid rgba(88, 101, 242, 0.5);
}

.btn-discord:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: #5865F2;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

/* Community strip */
.community-strip {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.06));
    border-top: 1px solid rgba(88, 101, 242, 0.25);
    border-bottom: 1px solid rgba(88, 101, 242, 0.25);
    padding: 1.5rem 0;
}

.community-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.community-strip-text {
    color: var(--text-secondary);
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.community-strip-text strong {
    color: var(--text-primary);
}

.community-strip-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-discord-strip,
.btn-twitter-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-discord-strip {
    background: rgba(88, 101, 242, 0.2);
    color: #a5abf5;
    border: 1px solid rgba(88, 101, 242, 0.4);
}

.btn-discord-strip:hover {
    background: rgba(88, 101, 242, 0.35);
    border-color: #5865F2;
    color: #fff;
    transform: translateY(-1px);
}

.btn-twitter-strip {
    background: rgba(29, 161, 242, 0.12);
    color: #6bb8f5;
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.btn-twitter-strip:hover {
    background: rgba(29, 161, 242, 0.25);
    border-color: #1DA1F2;
    color: #fff;
    transform: translateY(-1px);
}

/* Post-download community modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.98), rgba(14, 18, 32, 0.98));
    border: 1px solid rgba(244, 196, 48, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.08);
}

.modal-icon {
    color: #5865F2;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.modal-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-btn-discord {
    background: #5865F2;
    color: #fff;
    border: none;
}

.modal-btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.modal-btn-twitter {
    background: rgba(29, 161, 242, 0.12);
    color: #6bb8f5;
    border: 1px solid rgba(29, 161, 242, 0.35);
}

.modal-btn-twitter:hover {
    background: rgba(29, 161, 242, 0.25);
    border-color: #1DA1F2;
    color: #fff;
    transform: translateY(-2px);
}

.modal-skip {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal-skip:hover {
    color: #94a3b8;
}
