/* ==========================================================================
   ASTERIA ESCORT AGENCY — LUXURY PREMIUM DESIGN SYSTEM v2
   Typography: Inter (Body/UI) & Unbounded (Headings/Stats/Accents)
   Color Palette: Deep obsidian + warm gold + crimson glow
   ========================================================================== */

:root {
    /* Backgrounds */
    --bg-dark: #060409;
    --bg-surface: #0f0c17;
    --bg-card: #110e1a;
    --bg-glass: rgba(15, 12, 23, 0.8);

    /* Gold System */
    --gold-primary: #c9a84c;
    --gold-light: #f0d98a;
    --gold-pale: #fdf3d4;
    --gold-dark: #8a6520;
    --gold-glow: rgba(201, 168, 76, 0.18);
    --gold-glow-strong: rgba(201, 168, 76, 0.35);
    --gold-gradient: linear-gradient(135deg, #fdf3d4 0%, #e8c76a 40%, #c9a84c 70%, #8a6520 100%);
    --gold-gradient-subtle: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(138, 101, 32, 0.05) 100%);

    /* Borders */
    --border-gold: rgba(201, 168, 76, 0.22);
    --border-gold-strong: rgba(201, 168, 76, 0.45);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-muted: rgba(255, 255, 255, 0.04);

    /* Crimson */
    --crimson: #7a0026;
    --crimson-soft: rgba(122, 0, 38, 0.2);

    /* Text */
    --text-primary: #f2eef8;
    --text-secondary: #a09ab0;
    --text-muted: #5e5870;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Unbounded', 'Inter', sans-serif;

    /* Effects */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
    --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.75);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.25);
    --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    caret-color: transparent !important;
}

input,
textarea,
[contenteditable="true"] {
    caret-color: var(--gold-light) !important;
}

html {
    height: auto !important;
    min-height: 100%;
    scroll-behavior: smooth;
    font-family: var(--font-body, 'Inter', sans-serif);
    background-color: var(--bg-dark, #060409);
    color: var(--text-primary, #f2eef8);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

html.intro-done {
    overflow-y: auto;
}

body {
    height: auto !important;
    min-height: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark, #060409);
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.view-pane {
    display: none;
    min-height: 100%;
    width: 100%;
    position: relative;
    contain: layout style;
    transform: none !important;
}

.view-pane.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

body.menu-open,
body.modal-open,
body.drawer-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none !important;
}



/* Single Unified Premium Scrollbar Starting Below Header */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 66px;
    margin-bottom: 12px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.45) 0%, rgba(138, 101, 32, 0.35) 100%);
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    backdrop-filter: blur(8px);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 235, 175, 0.8) 0%, rgba(201, 168, 76, 0.65) 100%);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

/* ==========================================================================
   SVG ICON SYSTEM
   ========================================================================== */
.svg-icon-sm {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.svg-icon-btn {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-left: 6px;
}

.svg-icon-card {
    width: 32px;
    height: 32px;
    stroke: var(--gold-primary);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    margin-bottom: 1rem;
}

.svg-icon-lg {
    width: 36px;
    height: 36px;
    stroke: var(--gold-primary);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-icon-check {
    width: 14px;
    height: 14px;
    stroke: var(--gold-primary);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ==========================================================================
   AMBIENT BACKGROUND
   ========================================================================== */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.4;
    animation: pulseGlow 14s infinite alternate ease-in-out;
    will-change: transform, opacity;
}

.glow-1 {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 0, 38, 0.55) 0%, transparent 70%);
}

.glow-2 {
    bottom: -25%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(180, 130, 40, 0.18) 0%, transparent 70%);
}

.glow-3 {
    top: 35%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(90, 15, 50, 0.28) 0%, transparent 70%);
}

@keyframes pulseGlow {
    0% {
        opacity: 0.25;
        transform: scale(0.94);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* ==========================================================================
   INTRO SPLASH OVERLAY
   ========================================================================== */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50000;
    background: #060409;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    cursor: pointer;
    transition: opacity 0.85s var(--transition, cubic-bezier(0.22, 1, 0.36, 1)), visibility 0.85s ease;
}

.intro-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #120f1c 0%, #060409 80%);
}

.intro-screen.leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
}

.intro-screen.hidden {
    display: none !important;
}

.intro-stage {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 480px;
    margin: 0 auto;
}



.intro-goddess.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.intro-goddess-img {
    max-width: 320px;
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    background: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    image-rendering: auto;
    filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.3));
}

.intro-text-reveal {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.8s var(--transition), opacity 0.6s ease;
}

.intro-text-reveal.reveal {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}



/* ==========================================================================
   MAIN CONTENT & VIEW PANES
   ========================================================================== */
.main-content {
    position: relative;
    z-index: 10;
    opacity: 1;
}

.main-content.visible {
    opacity: 1;
}

.view-pane {
    display: none;
}

.view-pane.active {
    display: block;
    animation: fadeInView 0.22s ease-out;
    transform: none !important;
}

@keyframes fadeInView {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   INTRO ANIMATION KEYFRAMES
   ========================================================================== */
.intro-goddess {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.intro-goddess.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.intro-text-reveal {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.0s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.intro-text-reveal.reveal {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
}

.intro-goddess-img {
    max-width: 290px;
    width: 72%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.35));
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.intro-text-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}


/* ==========================================================================
   MAIN CONTENT OFFSET (below fixed navbar)
   ========================================================================== */
#main-content {
    padding-top: 64px;
    min-height: 100dvh;
    position: relative;
    width: 100%;
    overflow: visible;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 64px;
    padding: 0 clamp(1.2rem, 3vw, 2.8rem);
    background: rgba(6, 4, 9, 0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

/* Brand Logo (Golden Statue Icon Centered on 'about' + Unfolding Text on other tabs) */
.nav-brand {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.nav-brand:hover {
    opacity: 0.88;
}

/* Unfolding Page Title Text */
.nav-page-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease-out,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-14px);
    pointer-events: none;
    user-select: none;
}

.nav-page-title.expanded {
    max-width: 380px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-title-sep {
    color: #c9a84c;
    font-weight: 300;
    font-size: 1.2rem;
    opacity: 0.6;
}

.nav-title-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e0be6c;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-brand-icon {
    height: 36px;
    width: auto;
    mix-blend-mode: screen;
    background: transparent;
    flex-shrink: 0;
    display: block;
}

/* Brand Text Container (Unfolds out of statue logo) */
.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
    user-select: none;
}

.nav-brand-text.expanded {
    max-width: none;
    opacity: 1;
    transform: none;
}

.nav-brand-main {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.25em;
    color: #a88434;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .nav-brand-main {
        font-size: 0.95rem;
        letter-spacing: 0.16em;
    }

    .nav-brand-sub {
        font-size: 0.44rem;
        letter-spacing: 0.2em;
    }

    .nav-brand-text.expanded {
        max-width: 190px;
    }
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 1rem;
    right: 1rem;
    height: 1.5px;
    background: var(--gold-gradient);
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.3s var(--transition), opacity 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.06);
}

.nav-link.active {
    color: #fff;
    font-weight: 600;
}

.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.guest-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Balance Pill */
.btn-balance-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-balance-nav:hover {
    background: rgba(201, 168, 76, 0.16);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

.balance-icon {
    font-size: 0.9rem;
    color: var(--gold-primary);
}

/* Primary Nav Button (Вход / Кабинет) */
.btn-primary-nav {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary-nav:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #060409;
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* Secondary Nav Button (Регистрация) */
.btn-secondary-nav {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-secondary-nav:hover {
    color: var(--gold-light);
    border-color: var(--border-gold);
    background: rgba(201, 168, 76, 0.07);
}

/* Manager Nav Button (Telegram Link) */
.btn-manager-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(138, 101, 32, 0.06) 100%);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.btn-manager-nav:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #060409;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    transform: translateY(-1px);
}

.btn-manager-nav .telegram-icon {
    flex-shrink: 0;
    color: var(--gold-primary);
    transition: transform 0.25s ease, color 0.25s ease;
}

.btn-manager-nav:hover .telegram-icon {
    color: #060409;
    transform: scale(1.1) rotate(-8deg);
}

/* Mobile Menu Manager Link */
.mobile-manager-item {
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    margin-top: 0.5rem;
    padding-top: 0.85rem !important;
    text-decoration: none;
}

/* Hamburger */
.btn-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
}

.btn-hamburger .bar {
    width: 100%;
    height: 1.5px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   SECTIONS — SHARED
   ========================================================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 3vw, 2rem);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.7rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Gold divider line */
