/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #08070f;
    --bg-alt: #0c0b18;
    --surface: rgba(255,255,255,0.03);
    --surface-border: rgba(255,255,255,0.07);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dim: rgba(245,158,11,0.15);
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --purple-dim: rgba(124,58,237,0.15);
    --text: #f1f1f5;
    --text-muted: #8892a0;
    --text-dim: #4a5568;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.section { padding: 100px 0; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Orbitron', monospace; font-size: 0.7rem; letter-spacing: 4px;
    color: var(--gold); margin-bottom: 16px;
}
.section-label::before {
    content: ''; width: 20px; height: 1px; background: var(--gold); opacity: 0.5;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-family: 'Orbitron', sans-serif; font-size: 2.2rem; line-height: 1.2;
    letter-spacing: 1px; text-transform: uppercase;
}
.section-header .section-desc { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 14px auto 0; }

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border: 1px solid transparent; border-radius: 8px;
    font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0f;
    box-shadow: 0 0 25px var(--gold-dim);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(245,158,11,0.3); }
.btn-glow { box-shadow: 0 0 30px var(--gold-dim); }
.btn-glow:hover { box-shadow: 0 0 50px rgba(245,158,11,0.35); }
.btn-outline {
    background: transparent; color: var(--text);
    border-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* === NAV === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(8,7,15,0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    height: 64px;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; }
.nav-logo img { border-radius: 4px; width: 26px; height: 26px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; transition: var(--transition); }
.nav-links a:not(.btn-nav):hover { color: var(--text); }
.btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0f !important; padding: 8px 18px !important; border-radius: 6px;
    font-size: 0.65rem !important; font-weight: 700 !important; letter-spacing: 1.5px;
}
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--gold-dim); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* === HERO === */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
    background: var(--bg);
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('../assets/screenshot.png') center center / cover no-repeat;
    filter: brightness(0.45) saturate(1.15);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(8,7,15,0.4) 0%, rgba(8,7,15,0.75) 50%, var(--bg) 100%);
}
.hero-overlay::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(245,158,11,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-top { position: absolute; top: 80px; left: 0; right: 0; z-index: 5; }
.hero-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 4px;
    font-family: 'Orbitron', monospace; font-size: 0.55rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.badge-ai { background: rgba(245,158,11,0.08); color: var(--gold-light); border: 1px solid rgba(245,158,11,0.2); }
.badge-rpg { background: rgba(124,58,237,0.08); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.2); }

