﻿/* =========================================================
   Travost Public Design System - COMPLETE FINAL
   Design: Imperial Gateway / modern red-gold Chinese-inspired
   Scope: homepage, Travost master pages, account/login/register,
          desktop/tablet/mobile header, language menu, Google Translate.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@700;800&display=swap');

:root {
    --red-950: #260505;
    --red-900: #3f0909;
    --red-850: #540b0b;
    --red-800: #701313;
    --red-700: #941b1f;
    --red-600: #ba2430;
    --red-500: #db3340;
    --gold-900: #6b4306;
    --gold-700: #a87718;
    --gold-600: #c9942c;
    --gold-500: #d8ad3d;
    --gold-400: #f0cf72;
    --gold-300: #ffe6a3;
    --ink: #15110d;
    --muted: #6d6258;
    --line: rgba(216,173,61,.28);
    --paper: #fff9ed;
    --ivory: #fbf3e4;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(45, 7, 7, .18);
    --shadow-soft: 0 16px 42px rgba(45, 7, 7, .10);
    --radius-lg: 34px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --container: 1180px;
    --header-h: 78px;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Manrope', 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

    html body {
        top: 0 !important;
        position: static !important;
    }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: radial-gradient(circle at 12% -10%, rgba(216,173,61,.18), transparent 34%), radial-gradient(circle at 98% 8%, rgba(186,36,48,.12), transparent 36%), var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

::selection {
    background: var(--gold-400);
    color: var(--red-950);
}

/* =========================================================
   Google Translate cleanup
   The real Google widget is kept off-screen so JS can use it,
   while our custom Travost language button remains visible.
   ========================================================= */

body > .skiptranslate,
body > iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.goog-text-highlight:hover,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    z-index: -1 !important;
    overflow: hidden !important;
}

#google_translate_element {
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

    #google_translate_element .goog-te-gadget,
    #google_translate_element select,
    #google_translate_element span,
    #google_translate_element a {
        font-size: 0 !important;
        line-height: 0 !important;
    }

/* =========================================================
   Layout
   ========================================================= */

.ig-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.ig-container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.ig-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(255,249,237,.91);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ig-header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ig-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--red-800);
    flex: 0 0 auto;
}

.ig-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--gold-300);
    font-weight: 900;
    background: linear-gradient(145deg, rgba(255,255,255,.13), transparent 40%), linear-gradient(135deg, var(--red-900), var(--red-600));
    border: 1px solid rgba(216,173,61,.55);
    box-shadow: 0 14px 35px rgba(148,27,31,.26);
}

.ig-logo small {
    display: block;
    color: var(--muted);
    font-size: .66rem;
    letter-spacing: .02em;
    font-weight: 800;
    margin-top: 2px;
    line-height: 1.25;
}

.ig-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .ig-nav a {
        padding: 10px 13px;
        border-radius: 999px;
        color: #4b4037;
        font-size: .92rem;
        font-weight: 800;
        transition: .18s ease;
    }

        .ig-nav a:hover,
        .ig-nav a.active {
            color: var(--red-800);
            background: rgba(216,173,61,.16);
        }

.ig-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.ig-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--red-800);
    color: white;
    font-size: 1.28rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.ig-mobile-nav-link {
    display: none !important;
}

/* Custom language menu */
.tv-language {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 10000;
}

.tv-language-btn {
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(216,173,61,.45);
    background: rgba(255,255,255,.72);
    color: var(--red-800);
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.tv-language-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255,249,237,.98);
    border: 1px solid rgba(216,173,61,.35);
    box-shadow: var(--shadow-soft);
    z-index: 99999;
}

.tv-language.is-open .tv-language-menu {
    display: block !important;
}

.tv-language-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b4037;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1.25;
}

    .tv-language-menu a:hover,
    .tv-language-menu a.active {
        background: rgba(216,173,61,.16);
        color: var(--red-800);
    }

/* =========================================================
   Buttons
   ========================================================= */

.ig-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border-radius: 999px;
    padding: 12px 19px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: .22s ease;
    white-space: nowrap;
    cursor: pointer;
}

    .ig-btn:hover {
        transform: translateY(-2px);
    }

.ig-btn-sm {
    min-height: 38px;
    padding: 9px 14px;
    font-size: .86rem;
}

.ig-btn-gold {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
    color: var(--red-950);
    box-shadow: 0 18px 35px rgba(216,173,61,.28);
}