.gold-divider {
    width: 48px;
    height: 1.5px;
    background: var(--gold-gradient);
    margin: 1.2rem auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   VIEW 1: ОБ АГЕНТСТВЕ — HERO
   ========================================================================== */
/* Top padding for hero section */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 5rem;
    text-align: center;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

/* Remove vertical stick line above logo */
.hero-section::before {
    display: none !important;
}

/* Centered Goddess Statue Logo (Enlarged per user request) */
.hero-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.hero-logo-center picture {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.hero-logo-img {
    height: clamp(90px, 20vw, 150px);
    width: auto;
    max-width: 85%;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    background: transparent;
    filter: drop-shadow(0 0 35px rgba(201, 168, 76, 0.5));
    transition: transform 0.4s var(--transition), filter 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(201, 168, 76, 0.75));
}

.hero-asteria-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.hero-asteria-title picture {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.hero-asteria-img {
    max-width: 480px;
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    background: transparent;
    filter: drop-shadow(0 0 35px rgba(201, 168, 76, 0.35));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    padding: 0.45rem 1.4rem;
    border-radius: 30px;
    background: rgba(201, 168, 76, 0.05);
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 6px var(--gold-primary);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.22;
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* Stat Cards — Expanded Feature Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, rgba(22, 17, 33, 0.75) 0%, rgba(13, 9, 20, 0.88) 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-radius: 20px;
    padding: 2.2rem 1.8rem 2rem 1.8rem;
    text-align: center;
    transition: transform 0.35s var(--transition), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 243, 212, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(28, 22, 42, 0.85) 0%, rgba(18, 13, 28, 0.94) 100%);
    border-color: rgba(201, 168, 76, 0.52);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(201, 168, 76, 0.22);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.01em;
    margin-bottom: 0.2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.35));
}

.stat-value::after {
    content: '';
    display: block;
    width: 44px;
    height: 1.5px;
    background: var(--gold-gradient);
    margin: 0.75rem auto 0.85rem auto;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.stat-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(242, 238, 248, 0.82);
    line-height: 1.65;
    font-weight: 400;
    margin: 0;
}

/* About — Story Section */
.about-detailed-section {
    padding: 4rem 0 7rem 0;
    position: relative;
    overflow: hidden;
}

.story-bg-emblem {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.18;
    pointer-events: none;
    filter: drop-shadow(0 0 35px rgba(201, 168, 76, 0.45));
    z-index: 0;
    height: clamp(400px, 45vw, 540px);
    width: auto;
    max-height: 85%;
    object-fit: contain;
}

.story-bg-emblem--left {
    left: -10px;
    max-width: 35vw;
}

.story-bg-emblem--right {
    right: -10px;
    max-width: 42vw;
}

.story-bg-emblem--mobile {
    display: none;
}

.about-story-grid {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.story-content-col {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.story-lead {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-weight: 450;
}

.story-paragraphs p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.1rem;
    font-size: 0.93rem;
}

.presence-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2.2rem;
}

.p-badge {
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid var(--border-gold);
    padding: 0.42rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-badge:hover {
    background: rgba(201, 168, 76, 0.14);
    transform: translateY(-2px);
}

/* Ethics Card */
.story-ethics-card {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.07) 0%, rgba(15, 12, 23, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 2.8rem 2.2rem;
    text-align: center;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(201, 168, 76, 0.1);
    position: relative;
    overflow: hidden;
}

.story-ethics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--gold-gradient);
}

.ethics-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.story-ethics-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    letter-spacing: 0.06em;
}

.story-ethics-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.8rem;
}

.ethics-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.eth-item {
    font-size: 0.83rem;
    color: var(--text-primary);
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid var(--border-muted);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: border-color 0.2s ease;
}

.eth-item:hover {
    border-color: var(--border-gold);
}

/* Slogan variant — larger text, more breathing room */
.eth-item--slogan {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.8rem 1.1rem;
    align-items: flex-start;
    color: var(--text-secondary);
    font-style: italic;
}

.eth-item--slogan svg {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   VIEW 2: БЕЗОПАСНОСТЬ
   ========================================================================== */
.security-pillars-section {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
}

.security-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.sec-card-large {
    background: linear-gradient(135deg, rgba(22, 16, 32, 0.88) 0%, rgba(12, 8, 20, 0.94) 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-radius: 22px;
    padding: 2.6rem 2.2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 243, 212, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sec-card-large:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 168, 76, 0.18);
}

.sec-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0.04) 100%);
    border: 1px solid rgba(201, 168, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--gold-light);
    flex-shrink: 0;
}

.sec-card-icon svg,
.sec-card-icon .svg-icon-card {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    stroke: var(--gold-primary);
    stroke-width: 1.5;
}

.sec-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.sec-card-large h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.sec-card-large p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(242, 238, 248, 0.82);
    line-height: 1.7;
    margin: 0;
}

.security-features-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(24, 18, 36, 0.9) 0%, rgba(12, 8, 20, 0.96) 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.sec-banner-item {
    padding: 2.2rem 1.8rem;
    text-align: center;
    border-right: 1px solid rgba(201, 168, 76, 0.22);
    transition: background 0.3s ease;
}

.sec-banner-item:last-child {
    border-right: none;
}

.sec-banner-item:hover {
    background: rgba(201, 168, 76, 0.06);
}

.sec-banner-item h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.sec-banner-item p {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: rgba(242, 238, 248, 0.75);
    line-height: 1.55;
    margin: 0;
}

/* Security Protocol 3-Step Flow */
.security-protocol-section {
    padding: 3rem 0 5rem 0;
    position: relative;
}

.security-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    position: relative;
    margin-top: 3.5rem;
}

.sec-step-item {
    background: linear-gradient(135deg, rgba(22, 16, 32, 0.88) 0%, rgba(12, 8, 20, 0.94) 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-radius: 24px;
    padding: 2.5rem 1.8rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 243, 212, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.sec-step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 168, 76, 0.2);
}

.sec-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0.05) 100%);
    border: 1px solid rgba(201, 168, 76, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sec-step-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    background: linear-gradient(135deg, #fcebb6 0%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sec-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.85rem 0;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.sec-step-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(242, 238, 248, 0.8);
    line-height: 1.65;
    margin: 0;
}

/* Security CTA Actions Section & Group */
.security-cta-section {
    padding: 1rem 0 6rem 0;
    position: relative;
}

.security-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.btn-support-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: #ffffff;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-support-glass:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.7);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.2);
}

.svg-icon-btn-support {
    stroke: currentColor;
}

/* Mobile Media Queries for Security */
@media (max-width: 991px) {
    .security-detailed-grid,
    .security-steps-container {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .security-features-banner {
        grid-template-columns: 1fr;
    }

    .sec-banner-item {
        border-right: none;
        border-bottom: 1px solid rgba(201, 168, 76, 0.22);
    }

    .sec-banner-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .security-pillars-section {
        padding-top: 5rem;
        padding-bottom: 3.5rem;
    }

    .sec-card-large {
        padding: 2rem 1.6rem;
        border-radius: 18px;
    }

    .sec-step-item {
        padding: 2rem 1.6rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .security-actions-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-support-glass,
    .security-actions-group .btn-catalog-gold {
        width: 100%;
        padding: 0.95rem 1.4rem;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   VIEW 3: НАШИ УСЛУГИ
   ========================================================================== */
.services-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(201, 168, 76, 0.2);
    border-color: rgba(201, 168, 76, 0.45);
}

.service-card:hover::before {
    opacity: 1;
}

.srv-icon {
    margin-bottom: 0.5rem;
}

.srv-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.srv-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.srv-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.srv-features {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.8rem;
}

.srv-feat {
    font-size: 0.82rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-order-service {
    width: 100%;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.7rem 1rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.03em;
}

.btn-order-service:hover {
    background: var(--gold-gradient);
    color: #060409;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

/* Formats Card */
.services-formats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.services-formats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: var(--gold-gradient);
}

.formats-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.fmt-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.fmt-box:hover {
    border-color: var(--border-gold);
    background: rgba(201, 168, 76, 0.03);
}

.fmt-box.highlight {
    border-color: var(--gold-primary);
    background: rgba(201, 168, 76, 0.06);
    position: relative;
}

.fmt-time {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.7rem;
}

.fmt-box h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.fmt-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   VIEW 4: ДЛЯ ДЕВУШЕК
   ========================================================================== */
.join-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.join-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.join-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease;
}

.join-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.join-icon {
    margin-bottom: 0.5rem;
}

.join-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1.3rem;
    line-height: 1.3;
}

.join-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.join-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.5;
}

.join-card li .svg-icon-check {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Application Form */
.join-form-card {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(15, 12, 23, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.join-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--gold-gradient);
}

.form-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 2.2rem;
    line-height: 1.65;
}

.candidate-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
}

.flex-1 {
    flex: 1;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 500;
}

