/* =========================================================
   XOTIC AVIATION — Stylesheet
   Palette: deep navy cockpit · sky blue · sunset gold
   Fonts: Sora (display) · Inter (body)
   ========================================================= */

:root {
    --navy-900: #06101f;
    --navy-800: #0a1929;
    --navy-700: #0f2747;
    --navy-600: #16365e;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --cloud: #f8fafc;
    --mist: #e2e8f0;
    --slate: #94a3b8;
    --slate-dark: #475569;
    --ink: #0f172a;

    --grad-sky: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --grad-sunset: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --grad-cockpit: linear-gradient(160deg, #0a1929 0%, #16365e 60%, #0ea5e9 140%);

    --shadow-sm: 0 4px 12px rgba(10, 25, 41, 0.08);
    --shadow-md: 0 14px 36px rgba(10, 25, 41, 0.12);
    --shadow-lg: 0 30px 80px rgba(10, 25, 41, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cloud);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Sora', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* ====================== Buttons ====================== */
.btn {
    --btn-pad: 14px 26px;
    padding: var(--btn-pad);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: var(--grad-sky);
    color: white;
    box-shadow: 0 10px 30px -8px rgba(14, 165, 233, 0.6);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -10px rgba(14, 165, 233, 0.75);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}
.btn-block { width: 100%; justify-content: center; }

/* ====================== Navbar ====================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(6, 16, 31, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(6, 16, 31, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--grad-sky);
    color: white;
    border-radius: 10px;
    box-shadow: 0 6px 18px -4px rgba(14, 165, 233, 0.55);
    font-size: 1rem;
    transform: rotate(-8deg);
    transition: var(--transition);
}
.nav-logo:hover .logo-mark { transform: rotate(0deg) scale(1.05); }
.logo-text {
    font-weight: 800;
    color: white;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}
.logo-text span { color: var(--sky-400); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--sky-400);
    transition: width var(--transition);
}
.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-sky);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 22px -6px rgba(14, 165, 233, 0.7);
    transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.bar {
    width: 26px;
    height: 2.5px;
    background: white;
    border-radius: 4px;
    transition: var(--transition);
}

/* ====================== Hero ====================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    color: white;
    background: var(--grad-cockpit);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.25), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(245, 158, 11, 0.18), transparent 55%);
    pointer-events: none;
}
.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.35;
}
.cloud-1 { width: 320px; height: 120px; top: 18%; left: -80px; animation: drift 38s linear infinite; }
.cloud-2 { width: 240px; height: 90px; top: 60%; left: 30%; animation: drift 52s linear infinite reverse; opacity: 0.25; }
.cloud-3 { width: 380px; height: 140px; top: 30%; right: -120px; animation: drift 65s linear infinite; opacity: 0.2; }

.hero-plane {
    position: absolute;
    top: 22%;
    right: -10%;
    width: 90px;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
    animation: plane-cruise 24s linear infinite;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--gold-400); }
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: white;
}
.text-gradient {
    background: linear-gradient(120deg, var(--sky-400), var(--gold-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.2rem;
    max-width: 540px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}
.meta-item i { color: var(--sky-400); }

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual-card {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(160deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 28px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: var(--transition);
}
.visual-card:hover { transform: rotate(0deg) translateY(-6px); }
.visual-screen {
    position: relative;
    height: 380px;
    background: linear-gradient(180deg, #1e3a5f 0%, #4a90c2 60%, #87b9d8 100%);
    border-radius: 20px;
    overflow: hidden;
}
.sky-strip {
    position: absolute;
    top: 0; left: 0; right: 0; height: 60%;
    background:
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.7) 0%, transparent 18%),
        radial-gradient(circle at 70% 30%, rgba(255,210,150,0.55) 0%, transparent 35%);
}
.terrain {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background:
        linear-gradient(180deg, transparent 0%, #1a4d2e 60%, #0d2818 100%);
    clip-path: polygon(0 60%, 15% 45%, 30% 55%, 45% 35%, 60% 50%, 75% 30%, 90% 50%, 100% 40%, 100% 100%, 0 100%);
}
.flying-icon {
    position: absolute;
    color: white;
    font-size: 2rem;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
    animation: flyAcross 12s linear infinite;
    animation-delay: var(--delay);
    left: -10%;
    top: var(--top, 30%);
}
.flying-icon:nth-child(3) { --top: 25%; }
.flying-icon:nth-child(4) { --top: 45%; }
.flying-icon:nth-child(5) { --top: 65%; }
.visual-meta {
    display: flex;
    justify-content: space-between;
    padding: 14px 12px 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
}
.visual-meta i { color: var(--sky-400); margin-right: 6px; }

.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
    z-index: 3;
}
.scroll-cue span {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll-dot 1.6s ease-in-out infinite;
}

/* ====================== Section Header ====================== */
section { position: relative; }
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sky-600);
    background: rgba(14, 165, 233, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--slate-dark);
    font-size: 1.08rem;
}

/* ====================== Games ====================== */
.games {
    padding: 7rem 0;
    background: var(--cloud);
}
.games-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: 9px 18px;
    border: 2px solid var(--mist);
    background: white;
    color: var(--slate-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover { border-color: var(--sky-400); color: var(--sky-600); }
.filter-btn.active {
    background: var(--navy-800);
    color: white;
    border-color: var(--navy-800);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
}
.game-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--mist);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.game-art {
    position: relative;
    height: 160px;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.game-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(0,0,0,0.28), transparent 55%);
    z-index: 1;
}
.game-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.35;
    z-index: 1;
}
.game-art img {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 16px 32px -8px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.15);
    transition: var(--transition);
}
.game-card:hover .game-art img {
    transform: translateY(-4px) scale(1.06);
}
.game-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.game-category {
    display: inline-block;
    align-self: flex-start;
    background: rgba(14, 165, 233, 0.1);
    color: var(--sky-600);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}