.ig-btn-red {
    background: linear-gradient(135deg, var(--red-800), var(--red-600));
    color: white;
    box-shadow: 0 18px 35px rgba(148,27,31,.22);
}

.ig-btn-ghost {
    background: rgba(255,255,255,.72);
    color: var(--red-800);
    border-color: rgba(216,173,61,.45);
}

.ig-btn-dark {
    background: rgba(255,255,255,.08);
    color: white;
    border-color: rgba(240,207,114,.38);
}

.ig-btn-hero {
    min-height: 58px;
    padding: 0 28px;
    font-size: 1.02rem;
    letter-spacing: -.02em;
}

.ig-btn-gold.ig-btn-hero,
.ig-hero-actions .ig-btn-gold {
    background: linear-gradient(135deg, #f3d46a 0%, #d7a52c 100%);
    color: #3b1600 !important;
    border: 1px solid rgba(255, 220, 120, .35);
    box-shadow: 0 12px 28px rgba(212, 175, 55, .28);
}

.ig-btn-hero-outline,
.ig-hero-actions .ig-btn-dark {
    background: rgba(255, 255, 255, .04);
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, .45);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* =========================================================
   Hero
   ========================================================= */

.ig-hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 64px 0 48px;
    color: white;
    overflow: hidden;
    background: radial-gradient(circle at 72% 12%, rgba(240,207,114,.20), transparent 30%), radial-gradient(circle at 0% 88%, rgba(219,51,64,.18), transparent 34%), linear-gradient(135deg, var(--red-950) 0%, var(--red-900) 48%, var(--red-700) 100%);
}

    .ig-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .08;
        background-image: linear-gradient(45deg, rgba(255,230,163,.8) 12.5%, transparent 12.5%, transparent 50%, rgba(255,230,163,.8) 50%, rgba(255,230,163,.8) 62.5%, transparent 62.5%, transparent 100%);
        background-size: 42px 42px;
        mask-image: radial-gradient(circle at 70% 18%, black, transparent 60%);
    }

.ig-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr .94fr;
    align-items: center;
    gap: 52px;
}

.ig-kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(240,207,114,.38);
    background: rgba(255,255,255,.08);
    color: var(--gold-300);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ig-title {
    font-family: var(--font-heading);
    font-size: clamp(3.1rem, 7.2vw, 5.9rem);
    line-height: .90;
    margin: 0 0 12px;
    letter-spacing: -.06em;
    font-weight: 900;
}

    .ig-title span,
    .ig-title .tv-text-gold,
    .tv-text-gold {
        color: #f3df9a !important;
        background: linear-gradient(135deg, #fff1b8 0%, #f0cf72 45%, #d8ad3d 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

.ig-lead {
    max-width: 720px;
    color: rgba(255,255,255,.77);
    font-size: clamp(1.04rem, 1.7vw, 1.23rem);
    margin: 14px 0 0;
    line-height: 1.45;
}

.ig-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.ig-stats,
.ig-stats-hero {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 0;
}

    .ig-stat,
    .ig-stats-hero .ig-stat {
        position: relative;
        min-width: 165px;
        padding: 0 22px 0 14px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        border-left: 0;
    }

        .ig-stat:first-child,
        .ig-stats-hero .ig-stat:first-child {
            padding-left: 0;
        }

        .ig-stat:not(:last-child)::after,
        .ig-stats-hero .ig-stat:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 4px;
            right: 0;
            width: 1px;
            height: 44px;
            background: linear-gradient(180deg, rgba(212,175,55,.95) 0%, rgba(212,175,55,.45) 100%);
        }

        .ig-stat strong,
        .ig-stats-hero .ig-stat strong {
            display: block;
            color: #f3d46a;
            font-size: 1.8rem;
            line-height: 1;
            font-weight: 900;
            letter-spacing: -.03em;
            margin: 0 0 2px;
        }

        .ig-stat span,
        .ig-stats-hero .ig-stat span {
            display: block;
            color: rgba(255,255,255,.90);
            font-size: .95rem;
            line-height: 1.25;
            white-space: nowrap;
        }

/* =========================================================
   Gateway Visual / Orbit
   ========================================================= */

.ig-gate {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    overflow: visible;
    animation: igGateFloat 8s ease-in-out infinite;
}

    .ig-gate::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: min(96vw, 520px);
        height: min(96vw, 520px);
        border-radius: 50%;
        border: 1px solid rgba(240,207,114,.18);
        transform: translate(-50%, -50%);
        pointer-events: none;
        box-shadow: 0 0 30px rgba(240,207,114,.05);
        animation: igOuterRingBreath 9s ease-in-out infinite;
    }