.form-input {
    background: rgba(6, 4, 9, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.custom-textarea {
    resize: vertical;
    min-height: 110px;
}


/* TEXTAREA FLOATING FIELD (EXACTLY LIKE UPPER FIELDS) */
.floating-field textarea.floating-input {
    height: auto !important;
    min-height: 115px;
    padding: 1.55rem 1.1rem 0.6rem 1.1rem !important;
    resize: vertical;
    line-height: 1.45;
}

.floating-field textarea.floating-input ~ .floating-label {
    top: 1.1rem;
    transform: translateY(0);
}

.floating-field textarea.floating-input:focus ~ .floating-label,
.floating-field textarea.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0.52rem;
    transform: translateY(0);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-primary);
    letter-spacing: 0.03em;
}

.app-status-msg {
    font-size: 0.84rem;
    min-height: 1.2rem;
    text-align: center;
    padding: 0.3rem 0;
}

.app-status-msg.success {
    color: #56c9b7;
}

.app-status-msg.error {
    color: #e07070;
}

/* Shared Submit Button */
.btn-submit-deposit {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    color: #060409;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-submit-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.btn-submit-deposit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   MODAL — SHARED BASE
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 168, 76, 0.08);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.35s var(--transition);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--border-gold);
    color: var(--gold-light);
}

.modal-header {
    padding: 2.5rem 2.8rem 0;
}

.modal-header.text-center {
    text-align: center;
}

.modal-subtitle {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Clean Goddess Face Logo (No frames/borders) */
.modal-logo-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.2rem auto 1rem auto;
}

.modal-logo-face {
    height: 90px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 16px rgba(235, 200, 100, 0.75)) brightness(1.25) contrast(1.1);
}

.cabinet-modal-card .modal-header {
    padding: 2.2rem 2.2rem 0.5rem 2.2rem;
}

.cabinet-modal-card .modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.64rem;
    letter-spacing: 0.28em;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 0.35rem;
}

.cabinet-modal-card .modal-title {
    font-family: 'Cinzel', serif !important;
    font-size: 1.85rem !important;
    font-weight: 600 !important;
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.35)) !important;
}

.cabinet-modal-card .modal-body {
    padding: 1.5rem 2.2rem 2.2rem 2.2rem;
}

.modal-body {
    padding: 1.8rem 2.8rem 2.5rem;
}
/* Floating Input Fields (Material Floating Labels - Used by Candidate Application Form) */
.floating-field {
    position: relative;
    margin-bottom: 1.25rem;
    width: 100%;
}

.floating-input {
    width: 100%;
    height: 56px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 1.35rem 1.1rem 0.35rem 1.1rem !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff !important;
    outline: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
    caret-color: var(--gold-light) !important;
    box-sizing: border-box !important;
}

.floating-input:focus {
    border-color: rgba(201, 168, 76, 0.75) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.25) !important;
}

.floating-label {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    font-size: 0.88rem;
    color: rgba(242, 238, 248, 0.52);
    pointer-events: none;
    transition: all 0.22s ease-in-out;
    transform-origin: left top;
}

/* Active floating label on focus OR non-empty field */
.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
    top: 0.52rem;
    transform: translateY(0);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-primary);
    letter-spacing: 0.03em;
}

/* Candidate Form Submit Button */
.btn-submit-deposit,
#btn-submit-app {
    width: 100% !important;
    height: 54px !important;
    background: var(--gold-gradient) !important;
    color: #0d0914 !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin-top: 1rem !important;
}

.btn-submit-deposit:hover,
#btn-submit-app:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(201, 168, 76, 0.5) !important;
    filter: brightness(1.08) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-gold);
    padding: 2.2rem 0 2rem 0;
    margin-top: 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gold-gradient);
    opacity: 0.6;
}

/* ── FOOTER THREE COLUMNS LAYOUT ───────────────────── */

/* Three equal columns */
.footer-cols-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-col--left,
.footer-col--center,
.footer-col--right {
    text-align: center;
}

.footer-col--left .footer-links,
.footer-col--center .footer-cities-list,
.footer-col--right .footer-info-list {
    align-items: center;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-link-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    text-align: center;
    transition: color 0.2s ease;
    letter-spacing: 0.05em;
}

.footer-link-btn:hover {
    color: var(--gold-light);
}