.game-body h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy-800);
}
.game-body p {
    color: var(--slate-dark);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.game-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--slate);
    margin-bottom: 1rem;
}
.game-meta span { display: inline-flex; align-items: center; gap: 5px; }
.game-meta i { color: var(--gold-500); }
.game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--navy-800);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.game-btn:hover { background: var(--grad-sky); transform: translateY(-2px); }
.game-btn i { color: var(--sky-400); transition: var(--transition); }
.game-btn:hover i { color: white; }

/* ====================== Features ====================== */
.features {
    padding: 7rem 0;
    background: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}
.feature-card {
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius);
    background: var(--cloud);
    border: 1px solid var(--mist);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-sky);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: white;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--grad-sky);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 12px 28px -10px rgba(14, 165, 233, 0.65);
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.feature-card p {
    color: var(--slate-dark);
    font-size: 0.94rem;
}

/* ====================== Stats Strip ====================== */
.stats-strip {
    padding: 4rem 0;
    background: var(--navy-900);
    color: white;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(14, 165, 233, 0.22), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(245, 158, 11, 0.16), transparent 45%);
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stat-block {
    text-align: center;
    padding: 1rem;
}
.stat-block h3 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(120deg, var(--sky-400), var(--gold-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
    line-height: 1;
}
.stat-block p {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 0.04em;
    font-size: 0.92rem;
}

/* ====================== About ====================== */
.about {
    padding: 7rem 0;
    background: var(--cloud);
}
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text .section-tag { margin-bottom: 1rem; }
.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 1.4rem;
}
.about-text p {
    color: var(--slate-dark);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0 2rem;
}
.about-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--mist);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-700);
}
.about-tags i { color: var(--sky-500); }

.about-visual {
    display: flex;
    justify-content: center;
}
.about-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 460px;
}
.mini-card {
    background: white;
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    border: 1px solid var(--mist);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: var(--transition);
}
.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}
.mini-card i {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--grad-sky);
    color: white;
    font-size: 1rem;
}
.mini-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-800);
}
.mini-card.c2 i { background: var(--grad-sunset); }
.mini-card.c3 i { background: linear-gradient(135deg, #6366f1, #a855f7); }
.mini-card.c4 i { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.mini-card.c5 i { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mini-card.c6 i { background: linear-gradient(135deg, #0f172a, #475569); }

/* ====================== Contact ====================== */
.contact {
    padding: 7rem 0;
    background: white;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--cloud);
    border: 1px solid var(--mist);
    border-radius: 14px;
    transition: var(--transition);
}
a.contact-item:hover { transform: translateX(4px); border-color: var(--sky-400); }
.ci-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--grad-sky);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
}
.contact-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--navy-800);
}
.contact-item p {
    color: var(--slate-dark);
    font-size: 0.92rem;
}
.contact-form {
    background: var(--cloud);
    border: 1px solid var(--mist);
    border-radius: 20px;
    padding: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--mist);
    background: white;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2em;
}
.form-status.success { color: #059669; }
.form-status.error { color: #dc2626; }

/* ====================== Footer ====================== */
.footer {
    background: var(--navy-900);
    color: white;
    padding: 4rem 0 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin: 1rem 0 1.4rem;
    max-width: 320px;
    font-size: 0.94rem;
}
.footer .logo-text { color: white; }
.social-links {
    display: flex;
    gap: 0.6rem;
}
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.92rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--grad-sky);
    transform: translateY(-3px);
}
.footer-section h4 {
    color: white;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    font-weight: 700;
}
.footer-section ul li { margin-bottom: 0.6rem; }
.footer-section ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-section ul li a:hover { color: var(--sky-400); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
}
.footer-tagline { color: var(--sky-400) !important; font-weight: 600; }

/* ====================== Animations ====================== */
@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 400px)); }
}
@keyframes plane-cruise {
    0% { transform: translate(0, 0) rotate(-8deg); }
    50% { transform: translate(-40vw, 30px) rotate(-8deg); }
    100% { transform: translate(-110vw, 0) rotate(-8deg); }
}
@keyframes flyAcross {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(160px) translateY(-10px); }
    100% { transform: translateX(330px) translateY(0); opacity: 0; }
}
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ====================== Responsive ====================== */
@media (max-width: 980px) {
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content { max-width: 100%; }
    .hero-visual { order: -1; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 74px;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: calc(100vh - 74px);
        flex-direction: column;
        align-items: flex-start;
        background: var(--navy-900);
        padding: 2rem 1.6rem;
        gap: 1.2rem;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
    .nav-menu.active { right: 0; }
    .nav-menu li { width: 100%; }
    .nav-link { display: block; padding: 6px 0; font-size: 1rem; }
    .nav-cta-item { margin-top: 1rem; }
    .nav-cta { width: 100%; justify-content: center; padding: 12px; }

    .hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2.3rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .hero-meta { justify-content: flex-start; }

    .games, .features, .about, .contact { padding: 4.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .games-grid { grid-template-columns: 1fr; }
    .about-card-grid { grid-template-columns: 1fr; max-width: 100%; }
    .contact-form { padding: 1.4rem; }
}

/* ====================== Custom scrollbar ====================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--sky-500), var(--navy-700)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--sky-400); }

::selection { background: var(--sky-400); color: white; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
