/* ==========================================================================
   modelyescort — style.css
   Shared design system for every page: variables, base, header/nav, hero,
   model cards, forms/auth, dashboards, modal, notification, footer, responsive.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================
   VARIABLES
========================= */

:root {
    --bg: #070707;
    --bg2: #111111;
    --card: #141414;
    --line: rgba(212, 175, 55, .15);

    --gold: #d4af37;
    --gold2: #f0cf67;

    --text: #ffffff;
    --muted: #999999;

    --radius: 18px;
    --shadow: 0 20px 45px rgba(0, 0, 0, .55);
}

/* =========================
   RESET + BASE
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #2a2111 0%, #0b0b0b 45%, #050505 100%);
    color: var(--text);
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    letter-spacing: .5px;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

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

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

/* =========================
   HEADER / LOGO / NAV
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 7%;

    backdrop-filter: blur(18px);
    background: rgba(7, 7, 7, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
    user-select: none;
}

.header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100vh;
    z-index: 999;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    background: #0e0e0e;
    border-left: 1px solid var(--line);
    padding: 110px 26px 40px;
    overflow-y: auto;

    transition: right .4s ease;
}

.header.nav-open nav {
    right: 0;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nav-label {
    color: var(--gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 2px 0 8px;
}

.header nav a,
.header nav button {
    background: none;
    border: 1px solid transparent;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: .3s;
}

.header nav a:hover,
.header nav button:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, .08);
}

.nav-toggle {
    display: flex;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    transition: .35s;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: white;
    transition: .35s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 998;
}

.header.nav-open + .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, .18), transparent 70%);
    top: -350px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: .25;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-tag,
.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 95px);
    color: white;
    margin-bottom: 18px;
    line-height: 1;
    animation: fadeUp 1s ease;
}

.hero p {
    max-width: 760px;
    font-size: 21px;
    color: #d7d7d7;
    margin-bottom: 42px;
    animation: fadeUp 1.3s ease;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 15px 34px;
    margin: 8px;

    border: none;
    border-radius: 50px;
    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
    box-shadow: 0 10px 35px rgba(212, 175, 55, .3);

    transition: .35s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(212, 175, 55, .45);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(212, 175, 55, .45);
    box-shadow: none;
}

.btn.secondary:hover {
    background: rgba(212, 175, 55, .12);
    border-color: var(--gold);
    color: var(--gold);
}

.btn.danger {
    background: transparent;
    color: #f26d6d;
    border: 1px solid rgba(242, 109, 109, .4);
    box-shadow: none;
}

.btn.danger:hover {
    background: rgba(242, 109, 109, .12);
    border-color: #f26d6d;
}

.btn.full {
    width: 100%;
    margin: 0;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.models-section h2,
.section-header h2 {
    font-size: 48px;
    margin-bottom: 12px;
}

/* PHASE 8: several pages' single `.section-header` heading is their
   page's ONLY heading (no other h1 exists) — SEO heading hierarchy
   requires exactly one h1 per page, so those specific headings were
   changed from <h2> to <h1> (see agencies.html, city.html, etc.).
   This matches the pre-existing h2 rule above exactly, so the visual
   result is identical — purely a semantic-tag fix, not a design change. */
.models-section h1,
.section-header h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.models-section {
    width: min(1400px, 92%);
    margin: auto;
    padding: 100px 0;
}

/* ==========================================================================
   SEARCH + FILTERS
   ========================================================================== */

.search-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.search-panel input {
    width: 100%;
    padding: 16px 22px;
    background: #121212;
    color: white;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50px;
    font-size: 16px;
    font-family: inherit;
    transition: .3s;
}

.search-panel input:focus {
    border-color: var(--gold);
    outline: none;
}

.search-panel input::placeholder {
    color: #777;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-pill {
    background: #111;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: inherit;
    cursor: pointer;
    transition: .3s;
}

.filter-pill:hover {
    border-color: var(--gold);
    color: white;
}

.filter-pill.is-active {
    background: var(--gold);
    color: #000;
    font-weight: 600;
    border-color: var(--gold);
}

/* ==========================================================================
   MODEL CARDS + BADGES
   ========================================================================== */

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.model-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: .35s;
    animation: fadeUp .6s ease;
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.model-image {
    position: relative;
    overflow: hidden;
}

.model-image img {
    height: 360px;
    object-fit: cover;
    transition: .5s;
}

.model-card:hover .model-image img {
    transform: scale(1.08);
}

.model-info {
    padding: 20px;
}

.model-info h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

/* PHASE 8: the single-profile page (jane-doe.html) uses <h1> for the
   model's name instead of the grid card's <h3> — a real heading-
   hierarchy fix (the page previously had no h1 at all), not a design
   change, so this matches h3's exact existing size/color rather than
   the larger default a bare <h1> would render at. */