.ig-gate-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(92vw, 470px);
    height: min(92vw, 470px);
    border-radius: 50%;
    border: 1px solid rgba(240,207,114,.34);
    box-shadow: inset 0 0 60px rgba(240,207,114,.10), 0 0 80px rgba(240,207,114,.10);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: igRingGlow 7s ease-in-out infinite;
}

    .ig-gate-ring::before,
    .ig-gate-ring::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .ig-gate-ring::before {
        inset: 32px;
        border: 1px dashed rgba(240,207,114,.22);
        animation: igRingRotate 34s linear infinite;
    }

    .ig-gate-ring::after {
        inset: 84px;
        border: 1px solid rgba(240,207,114,.28);
        opacity: .65;
        animation: igInnerRingBreath 6.5s ease-in-out infinite;
    }

.ig-emblem {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.03)), linear-gradient(135deg, var(--red-900), var(--red-600));
    border: 1px solid rgba(240,207,114,.58);
    box-shadow: 0 35px 90px rgba(0,0,0,.25), inset 0 0 38px rgba(240,207,114,.13);
    animation: igCorePulse 6s ease-in-out infinite;
}

    .ig-emblem b {
        font-family: var(--font-heading);
        color: var(--gold-300);
        letter-spacing: .18em;
        font-size: 1.36rem;
    }

    .ig-emblem small {
        display: block;
        color: rgba(255,255,255,.72);
        font-weight: 800;
        font-size: .75rem;
        letter-spacing: .08em;
        margin-top: 7px;
    }

.ig-orbit-card {
    position: absolute;
    z-index: 3;
    width: 226px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(240,207,114,.32);
    background: rgba(255,249,237,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
    transform-origin: center center;
    animation-duration: 7.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

    .ig-orbit-card h3 {
        margin: 10px 0 6px;
        color: white;
        font-size: 1rem;
    }

    .ig-orbit-card p {
        margin: 0;
        color: rgba(255,255,255,.68);
        font-size: .86rem;
    }

    .ig-orbit-card.one {
        top: 36px;
        right: 8px;
        animation-name: igCardOrbitOne;
    }

    .ig-orbit-card.two {
        left: 0;
        bottom: 96px;
        animation-name: igCardOrbitTwo;
    }

    .ig-orbit-card.three {
        right: 34px;
        bottom: 10px;
        animation-name: igCardOrbitThree;
    }

.ig-gate:hover,
.ig-gate:hover .ig-gate-ring,
.ig-gate:hover .ig-gate-ring::before,
.ig-gate:hover .ig-gate-ring::after,
.ig-gate:hover .ig-emblem,
.ig-gate:hover .ig-orbit-card {
    animation-play-state: paused;
}

/* =========================================================
   Badges
   ========================================================= */

.ig-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 28px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: .72rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 1px solid rgba(140,29,24,.22) !important;
    background: rgba(140,29,24,.10) !important;
    color: #8c1d18 !important;
    -webkit-text-fill-color: currentColor !important;
}

.ig-badge-live {
    background: #e8f7ef !important;
    color: #08734d !important;
    border-color: rgba(15,138,95,.42) !important;
}

.ig-badge-active {
    background: #fff3c4 !important;
    color: #7a4f08 !important;
    border-color: rgba(212,175,55,.65) !important;
}

.ig-badge-system {
    background: #fbe5df !important;
    color: #8c1d18 !important;
    border-color: rgba(140,29,24,.42) !important;
}

.ig-badge-soon {
    background: #f7ead2 !important;
    color: #7c4f08 !important;
    border-color: rgba(183,121,31,.45) !important;
}

.ig-hero .ig-badge,
.ig-feature .ig-badge {
    box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

/* =========================================================
   Sections / Cards
   ========================================================= */

.ig-section {
    padding: 86px 0;
}

.ig-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.ig-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red-700);
    font-weight: 900;
    letter-spacing: .14em;
    font-size: .78rem;
    text-transform: uppercase;
}

    .ig-overline::before {
        content: "";
        width: 34px;
        height: 2px;
        background: linear-gradient(90deg, var(--gold-600), transparent);
    }

.ig-h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -.05em;
    margin: 12px 0 0;
}

.ig-copy {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 690px;
    margin: 16px 0 0;
}

.ig-grid {
    display: grid;
    gap: 22px;
}