.footer-cities-list,
.footer-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-cities-list li,
.footer-info-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-muted);
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center {
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints:
   – Desktop large   > 1200px
   – Desktop small   1100px
   – Tablet          900px
   – Mobile large    768px
   – Mobile          640px
   – Mobile small    480px
   ========================================================================== */

/* ── Desktop small (< 1200px) ── */
/* ── Tablet & Mobile layout (< 900px) ── */
@media (max-width: 900px) {
    .nav-links {
        gap: 0.2rem;
    }

    .nav-link {
        font-size: 0.78rem;
        padding: 0.5rem 0.75rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .nav-container {
        position: relative;
    }

    /* (Dynamic JS controls the logo centering and text expansion on mobile) */

    /* Nav — hide links, show hamburger */
    .nav-links {
        display: none;
    }

    .btn-hamburger {
        display: flex;
    }

    /* Compact nav actions */
    .nav-actions {
        gap: 0.45rem;
        margin-left: auto;
    }

    .btn-primary-nav,
    .btn-secondary-nav {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }

    /* Mobile nav dropdown */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(6, 4, 9, 0.97);
        border-bottom: 1px solid var(--border-gold);
        padding: 1rem 1.2rem;
        gap: 0.25rem;
        z-index: 9999;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    .nav-links.mobile-open .nav-link {
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
        border-radius: var(--radius-sm);
        width: 100%;
        text-align: left;
    }

    .nav-links.mobile-open .nav-link::after {
        display: none;
    }

    .nav-links.mobile-open .nav-link.active {
        background: rgba(201, 168, 76, 0.08);
        color: var(--gold-light);
    }

    .btn-hamburger.open .bar-1 {
        transform: translateY(7px) rotate(45deg);
    }

    .btn-hamburger.open .bar-2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .btn-hamburger.open .bar-3 {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Sections */
    .hero-section {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }

    .hero-section::before {
        display: none !important;
    }

    .about-detailed-section {
        padding: 2rem 0 5rem;
    }

    .standards-section,
    .services-section,
    .join-section {
        padding-top: 5.5rem;
        padding-bottom: 5rem;
    }

    /* Grids → 1 column */
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .security-detailed-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .join-info-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .formats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }

    /* Security banner → stacked */
    .security-features-banner {
        grid-template-columns: 1fr;
    }

    .sec-banner-item {
        border-right: none;
        border-bottom: 1px solid var(--border-gold);
    }

    .sec-banner-item:last-child {
        border-bottom: none;
    }

    /* Services grid → 2 cols */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Section header */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Footer stacked vertically top-to-bottom on tablet & mobile */
    .footer-cols-row {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        text-align: center;
    }

    /* Stat card padding */
    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* ── Mobile large (< 768px) ── */
@media (max-width: 768px) {

    /* Navbar — ultra compact */
    .navbar {
        padding: 0 1rem;
    }

    /* Hide balance button on small mobile — accessible from cabinet */
    .btn-balance-nav {
        display: none;
    }

    /* Guest actions — show only primary */
    .guest-header-actions .btn-secondary-nav {
        display: none;
    }

    /* Hero section */
    .hero-section {
        padding-top: 5rem;
    }

    .hero-section::before {
        display: none;
    }

    /* Stat cards — Centered Gold Text, Gold Divider Line, Centered White Text */
    .hero-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.1rem !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        overflow: visible !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 420px !important;
    }

    .hero-stats .stat-card {
        background: linear-gradient(135deg, rgba(22, 17, 33, 0.8) 0%, rgba(13, 9, 20, 0.9) 100%) !important;
        border: 1px solid rgba(201, 168, 76, 0.28) !important;
        border-radius: 20px !important;
        padding: 1.6rem 1.4rem 1.4rem 1.4rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 243, 212, 0.15) !important;
        transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    }

    /* Top gold accent line */
    .hero-stats .stat-card::before {
        display: none !important;
    }

    .hero-stats .stat-card:hover,
    .hero-stats .stat-card:active {
        background: linear-gradient(135deg, rgba(28, 22, 42, 0.88) 0%, rgba(18, 13, 28, 0.94) 100%) !important;
        border-color: rgba(201, 168, 76, 0.48) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(201, 168, 76, 0.22) !important;
    }

    /* Centered Gold Text */
    .hero-stats .stat-value {
        font-family: var(--font-heading) !important;
        font-size: 2.1rem !important;
        font-weight: 700 !important;
        background: var(--gold-gradient) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        letter-spacing: 0.01em !important;
        margin-bottom: 0.4rem !important;
        line-height: 1 !important;
        text-align: center !important;
        filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.4)) !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Gold Divider Line between Gold Text and White Text */
    .hero-stats .stat-value::after {
        content: '' !important;
        display: block !important;
        width: 44px !important;
        height: 1.5px !important;
        background: var(--gold-gradient) !important;
        margin: 0.7rem auto 0.2rem auto !important;
        border-radius: 2px !important;
        box-shadow: 0 0 8px rgba(201, 168, 76, 0.6) !important;
    }

    /* Centered White Text Below */
    .hero-stats .stat-label {
        font-size: 0.86rem !important;
        color: rgba(242, 238, 248, 0.92) !important;
        letter-spacing: 0.04em !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
        text-align: center !important;
        white-space: normal !important;
        margin-top: 0.25rem !important;
    }

    /* Story grid */
    .about-detailed-section {
        padding: 2rem 0 4rem;
    }

    .story-ethics-card {
        padding: 2rem 1.5rem;
    }

    /* Security cards */
    .sec-card-large {
        padding: 1.8rem;
    }

    .sec-card-large h4 {
        font-size: 1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.8rem;
    }

    /* Formats */
    .services-formats-card {
        padding: 2rem 1.5rem;
    }

    .formats-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    /* Join */
    .join-form-card {
        padding: 2.2rem 1.5rem;
    }

    /* Modal */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-card {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        overflow-y: auto;
    }

    .cabinet-modal-card {
        max-width: 100%;
        max-height: 92vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .modal-overlay.open .modal-card {
        transform: translateY(0) scale(1);
    }

    .modal-header {
        padding: 1.8rem 1.6rem 0;
    }

    .modal-body {
        padding: 1.4rem 1.6rem 2rem;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    /* USDT modal */
    #usdt-modal.modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .usdt-modal-card {
        max-width: 100%;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 92vh;
    }

    /* Mobile: Single combined couple emblem centered in background */
    @media (max-width: 991px),
    (pointer: coarse) {

        .story-bg-emblem--left,
        .story-bg-emblem--right {
    right: 0;
    max-width: clamp(180px, 29vw, 440px);
    height: auto;
    object-fit: contain;
}

        .story-bg-emblem--mobile {
            display: block !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 95%;
            max-width: 440px;
            height: auto;
            opacity: 0.38;
            pointer-events: none;
            filter: drop-shadow(0 0 50px rgba(201, 168, 76, 0.85));
            mix-blend-mode: screen;
            z-index: 0;
        }
    }

    /* Footer stacked vertically top-to-bottom */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-cols-row {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        text-align: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }

    /* Section container */
    .section-container {
        padding: 0 1rem;
    }
}

/* ── Mobile (< 640px) ── */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0.9rem;
    }

    /* Stat cards → 1 col on very small screens only if 3 cols too tight */
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .hero-stats .stat-card {
        padding: 1rem 0.25rem;
    }

    .hero-stats .stat-value {
        font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    }

    .hero-stats .stat-label {
        font-size: clamp(0.55rem, 2vw, 0.65rem);
        line-height: 1.3;
    }

    /* Amount chips in deposit */
    .amount-chips {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Network chips */
    .network-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-copy {
        font-size: 0.72rem;
    }

    .footer-disclaimer {
        font-size: 0.68rem;
    }

    /* Section spacing */
    .standards-section,
    .services-section,
    .join-section {
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    /* Presence badges — elegant flex wrap */
    .presence-badges {
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    /* Security banner items */
    .sec-banner-item {
        padding: 1.5rem 1.2rem;
    }

    .sec-banner-item h5 {
        font-size: 0.9rem;
    }

    /* Join form */
    .join-form-card {
        padding: 1.8rem 1.2rem;
    }

    .join-card {
        padding: 1.8rem;
    }

    /* Story ethics card */
    .story-ethics-card {
        padding: 1.5rem 1.1rem;
    }

    .story-ethics-card h4 {
        font-size: 1.05rem;
        letter-spacing: 0.04em;
    }

    /* Footer columns */
    .footer-cols-row {
        gap: 1.8rem;
    }

    /* Modal header tighter */
    .modal-header {
        padding: 1.5rem 1.4rem 0;
    }

    .modal-body {
        padding: 1.2rem 1.4rem 1.8rem;
    }

    .success-screen-body {
        padding: 2rem 1.4rem 2.5rem;
    }
}

/* ── Mobile small (< 480px) ── */
@media (max-width: 480px) {

    /* Navbar */
    .nav-brand-main {
        font-size: 0.95rem;
        letter-spacing: 0.14em;
    }

    .btn-primary-nav {
        padding: 0.42rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Hero */
    .hero-asteria-img {
    max-width: 480px;
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    background: transparent;
    filter: drop-shadow(0 0 35px rgba(201, 168, 76, 0.35));
}

    .hero-headline {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }

    /* Story Ethics Card for 430px / iPhone Pro Max */
    .story-ethics-card {
        padding: 1.3rem 0.9rem;
    }

    .story-ethics-card h4 {
        font-size: 0.95rem;
        letter-spacing: 0.02em;
        word-break: break-word;
    }

    .story-ethics-card p {
        font-size: 0.8rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }

    .eth-item {
        font-size: 0.76rem;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    /* Stats → 3 tiny columns */
    .hero-stats {
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.4rem;
    }

    /* Formats */
    .formats-title {
        font-size: 1.1rem;
    }

    /* Amount chips */
    .amount-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Address box */
    .deposit-address-box {
        flex-direction: column;
    }

    .address-input-wrapper {
        flex-direction: column;
    }

    .btn-copy {
        width: 100%;
        text-align: center;
    }

    /* Cabinet tabs */
    .cab-tab-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
        letter-spacing: -0.01em;
    }

    /* Success screen */
    .success-screen-body {
        padding: 1.8rem 1.2rem 2.2rem;
    }

    .success-icon-badge {
        width: 60px;
        height: 60px;
    }

    /* Footer */
    .footer-tagline {
        font-size: 0.78rem;
    }
}

/* ── Prevent horizontal scroll globally ── */
body {
    max-width: 100%;
}

/* ==========================================================================
   USDT MODAL — DETAILED COMPONENT STYLES
   ========================================================================== */

/* The USDT modal uses .modal-overlay class — override to be inline-flex */
#usdt-modal.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 21000;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#usdt-modal.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.network-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 0.5rem;
}

.amount-chips {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin: 0.5rem 0 1rem 0;
}

.deposit-error {
    font-size: 0.8rem;
    color: #e07070;
    min-height: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.modal-actions {
    margin-top: 0.5rem;
}

/* Step 2 — Payment waiting */
.payment-timer-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.timer-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timer-countdown {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.06em;
}

.timer-progress-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    height: 4px;
    overflow: hidden;
}

.timer-progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 4px;
    transition: width 1s linear;
    width: 100%;
}

.deposit-address-box {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.3rem;
    margin-bottom: 1.5rem;
}

.qr-mockup {
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-gold);
}

.address-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.addr-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.address-input-wrapper {
    display: flex;
    gap: 0.4rem;
}

.addr-input {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(6, 4, 9, 0.8);
}

.btn-copy {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: rgba(201, 168, 76, 0.18);
}

.addr-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.blockchain-status-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
}

