/*
 * ONLYPEDIA HOMEPAGE — homepage-styles.css  v2.5
 *
 * SLIDER FIX: Swiper è fuori dal container max-width.
 * Il .hp-featured non ha inner wrapper — Swiper è figlio diretto della section.
 * Slide width: 400px (come reference 402px).
 */

/* ═══════════════════════════════════════════════════════════════
   1. VARIABILI
   ═══════════════════════════════════════════════════════════════ */

:root {
    --hp-max-w:  1760px;
    --hp-pill-r: 9999px;
    --hp-trans:  0.22s ease;
}

[data-op-theme="light"] {
    --hp-title-color:           #1a1a2e;
    --hp-subtitle-color:        #666680;
    --hp-search-bg:             #ffffff;
    --hp-search-border:         rgba(0,0,0,0.09);
    --hp-search-shadow:         0 2px 20px rgba(0,0,0,0.07);
    --hp-search-focus-shadow:   0 4px 28px rgba(248,87,166,0.14);
    --hp-search-icon:           #aaa;
    --hp-search-text:           #1a1a2e;
    --hp-search-ph:             #b0b0c0;
    --hp-popular-label:         #aaa;
    --hp-pill-bg:               rgba(255,255,255,0.85);
    --hp-pill-border:           rgba(0,0,0,0.09);
    --hp-pill-text:             #555;
    --hp-pill-hover-bg:         #fff;
    --hp-section-title:         #1a1a2e;
    --hp-arrow-bg:              rgba(255,255,255,0.92);
    --hp-arrow-border:          rgba(0,0,0,0.12);
    --hp-arrow-color:           #1a1a2e;
    --hp-arrow-shadow:          0 4px 24px rgba(0,0,0,0.14);
    --hp-loc-card-bg:           #ffffff;
    --hp-loc-card-border:       rgba(0,0,0,0.08);
    --hp-loc-card-shadow:       0 4px 24px rgba(0,0,0,0.08);
    --hp-loc-card-hover-shadow: 0 12px 40px rgba(0,0,0,0.14);
    --hp-loc-text:              #1a1a2e;
    --hp-loc-subtext:           #666680;
    --hp-disc-bg:               rgba(255,255,255,0.96);
    --hp-disc-border:           rgba(0,0,0,0.07);
}

[data-op-theme="dark"] {
    --hp-title-color:           var(--op-text-primary);
    --hp-subtitle-color:        var(--op-text-secondary);
    --hp-search-bg:             var(--op-bg-card);
    --hp-search-border:         var(--op-border);
    --hp-search-shadow:         0 2px 20px rgba(0,0,0,0.30);
    --hp-search-focus-shadow:   0 4px 28px rgba(248,87,166,0.20);
    --hp-search-icon:           var(--op-text-secondary);
    --hp-search-text:           var(--op-text-primary);
    --hp-search-ph:             #4a4a6a;
    --hp-popular-label:         var(--op-text-secondary);
    --hp-pill-bg:               var(--op-bg-card);
    --hp-pill-border:           var(--op-border);
    --hp-pill-text:             var(--op-text-secondary);
    --hp-pill-hover-bg:         var(--op-bg-elevated);
    --hp-section-title:         var(--op-text-primary);
    --hp-arrow-bg:              rgba(255,255,255,0.12);
    --hp-arrow-border:          rgba(255,255,255,0.30);
    --hp-arrow-color:           #ffffff;
    --hp-arrow-shadow:          0 4px 24px rgba(0,0,0,0.60);
    --hp-loc-card-bg:           #16161f;
    --hp-loc-card-border:       rgba(255,255,255,0.07);
    --hp-loc-card-shadow:       0 4px 24px rgba(0,0,0,0.30);
    --hp-loc-card-hover-shadow: 0 12px 40px rgba(0,0,0,0.50);
    --hp-loc-text:              #f0f0f5;
    --hp-loc-subtext:           #8888a0;
    --hp-disc-bg:               rgba(13,13,20,0.96);
    --hp-disc-border:           var(--op-border);
}

/* ═══════════════════════════════════════════════════════════════
   2. PAGE + SFONDI
   ═══════════════════════════════════════════════════════════════ */