.ig-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ig-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(216,173,61,.24);
    box-shadow: var(--shadow-soft);
    min-height: 260px;
    transition: .24s ease;
}

    .ig-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: linear-gradient(90deg, var(--red-700), var(--gold-500));
    }

    .ig-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: rgba(216,173,61,.52);
    }

.ig-card-body {
    padding: 26px;
}

.ig-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--red-800);
    font-size: 1.34rem;
    background: linear-gradient(135deg, rgba(216,173,61,.22), rgba(255,255,255,.48));
    border: 1px solid rgba(216,173,61,.28);
    margin-bottom: 18px;
}

.ig-card h3 {
    font-size: 1.22rem;
    margin: 12px 0 8px;
}

.ig-card p {
    color: var(--muted);
    margin: 0 0 18px;
}

.ig-link {
    color: var(--red-700);
    font-weight: 900;
}

/* =========================================================
   Feature / Timeline / Footer
   ========================================================= */

.ig-feature {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 90% 0%, rgba(240,207,114,.22), transparent 32%), linear-gradient(135deg, var(--red-900), var(--red-700));
    color: white;
    overflow: hidden;
    border: 1px solid rgba(216,173,61,.38);
    box-shadow: var(--shadow);
}

.ig-feature-inner {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 34px;
    align-items: center;
    padding: 46px;
}

.ig-feature h2 {
    color: white;
}

.ig-feature p {
    color: rgba(255,255,255,.72);
}

.ig-timeline {
    display: grid;
    gap: 12px;
}

.ig-time {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(240,207,114,.24);
    background: rgba(255,255,255,.08);
}

.ig-dot {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 5px;
    background: var(--gold-400);
    box-shadow: 0 0 0 6px rgba(240,207,114,.13);
}

.ig-time strong {
    display: block;
    color: var(--gold-300);
}

.ig-time span {
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

.ig-footer {
    padding: 52px 0 28px;
    background: var(--red-950);
    color: rgba(255,255,255,.75);
}

.ig-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
}

.ig-footer .ig-logo {
    color: white;
    margin-bottom: 14px;
}

.ig-footer h4 {
    color: var(--gold-300);
    margin: 0 0 14px;
}

.ig-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,.72);
}

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

.ig-footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(240,207,114,.18);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .9rem;
}

/* =========================================================
   Travost auth/account pages
   ========================================================= */

.tv-auth-section {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 72px 0;
    background: radial-gradient(circle at 18% 0%, rgba(216,173,61,.18), transparent 34%), radial-gradient(circle at 95% 16%, rgba(186,36,48,.12), transparent 38%), var(--ivory);
}

.tv-auth-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 34px;
    align-items: center;
}

.tv-auth-intro {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 90% 0%, rgba(240,207,114,.20), transparent 32%), linear-gradient(135deg, var(--red-950), var(--red-700));
    color: white;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid rgba(216,173,61,.38);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .tv-auth-intro h1 {
        font-family: var(--font-heading);
        font-size: clamp(2.3rem, 5vw, 4.2rem);
        line-height: .95;
        letter-spacing: -.06em;
        margin: 12px 0 18px;
    }

    .tv-auth-intro p {
        color: rgba(255,255,255,.76);
        font-size: 1.06rem;
        max-width: 560px;
    }

.tv-auth-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(216,173,61,.28);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.tv-auth-card-header {
    padding: 28px 30px 0;
}

    .tv-auth-card-header h2 {
        font-family: var(--font-heading);
        font-size: clamp(1.65rem, 3vw, 2.3rem);
        line-height: 1.05;
        letter-spacing: -.04em;
        margin: 0;
        color: var(--red-800);
    }

    .tv-auth-card-header p {
        color: var(--muted);
        margin: 10px 0 0;
    }

.tv-auth-card-body {
    padding: 28px 30px 30px;
}

.tv-form-group {
    margin-bottom: 16px;
}

.tv-form-label {
    display: block;
    font-weight: 900;
    color: #4b4037;
    margin-bottom: 7px;
    font-size: .92rem;
}

.tv-form-control,
.tv-form-select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(216,173,61,.35);
    background: white;
    color: var(--ink);
    padding: 11px 13px;
    outline: none;
    transition: .18s ease;
}

    .tv-form-control:focus,
    .tv-form-select:focus {
        border-color: var(--gold-500);
        box-shadow: 0 0 0 4px rgba(216,173,61,.14);
    }

.tv-form-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .84rem;
}

.tv-form-error {
    display: block;
    color: #b91c1c;
    font-weight: 800;
    margin-top: 6px;
    font-size: .86rem;
}

