/* ===== INTER SOLDI — Premium Broker Styles ===== */

:root {
    /* Core Blues */
    --blue-900: #0a0e27;
    --blue-800: #0d1333;
    --blue-700: #111940;
    --blue-600: #162050;
    --blue-500: #1a2766;
    --blue-400: #2540a0;
    --blue-300: #3b5fcc;
    --blue-200: #6b8cef;
    --blue-100: #a3b8f7;

    /* Golds */
    --gold-500: #D4A437;
    --gold-400: #E8BE4E;
    --gold-300: #F0C850;
    --gold-200: #F5D87A;
    --gold-100: #FBE8A0;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8f9fc;
    --gray-100: #e8ebf4;
    --gray-200: #c5cae0;
    --gray-300: #9ea5c0;
    --gray-400: #6b7194;
    --gray-500: #4a4f6b;
    --gray-600: #2e3248;
    --gray-700: #1e2136;

    /* Semantic */
    --green: #22c55e;
    --red: #ef4444;
    --telegram: #2AABEE;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #F0C850, #D4A437, #F0C850);
    --blue-gradient: linear-gradient(135deg, #0d1333, #1a2766);
    --card-gradient: linear-gradient(135deg, rgba(26, 39, 102, 0.5), rgba(13, 19, 51, 0.8));
    --hero-gradient: linear-gradient(135deg, #0a0e27 0%, #111940 40%, #0d1333 100%);

    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1280px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.35);
    --shadow-gold: 0 4px 24px rgba(212, 164, 55, 0.3);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--blue-900);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== RTL SUPPORT ===== */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav-right { flex-direction: row-reverse; }
[dir="rtl"] .hero-container { flex-direction: row-reverse; }
[dir="rtl"] .about-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .lang-dropdown { left: auto; right: 0; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--blue-900);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.logo-preloader { font-size: 2rem; margin-bottom: 24px; }
.loading-bar { width: 200px; height: 3px; background: var(--blue-700); border-radius: 4px; overflow: hidden; }
.loading-bar-fill {
    height: 100%; width: 0; border-radius: 4px;
    background: var(--gold-gradient);
    animation: loadFill 1.2s var(--ease-out) forwards;
}
@keyframes loadFill { to { width: 100%; } }

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

/* ===== LOGO ===== */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon svg { width: 38px; height: 38px; }
.logo-text { display: flex; align-items: baseline; gap: 6px; }
.logo-inter {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.35rem; letter-spacing: 2px;
    color: var(--white);
}
.logo-soldi {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.35rem; letter-spacing: 2px;
    background: var(--gold-gradient);
    -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;
    font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
    padding: 12px 28px; border-radius: 10px;
    transition: all 0.3s var(--ease-out);
    position: relative; overflow: hidden;
}
.btn-gold {
    background: var(--gold-gradient); color: var(--blue-900);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 164, 55, 0.45);
    filter: brightness(1.1);
}
.btn-outline {
    border: 1.5px solid var(--gold-400); color: var(--gold-400);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(212, 164, 55, 0.1);
    transform: translateY(-2px);
}
.btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
    background: transparent;
}
.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-telegram {
    background: var(--telegram); color: white;
    padding: 14px 32px; border-radius: 12px; font-size: 1rem; font-weight: 600;
    width: 100;
    box-shadow: 0 4px 16px rgba(42, 171, 238, 0.3);
}
.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 171, 238, 0.4);
    filter: brightness(1.1);
}
.tg-icon { width: 22px; height: 22px; }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    min-width: 0; gap: 10px;
}
.nav-links {
    display: flex; gap: 32px;
}
.nav-links a {
    font-size: 0.88rem; font-weight: 500; color: var(--gray-200);
    transition: color 0.3s ease; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 1; min-width: 0; }