.status-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(201, 168, 76, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-headline {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.status-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pay-net-badge {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    letter-spacing: 0.03em;
}

/* Step 3 — Success */
.success-screen-body {
    padding: 2.5rem 2.8rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(86, 201, 183, 0.1);
    border: 1px solid rgba(86, 201, 183, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.success-details-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1rem 0;
}

.success-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.3rem;
    border-bottom: 1px solid var(--border-muted);
    font-size: 0.84rem;
}

.success-row:last-child {
    border-bottom: none;
}

.success-row span:first-child {
    color: var(--text-muted);
}

.success-row span:last-child,
.success-row strong {
    color: var(--text-primary);
}

/* ==========================================================================
   HAMBURGER ANIMATION
   ========================================================================== */
.btn-hamburger.open .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.open .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}

.btn-hamburger.open .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.bar-1,
.bar-2,
.bar-3 {
    display: block;
    transform-origin: center;
}

/* ==========================================================================
   ADDITIONAL AMOUNT CHIPS RESPONSIVE
   ========================================================================== */
@media (max-width: 500px) {
    .amount-chips {
        grid-template-columns: repeat(3, 1fr);
    }

    .network-chips {
        grid-template-columns: 1fr;
    }

    .address-input-wrapper {
        flex-direction: column;
    }

    .deposit-address-box {
        flex-direction: column;
    }

    .success-screen-body {
        padding: 2rem 1.5rem 2.5rem;
    }
}

/* ==========================================================================
   iOS SAFE AREA & NOTCH SUPPORT
   ========================================================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .navbar {
        padding-left: max(clamp(1rem, 3vw, 2.8rem), env(safe-area-inset-left));
        padding-right: max(clamp(1rem, 3vw, 2.8rem), env(safe-area-inset-right));
    }

    .modal-overlay {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }

    .modal-card,
    .cabinet-modal-card,
    .usdt-modal-card {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }

    .nav-links.mobile-open {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   TOUCH OPTIMIZATION
   ========================================================================== */
/* Larger touch targets on mobile */
@media (max-width: 768px) {

    .nav-link,
    .btn-primary-nav,
    .btn-secondary-nav,
    .btn-hamburger,
    .cab-tab-btn,
    .auth-tab-btn,
    .net-chip,
    .amt-chip,
    .btn-order-service,
    .btn-deposit-usdt,
    .btn-logout,
    .btn-submit-deposit,
    .footer-link-btn {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    /* Minimum 44px touch target for interactive elements */
    .btn-hamburger {
        min-width: 44px;
        min-height: 44px;
    }

    .modal-close {
        min-width: 40px;
        min-height: 40px;
    }

    /* Disable hover effects that don't work on touch */
    .stat-card:hover,
    .sec-card-large:hover,
    .service-card:hover,
    .join-card:hover,
    .p-badge:hover,
    .eth-item:hover,
    .fmt-box:hover {
        transform: none;
    }

    /* Smooth scrolling on iOS */
    .cabinet-modal-card,
    .modal-card,
    .usdt-modal-card {
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   INTRO SCREEN MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .intro-stage {
        width: 85%;
        max-width: 380px;
    }

    .intro-goddess-img {
    max-width: 320px;
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: screen;
    background: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    image-rendering: auto;
    filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.3));
}

    .intro-text-reveal {
        max-width: 340px;
    }
}

/* ==========================================================================
   TABLET LANDSCAPE — Services 3 cols
   ========================================================================== */
@media (min-width: 769px) and (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   PRINT STYLES (basic cleanup)
   ========================================================================== */
@media print {

    .navbar,
    .ambient-bg,
    .intro-screen,
    .modal-overlay,
    #usdt-modal,
    .btn-hamburger {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .view-pane {
        display: block !important;
    }
}

/* ==========================================================================
   HAMBURGER BUTTON — NEW ICON DESIGN
   ========================================================================== */
.btn-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gold-primary);
    padding: 0;
    z-index: 10001;
    flex-shrink: 0;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-hamburger:hover {
    color: var(--gold-light);
}

/* Show hamburger icon by default, hide close icon */
.btn-hamburger .hamburger-icon {
    display: block;
}

.btn-hamburger .close-icon {
    display: none;
}

/* When open: swap icons */
.btn-hamburger.open .hamburger-icon {
    display: none;
}

.btn-hamburger.open .close-icon {
    display: block;
    color: var(--gold-light);
}

/* ==========================================================================
   MOBILE FULL-SCREEN MENU OVERLAY
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(6, 4, 9, 0.98);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s var(--transition, cubic-bezier(0.22, 1, 0.36, 1));
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 0 2rem;
    overflow-y: auto;
}

/* Nav items */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.5rem 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 1.8rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    letter-spacing: 0.01em;
}

.mobile-nav-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.06);
}

.mobile-nav-item.active {
    color: #fff;
    font-weight: 600;
    background: rgba(201, 168, 76, 0.08);
}

.mobile-nav-item.active svg {
    color: var(--gold-primary);
}

.mobile-nav-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover svg {
    transform: translateX(3px);
    color: var(--gold-primary);
}

/* Footer badge in mobile menu */
.mobile-menu-disclaimer {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.72rem;
    color: var(--text-muted, #7E7890);
    line-height: 1.45;
    text-align: center;
    padding: 0 0.5rem;
}

.mobile-menu-footer {
    padding: 1.5rem 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.mobile-menu-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.mobile-sec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #56c9b7;
    box-shadow: 0 0 6px rgba(86, 201, 183, 0.5);
    flex-shrink: 0;
}

/* iOS safe area for mobile overlay */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-menu-inner {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Only show hamburger on mobile and hide desktop links */
@media (max-width: 768px) {
    .btn-hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .btn-secondary-nav {
        display: none !important;
    }

    .btn-manager-nav span {
        display: none;
    }

    .btn-manager-nav {
        padding: 0.5rem;
        border-radius: 50%;
    }
}

/* On desktop – overlay and hamburger both hidden */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }

    .btn-hamburger {
        display: none !important;
    }
}

/* ==========================================================================
   WORKFLOW STEPS SECTION (3-STEP PROCESS FLOW)
   ========================================================================== */
.workflow-section {
    padding: 5rem 0 6rem 0;
    position: relative;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    background: radial-gradient(circle at 50% 30%, rgba(20, 15, 32, 0.6) 0%, transparent 70%);
}

.workflow-header {
    margin-bottom: 4rem;
}

.workflow-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

/* Connecting Line on Desktop behind step badges */
.workflow-line-bg {
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.65) 50%, rgba(201, 168, 76, 0.15) 100%);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
    z-index: 1;
}

.workflow-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-badge-wrapper {
    margin-bottom: 1.8rem;
    position: relative;
}

.step-num-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(28, 22, 42, 0.95) 0%, rgba(13, 9, 20, 0.98) 100%);
    border: 1.5px solid var(--gold-primary);
    box-shadow: 0 0 24px rgba(201, 168, 76, 0.35), inset 0 0 12px rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--gold-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-step-item:hover .step-num-badge {
    transform: scale(1.1);
    box-shadow: 0 0 32px rgba(201, 168, 76, 0.6);
}

.step-content-box {
    background: linear-gradient(145deg, rgba(22, 17, 33, 0.6) 0%, rgba(13, 9, 20, 0.8) 100%);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 20px;
    padding: 2.2rem 1.6rem 2rem 1.6rem;
    width: 100%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    flex: 1;
}

.workflow-step-item:hover .step-content-box {
    border-color: rgba(201, 168, 76, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 168, 76, 0.18);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.step-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(242, 238, 248, 0.82);
    line-height: 1.65;
    margin: 0;
}

/* Mobile Media Query for Workflow Steps */
@media (max-width: 768px) {
    .workflow-section {
        padding: 3.5rem 0 4rem 0;
    }

    .workflow-header {
        margin-bottom: 2.5rem;
    }

    .workflow-steps-container {
        display: flex;
        flex-direction: column;
        gap: 1.8rem;
        position: relative;
        max-width: 440px;
        margin: 0 auto;
    }

    /* Disable container-level full lines */
    .workflow-steps-container::before,
    .workflow-line-bg {
        display: none !important;
    }

    .workflow-step-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        /* Vertically centers the number circle on the side of each card */
        text-align: left;
        gap: 1.2rem;
        position: relative;
        z-index: 2;
    }

    /* Vertical line connecting center of Item N to center of Item N+1 ONLY */
    .workflow-step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 28px;
        /* Centered through 56px badge (56px / 2 = 28px) */
        transform: translateX(-50%);
        width: 2px;
        height: calc(100% + 1.8rem);
        /* Extends from center of circle N to center of circle N+1 */
        background: linear-gradient(180deg, rgba(201, 168, 76, 0.75) 0%, rgba(201, 168, 76, 0.4) 100%);
        box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
        z-index: 1;
        pointer-events: none;
    }

    .step-badge-wrapper {
        margin-bottom: 0;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .step-content-box {
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   PRIVATE CATALOG CALL-TO-ACTION BANNER
   ========================================================================== */
.private-catalog-banner {
    padding: 3.5rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.catalog-banner-card {
    background: linear-gradient(135deg, rgba(24, 18, 36, 0.92) 0%, rgba(12, 8, 20, 0.96) 100%);
    border: 1px solid rgba(201, 168, 76, 0.32);
    border-radius: 28px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 243, 212, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-glow-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0.03) 55%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

.catalog-banner-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.catalog-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0.6rem 0 1.2rem 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.catalog-banner-text {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: rgba(242, 238, 248, 0.84);
    line-height: 1.75;
    margin-bottom: 2.4rem;
    max-width: 680px;
}

/* Modern Sleek CTA Button (Unbounded font, smooth arrow glide) */
.btn-catalog-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, #fcebb6 0%, #c9a84c 50%, #9e7b2b 100%);
    color: #0d0914;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 235, 175, 0.5);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.btn-catalog-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(201, 168, 76, 0.55);
    background: linear-gradient(135deg, #ffffff 0%, #d5b55b 100%);
    color: #0d0914;
}

.btn-catalog-gold .btn-arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-catalog-gold:hover .btn-arrow-icon {
    transform: translateX(5px);
}

/* Mobile Media Query for Catalog Banner */
@media (max-width: 768px) {
    .catalog-banner-card {
        padding: 3rem 1.6rem;
        border-radius: 22px;
    }

    .catalog-banner-text {
        font-size: 0.94rem;
        margin-bottom: 2rem;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .catalog-banner-card {
        padding: 2.4rem 1.2rem;
    }

    .btn-catalog-gold {
        padding: 0.9rem 1.6rem;
        font-size: 0.82rem;
        gap: 0.6rem;
    }
}

/* ==========================================================================
   MODEL COOPERATION SECTION
   ========================================================================== */
.models-cooperation-section {
    padding: 1rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.cooperation-card {
    background: linear-gradient(135deg, rgba(20, 14, 30, 0.94) 0%, rgba(10, 6, 16, 0.98) 100%);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 28px;
    padding: 4.5rem 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 243, 212, 0.18);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.cooperation-glow-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0.03) 60%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.cooperation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
}

.cooperation-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0.6rem 0 1.2rem 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.cooperation-text {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: rgba(242, 238, 248, 0.84);
    line-height: 1.75;
    margin-bottom: 3.2rem;
    max-width: 720px;
}

/* Perks Grid inside Cooperation Card */
.cooperation-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    width: 100%;
    margin-bottom: 3.2rem;
}

.coop-perk-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 20px;
    padding: 2.2rem 1.6rem;
    text-align: left;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.coop-perk-item:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.55);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.coop-perk-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fcebb6 0%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coop-perk-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.02em;
}