.hero-content { position: relative; z-index: 5; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.hero-brand { margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-svg { width: 180px; height: auto; filter: drop-shadow(0 0 60px rgba(245,158,11,0.12)); }
.hero-title { line-height: 1; }
.hero-title-sm { display: block; font-family: 'Orbitron', sans-serif; font-size: 1.2rem; letter-spacing: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; opacity: 0.7; }
.hero-title-lg { display: block; font-family: 'Orbitron', sans-serif; font-size: 5.5rem; font-weight: 900; letter-spacing: 8px; line-height: 1; text-transform: uppercase; }
.hero-tagline { font-size: 1.05rem; color: var(--text-muted); margin: 16px auto 24px; max-width: 480px; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.hero-platforms { text-align: center; }
.platform-label { font-family: 'Orbitron', monospace; font-size: 0.55rem; letter-spacing: 3px; color: var(--text-dim); display: block; margin-bottom: 8px; }
.platform-icons { display: flex; gap: 12px; justify-content: center; }
.platform {
    font-family: 'Orbitron', sans-serif; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 2px; padding: 5px 12px;
    border: 1px solid rgba(255,255,255,0.06); border-radius: 4px;
    color: var(--text-muted); backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.02);
}
.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-family: 'Orbitron', monospace; font-size: 0.5rem; letter-spacing: 4px;
    color: var(--text-dim); animation: scrollBounce 2.5s ease-in-out infinite;
    opacity: 0.6;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* === ABOUT === */
.about-section { background: var(--bg-alt); }
.about-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.about-text p strong { color: var(--text); }
.about-bullets { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 6px; }
.about-bullets li {
    padding: 10px 0 10px 24px; position: relative; color: var(--text-muted); font-size: 0.9rem;
}
.about-bullets li::before {
    content: ''; position: absolute; left: 0; top: 16px;
    width: 8px; height: 8px; border-radius: 2px;
    background: linear-gradient(135deg, var(--gold), var(--purple));
}
.about-visual {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-visual img { width: 100%; }

/* === SCREENSHOTS === */
.screenshots-section { background: var(--bg); padding-top: 100px; }
.screenshots-full { display: flex; flex-direction: column; }
.screenshot-feature {
    position: relative; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.screenshot-feature img { width: 100%; height: auto; display: block; filter: brightness(0.65); transition: var(--transition); }
.screenshot-feature:hover img { filter: brightness(0.85); transform: scale(1.03); }
.screenshot-feature-cap {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 28px;
    background: linear-gradient(transparent, rgba(8,7,15,0.92) 60%, rgba(8,7,15,0.98));
}
.screenshot-feature-cap span {
    display: block; font-family: 'Orbitron', sans-serif; font-size: 1.2rem;
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 6px;
}
.screenshot-feature-cap p { font-size: 0.9rem; color: var(--text-muted); max-width: 500px; }

/* === FEATURES === */
.features-section { background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.feature-card:hover { border-color: rgba(245,158,11,0.2); transform: translateY(-4px); }
.feature-icon-fig { width: 36px; height: 36px; color: var(--gold); margin-bottom: 16px; }
.feature-icon-fig svg { width: 100%; height: 100%; }
.feature-card h3 { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }

/* === CTA === */
.cta-section { background: var(--bg); padding: 120px 0; }
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.cta-card {
    position: relative; max-width: 560px; margin: 0 auto; text-align: center;
    padding: 56px 40px;
    background: rgba(12,11,24,0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245,158,11,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cta-card h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.cta-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.cta-form { max-width: 460px; margin: 0 auto; }
.form-row { display: flex; gap: 12px; }
.form-row input {
    flex: 1; padding: 14px 18px; min-width: 0;
    border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
    background: rgba(255,255,255,0.03); color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none;
    transition: var(--transition);
}
.form-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-row input::placeholder { color: var(--text-dim); }
.form-row .btn { padding: 14px 24px; flex-shrink: 0; }
.form-note { margin-top: 12px; font-size: 0.75rem; color: var(--text-dim); }

/* === FOOTER === */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; }
.footer-logo img { width: 20px; height: 20px; flex-shrink: 0; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; }
.footer-copy { color: var(--text-dim); font-size: 0.75rem; }
.footer-bottom { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04); }

/* === TABLET 1024 === */
@media (max-width: 1024px) {
    .hero-title-lg { font-size: 4rem; letter-spacing: 6px; }
    .hero-title-sm { font-size: 1rem; letter-spacing: 10px; }
    .hero-svg { width: 150px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text { order: 1; }
    .about-visual { order: 0; }
    .section-header h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-feature-cap { padding: 28px 24px; }
    .screenshot-feature-cap span { font-size: 1rem; }
}

/* === MOBILE 768 === */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 64px; left: 0; right: 0;
        background: rgba(8,7,15,0.98); backdrop-filter: blur(24px);
        flex-direction: column; padding: 28px 24px; gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transform: translateY(-100%); opacity: 0; transition: var(--transition); pointer-events: none;
    }
    .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.4rem; }

    .hero { min-height: 100dvh; }
    .hero-title-lg { font-size: 2.6rem; letter-spacing: 4px; }
    .hero-title-sm { font-size: 0.85rem; letter-spacing: 8px; }
    .hero-svg { width: 120px; }
    .hero-tagline { font-size: 0.9rem; max-width: 100%; }
    .hero-cta { flex-direction: column; align-items: center; width: 100%; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .hero-badges { justify-content: center; }
    .hero-scroll { display: none; }
    .platform { font-size: 0.55rem; padding: 4px 10px; }
    .hero-top { top: 72px; }

    .about-text h2 { font-size: 1.4rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px 20px; }

    .screenshot-feature-cap { position: relative; background: var(--bg-alt); padding: 20px; }
    .screenshot-feature img { filter: brightness(0.75); }
    .screenshot-feature-cap span { font-size: 0.9rem; }
    .screenshot-feature-cap p { font-size: 0.85rem; }

    .cta-card { padding: 36px 24px; }
    .cta-card h2 { font-size: 1.4rem; }
    .form-row { flex-direction: column; }
    .form-row .btn { width: 100%; }

    .container { padding: 0 16px; }
}

/* === MOBILE SMALL 480 === */
@media (max-width: 480px) {
    .hero-title-lg { font-size: 2rem; letter-spacing: 3px; }
    .hero-svg { width: 100px; }
    .hero-title-sm { font-size: 0.7rem; letter-spacing: 6px; }
    .section-header h2 { font-size: 1.2rem; }
    .btn { font-size: 0.7rem; padding: 12px 24px; }
}

/* === LANDSCAPE MOBILE === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 120dvh; }
    .hero-svg { width: 80px; }
    .hero-title-lg { font-size: 2rem; }
    .hero-title-sm { font-size: 0.65rem; letter-spacing: 6px; }
    .hero-tagline { margin: 10px auto 16px; }
    .hero-cta { margin-bottom: 20px; }
    .hero-top { top: 68px; }
}