/* Lang Selector */
.lang-selector { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600; color: var(--gray-200);
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease; cursor: pointer;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.lang-name { white-space: nowrap; }
.chevron { width: 10px; height: 10px; transition: transform 0.3s ease; }
.lang-selector.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--blue-700);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 6px;
    min-width: 180px; max-height: 400px; overflow-y: auto;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.3s var(--ease-out);
    z-index: 100;
}
.lang-selector.open .lang-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
    display: block;
    padding: 9px 14px; border-radius: 8px;
    font-size: 0.85rem; color: var(--gray-200);
    transition: all 0.2s ease;
    text-decoration: none;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.lang-option.active { background: rgba(212, 164, 55, 0.15); color: var(--gold-400); font-weight: 600; }

.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--gray-500); border-radius: 2px; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    padding: 4px; width: 28px;
    z-index: 10001; position: relative; cursor: pointer;
    background: none; border: none;
}
.hamburger span {
    display: block; height: 2px; background: var(--white);
    border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 100px 16px 60px;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: var(--hero-gradient);
}
.hero-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(26, 39, 102, 0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(212, 164, 55, 0.08) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0;
}
.hero-container {
    position: relative; z-index: 1;
    max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;
    width: 100%; min-width: 0;
}
.hero-content { flex: 1; }
.hero-image {
    flex: 0 0 420px; position: relative;
}

.promo-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(212, 164, 55, 0.15), rgba(240, 200, 80, 0.08));
    border: 1px solid rgba(212, 164, 55, 0.3);
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; color: var(--gold-300);
    margin-bottom: 24px;
    animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 164, 55, 0.1); }
    50% { box-shadow: 0 0 20px rgba(212, 164, 55, 0.2); }
}
.promo-icon { font-size: 1.1rem; }

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem; font-weight: 800; line-height: 1.1;
    color: var(--white); margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem; color: var(--gray-300); max-width: 540px;
    margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 560px;
}
.stat-item {
    text-align: center;
    background: rgba(26, 39, 102, 0.3);
    border: 1px solid rgba(59, 95, 204, 0.15);
    border-radius: 12px;
    padding: 16px 8px;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700; color: var(--white);
    display: inline;
    line-height: 1.2;
}
.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700; color: var(--gold-400);
}
.stat-label {
    font-size: 0.72rem; color: var(--gray-300); display: block; margin-top: 6px;
    line-height: 1.3;
}

.founder-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(212, 164, 55, 0.2);
}

.hero-float-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(13, 19, 51, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 18px; border-radius: 12px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}
.card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.card-2 { bottom: 30%; left: -30px; animation-delay: 1.3s; }
.card-3 { bottom: 8%; right: -10px; animation-delay: 2.6s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-icon { font-size: 1.3rem; }
.float-label { font-size: 0.75rem; color: var(--gray-300); display: block; }
.float-value { font-size: 0.9rem; font-weight: 700; display: block; }
.float-value.green { color: var(--green); }
.float-value.red { color: var(--red); }

/* ===== TICKER ===== */
.ticker-bar {
    background: rgba(13, 19, 51, 0.8);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0; overflow: hidden;
}
.ticker-track {
    display: flex; gap: 40px;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker-name { font-weight: 600; font-size: 0.82rem; color: var(--gray-200); }
.ticker-price { font-size: 0.82rem; color: var(--white); font-weight: 500; }
.ticker-change { font-size: 0.78rem; font-weight: 700; }
.ticker-change.green { color: var(--green); }
.ticker-change.red { color: var(--red); }

/* ===== SECTIONS ===== */
.section { padding: var(--section-padding); position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-400); margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem; font-weight: 700; color: var(--white);
    margin-bottom: 16px; letter-spacing: 0.5px;
}
.section-subtitle { font-size: 1.05rem; color: var(--gray-300); max-width: 600px; margin: 0 auto; }

/* ===== PROMO SECTION ===== */
.promo-section { padding: 60px 0; }
.promo-card {
    background: linear-gradient(135deg, rgba(26, 39, 102, 0.6), rgba(13, 19, 51, 0.9));
    border: 1px solid rgba(212, 164, 55, 0.3);
    border-radius: 24px; padding: 48px; position: relative; overflow: hidden;
}
.promo-card::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212, 164, 55, 0.1), transparent 70%);
    pointer-events: none;
}
.promo-content {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    position: relative; z-index: 1;
}
.promo-left { flex: 1; }
.promo-tag {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
    color: var(--gold-400); display: block; margin-bottom: 12px;
}
.promo-title {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 700; color: var(--white);
    margin-bottom: 16px;
}
.promo-desc { font-size: 1rem; color: var(--gray-300); margin-bottom: 24px; max-width: 480px; }