.coop-perk-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(242, 238, 248, 0.78);
    line-height: 1.6;
    margin: 0;
}

.cooperation-action {
    display: flex;
    justify-content: center;
}

/* Mobile Media Queries for Cooperation */
@media (max-width: 991px) {
    .cooperation-perks-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .coop-perk-item {
        padding: 1.8rem 1.4rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .cooperation-card {
        padding: 3rem 1.6rem;
        border-radius: 22px;
    }

    .cooperation-text {
        font-size: 0.94rem;
        margin-bottom: 2.4rem;
    }
}

@media (max-width: 480px) {
    .cooperation-card {
        padding: 2.4rem 1.2rem;
    }
}


/* ==========================================================================
   BUTTONS: CHANNEL NAV & MOBILE CHANNEL
   ========================================================================== */

.btn-channel-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--gold-light, #F5E6C8);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.btn-channel-nav:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
    transform: translateY(-1px);
}

.btn-channel-nav .telegram-icon {
    flex-shrink: 0;
    color: var(--gold-primary);
    transition: transform 0.25s ease;
}

.btn-channel-nav:hover .telegram-icon {
    transform: scale(1.1) rotate(-8deg);
}

.mobile-channel-item {
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    margin-top: 0.5rem;
    padding-top: 0.85rem !important;
    text-decoration: none;
}

/* ==========================================================================
   SERVICES SECTION (ASTERIA LUXURY REDESIGN)
   ========================================================================== */

.services-section {
    padding: 2.5rem 0 5rem 0;
}

/* 1. Main Luxury Grid */
.services-luxury-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.luxury-srv-card {
    background: linear-gradient(145deg, rgba(24, 18, 34, 0.92) 0%, rgba(13, 9, 21, 0.96) 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-radius: 22px;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 243, 212, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.luxury-srv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.65);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(201, 168, 76, 0.18);
}

.luxury-srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
    opacity: 0.7;
}

.luxury-srv-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.luxury-srv-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0.05) 100%);
    border: 1px solid rgba(201, 168, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.svg-luxury-icon {
    width: 24px;
    height: 24px;
    stroke: var(--gold-primary, #C9A84C);
    stroke-width: 1.6;
    fill: none;
    display: block;
}

.luxury-srv-number {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.35);
    letter-spacing: 0.05em;
    user-select: none;
}

.luxury-srv-header {
    margin-bottom: 1.4rem;
}

.luxury-srv-title {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.4rem;
    color: var(--gold-light, #F5E6C8);
    margin-bottom: 0.6rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.luxury-srv-lead {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    margin: 0;
}

.luxury-srv-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex-grow: 1;
}

.luxury-srv-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.svg-gold-check {
    width: 16px;
    height: 16px;
    stroke: var(--gold-primary, #C9A84C);
    stroke-width: 2.2;
    fill: none;
    flex-shrink: 0;
    margin-top: 3px;
}

/* 2. Extra Services & Asteria Surprise */
.concierge-section-wrapper {
    margin: 4.5rem 0 3.5rem 0;
}

.concierge-header {
    margin-bottom: 2.2rem;
}

.concierge-title {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.85rem;
    color: var(--gold-light, #F5E6C8);
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
}

.concierge-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ASTERIA SURPRISE FEATURE CARD (ANIMATED PERIMETER STARFIELD) */
.asteria-surprise-card.asteria-surprise-starfield {
    position: relative;
    background: linear-gradient(135deg, rgba(32, 22, 48, 0.96) 0%, rgba(16, 10, 26, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 22px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(201, 168, 76, 0.18), inset 0 1px 0 rgba(255, 243, 212, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.asteria-surprise-card.asteria-surprise-starfield:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(201, 168, 76, 0.28);
}

.asteria-surprise-card.asteria-surprise-starfield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.85), transparent);
}

.surprise-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Starfield SVG Covering Entire Box */
.surprise-starfield-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

/* Staggered Twinkle Animations */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        filter: drop-shadow(0 0 6px rgba(255, 243, 212, 0.95));
    }
}

.star-twinkle-1 {
    animation: starTwinkle 2.4s ease-in-out infinite;
    transform-origin: center;
}

.star-twinkle-2 {
    animation: starTwinkle 3.2s ease-in-out infinite 0.8s;
    transform-origin: center;
}

.star-twinkle-3 {
    animation: starTwinkle 4s ease-in-out infinite 1.6s;
    transform-origin: center;
}

.star-twinkle-4 {
    animation: starTwinkle 2.8s ease-in-out infinite 2.2s;
    transform-origin: center;
}

.surprise-center-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    z-index: 2;
    padding: 0 1.5rem;
    position: relative;
}

.surprise-title-centered {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #FFF9EB 0%, #F5E6C8 40%, #E2C068 70%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 0 25px rgba(201, 168, 76, 0.25);
}

.surprise-subtitle-centered {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(245, 230, 200, 0.85);
    margin: 0 0 0.4rem 0;
    letter-spacing: 0.06em;
}

.surprise-btn-wrap {
    margin-top: 0.3rem;
}

.btn-surprise-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0.06) 100%);
    border: 1px solid rgba(201, 168, 76, 0.45);
    color: var(--gold-light, #F5E6C8);
    padding: 0.65rem 1.6rem;
    border-radius: 30px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-surprise-gold:hover {
    background: var(--gold-gradient, linear-gradient(135deg, #F3E0AC 0%, #D4AF37 50%, #AA820A 100%));
    color: #100C18;
    border-color: #F5E6C8;
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.45);
    transform: translateY(-2px);
}

.btn-surprise-gold .btn-arrow-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.btn-surprise-gold:hover .btn-arrow-icon {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .asteria-surprise-card.asteria-surprise-starfield {
        padding: 2rem 1.2rem;
    }
}

/* TRIO GRID */
.extra-services-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.extra-service-trio-card {
    background: linear-gradient(135deg, rgba(22, 16, 32, 0.9) 0%, rgba(13, 9, 20, 0.95) 100%);
    border: 1px solid rgba(201, 168, 76, 0.24);
    border-radius: 18px;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 243, 212, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.extra-service-trio-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 168, 76, 0.55);
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.65), 0 0 20px rgba(201, 168, 76, 0.12);
}

.extra-service-trio-card .extra-srv-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0.04) 100%);
    border: 1px solid rgba(201, 168, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.extra-service-trio-card .extra-srv-info h4 {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.05rem;
    color: var(--gold-light, #F5E6C8);
    margin: 0 0 0.45rem 0;
    line-height: 1.35;
    font-weight: 500;
}

.extra-service-trio-card .extra-srv-info p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .extra-services-trio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .asteria-surprise-card.asteria-surprise-centered {
        padding: 1.8rem 1.2rem;
        gap: 1rem;
    }
    .surprise-firework-side {
        width: 44px;
        height: 44px;
    }
}

/* 3. Custom Request Box */
.custom-request-box {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 18, 38, 0.95) 0%, rgba(14, 9, 22, 0.98) 100%);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 24px;
    padding: 3.2rem 2.2rem;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    margin-top: 1rem;
}

.custom-request-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.custom-request-title {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.85rem;
    color: var(--gold-light, #F5E6C8);
    margin-bottom: 0.75rem;
}

.custom-request-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.96rem;
    max-width: 680px;
    margin: 0 auto 1.8rem auto;
    line-height: 1.65;
}

.custom-request-btn-wrap {
    display: flex;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .extra-services-luxury-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services-luxury-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .extra-services-luxury-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .luxury-srv-card {
        padding: 2rem 1.6rem;
    }
    
    .custom-request-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   VIEW 4: ДЛЯ ДЕВУШЕК
   ========================================================================== */
.join-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.join-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.join-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: transform 0.3s var(--transition), box-shadow 0.3s ease;
}

.join-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.join-icon {
    margin-bottom: 0.5rem;
}

