/* ═══════════════════════════════════════════════════════════════
   NEOLOGIX WEBSITE — Dark Premium Theme
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Nunito:wght@700;800;900&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --gold-light: #ffe066;
    --gold: #f5b700;
    --gold-dark: #d49b00;
    --green: #70e000;
    --green-dark: #38b000;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.6);
    --text-muted: rgba(255,255,255,0.3);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ NAVBAR ═══ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem; font-weight: 900; letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
    transition: color 0.2s; letter-spacing: 0.3px;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 24px 60px;
    position: relative; overflow: hidden;
    text-align: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(245,183,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(112,224,0,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 700px;
    animation: fadeUp 0.8s ease;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-block;
    background: rgba(245,183,0,0.1);
    border: 1px solid rgba(245,183,0,0.2);
    border-radius: 20px; padding: 6px 16px;
    font-size: 0.75rem; font-weight: 700; color: var(--gold);
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; letter-spacing: 3px;
    background: linear-gradient(180deg, #fff 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1; margin-bottom: 20px;
}
.hero p {
    font-size: 1.15rem; color: var(--text-secondary);
    max-width: 520px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 14px;
    font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700;
    border: none; cursor: pointer; transition: all 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a0a04;
    box-shadow: 0 4px 20px rgba(245,183,0,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,183,0,0.35);
    color: #1a0a04;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border-hover);
    color: var(--text-secondary);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.25);
    color: #fff; transform: translateY(-2px);
}

/* ═══ FEATURES ═══ */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-header {
    text-align: center; margin-bottom: 60px;
}
.section-tag {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800; margin-bottom: 16px;
}
.section-desc {
    color: var(--text-secondary); max-width: 550px;
    margin: 0 auto; font-size: 1rem;
}
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 24px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 18px;
    background: rgba(245,183,0,0.08);
    border: 1px solid rgba(245,183,0,0.15);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══ GAME MODES ═══ */
.modes { padding: 100px 24px; }
.modes-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; max-width: var(--max-width); margin: 0 auto;
}
.mode-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px; text-align: center;
    transition: all 0.3s;
}
.mode-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.mode-emoji { font-size: 2rem; margin-bottom: 10px; }
.mode-item h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 4px; }
.mode-item p { font-size: 0.78rem; color: var(--text-muted); }

/* ═══ STORE BUTTONS ═══ */
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 24px; border-radius: 14px;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--border-hover);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}
.store-btn svg {
    flex-shrink: 0;
}
.store-btn-text {
    display: flex; flex-direction: column; line-height: 1.2;
    text-align: left;
}
.store-btn-text small {
    font-size: 0.65rem; font-weight: 500;
    color: var(--text-secondary); letter-spacing: 0.3px;
}
.store-btn-text strong {
    font-size: 1rem; font-weight: 700;
    letter-spacing: 0.2px;
}
.store-btn-microsoft {
    background: linear-gradient(135deg, rgba(0,120,215,0.12), rgba(0,120,215,0.04));
    border-color: rgba(0,120,215,0.3);
}
.store-btn-microsoft:hover {
    background: linear-gradient(135deg, rgba(0,120,215,0.22), rgba(0,120,215,0.1));
    border-color: rgba(0,120,215,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,120,215,0.2);
    color: #fff;
}
.store-btn-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    position: relative;
}
.store-btn-disabled .store-btn-text small {
    color: var(--gold);
    font-weight: 600;
}
.cta-buttons {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ═══ CTA ═══ */
.cta {
    padding: 100px 24px; text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900; margin-bottom: 16px;
}
.cta p { color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ═══ FOOTER ═══ */
.footer {
    padding: 60px 24px 30px;
    border-top: 1px solid var(--border);
}
.footer-content {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 40px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem; font-weight: 900; letter-spacing: 2px;
    color: var(--gold); margin-bottom: 10px;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.footer-links h4 {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-secondary);
    margin-bottom: 14px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: #fff; }

.footer-socials { display: flex; gap: 12px; margin-top: 10px; }
.social-link {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-muted);
    transition: all 0.2s;
}
.social-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--gold);
    transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
    max-width: var(--max-width); margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); font-size: 0.78rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ═══ LEGAL PAGES ═══ */
.legal-page {
    padding: 120px 24px 80px;
    max-width: 800px; margin: 0 auto;
}
.legal-page h1 {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 8px;
}
.legal-date {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 40px;
}
.legal-page h2 {
    font-size: 1.3rem; font-weight: 700;
    margin: 36px 0 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; }
.legal-page p, .legal-page li {
    font-size: 0.92rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 12px;
}
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--text-primary); }

/* ═══ ABOUT PAGE ═══ */
.about-hero {
    padding: 140px 24px 80px; text-align: center;
}
.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900; margin-bottom: 16px;
}
.about-hero p {
    font-size: 1.1rem; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto;
}
.about-content {
    padding: 0 24px 100px;
    max-width: 800px; margin: 0 auto;
}
.about-section { margin-bottom: 48px; }
.about-section h2 {
    font-size: 1.4rem; font-weight: 800; margin-bottom: 16px;
    color: var(--gold);
}
.about-section p {
    font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
    margin-bottom: 12px;
}

/* ═══ ABOUT PAGE LISTS ═══ */
.tech-list {
    list-style: none;
    padding: 0;
}
.tech-item {
    padding: 8px 0;
    color: var(--text-secondary);
}
.tech-item strong {
    color: #fff;
}

.contact-list {
    list-style: none;
    padding: 0;
}
.contact-item {
    padding: 10px 0;
    color: var(--text-secondary);
}

.footer-socials-container {
    margin-top: 16px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
    }
    .hero { padding: 100px 20px 60px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .footer-content { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .modes-grid { grid-template-columns: 1fr; }
}