.model-info h1 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.model-info p {
    margin: 5px 0;
}

.model-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 20px;
    margin-top: 12px;
}

/* PHASE 7.2: premium/VIP corner ribbon — a folded-corner banner
   (clip-path notch on the lower edge) instead of a plain pill, plus a
   slow gold shimmer sweep for a luxury feel. `premium`/`vip` are the
   same underlying Model.premium flag (documented assumption — the
   schema has no separate VIP tier); this single element serves as
   both the "Premium ribbon" and "VIP ribbon" from the requirement. */
.premium-badge {
    position: absolute;
    top: 15px;
    right: 0;
    background: linear-gradient(120deg, var(--gold), var(--gold2), var(--gold));
    background-size: 200% auto;
    color: #000;
    padding: 7px 22px 7px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
    animation: ribbonShimmer 3.5s linear infinite;
    z-index: 2;
}

@keyframes ribbonShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* PHASE 7.2: animated verified badge — a soft pulsing glow marks
   verified profiles as trustworthy at a glance ("Animated verified
   badge" requirement), on top of the existing ribbon-tag shape shared
   with .ribbon-tag below. */
.verified-badge {
    position: absolute;
    bottom: 15px;
    left: 0;
    background: #16a34a;
    color: white;
    padding: 6px 14px 6px 16px;
    font-size: 12px;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
    animation: verifiedPulse 2.4s ease-in-out infinite;
}

@keyframes verifiedPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
    50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}

/* PHASE 7F: "Verified Agency" gets a distinct accent from "Verified
   Independent" (still uses the base .verified-badge above) — two
   verification badge styles, per requirement. PHASE 7.2: its pulse
   animation is re-colored gold to match (verifiedPulseGold vs. the
   green verifiedPulse used by the independent variant). */
.verified-badge.agency-variant {
    background: var(--gold);
    color: #111;
    animation-name: verifiedPulseGold;
}

@keyframes verifiedPulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .55); }
    50% { box-shadow: 0 0 0 7px rgba(212, 175, 55, 0); }
}

/* PHASE 7.2: small ribbon-tag shape shared by the "New" and "Video"
   status badges (see .status-badge.new / .status-badge.video below) —
   same folded-corner notch as the corner ribbons above, scaled down to
   sit inline in the info row rather than pinned to a photo corner
   (there are only 4 image corners and 5 ribbon types to fit). */
.ribbon-tag {
    clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
    padding-left: 12px;
}

.status-badge.new {
    background: rgba(59, 130, 246, .15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, .4);
}

.status-badge.video {
    background: rgba(212, 175, 55, .15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, .4);
}

/* PHASE 7.2: luxury background treatment for premium profiles — a
   subtle warm gold glow behind the card, distinguishing premium
   listings from standard ones beyond just the corner ribbon. */
.model-card.premium-card {
    background: linear-gradient(160deg, rgba(212, 175, 55, .09), var(--card) 55%);
    border-color: rgba(212, 175, 55, .45);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, .12), 0 20px 45px rgba(212, 175, 55, .08);
}

.model-card.premium-card:hover {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, .25), var(--shadow);
}

/* PHASE 7.2: taller cover image for a single-profile page (jane-doe.html)
   vs. the compact grid-card image used everywhere else. */
.model-card.profile-hero .model-image img {
    height: 520px;
}

@media (max-width: 640px) {
    .model-card.profile-hero .model-image img {
        height: 380px;
    }
}

.agency-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
}

.card-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .18);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    backdrop-filter: blur(6px);
    transition: .25s;
}

.icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.icon-btn.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
}

.icon-btn.block-btn.is-active {
    background: #f26d6d;
    border-color: #f26d6d;
    color: #111;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.status-badge.pending {
    background: rgba(212, 175, 55, .15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, .4);
}

.status-badge.approved {
    background: rgba(22, 163, 74, .15);
    color: #4ade80;
    border: 1px solid rgba(22, 163, 74, .4);
}

.status-badge.rejected {
    background: rgba(242, 109, 109, .12);
    color: #f26d6d;
    border: 1px solid rgba(242, 109, 109, .4);
}

/* PHASE 7E: model availability status — reuses the same .status-badge
   base class/pattern as booking/verification status above, just new
   color modifiers. "available" intentionally reuses .approved's exact
   green (both mean "good to go"); "busy"/"vacation" reuse the existing
   gold/red pairs from .pending/.rejected for the same reason — no new
   palette introduced. */
.status-badge.available {
    background: rgba(22, 163, 74, .15);
    color: #4ade80;
    border: 1px solid rgba(22, 163, 74, .4);
}

.status-badge.busy {
    background: rgba(212, 175, 55, .15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, .4);
}