.promo-right { text-align: center; }
.promo-amount {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700;
}
.promo-euro {
    font-size: 2rem; color: var(--gold-300);
}
.promo-value {
    font-size: 3rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.promo-to { font-size: 1.5rem; color: var(--gray-400); }
.promo-bonus-label {
    font-size: 0.85rem; color: var(--gray-300); margin-top: 8px;
}

.promo-features {
    display: flex; gap: 32px; margin-top: 32px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
    position: relative; z-index: 1;
}
.promo-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--gray-300);
}
.pf-icon { font-size: 1.2rem; }

/* ===== MARKETS ===== */
.markets { background: var(--blue-800); }
.markets-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.market-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 32px;
    transition: all 0.4s var(--ease-out);
}
.market-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 164, 55, 0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.market-icon { margin-bottom: 20px; }
.market-icon svg { width: 48px; height: 48px; }
.market-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 600; color: var(--white);
    margin-bottom: 12px;
}
.market-card p { font-size: 0.9rem; color: var(--gray-300); margin-bottom: 20px; line-height: 1.6; }
.market-pairs { display: flex; gap: 8px; flex-wrap: wrap; }
.market-pairs span {
    font-size: 0.75rem; font-weight: 600;
    background: rgba(255,255,255,0.06); color: var(--gray-200);
    padding: 4px 12px; border-radius: 6px;
}

/* ===== PLATFORMS ===== */
.platforms-showcase { display: flex; gap: 32px; align-items: stretch; }
.platform-main {
    flex: 1.3; position: relative; border-radius: 20px; overflow: hidden;
    min-height: 400px;
}
.platform-img {
    width: 100%; height: 100%; object-fit: cover;
}
.platform-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(10, 14, 39, 0.95));
}
.platform-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 8px;
}
.platform-overlay p { font-size: 0.9rem; color: var(--gray-300); }

.platform-features {
    flex: 1; display: grid; grid-template-columns: 1fr; gap: 16px;
}
.pf-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 24px;
    transition: all 0.4s var(--ease-out);
}
.pf-card:hover {
    border-color: rgba(212, 164, 55, 0.3);
    transform: translateX(6px);
}
.pf-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.pf-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 6px;
}
.pf-card p { font-size: 0.85rem; color: var(--gray-300); line-height: 1.5; }

/* ===== WHY US ===== */
.why-us { background: var(--blue-800); }
.why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 36px;
    transition: all 0.4s var(--ease-out);
}
.why-card:hover {
    border-color: rgba(212, 164, 55, 0.3);
    transform: translateY(-4px);
}
.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 600; color: var(--white);
    margin-bottom: 12px;
}
.why-card p { font-size: 0.88rem; color: var(--gray-300); line-height: 1.6; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: 20px; box-shadow: var(--shadow-lg);
    border: 2px solid rgba(212, 164, 55, 0.15);
}
.about-img-secondary {
    position: absolute; bottom: -30px; right: -20px;
    width: 55%; border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(212, 164, 55, 0.2);
}
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; font-size: 2.2rem; }
.about-text { font-size: 0.95rem; color: var(--gray-300); margin-bottom: 16px; line-height: 1.7; }
.about-numbers { display: flex; gap: 40px; margin: 32px 0; }
.about-num { text-align: center; }
.about-num-value {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.about-num-label { font-size: 0.8rem; color: var(--gray-400); }

/* ===== ACCOUNTS ===== */
.accounts { background: var(--blue-800); }
.accounts-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}
.account-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 36px;
    display: flex; flex-direction: column;
    transition: all 0.4s var(--ease-out);
    position: relative;
}
.account-card:hover { transform: translateY(-6px); }
.account-card.featured {
    border-color: var(--gold-500);
    box-shadow: 0 0 40px rgba(212, 164, 55, 0.15);
}
.account-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold-gradient); color: var(--blue-900);
    font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
    padding: 6px 20px; border-radius: 20px;
}
.account-header { text-align: center; margin-bottom: 28px; }
.account-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700; color: var(--white);
    margin-bottom: 12px;
}
.deposit-from { font-size: 0.8rem; color: var(--gray-400); }
.deposit-amount {
    font-family: var(--font-display);
    font-size: 2.4rem; font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.account-features {
    flex: 1; margin-bottom: 28px;
}
.account-features li {
    padding: 10px 0; font-size: 0.88rem; color: var(--gray-200);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; gap: 10px;
}
.account-features li::before {
    content: '✓'; color: var(--gold-400); font-weight: 700; font-size: 0.9rem;
}

/* ===== EDUCATION ===== */
.edu-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.edu-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 36px;
    transition: all 0.4s var(--ease-out);
}
.edu-card:hover {
    border-color: rgba(212, 164, 55, 0.3);
    transform: translateY(-4px);
}
.edu-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.edu-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 600; color: var(--white);
    margin-bottom: 12px;
}
.edu-card p { font-size: 0.9rem; color: var(--gray-300); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--blue-800); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 32px;
    transition: all 0.4s var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-4px); }
