/* ===================================================================
   Xicnmdu - Homepage Specific (Neon Cyberpunk)
   =================================================================== */

/* ---------- Hero: Big search + cyber headline ---------- */
.xz-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.xz-hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(200px, 28vw, 360px);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(168, 85, 247, 0.06);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    user-select: none;
    line-height: 1;
}

.xz-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.xz-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--glass-2);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-cyan);
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.xz-hero-eyebrow .xz-pulse {
    width: 8px;
    height: 8px;
    background: var(--c-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--c-cyan);
    animation: pulse-glow 2s infinite;
}

.xz-hero-title {
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ec4899 35%, #a855f7 65%, #22d3ee 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease-in-out infinite;
    text-shadow: 0 0 80px rgba(168, 85, 247, 0.3);
}

.xz-hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--c-fg-dim);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.xz-hero-search {
    max-width: 620px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
    box-shadow: 0 20px 60px -20px rgba(168, 85, 247, 0.3);
}

.xz-hero-search:focus-within {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 20px 80px -20px rgba(236, 72, 153, 0.5);
}

.xz-hero-search-icon {
    padding: 0 12px 0 16px;
    color: var(--c-fg-faint);
}

.xz-hero-search-icon img { width: 22px; height: 22px; opacity: 0.7; }

.xz-hero-search input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--c-fg);
    font-size: 16px;
    padding: 14px 0;
    outline: none;
    font-family: inherit;
}

.xz-hero-search input::placeholder { color: var(--c-fg-faint); }

.xz-hero-search-btn {
    padding: 12px 28px;
    background: var(--grad-primary);
    color: #0a0420;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.xz-hero-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px -5px rgba(236, 72, 153, 0.6);
}

.xz-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.xz-hero-stat {
    text-align: center;
}

.xz-hero-stat-num {
    font-size: 32px;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.xz-hero-stat-label {
    font-size: 12px;
    color: var(--c-fg-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
    display: block;
}

/* ---------- Category Pills Row (sticky filter) ---------- */
.xz-cat-filter {
    position: sticky;
    top: 64px;
    z-index: 20;
    background: rgba(10, 4, 32, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 0 -24px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.xz-cat-filter-inner {
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.xz-cat-filter-inner::-webkit-scrollbar { display: none; }

.xz-cat-pill-icon {
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Featured Showcase (single big card) ---------- */
.xz-showcase {
    margin-top: 40px;
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    aspect-ratio: 21/9;
    cursor: pointer;
    display: block;
}

.xz-showcase-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
}

.xz-showcase:hover .xz-showcase-bg { transform: scale(1.05); }

.xz-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10, 4, 32, 0.95) 0%, rgba(10, 4, 32, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.xz-showcase-content {
    max-width: 480px;
}

.xz-showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--c-cyan);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.xz-showcase-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 14px;
}

.xz-showcase-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 720px) {
    .xz-showcase { aspect-ratio: 4/5; }
    .xz-showcase-overlay { padding: 24px; align-items: flex-end; }
    .xz-showcase-content { max-width: 100%; }
}

/* ---------- Dual column (Boys/Girls) ---------- */
.xz-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 760px) { .xz-dual { grid-template-columns: 1fr; gap: 16px; } }

.xz-dual-col h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.xz-dual-col h3 .xz-emoji {
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.xz-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ---------- Tag Cloud (Pills) ---------- */
.xz-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.xz-cloud-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--glass-2);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-fg-dim);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xz-cloud-pill:hover {
    color: var(--c-fg);
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.xz-cloud-pill.xz-cloud-pill-lg {
    padding: 10px 20px;
    font-size: 14px;
    background: rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.3);
    color: var(--c-pink);
}

.xz-cloud-pill.xz-cloud-pill-md {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.3);
    color: var(--c-cyan);
}

/* ---------- CTA banner ---------- */
.xz-cta-banner {
    margin: 80px 0 40px;
    padding: 60px 40px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.xz-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(34, 211, 238, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.xz-cta-banner > * { position: relative; z-index: 1; }

.xz-cta-banner h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #ec4899 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.xz-cta-banner p {
    color: var(--c-fg-dim);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 28px;
}

/* ---------- Empty state ---------- */
.xz-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--c-fg-faint);
}

.xz-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.xz-empty-text { font-size: 16px; }