.status-badge.offline {
    background: rgba(148, 148, 148, .15);
    color: #b0b0b0;
    border: 1px solid rgba(148, 148, 148, .4);
}

.status-badge.vacation {
    background: rgba(242, 109, 109, .12);
    color: #f26d6d;
    border: 1px solid rgba(242, 109, 109, .4);
}

/* ==========================================================================
   FEATURES + STATS
   ========================================================================== */

.features {
    width: min(1300px, 92%);
    margin: auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 35px 28px;
    text-align: center;
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 18px;
    color: var(--gold);
}

.feature-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.stats {
    width: min(1300px, 92%);
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h2 {
    color: var(--gold);
    font-size: 44px;
    margin-bottom: 6px;
}

.cta {
    text-align: center;
    width: min(900px, 92%);
    margin: 100px auto;
}

.cta h2 {
    font-size: 44px;
    margin: 15px 0 20px;
    color: white;
}

/* ==========================================================================
   FORMS / AUTH CARD / DASHBOARDS
   ========================================================================== */

.page-body {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card,
.form-card {
    width: 100%;
    max-width: 430px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: var(--shadow);
    animation: fadeUp .5s ease;
}

.auth-card h2,
.form-card h2 {
    text-align: center;
    color: white;
    margin-bottom: 8px;
}

.auth-card .subtitle,
.form-card .subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 28px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #1a1a1a;
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: .3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, .18);
}

input::placeholder {
    color: #777;
}

.form-error {
    color: #f26d6d;
    font-size: 14px;
    min-height: 18px;
    text-align: center;
}

.form-footer-link {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

.form-footer-link a {
    color: var(--gold);
}

.form-footer-link a:hover {
    text-decoration: underline;
}

/* ---------- Dashboard layout ---------- */

.dashboard-section {
    width: min(1300px, 92%);
    margin: auto;
    padding: 60px 0;
}

.dashboard-section h2 {
    font-size: 34px;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}

.panel form {
    margin-top: 10px;
}

.data-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.data-row img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.data-row .data-info {
    flex: 1;
    min-width: 0;
}

.data-row .data-info h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 4px;
    font-family: "Inter", sans-serif;
}

.data-row .data-info p {
    font-size: 14px;
    margin: 0;
}

.data-row .data-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.data-row .data-actions .btn {
    padding: 10px 18px;
    margin: 0;
    font-size: 13px;
}

/* PHASE 7.2: drag-and-drop gallery reordering feedback (see
   wireGalleryDragAndDrop() in script.js) — applied only to rows that
   carry data-gallery-index, i.e. gallery photo rows, not every
   .data-row in the app. */
.data-row[data-gallery-index].dragging {
    opacity: 0.4;
}

.data-row[data-gallery-index].drag-over {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
}

.booking-section {
    width: min(700px, 92%);
    margin: 60px auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 35px;
}

.booking-section h2 {
    margin-bottom: 20px;
}

.booking-section form,
.booking-section > input,
.booking-section > .btn {
    margin-bottom: 16px;
}

/* ==========================================================================
   LOGIN MODAL
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 430px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    animation: modalShow .35s ease;
    box-shadow: var(--shadow);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 25px;
    color: white;
}

.close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: .3s;
}

.close:hover {
    color: var(--gold);
}

/* ==========================================================================
   PHASE 7.1/7.2: 18+ AGE GATE
   The overlay itself is injected via script.js on every page (see that
   file) rather than markup in each HTML file. Sits above everything
   else, including the login/register .modal above, since it must be
   resolved first.

   PHASE 7.2 FLASH FIX: script.js loads near the end of <body>, so by
   the time it ran, the browser had already painted the page underneath
   the gate — a visible flash. Fixed with a synchronous one-line inline
   script placed in <head> (right after this stylesheet, before <body>
   is parsed at all — see every page's <head>) that adds the
   "age-verified" class to <html> if localStorage already says so. The
   rule below hides <body> by default and only reveals it once that
   class is present — zero flash, since this resolves before any body
   content is ever painted. #ageGateOverlay explicitly opts back into
   visible so the gate itself can still show while body is hidden.
   ========================================================================== */

html:not(.age-verified) body {
    visibility: hidden;
}

body.age-gate-active {
    overflow: hidden;
}

#ageGateOverlay {
    visibility: visible;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-gate-box {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border: 1px solid var(--gold);
    border-radius: 24px;
    padding: 40px 35px;
    text-align: center;
    animation: modalShow .35s ease;
    box-shadow: var(--shadow);
}

.age-gate-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .04em;
    margin-bottom: 18px;
}

.age-gate-box h2 {
    color: white;
    margin-bottom: 16px;
    font-size: 22px;
}