.test-stars { color: var(--gold-400); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.test-text { font-size: 0.92rem; color: var(--gray-200); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--blue-900); font-size: 1rem;
}
.test-name { display: block; font-weight: 600; color: var(--white); font-size: 0.9rem; }
.test-role { font-size: 0.78rem; color: var(--gray-400); }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; }
.cta-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 39, 102, 0.6), rgba(13, 19, 51, 0.9));
    border: 1px solid rgba(212, 164, 55, 0.2);
    border-radius: 24px; padding: 64px 40px;
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; inset: -2px;
    background: linear-gradient(135deg, rgba(212, 164, 55, 0.2), transparent, rgba(212, 164, 55, 0.1));
    border-radius: 24px; z-index: -1;
}
.cta-card h2 {
    font-family: var(--font-display);
    font-size: 2.4rem; font-weight: 700; color: var(--white);
    margin-bottom: 16px;
}
.cta-card p { font-size: 1.05rem; color: var(--gray-300); margin-bottom: 32px; }

/* ===== CONTACT ===== */
.contact { background: var(--blue-800); }
.contact-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.contact-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 32px; text-align: center;
    transition: all 0.4s var(--ease-out);
}
.contact-card:hover { border-color: rgba(212, 164, 55, 0.3); transform: translateY(-4px); }
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600; color: var(--white);
    margin-bottom: 8px;
}
.contact-card p { font-size: 0.88rem; color: var(--gray-300); }

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px;
}
.footer-desc { font-size: 0.88rem; color: var(--gray-400); margin-top: 16px; line-height: 1.6; max-width: 320px; }
.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600; color: var(--white);
    margin-bottom: 16px;
}
.footer-links a {
    display: block; font-size: 0.85rem; color: var(--gray-400);
    padding: 6px 0; transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray-500); line-height: 1.6; }
.footer-copy { margin-top: 16px; font-size: 0.8rem; color: var(--gray-400); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px; padding: 40px;
    max-width: 440px; width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-spring);
    position: relative;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 1.6rem; color: var(--gray-400);
    transition: color 0.3s ease; background: none; border: none;
    line-height: 1; cursor: pointer;
}
.modal-close:hover { color: var(--white); }
.modal-content { text-align: center; }
.modal-logo { margin-bottom: 24px; }
.modal-logo .logo-inter { font-size: 1.5rem; }
.modal-logo .logo-soldi { font-size: 1.5rem; }
.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700; color: var(--white);
    margin-bottom: 8px;
}
.modal-subtitle { font-size: 0.9rem; color: var(--gray-300); margin-bottom: 24px; }
.modal-promo {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, rgba(212, 164, 55, 0.1), rgba(212, 164, 55, 0.05));
    border: 1px solid rgba(212, 164, 55, 0.25);
    padding: 12px 20px; border-radius: 12px;
    font-size: 0.85rem; color: var(--gold-300); font-weight: 600;
    margin-bottom: 24px;
}
.modal-promo-icon { font-size: 1.2rem; }
.btn-telegram { width: 100%; justify-content: center; }
.modal-divider {
    display: flex; align-items: center; gap: 16px;
    margin: 20px 0; color: var(--gray-500); font-size: 0.8rem;
}
.modal-divider::before, .modal-divider::after {
    content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08);
}
.modal-switch { font-size: 0.88rem; color: var(--gray-300); }
.modal-switch a { color: var(--gold-400); font-weight: 600; }
.modal-switch a:hover { text-decoration: underline; }
.modal-terms { font-size: 0.72rem; color: var(--gray-500); margin-top: 20px; }