.hp-page {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'aktiv-grotesk', 'DM Sans', -apple-system, sans-serif;
    position: relative;
}

.hp-page *, .hp-page *::before, .hp-page *::after { box-sizing: border-box; }

[data-op-theme="light"] .hp-page { background-color: #f8f7fc; }
[data-op-theme="dark"]  .hp-page { background-color: #0d0d14; }

[data-op-theme="light"] .hp-page::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 55% at 0%   20%, rgba(248,87,166,0.10)  0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 10%, rgba(0,182,230,0.10)   0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 50%  85%, rgba(176,147,240,0.08) 0%, transparent 55%);
}

[data-op-theme="dark"] .hp-page::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 0%   30%, rgba(248,87,166,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 15%, rgba(0,182,230,0.05)  0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50%  85%, rgba(176,147,240,0.04)0%, transparent 50%);
}

.hp-hero      { position: relative; z-index: 10; }
.hp-featured  { position: relative; z-index: 2; }
.hp-location,
.hp-disclaimer { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════
   3. HERO
   ═══════════════════════════════════════════════════════════════ */

.hp-hero {
    /* Was 100vh → the hero filled the whole first screen and creators only
       appeared after a scroll. Cap it so the next section (the CPC "Trending
       Now" grid) peeks above the fold, inviting the scroll and firing its
       impressions even for users who don't scroll far. */
    min-height: calc(74vh - var(--op-header-h, 64px));
    display: flex; align-items: center; justify-content: center;
    padding: 44px 24px 40px;
}

.hp-hero-inner {
    max-width: 720px; width: 100%; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
}

.hp-title {
    font-family: 'Special Gothic Expanded One', sans-serif !important;
    font-weight: 400 !important; font-size: clamp(2.2rem, 5vw, 4rem) !important;
    line-height: 1.13 !important; letter-spacing: -0.02em !important;
    color: var(--hp-title-color) !important; margin: 0 !important;
    text-transform: none !important; background: none !important; -webkit-text-fill-color: unset !important;
}

.hp-title-line1, .hp-title-line2, .hp-title-line3 { display: block; }

.hp-rolling-box { display: inline-block; overflow: hidden; height: 1.13em; vertical-align: bottom; }
.hp-rolling-words { display: flex; flex-direction: column; animation: hpRoll 7.5s ease-in-out infinite; }
.hp-rolling-word  { height: 1.13em; display: flex; align-items: center; color: var(--op-accent); }

@keyframes hpRoll {
    0%,  20% { transform: translateY(0); }
    33%, 53% { transform: translateY(-33.333%); }
    66%, 86% { transform: translateY(-66.666%); }
    100%     { transform: translateY(0); }
}

.hp-subtitle {
    font-size: 0.93rem !important; font-weight: 400 !important;
    color: var(--hp-subtitle-color) !important; line-height: 1.75 !important;
    margin: -10px 0 0 !important; max-width: 540px;
    text-transform: none !important; background: none !important; -webkit-text-fill-color: unset !important;
}

.hp-subtitle strong { font-weight: 600 !important; color: var(--op-accent) !important; -webkit-text-fill-color: var(--op-accent) !important; }

/* ═══════════════════════════════════════════════════════════════
   4. SEARCH
   ═══════════════════════════════════════════════════════════════ */

.hp-search-wrap { width: 100%; max-width: 580px; position: relative; z-index: 100; }

.hp-search-box {
    display: flex; align-items: center; gap: 10px;
    background: var(--hp-search-bg); border: 1.5px solid var(--hp-search-border);
    border-radius: 16px; padding: 8px 10px 8px 18px;
    box-shadow: var(--hp-search-shadow);
    transition: box-shadow var(--hp-trans), border-color var(--hp-trans);
}
.hp-search-box:focus-within { border-color: var(--op-accent); box-shadow: var(--hp-search-focus-shadow); }
.hp-search-icon { color: var(--hp-search-icon); display: flex; align-items: center; flex-shrink: 0; pointer-events: none; transition: color var(--hp-trans); }
.hp-search-box:focus-within .hp-search-icon { color: var(--op-accent); }

.hp-search-input {
    flex: 1; min-width: 0; border: none !important; background: transparent !important;
    font-family: 'aktiv-grotesk', 'DM Sans', sans-serif !important;
    font-size: 0.98rem !important; font-weight: 400 !important;
    color: var(--hp-search-text) !important; padding: 10px 0 !important;
    outline: none !important; box-shadow: none !important; line-height: 1.4 !important;
}
.hp-search-input::placeholder { color: var(--hp-search-ph) !important; }

.hp-search-clear {
    width: 30px; height: 30px; flex-shrink: 0; background: none; border: none;
    cursor: pointer; color: var(--hp-search-icon);
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; padding: 0;
    transition: color var(--hp-trans), background var(--hp-trans);
}
.hp-search-clear:hover { color: var(--hp-search-text); background: var(--op-hover); }

.hp-search-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    border-radius: 14px; overflow: hidden; display: none; z-index: 500;
}
.hp-search-dropdown.is-open { display: block; }
[data-op-theme="light"] .hp-search-dropdown { background: #ffffff; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 14px 52px rgba(0,0,0,0.13); }
[data-op-theme="dark"]  .hp-search-dropdown { background: #1e1e2a; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 14px 52px rgba(0,0,0,0.60); }

.hp-sug-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-decoration: none; transition: background var(--hp-trans); cursor: pointer; }
[data-op-theme="light"] .hp-sug-item { color: #1a1a2e; border-bottom: 1px solid rgba(0,0,0,0.06); }
[data-op-theme="dark"]  .hp-sug-item { color: #f0f0f5; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hp-sug-item:last-child { border-bottom: none; }
[data-op-theme="light"] .hp-sug-item:hover, [data-op-theme="light"] .hp-sug-item.hp-sug-item--active { background: #f7f7fb; }
[data-op-theme="dark"]  .hp-sug-item:hover, [data-op-theme="dark"]  .hp-sug-item.hp-sug-item--active { background: rgba(255,255,255,0.05); }

.hp-sug-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
[data-op-theme="light"] .hp-sug-avatar { background: #e8e8f0; }
[data-op-theme="dark"]  .hp-sug-avatar { background: #2a2a3e; }

.hp-sug-info { flex: 1; min-width: 0; text-align: left; }
.hp-sug-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.hp-sug-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-op-theme="light"] .hp-sug-name { color: #1a1a2e; }
[data-op-theme="dark"]  .hp-sug-name { color: #f0f0f5; }

.hp-sug-verified { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #03aff0; flex-shrink: 0; }
.hp-sug-verified svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }

.hp-sug-user { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-op-theme="light"] .hp-sug-user { color: #888; }
[data-op-theme="dark"]  .hp-sug-user { color: #8888a0; }

.hp-sug-arrow { flex-shrink: 0; opacity: 0.4; }
[data-op-theme="light"] .hp-sug-arrow { color: #888; }
[data-op-theme="dark"]  .hp-sug-arrow { color: #8888a0; }

.hp-sug-loading, .hp-sug-empty { padding: 20px 16px; text-align: center; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
[data-op-theme="light"] .hp-sug-loading, [data-op-theme="light"] .hp-sug-empty { color: #aaa; }
[data-op-theme="dark"]  .hp-sug-loading, [data-op-theme="dark"]  .hp-sug-empty { color: #8888a0; }

.hp-sug-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--op-border); border-top-color: var(--op-accent); border-radius: 50%; animation: hpSpin 0.65s linear infinite; flex-shrink: 0; }
@keyframes hpSpin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════
   5. POPULAR SEARCHES
   ═══════════════════════════════════════════════════════════════ */

.hp-popular { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.hp-popular-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.9px; color: var(--hp-popular-label); }
.hp-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.hp-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 16px; background: var(--hp-pill-bg);
    border: 1px solid var(--hp-pill-border); border-radius: var(--hp-pill-r);
    font-size: 13px; font-weight: 500; color: var(--hp-pill-text); text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: background var(--hp-trans), border-color var(--hp-trans), color var(--hp-trans), transform var(--hp-trans), box-shadow var(--hp-trans);
}
.hp-pill:hover { background: var(--hp-pill-hover-bg); border-color: var(--op-accent); color: var(--op-accent); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(248,87,166,0.14); }

.hp-pill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hp-pill-dot--top      { background: linear-gradient(135deg, #f59e0b, #f97316); }
.hp-pill-dot--free     { background: linear-gradient(135deg, #10b981, #059669); }
.hp-pill-dot--women    { background: linear-gradient(135deg, #f857a6, #ff5858); }
.hp-pill-dot--men      { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hp-pill-dot--trans    { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.hp-pill-dot--american { background: linear-gradient(135deg, #ef4444, #1d4ed8); }
.hp-pill-dot--blonde   { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

/* ═══════════════════════════════════════════════════════════════
   6. FEATURED SECTION
   ═══════════════════════════════════════════════════════════════ */

.hp-featured {
    padding: 0 0 100px;
    /* NB: nessun overflow:hidden — altrimenti le card 3D vengono clipate */
}

/* Il titolo ha il suo wrapper centrato */
.hp-featured-title-wrap {
    max-width: var(--hp-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.hp-section-title {
    font-family: 'Special Gothic Expanded One', sans-serif !important;
    font-weight: 400 !important; font-size: clamp(1.3rem, 2.2vw, 1.9rem) !important;
    text-align: center; color: var(--hp-section-title) !important;
    margin: 0 0 52px !important; letter-spacing: -0.01em;
    text-transform: none !important; background: none !important; -webkit-text-fill-color: unset !important;
}

/* ── Swiper Coverflow ───────────────────────────────────────────
   CHIAVE: width 100% sul suo parent diretto (section.hp-featured).
   section.hp-featured non ha max-width → il Swiper è largo quanto il viewport.
   overflow:hidden è il default di Swiper — non sovrascrivere.
   Le card 3D in coverflow escono dai bordi visivamente perché il browser
   non clipa transform-style:preserve-3d su overflow:hidden nel rendering 3D.
   ──────────────────────────────────────────────────────────────── */

.hp-coverflow {
    width: 100%;   /* prende tutta la larghezza della section = 100vw */
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    /* overflow:hidden è gestito da Swiper — non serve specificarlo */
}

/* Slide: stessa larghezza del reference (402px → arrotondiamo a 400) */
.hp-coverflow .swiper-slide {
    width: 400px !important;
    height: auto !important;
}

/* Card dentro lo slide */
.hp-coverflow .swiper-slide .category-creator-card {
    width: 100%;
    aspect-ratio: 3 / 5;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Shadow laterali di Swiper — bordi arrotondati come le card */
.hp-coverflow .swiper-slide-shadow-left,
.hp-coverflow .swiper-slide-shadow-right {
    border-radius: 20px;
}

/* Navigazione */
.hp-slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0;
    max-width: var(--hp-max-w);
    margin: 0 auto;
}

.hp-slider-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--hp-arrow-bg); border: 1.5px solid var(--hp-arrow-border);
    color: var(--hp-arrow-color); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--hp-arrow-shadow);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform var(--hp-trans), box-shadow var(--hp-trans), background var(--hp-trans);
    padding: 0; flex-shrink: 0;
}
.hp-slider-arrow:hover { transform: scale(1.1); }

[data-op-theme="dark"]  .hp-slider-arrow { background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.32); color: #ffffff; box-shadow: 0 4px 24px rgba(0,0,0,0.70); }
[data-op-theme="dark"]  .hp-slider-arrow:hover { background: rgba(255,255,255,0.22); }
[data-op-theme="light"] .hp-slider-arrow { background: rgba(255,255,255,0.96); border: 1.5px solid rgba(0,0,0,0.10); color: #1a1a2e; box-shadow: 0 4px 24px rgba(0,0,0,0.16); }

.hp-slider-arrow.swiper-button-disabled { opacity: 0.3; cursor: default; }

.hp-coverflow-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex: 1; }
.hp-coverflow-pagination .swiper-pagination-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--op-text-secondary); opacity: 0.4; transition: all 0.2s; cursor: pointer; }
.hp-coverflow-pagination .swiper-pagination-bullet-active { opacity: 1; background: var(--op-accent); width: 20px; border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════════
   7. CREATOR CARD (invariata rispetto alla categoria)
   ═══════════════════════════════════════════════════════════════ */

.category-creator-card {
    border-radius: 20px; overflow: hidden; position: relative;
    cursor: pointer; aspect-ratio: 3/5;
    box-shadow: 1px 1px 2px 1px rgb(11 8 30 / .07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-creator-card .creator-card-image { position: relative; width: 100%; height: 100%; overflow: hidden; }
.category-creator-card .creator-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.category-creator-card .creator-card-image::after { display: none; }

.category-creator-card .creator-card-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(0deg,   rgba(11,8,30,0.85) 0%, rgba(11,8,30,0.3) 35%, rgba(11,8,30,0) 55%),
        linear-gradient(270deg, rgba(11,8,30,0.6)  0%, rgba(11,8,30,0)   40%);
    z-index: 2; pointer-events: none; border-radius: 20px;
}

.category-creator-card .creator-card-price {
    position: absolute; top: 10px; right: 10px;
    background: rgba(11,8,30,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #fff; padding: 4px 10px; border-radius: 12px;
    font-family: 'Special Gothic Expanded One', sans-serif; font-weight: 400; font-size: 10px; z-index: 5;
}

.category-creator-card .creator-card-stats-vertical { position: absolute; top: 42px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 5; }
.category-creator-card .stat-v { display: flex; flex-direction: column; align-items: center; gap: 1px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 10px; padding: 4px 2px; min-width: 36px; }
.category-creator-card .stat-v i    { color: rgba(255,255,255,0.9); font-size: 13px; }
.category-creator-card .stat-v span { color: rgba(255,255,255,0.9); font-size: 9px; font-weight: 600; line-height: 1; }

.category-creator-card .creator-card-info { position: absolute; bottom: 14px; left: 14px; right: 50px; z-index: 5; }
.category-creator-card .creator-card-username { display: flex; align-items: center; font-size: 12px; font-weight: 600; gap: 4px; margin-bottom: 4px; margin-left: 20px; color: rgba(255,255,255,0.8); line-height: 1; }
.category-creator-card .creator-card-username .of-icon { width: 15px; height: 15px; min-width: 15px; object-fit: contain; flex-shrink: 0; opacity: 0.85; }
.category-creator-card .creator-card-username i.fa-circle-check { font-size: 8px; color: #03aff0; flex-shrink: 0; }
.category-creator-card .creator-card-name { margin: 0; line-height: 1.2; font-size: 1.30rem; font-weight: 400; letter-spacing: -0.02em; font-family: 'Special Gothic Expanded One', sans-serif; background: none; -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset; }
.category-creator-card .creator-card-name a { color: white; text-decoration: none; }
.category-creator-card .creator-card-content { display: none; }

[data-op-theme="dark"]  .lazy-load { background: #1e1e2a; }
[data-op-theme="light"] .lazy-load { background: #e8e8f0; }

.category-creator-card.premium { box-shadow: 1px 1px 2px 1px rgb(11 8 30 / .07); }
.category-creator-card.premium::before {
    content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 2px;
    background: linear-gradient(90deg, #b3def0, #ceb7f0, #e799e8, #f5c5da);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 4;
}
.category-creator-card.premium::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0.03) 58%, transparent 100%);
    transform: rotate(25deg) translateX(-150%); animation: shimmerSweep 7s ease-in-out infinite;
    z-index: 3; pointer-events: none; border-radius: 20px;
}
@keyframes shimmerSweep { 0%, 45% { transform: rotate(25deg) translateX(-150%); } 100% { transform: rotate(25deg) translateX(150%); } }

.category-creator-card .creator-card-trending {
    position: absolute; top: 10px; right: 10px;
    background: linear-gradient(-45deg, #ff5858, #f857a6, #f857a6, #ff5858); background-size: 400% 400%;
    animation: hpGradient 4s ease infinite;
    color: #fff; padding: 4px 10px; border-radius: 12px;
    font-family: 'Special Gothic Expanded One', sans-serif; font-weight: 400; font-size: 10px; z-index: 5;
}
@keyframes hpGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.category-creator-card.premium .creator-card-price          { top: 40px; }
.category-creator-card.premium .creator-card-stats-vertical { top: 76px; }

/* ═══════════════════════════════════════════════════════════════
   8. SEARCH BY LOCATION
   ═══════════════════════════════════════════════════════════════ */

.hp-location { padding: 80px 24px 100px; }
.hp-location-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.hp-location-subtitle { display: block; font-size: 1rem; color: var(--hp-loc-subtext); line-height: 1.65; max-width: 520px; margin: -28px auto 52px; }

.hp-loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }

.hp-loc-card { background: var(--hp-loc-card-bg); border: 1px solid var(--hp-loc-card-border); border-radius: 18px; overflow: hidden; text-decoration: none; display: block; box-shadow: var(--hp-loc-card-shadow); transition: transform var(--hp-trans), box-shadow var(--hp-trans); cursor: pointer; }
.hp-loc-card:hover { transform: translateY(-5px); box-shadow: var(--hp-loc-card-hover-shadow); }

.hp-loc-card-banner { position: relative; height: 100px; overflow: hidden; }
[data-op-theme="light"] .hp-loc-card-banner { background: linear-gradient(135deg, #c8d8e8, #e0d0f0); }
[data-op-theme="dark"]  .hp-loc-card-banner { background: linear-gradient(135deg, #1a1a2e, #2a2040); }
.hp-loc-card-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.65; }
.hp-loc-card-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.28) 0%, transparent 60%); }

.hp-loc-flag { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 4px 14px rgba(0,0,0,0.18); z-index: 2; background: var(--hp-loc-card-bg); border: 3px solid var(--hp-loc-card-bg); }
.hp-loc-card-body { padding: 32px 14px 18px; text-align: center; }
.hp-loc-country { font-family: 'Special Gothic Expanded One', sans-serif; font-weight: 400; font-size: 0.95rem; color: var(--hp-loc-text); margin: 0 0 4px; letter-spacing: -0.01em; }
.hp-loc-count   { font-size: 12px; color: var(--hp-loc-subtext); margin: 0; }

.hp-loc-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; background: transparent; border: 1.5px solid rgba(248,87,166,0.45); border-radius: var(--hp-pill-r); font-family: 'aktiv-grotesk', 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--op-accent); text-decoration: none; transition: background var(--hp-trans), transform var(--hp-trans), box-shadow var(--hp-trans); }
.hp-loc-cta:hover { background: rgba(248,87,166,0.07); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(248,87,166,0.15); }

/* ═══════════════════════════════════════════════════════════════
   9. DISCLAIMER
   ═══════════════════════════════════════════════════════════════ */

.hp-disclaimer { background: var(--hp-disc-bg); border-top: 1px solid var(--hp-disc-border); padding: 16px 24px; text-align: center; }
.hp-disclaimer p { font-size: 11px; color: var(--op-text-secondary); margin: 0; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   10. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) { .hp-loc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .hp-loc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

@media (max-width: 900px) {
    .hp-coverflow .swiper-slide { width: 300px !important; }
}

@media (max-width: 768px) {
    .hp-hero { min-height: auto; padding: 44px 20px 56px; }
    .hp-hero-inner { gap: 26px; }
    .hp-featured { padding-bottom: 40px; }
    .hp-location { padding: 60px 16px 80px; }
    .hp-loc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hp-loc-card-banner { height: 80px; }
    .hp-loc-flag { width: 40px; height: 40px; font-size: 22px; bottom: -18px; }
    .hp-loc-card-body { padding: 26px 10px 14px; }
    .hp-loc-country { font-size: 0.85rem; }
    .hp-loc-count   { font-size: 11px; }

    .hp-coverflow .swiper-slide { width: 220px !important; }

    .category-creator-card .creator-card-price { top: 8px; right: 8px; font-size: 9px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,8,30,0.70); }
    .category-creator-card .creator-card-stats-vertical { top: 38px; right: 8px; }
    .category-creator-card .stat-v { padding: 4px 3px; min-width: 30px; border-radius: 8px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,8,30,0.35); }
    .category-creator-card .stat-v i    { font-size: 12px; }
    .category-creator-card .stat-v span { font-size: 8px; }
    .category-creator-card.premium .creator-card-price          { top: 36px; }
    .category-creator-card.premium .creator-card-stats-vertical { top: 66px; }
    .category-creator-card .creator-card-trending { font-size: 9px; top: 8px; right: 8px; border-radius: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .category-creator-card .creator-card-info { bottom: 12px; left: 12px; right: 46px; }
    .category-creator-card .creator-card-username { font-size: 11px; }
    .category-creator-card .creator-card-username .of-icon { width: 13px; height: 13px; min-width: 13px; }
    .category-creator-card .creator-card-name { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hp-coverflow .swiper-slide { width: 185px !important; }
    .hp-pills { gap: 6px; }
    .hp-pill  { padding: 6px 13px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-rolling-words, .category-creator-card.premium::after,
    .category-creator-card .creator-card-trending { animation: none; transition: none; }
}
/* ═══════════════════════════════════════════════════════════════
   FEATURED CREATORS — Swiper coverflow (self-hosted)
   ═══════════════════════════════════════════════════════════════ */
.hp-featured{
    position:relative; margin:44px 0 8px; padding:46px 0 30px;
    overflow:hidden;
    /* Light by default so it blends with the light homepage (no hard dark
       "stacco"); the dark band is applied only in dark mode below. */
    background:radial-gradient(900px 420px at 50% 0%, rgba(248,87,166,.10), transparent 65%), #f4f3fa;
}
[data-op-theme="dark"] .hp-featured{
    background:radial-gradient(900px 420px at 50% 0%, rgba(248,87,166,.16), transparent 60%), #0c0c13;
}
.hp-featured-head{ text-align:center; max-width:780px; margin:0 auto 14px; padding:0 20px; }
.hp-featured-eyebrow{
    font-family:'DM Sans',sans-serif; font-size:12px; font-weight:700;
    letter-spacing:.18em; text-transform:uppercase; color:#f857a6; margin:0 0 12px;
}
/* Title follows the theme (dark on the light band, light on the dark band) —
   handled by the themed `--hp-section-title`. */
.hp-featured .hp-section-title em{
    font-style:normal;
    background:linear-gradient(90deg,#ff5c60,#f857a6);
    -webkit-background-clip:text; background-clip:text; color:transparent;
}

.op-cf{ width:100%; padding:26px 0 6px; overflow:hidden; }
.op-cf .swiper-wrapper{ align-items:center; }
.op-cf .swiper-slide{ width:clamp(264px, 72vw, 400px); height:auto; }
.op-cf .swiper-slide .category-creator-card{ width:100%; }
/* Wider card in the coverflow (Fanvue-like ~3/4), only here — the standard
   category card stays 3/5 everywhere else. */
.op-cf .category-creator-card{ aspect-ratio:3 / 4; }
.op-cf-cardlink{ position:absolute; inset:0; z-index:6; border-radius:20px; }
/* soften Swiper's default coverflow shadows */
.op-cf .swiper-slide-shadow-left,
.op-cf .swiper-slide-shadow-right{ background-image:linear-gradient(to left, rgba(6,4,20,.55), rgba(6,4,20,0)); }

.hp-cf-nav{ display:flex; align-items:center; justify-content:center; gap:16px; margin-top:22px; }
.hp-cf-arrow{
    width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.05); color:#fff; display:grid; place-items:center; cursor:pointer; transition:.18s;
}
.hp-cf-arrow:hover{ border-color:#f857a6; color:#f857a6; transform:translateY(-1px); }
.hp-cf-arrow:active{ transform:scale(.94); }
.hp-cf-pagination{ position:static !important; width:auto !important; display:flex; gap:7px; }
.op-cf .swiper-pagination-bullet{ background:rgba(255,255,255,.3); opacity:1; width:7px; height:7px; margin:0 !important; transition:.2s; }
.op-cf .swiper-pagination-bullet-active{ background:#f857a6; width:22px; border-radius:99px; }

/* Light-mode band: make arrows + bullets readable (they were white-on-dark) */
[data-op-theme="light"] .hp-cf-arrow{
    border-color:rgba(0,0,0,.14); background:rgba(0,0,0,.03); color:#1a1a2e;
}
[data-op-theme="light"] .op-cf .swiper-pagination-bullet{ background:rgba(0,0,0,.2); }

/* =================================================================
   HOMEPAGE v3 — new blocks (31 Aug 2026)
   Pills emoji · CPC grid · Browse-by-category · Why/trust · About
   SEO text · FAQ (native details) · Magazine teaser.
   All colors via shared --op-* tokens → theme-aware (light & dark).
   ================================================================= */

/* Pills: emoji instead of the old colored dots */
.hp-pill-emoji { font-size: 14px; line-height: 1; flex-shrink: 0; }

/* Shared shells */
.hp-cats, .hp-why, .hp-about, .hp-faq, .hp-mag, .hp-cpc { padding: 46px 20px; }
.hp-cats-inner, .hp-mag-inner, .hp-cpc-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.hp-cats-head, .hp-cpc-head { text-align: center; margin-bottom: 34px; }
.hp-cats-sub { font-size: 1rem; color: var(--op-text-secondary); line-height: 1.65; max-width: 560px; margin: 10px auto 0; }

/* Browse by category — chip cards */
.hp-cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 40px; }
.hp-cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; background: var(--op-bg-card); border: 1px solid var(--op-border); border-radius: 16px; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hp-cat-card:hover { transform: translateY(-3px); border-color: var(--op-accent); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.hp-cat-emoji { font-size: 26px; line-height: 1; }
.hp-cat-name { font-size: .9rem; font-weight: 600; color: var(--op-text-primary); text-align: center; }
@media (max-width: 1024px) { .hp-cats-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .hp-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .hp-cat-card { padding: 18px 8px; } .hp-cat-emoji { font-size: 22px; } }

/* Why OnlyPedia — trust stat strip */
.hp-why-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-why-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px; background: var(--op-bg-card); border: 1px solid var(--op-border); border-radius: 16px; }
.hp-why-num { font-family: 'Special Gothic Expanded One', sans-serif; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--op-accent); line-height: 1; }
.hp-why-lbl { font-size: .85rem; color: var(--op-text-secondary); line-height: 1.4; }
@media (max-width: 640px) { .hp-why-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* About — SEO text */
.hp-about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hp-about-text { margin-top: 18px; text-align: left; }
.hp-about-text p { font-size: 1rem; line-height: 1.8; color: var(--op-text-secondary); margin: 0 0 16px; }
.hp-about-text p:last-child { margin-bottom: 0; }
.hp-about-text strong { color: var(--op-text-primary); font-weight: 700; }
.hp-about-text a { color: var(--op-accent); text-decoration: none; font-weight: 600; }
.hp-about-text a:hover { text-decoration: underline; }

/* FAQ — native <details>/<summary>, no JS */
.hp-faq-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hp-faq-list { margin-top: 24px; text-align: left; border-top: 1px solid var(--op-border); }
.hp-faq-item { border-bottom: 1px solid var(--op-border); }
.hp-faq-item summary { list-style: none; cursor: pointer; padding: 18px 4px; font-family: 'DM Sans', -apple-system, sans-serif; font-size: 15px; font-weight: 700; color: var(--op-text-primary); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--op-accent); border-bottom: 2px solid var(--op-accent); transform: rotate(45deg); transition: transform .2s ease; flex-shrink: 0; margin-right: 4px; }
.hp-faq-item[open] summary::after { transform: rotate(-135deg); }
.hp-faq-item[open] summary { color: var(--op-accent); }
.hp-faq-a { padding: 0 4px 18px; }
.hp-faq-a p { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--op-text-secondary); }

/* Magazine teaser */
.hp-mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; text-align: left; }
.hp-mag-card { display: flex; flex-direction: column; background: var(--op-bg-card); border: 1px solid var(--op-border); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.hp-mag-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.hp-mag-thumb { aspect-ratio: 16 / 9; background: var(--op-bg-elevated); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hp-mag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-mag-thumb-ph { font-family: 'Special Gothic Expanded One', sans-serif; font-size: 1.4rem; color: var(--op-accent); opacity: .5; }
.hp-mag-body { padding: 16px 18px 20px; }
.hp-mag-cat { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--op-accent); margin-bottom: 8px; }
.hp-mag-title { font-size: 1.02rem; line-height: 1.35; color: var(--op-text-primary); margin: 0; font-weight: 700; }
@media (max-width: 900px) { .hp-mag-grid { grid-template-columns: 1fr; } }