.age-gate-box p {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   PHASE 9: PROMOTIONAL CAMPAIGN POPUP
   Same visual language as the age gate box above, but a lower z-index —
   it only ever appears after the age gate has already been dismissed,
   so the two never need to compete, but keeping it below (rather than
   equal/above) is a safety margin in case that ordering assumption
   ever breaks.
   ========================================================================== */

#promoPopupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.promo-popup-box {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border: 1px solid var(--gold);
    border-radius: 24px;
    padding: 40px 35px;
    text-align: center;
    position: relative;
    animation: modalShow .35s ease;
    box-shadow: var(--shadow);
}

.promo-popup-box h2 {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 22px;
}

.promo-popup-box p {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.promo-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    line-height: 1;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: .3s;
}

.promo-popup-close:hover {
    color: var(--gold);
}

/* ==========================================================================
   NOTIFICATION + LOADING + EMPTY STATE
   ========================================================================== */

.notification {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(80px);
    background: #151515;
    color: white;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    opacity: 0;
    pointer-events: none;
    transition: .35s;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.loading-box {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}

.loader,
.loading {
    width: 42px;
    height: 42px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top: 3px solid var(--gold);
    animation: spin 1s linear infinite;
}

.empty-state {
    width: 100%;
    padding: 90px 30px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    border: 1px solid rgba(212, 175, 55, .25);
    backdrop-filter: blur(20px);
}

.empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--gold);
    background: rgba(212, 175, 55, .12);
    border: 1px solid rgba(212, 175, 55, .35);
}

.empty-state h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 20px;
}

.empty-state p {
    max-width: 620px;
    margin: 0 auto 35px;
}

/* ---------- Center box (payment success / cancel) ---------- */

.center-box {
    width: 100%;
    max-width: 480px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeUp .5s ease;
}

.center-box h1 {
    font-size: 34px;
    margin-bottom: 16px;
}

.center-box p {
    margin-bottom: 25px;
}

/* ---------- Pricing cards (premium.html) ---------- */

.pricing-grid {
    width: min(1100px, 92%);
    margin: auto;
    padding: 20px 0 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: .35s;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.plan-card .plan-name {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 12px;
}

.plan-card .plan-price {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.plan-card .plan-price span {
    font-size: 16px;
    color: var(--muted);
}

.coming-soon {
    text-align: center;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 40px;
}

/* ==========================================================================
   INFO PAGES (About / Contact / FAQ)
   ========================================================================== */

.content-section {
    width: min(1100px, 92%);
    margin: auto;
    padding: 70px 0;
}

.value-grid {
    width: min(1300px, 92%);
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.3fr);
    gap: 35px;
    align-items: start;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.contact-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-line .contact-icon {
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-line strong {
    display: block;
    color: white;
    font-size: 15px;
    margin-bottom: 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: .3s;
}

.faq-item.is-open {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question .icon {
    color: var(--gold);
    font-size: 22px;
    flex-shrink: 0;
    transition: transform .3s;
}

.faq-item.is-open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 26px;
}

.faq-item.is-open .faq-answer {
    max-height: 480px;
    padding: 0 26px 24px;
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
    transition: .3s;
    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */

.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: #090909;
    border-top: 1px solid var(--line);
    margin-top: 100px;
    padding: 80px 7% 35px;
}

.footer-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 45px;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 20px;
}

.footer-grid p {
    line-height: 1.8;
}

.footer-grid a {
    display: block;
    color: #9c9c9c;
    margin-bottom: 12px;
    transition: .3s;
}

.footer-grid a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalShow {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 20px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .hero { padding: 130px 7% 90px; }
    .hero h1 { font-size: 58px; }
    .hero p { font-size: 18px; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header { padding: 18px 20px; }
    .logo { font-size: 28px; }

    .header nav { padding: 100px 22px 35px; }

    .hero { min-height: auto; padding: 140px 25px 90px; }
    .hero h1 { font-size: 44px; line-height: 1.05; }
    .hero p { font-size: 17px; margin-bottom: 35px; }
    .hero .btn { width: 100%; margin: 8px 0; }

    .models-section { padding: 70px 25px; }
    .models-section h2 { font-size: 36px; }
    .models-grid { grid-template-columns: 1fr; gap: 25px; }

    .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .filter-pill { white-space: nowrap; }

    .modal-content,
    .auth-card,
    .form-card,
    .center-box { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: center; }
    .footer-grid a:hover { padding-left: 0; }

    .data-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .logo { font-size: 24px; }

    .model-image img { height: 320px; }
    .model-info h3 { font-size: 22px; }

    .btn { padding: 15px 24px; font-size: 14px; }

    .notification {
        left: 20px;
        right: 20px;
        transform: none;
        width: auto;
        text-align: center;
    }

    .notification.show { transform: none; }
}