/* TG Stub Modal */
.tg-modal { max-width: 400px; }
.tg-content { text-align: center; }
.tg-logo-wrap { margin-bottom: 20px; }
.tg-big-icon { width: 64px; height: 64px; }
.tg-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 600; color: var(--white);
    margin-bottom: 8px;
}
.tg-content > p { font-size: 0.9rem; color: var(--gray-300); margin-bottom: 24px; }
.tg-stub-box {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: rgba(42, 171, 238, 0.1);
    border: 1px solid rgba(42, 171, 238, 0.2);
    padding: 16px 24px; border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem; color: var(--telegram);
}
.tg-stub-spinner {
    width: 20px; height: 20px; border: 2px solid rgba(42, 171, 238, 0.3);
    border-top-color: var(--telegram); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tg-stub-note { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 20px; }

/* ===== ANIMATIONS ===== */
.animate-fade-in { opacity: 0; animation: fadeIn 0.8s var(--ease-out) forwards; }
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s var(--ease-out) forwards; }
.animate-fade-left { opacity: 0; transform: translateX(40px); animation: fadeLeft 0.8s var(--ease-out) forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

.animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
/* NOTE: Navbar, hero, and bonus-block responsive rules are in inline <style> in index.html */
/* Only non-hero/non-navbar rules go here to avoid conflicts */

@media (max-width: 1024px) {
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .platforms-showcase { flex-direction: column; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-content .section-tag, .about-content .section-title { text-align: center; }
    .about-numbers { justify-content: center; }
    .about-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .accounts-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .promo-content { flex-direction: column; text-align: center; }
    .promo-desc { margin-left: auto; margin-right: auto; }
    .promo-features { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    :root { --section-padding: 64px 0; }
    .section-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
    .hero-float-card { display: none; }
    .markets-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .edu-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-desc { margin-left: auto; margin-right: auto; }
    .about-img-secondary { position: static; width: 100%; margin-top: 16px; }
    .promo-card { padding: 32px 24px; }
    .promo-title { font-size: 1.6rem; }
    .promo-value { font-size: 2.2rem; }
    .promo-features { gap: 16px; }
    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 1.8rem; }
    .modal { padding: 32px 24px; margin: 16px; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.6rem; }
    .about-numbers { flex-direction: column; gap: 16px; }
    .promo-amount { flex-wrap: wrap; justify-content: center; }
}

/* Mobile Nav Overlay */
.nav-links.mobile-open {
    display: flex !important; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    gap: 28px; z-index: 9999;
    padding: 80px 20px 40px;
}
.nav-links.mobile-open a {
    font-size: 1.3rem; font-weight: 600; color: var(--white);
    padding: 12px 24px;
}
.nav-links.mobile-open a:hover,
.nav-links.mobile-open a:active {
    color: var(--gold-400);
}
/* Mobile close handled by hamburger X button */

/* ===== HERO BONUS BLOCK (MAXIMUM CONVERSION) ===== */
.hero-bonus-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 36px;
    padding: 44px 52px 38px;
    background: linear-gradient(135deg, rgba(240, 200, 80, 0.15), rgba(212, 164, 55, 0.08), rgba(240, 200, 80, 0.12));
    border: 3px solid var(--gold-400);
    border-radius: 24px;
    overflow: hidden;
    animation: bonusPulse 2.5s ease-in-out infinite;
    max-width: 620px;
    width: 100%;
}

@keyframes bonusPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(240, 200, 80, 0.4), 0 0 100px rgba(240, 200, 80, 0.15), inset 0 0 40px rgba(240, 200, 80, 0.05); }
    50% { box-shadow: 0 0 70px rgba(240, 200, 80, 0.6), 0 0 150px rgba(240, 200, 80, 0.25), inset 0 0 60px rgba(240, 200, 80, 0.08); }
}