.tv-auth-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.tv-auth-note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(216,173,61,.25);
    color: var(--muted);
}

    .tv-auth-note a {
        color: var(--red-700);
        font-weight: 900;
    }

.tv-alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.tv-alert-danger {
    background: #fde8e8;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tv-alert-success {
    background: #e8f7ef;
    color: #08734d;
    border: 1px solid rgba(15,138,95,.28);
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes igGateFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes igOuterRingBreath {
    0%,100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .72;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.035);
        opacity: .95;
    }
}

@keyframes igRingGlow {
    0%,100% {
        opacity: .82;
        box-shadow: inset 0 0 60px rgba(240,207,114,.10), 0 0 80px rgba(240,207,114,.10);
    }

    50% {
        opacity: 1;
        box-shadow: inset 0 0 76px rgba(240,207,114,.13), 0 0 96px rgba(240,207,114,.16);
    }
}

@keyframes igRingRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes igInnerRingBreath {
    0%,100% {
        transform: scale(1);
        opacity: .60;
    }

    50% {
        transform: scale(1.045);
        opacity: .85;
    }
}

@keyframes igCorePulse {
    0%,100% {
        transform: scale(1);
        box-shadow: 0 35px 90px rgba(0,0,0,.25), inset 0 0 38px rgba(240,207,114,.13);
    }

    50% {
        transform: scale(1.035);
        box-shadow: 0 42px 105px rgba(0,0,0,.30), 0 0 34px rgba(240,207,114,.14), inset 0 0 42px rgba(240,207,114,.17);
    }
}

@keyframes igCardOrbitOne {
    0%,100% {
        transform: translate(0,0) scale(1);
        box-shadow: 0 24px 60px rgba(0,0,0,.18);
    }

    50% {
        transform: translate(-28px,28px) scale(1.055);
        box-shadow: 0 28px 70px rgba(0,0,0,.24);
    }
}

@keyframes igCardOrbitTwo {
    0%,100% {
        transform: translate(0,0) scale(1);
        box-shadow: 0 24px 60px rgba(0,0,0,.18);
    }

    50% {
        transform: translate(30px,-18px) scale(1.055);
        box-shadow: 0 28px 70px rgba(0,0,0,.24);
    }
}

@keyframes igCardOrbitThree {
    0%,100% {
        transform: translate(0,0) scale(1);
        box-shadow: 0 24px 60px rgba(0,0,0,.18);
    }

    50% {
        transform: translate(-26px,-24px) scale(1.055);
        box-shadow: 0 28px 70px rgba(0,0,0,.24);
    }
}

@keyframes igCardOrbitOneMd {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-18px,18px) scale(1.04);
    }
}

@keyframes igCardOrbitTwoMd {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(18px,-12px) scale(1.04);
    }
}

@keyframes igCardOrbitThreeMd {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-16px,-16px) scale(1.04);
    }
}

/* =========================================================
   Responsive / Mobile
   ========================================================= */

@media (max-width: 1120px) {
    .ig-nav {
        gap: 2px;
    }

        .ig-nav a {
            padding: 9px 10px;
            font-size: .86rem;
        }
}

@media (max-width: 1040px) {
    .ig-header {
        z-index: 5000;
    }

    .ig-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        padding: 16px;
        border-radius: 22px;
        background: rgba(255,249,237,.985);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-soft);
        z-index: 99990;
    }

        .ig-nav.is-open {
            display: grid !important;
            gap: 6px !important;
        }

        .ig-nav a {
            border-radius: 14px;
            padding: 12px 14px;
        }

    .ig-menu-button {
        display: inline-flex;
    }

    .ig-hide-tablet {
        display: none !important;
    }

    .ig-mobile-nav-link {
        display: block !important;
    }

    .ig-nav .ig-mobile-nav-link {
        background: rgba(216,173,61,.12) !important;
        color: var(--red-800) !important;
        font-weight: 900 !important;
    }

    .ig-nav .ig-mobile-nav-link-red {
        background: linear-gradient(135deg, var(--red-800), var(--red-600)) !important;
        color: #ffffff !important;
    }

    .ig-nav .ig-mobile-nav-link-gold {
        background: linear-gradient(135deg, var(--gold-300), var(--gold-600)) !important;
        color: var(--red-950) !important;
    }

    .tv-language {
        display: inline-flex !important;
    }

    .tv-language-menu {
        position: fixed;
        top: 78px;
        right: 16px;
        left: auto;
        min-width: min(260px, calc(100vw - 32px));
    }

    .ig-hero-layout {
        grid-template-columns: 1fr;
    }

    .ig-gate {
        min-height: 500px;
    }

    .ig-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ig-feature-inner {
        grid-template-columns: 1fr;
    }

    .tv-auth-layout {
        grid-template-columns: 1fr;
    }

    .ig-orbit-card.one {
        animation-name: igCardOrbitOneMd;
    }

    .ig-orbit-card.two {
        animation-name: igCardOrbitTwoMd;
    }

    .ig-orbit-card.three {
        animation-name: igCardOrbitThreeMd;
    }
}