.join-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1.3rem;
    line-height: 1.3;
}

.join-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.join-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.5;
}

.join-card li .svg-icon-check {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Application Form */
.join-form-card {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(15, 12, 23, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.join-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--gold-gradient);
}

.form-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 2.2rem;
    line-height: 1.65;
}

.candidate-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
}

.flex-1 {
    flex: 1;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 500;
}

.form-input {
    background: rgba(6, 4, 9, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.custom-textarea {
    resize: vertical;
    min-height: 110px;
}


/* TEXTAREA FLOATING FIELD (EXACTLY LIKE UPPER FIELDS) */
.floating-field textarea.floating-input {
    height: auto !important;
    min-height: 115px;
    padding: 1.55rem 1.1rem 0.6rem 1.1rem !important;
    resize: vertical;
    line-height: 1.45;
}

.floating-field textarea.floating-input ~ .floating-label {
    top: 1.1rem;
    transform: translateY(0);
}

.floating-field textarea.floating-input:focus ~ .floating-label,
.floating-field textarea.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0.52rem;
    transform: translateY(0);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-primary);
    letter-spacing: 0.03em;
}

.app-status-msg {
    font-size: 0.84rem;
    min-height: 1.2rem;
    text-align: center;
    padding: 0.3rem 0;
}

.app-status-msg.success {
    color: #56c9b7;
}

.app-status-msg.error {
    color: #e07070;
}

/* Shared Submit Button */
.btn-submit-deposit {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    color: #060409;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-submit-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.btn-submit-deposit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   MODAL — SHARED BASE
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 168, 76, 0.08);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.35s var(--transition);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--border-gold);
    color: var(--gold-light);
}

.modal-header {
    padding: 2.5rem 2.8rem 0;
}

.modal-header.text-center {
    text-align: center;
}

.modal-subtitle {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Clean Goddess Face Logo (No frames/borders) */
.modal-logo-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.2rem auto 1rem auto;
}

.modal-logo-face {
    height: 90px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 16px rgba(235, 200, 100, 0.75)) brightness(1.25) contrast(1.1);
}

.cabinet-modal-card .modal-header {
    padding: 2.2rem 2.2rem 0.5rem 2.2rem;
}

.cabinet-modal-card .modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.64rem;
    letter-spacing: 0.28em;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 0.35rem;
}

.cabinet-modal-card .modal-title {
    font-family: 'Cinzel', serif !important;
    font-size: 1.85rem !important;
    font-weight: 600 !important;
    background: var(--gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.35)) !important;
}



/* SVG EXTRA SERVICE ICONS (OUTLINE LINE STYLE) */
.svg-extra-icon {
    width: 22px;
    height: 22px;
    stroke: var(--gold-primary, #c9a84c) !important;
    stroke-width: 1.8 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.25));
}

.extra-srv-badge svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold-primary, #c9a84c) !important;
    stroke-width: 1.8 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    display: block;
}





/* ==========================================================================
   SPEED DIAL QUICK CONTACT WIDGET (TG / WA / MAX / PHONE)
   ========================================================================== */
.speed-dial-widget {
    position: fixed;
    bottom: 24px;
    right: 22px;
    z-index: 9990;
    width: 58px;
    height: 58px;
}

/* 1. Main Trigger Floating Button (Strictly anchored at bottom right) */
.speed-dial-trigger {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(28, 20, 42, 0.96) 0%, rgba(13, 8, 22, 0.99) 100%);
    border: 1.8px solid rgba(201, 168, 76, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 168, 76, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    padding: 0;
    z-index: 2;
}

.speed-dial-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    border-color: rgba(255, 235, 175, 0.95);
    box-shadow: 0 14px 40px rgba(201, 168, 76, 0.6), 0 0 30px rgba(201, 168, 76, 0.55);
}