.hero-bonus-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 200, 80, 0.2) 0%, transparent 55%);
    animation: bonusGlowRotate 5s linear infinite;
    pointer-events: none;
}

.hero-bonus-sparks {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(2px 2px at 15% 20%, rgba(240,200,80,0.8), transparent),
        radial-gradient(2px 2px at 85% 30%, rgba(240,200,80,0.6), transparent),
        radial-gradient(1.5px 1.5px at 45% 80%, rgba(240,200,80,0.7), transparent),
        radial-gradient(2px 2px at 70% 65%, rgba(240,200,80,0.5), transparent),
        radial-gradient(1.5px 1.5px at 25% 55%, rgba(240,200,80,0.6), transparent),
        radial-gradient(2px 2px at 90% 85%, rgba(240,200,80,0.4), transparent);
    animation: sparksFloat 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparksFloat {
    0% { opacity: 0.4; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(-8px); }
}

@keyframes bonusGlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-bonus-badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-bonus-icon {
    font-size: 2.8rem;
    animation: bonusIconBounce 1.5s ease-in-out infinite;
}

@keyframes bonusIconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.15); }
}

.hero-bonus-tag {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--blue-900);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 8px;
    animation: tagFlash 3s ease-in-out infinite;
}

@keyframes tagFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-bonus-big-amount {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFEC8B);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(240, 200, 80, 0.5));
    animation: amountShimmer 3s ease-in-out infinite;
    word-break: break-word;
}

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

.hero-bonus-dash {
    font-size: 2.8rem;
    opacity: 0.7;
}

.hero-bonus-desc {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-300);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 18px;
    max-width: 450px;
}

.hero-bonus-urgency {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b6b;
    animation: urgencyFade 2s ease-in-out infinite;
}

.urgency-dot {
    width: 10px;
    height: 10px;
    background: #ff4444;
    border-radius: 50%;
    animation: urgencyBlink 1s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes urgencyBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #ff4444, 0 0 16px rgba(255,68,68,0.4); }
    50% { opacity: 0.3; box-shadow: none; }
}

@keyframes urgencyFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* ===== HUGE CTA BUTTON ===== */
.hero-bonus-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 36px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--blue-900);
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    box-shadow:
        0 6px 32px rgba(240, 200, 80, 0.6),
        0 0 60px rgba(240, 200, 80, 0.3),
        0 0 100px rgba(240, 200, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: megaCtaPulse 2s ease-in-out infinite, ctaShimmerBg 3s ease-in-out infinite;
    width: 100%;
    max-width: 520px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    overflow: hidden;
    word-break: break-word;
    text-align: center;
    line-height: 1.2;
}

.hero-bonus-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 60%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: ctaShine 2.5s ease-in-out infinite;
    z-index: 3;
}

@keyframes ctaShine {
    0% { left: -100%; }
    60% { left: 150%; }
    100% { left: 150%; }
}

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

.hero-bonus-cta:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow:
        0 10px 48px rgba(240, 200, 80, 0.8),
        0 0 100px rgba(240, 200, 80, 0.4),
        0 0 160px rgba(240, 200, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-bonus-cta:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes megaCtaPulse {
    0%, 100% {
        box-shadow: 0 6px 32px rgba(240, 200, 80, 0.6), 0 0 60px rgba(240, 200, 80, 0.3), 0 0 100px rgba(240, 200, 80, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 44px rgba(240, 200, 80, 0.8), 0 0 90px rgba(240, 200, 80, 0.4), 0 0 140px rgba(240, 200, 80, 0.25);
        transform: scale(1.03);
    }
}

/* ===== SOCIAL PROOF ===== */
.hero-bonus-social {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-200);
}

.social-avatars {
    display: flex;
    margin-right: 2px;
}

.s-avatar {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-500);
    border-radius: 50%;
    border: 2px solid var(--gold-400);
    font-size: 0.7rem;
    margin-left: -6px;
}