@media (max-width: 700px) {
    :root {
        --header-h: 68px;
    }

    .ig-container {
        width: min(100% - 24px, var(--container));
    }

    .ig-header-inner {
        min-height: 68px;
        gap: 8px;
    }

    .ig-logo {
        gap: 8px;
        letter-spacing: .04em;
        min-width: 0;
    }

    .ig-logo-mark {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        flex: 0 0 38px;
    }

    .ig-logo span {
        font-size: .92rem;
        line-height: 1.1;
    }

    .ig-logo small {
        display: none;
    }

    .ig-actions {
        gap: 7px;
    }

    .tv-language-btn {
        min-height: 42px;
        min-width: 44px;
        padding: 8px 9px;
        border-radius: 13px;
        font-size: 0;
    }

        .tv-language-btn::before {
            content: "🌐";
            font-size: 1.04rem;
        }

    .tv-current-language {
        display: none;
    }

    .tv-language-menu {
        top: 74px;
        right: 12px;
        min-width: min(260px, calc(100vw - 24px));
    }

    .ig-menu-button {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .ig-hero {
        padding: 48px 0 36px;
    }

    .ig-kicker {
        font-size: .72rem;
        padding: 8px 12px;
    }

    .ig-title {
        font-size: clamp(2.55rem, 12vw, 4.3rem);
        line-height: .93;
        letter-spacing: -.055em;
    }

    .ig-lead {
        font-size: .98rem;
        margin-top: 12px;
    }

    .ig-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 18px;
        margin-bottom: 14px;
    }

        .ig-hero-actions .ig-btn {
            width: 100%;
        }

    .ig-stats,
    .ig-stats-hero {
        flex-direction: column;
        gap: 18px;
        margin-top: 18px;
    }

        .ig-stat,
        .ig-stats-hero .ig-stat {
            min-width: 100%;
            padding: 0 0 0 14px;
        }

            .ig-stat:first-child,
            .ig-stats-hero .ig-stat:first-child {
                padding-left: 14px;
            }

            .ig-stat::before,
            .ig-stats-hero .ig-stat::before {
                content: "";
                position: absolute;
                top: 4px;
                left: 0;
                width: 1px;
                height: 42px;
                background: linear-gradient(180deg, rgba(212,175,55,.95) 0%, rgba(212,175,55,.45) 100%);
            }

            .ig-stat:not(:last-child)::after,
            .ig-stats-hero .ig-stat:not(:last-child)::after {
                display: none;
            }

            .ig-stat strong,
            .ig-stats-hero .ig-stat strong {
                font-size: 1.6rem;
            }

            .ig-stat span,
            .ig-stats-hero .ig-stat span {
                font-size: .92rem;
                white-space: normal;
            }

    .ig-gate {
        min-height: auto;
        display: block;
        padding-top: 22px;
        animation: none;
    }

        .ig-gate::before,
        .ig-gate-ring {
            display: none;
        }

    .ig-emblem {
        width: 180px;
        height: 180px;
        margin: 0 auto 18px;
        animation: igCorePulse 7s ease-in-out infinite;
    }

    .ig-orbit-card {
        position: static;
        width: 100%;
        margin: 12px 0;
        animation: none;
    }

    .ig-section {
        padding: 62px 0;
    }

    .ig-grid-4 {
        grid-template-columns: 1fr;
    }

    .ig-feature-inner {
        padding: 28px;
    }

    .ig-footer-grid {
        grid-template-columns: 1fr;
    }

    .tv-auth-section {
        padding: 44px 0;
    }

    .tv-auth-card-header,
    .tv-auth-card-body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .tv-auth-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .tv-auth-actions .ig-btn {
            width: 100%;
        }
}

@media (max-width: 390px) {
    .ig-logo span {
        font-size: .84rem;
    }

    .ig-actions {
        gap: 5px;
    }

    .tv-language-btn,
    .ig-menu-button {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
}

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