.speed-dial-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.45) 0%, rgba(201, 168, 76, 0) 70%);
    animation: phonePulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.trigger-icon-phone {
    width: 25px;
    height: 25px;
    stroke: var(--gold-light, #F5E6C8);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.45));
}

.trigger-icon-close {
    position: absolute;
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Open State for Main Trigger */
.speed-dial-widget.open .speed-dial-trigger {
    background: linear-gradient(135deg, #ff5b5b 0%, #e03131 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(224, 49, 49, 0.55), 0 0 25px rgba(255, 91, 91, 0.35);
    transform: scale(1.02);
}

.speed-dial-widget.open .speed-dial-pulse {
    opacity: 0;
}

.speed-dial-widget.open .trigger-icon-phone {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.speed-dial-widget.open .trigger-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* 2. Floating Options Stack (Positioned Above Trigger) */
.speed-dial-menu {
    position: absolute;
    bottom: 68px;
    right: 5px;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
    z-index: 1;
}

.speed-dial-widget.open .speed-dial-menu {
    visibility: visible;
    pointer-events: auto;
}

.speed-dial-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(18px) scale(0.6);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Staggered Entrance on Open */
.speed-dial-widget.open .speed-dial-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.speed-dial-widget.open .item-phone { transition-delay: 0.04s; }
.speed-dial-widget.open .item-max   { transition-delay: 0.08s; }
.speed-dial-widget.open .item-wa    { transition-delay: 0.12s; }
.speed-dial-widget.open .item-tg    { transition-delay: 0.16s; }

/* 3. Action Buttons */
.speed-dial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease,
                filter 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.speed-dial-btn:hover {
    transform: scale(1.12);
    filter: brightness(1.1);
}

.speed-dial-svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    display: block;
    flex-shrink: 0;
}

/* Individual Channel Color Gradients */
.btn-tg {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.45);
}

.btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-max {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #9333EA 100%);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}

.btn-phone {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* 4. Labels */
.speed-dial-label {
    background: linear-gradient(135deg, rgba(26, 18, 40, 0.96) 0%, rgba(12, 8, 20, 0.98) 100%);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold-light, #F5E6C8);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}


/* Responsive Emblem Watermarks for Tablet / Mobile */
@media (max-width: 1024px) {
    .story-bg-emblem--left,
    .story-bg-emblem--right {
        display: none !important;
    }

    .story-bg-emblem--mobile {
        display: block !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 440px;
        height: auto;
        opacity: 0.28;
        pointer-events: none;
        filter: drop-shadow(0 0 50px rgba(201, 168, 76, 0.7));
        mix-blend-mode: screen;
        z-index: 0;
        object-fit: contain;
    }
}


/* ==========================================================================
   IOS SAFARI WEBKIT RENDERING & MEMORY OPTIMIZATIONS
   ========================================================================== */
.view-pane {
    -webkit-overflow-scrolling: touch;
    transform: none !important;
}

@media (max-width: 768px) {
    /* Prevent iOS GPU compositing layer memory overflow */
    .view-pane,
    .main-content,
    .hero-section,
    .about-detailed-section,
    .how-it-works-section,
    .private-catalog-banner,
    .services-section,
    .join-section,
    .security-section,
    .footer {
        transform: none !important;
        will-change: auto !important;
    }

    .story-bg-emblem--mobile {
        filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.4)) !important;
    }
}

/* ==========================================================================
   MASTER MOBILE RESPONSIVE OPTIMIZATIONS (ALL VIEWS & COMPONENTS)
   ========================================================================== */

/* Ensure long words in Russian headings never break layout horizontally */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-headline,
.luxury-srv-title,
.concierge-title,
.surprise-title-centered,
.custom-request-title,
.catalog-banner-title,
.cooperation-title,
.modal-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    
    /* ── HEADER ACTIONS & HERO LOGO ON MOBILE ────────────────── */
    .btn-manager-nav {
        display: none !important;
    }

    .btn-channel-nav {
        display: inline-flex !important;
        padding: 0.42rem 0.85rem !important;
        font-size: 0.75rem !important;
        gap: 0.35rem !important;
        border-radius: 20px !important;
    }

    .hero-logo-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto 1.4rem auto !important;
        text-align: center !important;
    }

    .hero-logo-center picture {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .hero-logo-img {
        height: clamp(80px, 22vw, 130px) !important;
        width: auto !important;
        max-width: 80% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .hero-asteria-title {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto 1.6rem auto !important;
        text-align: center !important;
    }

    .hero-asteria-title picture {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .hero-asteria-img {
        max-width: 270px !important;
        width: 78% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .floating-manager-btn {
        bottom: 20px !important;
        right: 18px !important;
        width: 52px !important;
        height: 52px !important;
    }

    .floating-manager-icon-wrap {
        width: 48px !important;
        height: 48px !important;
    }

    .floating-phone-icon {
        width: 21px !important;
        height: 21px !important;
    }

    .floating-manager-tooltip {
        display: none !important;
    }

    
    .speed-dial-widget {
        bottom: 20px !important;
        right: 18px !important;
        width: 54px !important;
        height: 54px !important;
    }

    .speed-dial-trigger {
        width: 54px !important;
        height: 54px !important;
    }

    .trigger-icon-phone {
        width: 23px !important;
        height: 23px !important;
    }

    .speed-dial-menu {
        bottom: 64px !important;
        right: 3px !important;
    }

    .speed-dial-btn {
        width: 46px !important;
        height: 46px !important;
    }

    .speed-dial-svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    display: block;
    flex-shrink: 0;
}

    .speed-dial-label {
        font-size: 0.74rem !important;
        padding: 0.3rem 0.65rem !important;
    }

    /* ── 1. GLOBAL LAYOUT & SECTION SPACING ─────────────────── */
    .section-container {
        padding: 0 1.1rem !important;
    }

    .hero-section,
    .services-section,
    .security-section,
    .join-section {
        padding-top: 5.2rem !important;
        padding-bottom: 4rem !important;
    }

    .section-header {
        margin-bottom: 2.2rem !important;
    }

    .section-subtitle {
        font-size: 0.55rem !important;
        letter-spacing: 0.24em !important;
        margin-bottom: 0.55rem !important;
    }

    .section-title {
        font-size: clamp(1.6rem, 6.5vw, 2.1rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.75rem !important;
    }

    .section-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .gold-divider {
        margin: 1.4rem auto 2.2rem auto !important;
        width: 100px !important;
    }

    /* ── 2. VIEW 1: HERO & ABOUT ─────────────────────────────── */
    .hero-headline {
        font-size: clamp(1.35rem, 5.8vw, 1.8rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 1.4rem !important;
    }

    .hero-description {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 2.2rem !important;
    }

    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 1.1rem !important;
    }

    .stat-card {
        padding: 1.6rem 1.2rem !important;
        border-radius: 18px !important;
    }

    .stat-value {
        font-size: 2.2rem !important;
    }

    .stat-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .stat-description {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }

    .catalog-banner-card {
        padding: 2.4rem 1.2rem !important;
        border-radius: 20px !important;
    }

    .catalog-banner-title {
        font-size: clamp(1.3rem, 5.5vw, 1.75rem) !important;
        line-height: 1.25 !important;
        margin: 0.4rem 0 1rem 0 !important;
    }

    .catalog-banner-text {
        font-size: 0.86rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.6rem !important;
    }

    .cooperation-card {
        padding: 2.4rem 1.2rem !important;
        border-radius: 20px !important;
    }

    .cooperation-title {
        font-size: clamp(1.3rem, 5.5vw, 1.75rem) !important;
        line-height: 1.25 !important;
        margin: 0.4rem 0 1rem 0 !important;
    }

    .cooperation-text {
        font-size: 0.86rem !important;
        line-height: 1.55 !important;
        margin-bottom: 2rem !important;
    }

    .cooperation-perks-grid {
        grid-template-columns: 1fr !important;
        gap: 1.1rem !important;
        margin-bottom: 2rem !important;
    }

    /* ── 3. VIEW 2: SECURITY ─────────────────────────────────── */
    .security-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }

    .sec-card {
        padding: 1.8rem 1.3rem !important;
        border-radius: 18px !important;
    }

    .sec-card-header h3 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }

    .sec-card-header p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    .protocol-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }

    .sec-step-card {
        padding: 1.8rem 1.3rem !important;
        border-radius: 18px !important;
    }

    .sec-step-title {
        font-size: 1.05rem !important;
    }

    .private-manager-card {
        padding: 2.2rem 1.2rem !important;
        border-radius: 20px !important;
    }

    .private-manager-card h3 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .security-actions-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.85rem !important;
    }

    /* ── 4. VIEW 3: SERVICES (ALL CARDS & CUSTOM REQUEST) ───── */
    .services-luxury-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }

    .luxury-srv-card {
        padding: 1.8rem 1.3rem !important;
        border-radius: 18px !important;
    }

    .luxury-srv-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.45rem !important;
    }

    .luxury-srv-lead {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }

    .luxury-srv-features li {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }

    .concierge-section-wrapper {
        margin: 2.8rem 0 2rem 0 !important;
    }

    .concierge-title {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
        line-height: 1.25 !important;
    }

    .concierge-desc {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }

    .asteria-surprise-starfield {
        padding: 2.4rem 1.2rem !important;
        border-radius: 20px !important;
        margin-bottom: 1.5rem !important;
    }

    .surprise-title-centered {
        font-size: clamp(1.3rem, 5.5vw, 1.75rem) !important;
        line-height: 1.25 !important;
    }

    .surprise-subtitle-centered {
        font-size: 0.82rem !important;
        margin-bottom: 1.4rem !important;
    }

    .extra-services-trio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .extra-service-trio-card {
        padding: 1.5rem 1.2rem !important;
        border-radius: 18px !important;
    }

    .extra-srv-info h4 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .extra-srv-info p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* Custom Request Box: Perfectly fitted on mobile */
    .custom-request-box {
        padding: 2.2rem 1.2rem !important;
        border-radius: 20px !important;
        margin-top: 1.5rem !important;
    }

    .custom-request-title {
        font-size: clamp(1.2rem, 5vw, 1.45rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 0.65rem !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    .custom-request-desc {
        font-size: 0.86rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.6rem !important;
        padding: 0 0.2rem !important;
    }

    /* ── 5. VIEW 4: MODELS JOIN ─────────────────────────────── */
    .join-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1.3rem !important;
        margin-bottom: 2.5rem !important;
    }

    .join-card {
        padding: 1.8rem 1.3rem !important;
        border-radius: 18px !important;
    }

    .join-card h4 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .join-card ul {
        gap: 0.75rem !important;
    }

    .join-card li {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
    }

    .join-form-card {
        padding: 2.2rem 1.2rem !important;
        border-radius: 20px !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .floating-field {
        margin-bottom: 1.1rem !important;
    }

    .floating-input {
        height: 52px !important;
        font-size: 0.9rem !important;
    }

    /* ── 6. BUTTONS ON MOBILE ────────────────────────────────── */
    .btn-catalog-gold,
    .btn-surprise-gold,
    .btn-submit-deposit,
    .btn-coop-gold {
        width: 100% !important;
        max-width: 340px !important;
        padding: 0.95rem 1.4rem !important;
        font-size: 0.82rem !important;
        letter-spacing: 0.05em !important;
        display: inline-flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* ── 7. FOOTER ON MOBILE ─────────────────────────────────── */
    .footer {
        padding: 3.5rem 0 2rem 0 !important;
    }

    .footer-cols-row {
        grid-template-columns: 1fr !important;
        gap: 2.2rem !important;
        margin-bottom: 2rem !important;
    }

    .footer-col--left,
    .footer-col--center,
    .footer-col--right {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-links,
    .footer-cities-list,
    .footer-info-list {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 0.8rem !important;
        text-align: center !important;
    }
}

/* Specific small phone adjustments (<= 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0 0.85rem !important;
        height: 58px !important;
    }

    .nav-brand-main {
        font-size: 1.02rem !important;
        letter-spacing: 0.12em !important;
    }

    .nav-brand-sub {
        font-size: 0.42rem !important;
        letter-spacing: 0.16em !important;
    }

    .btn-nav-channel {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.66rem !important;
        gap: 0.3rem !important;
    }

    .btn-nav-support {
        width: 32px !important;
        height: 32px !important;
    }

    .hero-section,
    .services-section,
    .security-section,
    .join-section {
        padding-top: 4.8rem !important;
    }
}




/* ==========================================================================
   UNIVERSAL WEBKIT COMPOSITING & MEMORY SHIELD (ALL SECTIONS)
   ========================================================================== */
@media (max-width: 768px) {
    .sec-card-large,
    .sec-step-item,
    .sec-banner-item,
    .sec-protocol-box,
    .sec-principle-card,
    .sec-feature-card,
    .sec-workflow-step,
    .join-card,
    .join-form-card,
    .stat-card,
    .luxury-srv-card,
    .extra-service-trio-card,
    .extra-srv-item,
    .cooperation-card,
    .catalog-banner-card,
    .custom-request-box,
    .services-formats-card,
    .story-ethics-card,
    .success-details-card {
        overflow: visible !important;
        contain: layout style !important;
        background: #0e0915 !important;
        border: 1px solid rgba(201, 168, 76, 0.25) !important;
        border-radius: 20px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
        transform: none !important;
        will-change: auto !important;
    }

    .security-detailed-grid,
    .join-info-grid,
    .services-luxury-grid,
    .extra-services-trio-grid,
    .about-story-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.3rem !important;
        width: 100% !important;
        overflow: visible !important;
        contain: none !important;
    }

    .security-pillars-section,
    .join-section,
    .services-section,
    .security-section,
    .hero-section,
    .about-detailed-section {
        overflow: visible !important;
        contain: none !important;
    }
}