.s-avatar:first-child { margin-left: 0; }

.hero-bonus-social strong {
    color: var(--gold-300);
    font-weight: 700;
}

.hero-bonus-micro {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--gray-300);
    letter-spacing: 0.3px;
    text-align: center;
}

/* RESPONSIVE: hero bonus — handled in inline <style> in index.html, no duplicates here */

/* ===== NAV CTA BUTTON (Gorgeous) ===== */
.nav-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a1a2e;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        0 4px 15px rgba(255, 165, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    animation: navCtaGlow 2s ease-in-out infinite, ctaShimmerBg 3s ease-in-out infinite;
    transition: all 0.3s ease;
    flex-shrink: 1;
    min-width: 0;
    text-align: center;
}
.nav-cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.6),
        0 8px 25px rgba(255, 165, 0, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.5);
}
.nav-cta-icon {
    font-size: 1.1rem;
    animation: bounce 2s ease-in-out infinite;
}
.nav-cta-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: navCtaShineSweep 2.5s ease-in-out infinite;
}
@keyframes navCtaGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.4), 0 4px 15px rgba(255,165,0,0.3); }
    50% { box-shadow: 0 0 35px rgba(255,215,0,0.6), 0 6px 20px rgba(255,165,0,0.5); }
}
@keyframes navCtaShineSweep {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* ===== TELEGRAM AUTH MODAL ===== */
.hidden { display: none !important; }

.tg-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.tg-auth-overlay.active {
    display: flex;
}

.tg-auth-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: authModalIn 0.3s ease;
}

@keyframes authModalIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.tg-auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tg-auth-close:hover {
    background: #e0e0e0;
    color: #333;
}

.tg-auth-logo {
    text-align: center;
    margin-bottom: 8px;
}

.tg-auth-logo svg {
    width: 52px;
    height: 52px;
}

.tg-auth-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.tg-auth-desc {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.tg-auth-bonus {
    display: inline-block;
    background: linear-gradient(135deg, #FFF3CD, #FFE69C);
    color: #856404;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin: 0 auto 20px;
    text-align: center;
    width: fit-content;
}

.tg-auth-step {
    width: 100%;
}

.phone-input-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.country-select {
    flex: 0 0 110px;
    padding: 14px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #333;
    background: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}

.country-select:focus {
    border-color: #2AABEE;
    outline: none;
}

.phone-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #333;
    background: #f8f9fa;
    transition: border-color 0.2s;
}

.phone-input:focus {
    border-color: #2AABEE;
    outline: none;
    background: #fff;
}

.code-input-wrap {
    margin-bottom: 16px;
}

.code-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 12px;
    color: #333;
    background: #f8f9fa;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.code-input:focus {
    border-color: #2AABEE;
    outline: none;
    background: #fff;
}

.tg-auth-btn {
    width: 100%;
    padding: 16px;
    background: #2AABEE;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tg-auth-btn:hover {
    background: #229ED9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(42, 171, 238, 0.4);
}

.tg-auth-btn:active {
    transform: translateY(0);
}

.tg-auth-back {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    background: none;
    border: none;
    color: #2AABEE;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.tg-auth-back:hover {
    color: #1a8cd8;
}

.tg-auth-error {
    background: #fff3f3;
    color: #e53935;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    text-align: center;
    border: 1px solid #ffcdd2;
}

.tg-auth-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.tg-auth-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #2AABEE;
    border-radius: 50%;
    animation: authSpin 0.8s linear infinite;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

.tg-auth-loading-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 12px;
}

.tg-auth-phone-display {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 16px;
    padding: 8px;
    background: #f0f7ff;
    border-radius: 8px;
}

.tg-auth-terms {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 16px;
    line-height: 1.4;
}

.tg-auth-terms a {
    color: #2AABEE;
    text-decoration: none;
}

@media (max-width: 480px) {
    .tg-auth-modal {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .tg-auth-title { font-size: 1.3rem; }
    .code-input { font-size: 1.4rem; letter-spacing: 8px; }
    .country-select { flex: 0 0 95px; }
}
