/**
 * Hangi Üyesisin - Ana stil dosyası (v2)
 * Türkçe karakter desteği latin-ext ile, modern & tatlı UI, sticky footer.
 *
 * Tasarım dili: Yumuşak gradientler, pastel sıcak tonlar (turuncu/gül/violet),
 * cam efektli yüzeyler, yumuşak gölgeler, ince animasyonlar.
 */

:root {
        --hu-primary: #e11d48;
        --hu-primary-dark: #be123c;
        --hu-secondary: #0f172a;
        --hu-accent: #f59e0b;
        --hu-violet: #8b5cf6;
        --hu-bg: #ffffff;
        --hu-bg-soft: #fef2f2;
        --hu-bg-warm: #fff7ed;
        --hu-text: #1e293b;
        --hu-text-muted: #64748b;
        --hu-border: #e2e8f0;
        --hu-border-soft: #f1f5f9;
        --hu-radius: 16px;
        --hu-radius-sm: 10px;
        --hu-radius-lg: 24px;
        --hu-shadow: 0 8px 30px -10px rgba(15, 23, 42, 0.12);
        --hu-shadow-hover: 0 24px 50px -18px rgba(225, 29, 72, 0.30);
        --hu-shadow-soft: 0 4px 20px -8px rgba(15, 23, 42, 0.08);
        --hu-container: 1180px;
        --hu-grad-warm: linear-gradient(135deg, #f97316 0%, #e11d48 50%, #8b5cf6 100%);
        --hu-grad-soft: linear-gradient(135deg, #fff7ed 0%, #fff1f2 50%, #faf5ff 100%);
}

/* Türkçe font desteği için */
body {
        font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "tnum" 0;
        text-rendering: optimizeLegibility;
        -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Sticky footer - sayfa kısa olsa bile footer en altta */
.hu-site { display: flex; flex-direction: column; min-height: 100vh; }
.hu-main { flex: 1 0 auto; width: 100%; }
.hu-footer { flex-shrink: 0; margin-top: auto; }

/* Container */
.container { max-width: var(--hu-container); margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
        font-family: "Poppins", "Inter", system-ui, sans-serif;
        font-weight: 800;
        line-height: 1.25;
        color: var(--hu-secondary);
        margin: 0 0 .6em;
        letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1rem; }
a { color: var(--hu-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hu-primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* Buttons - daha tatlı, dokunsal */
.hu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: 0.8rem 1.6rem;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.95rem;
        border: 2px solid transparent;
        cursor: pointer;
        transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease, background .2s ease, color .2s ease;
        text-decoration: none;
        font-family: "Poppins", "Inter", sans-serif;
        letter-spacing: -0.01em;
}
.hu-btn-primary {
        background: var(--hu-grad-warm);
        background-size: 200% 200%;
        color: #fff;
        box-shadow: 0 8px 20px -6px rgba(225, 29, 72, 0.5);
}
.hu-btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 16px 32px -8px rgba(225, 29, 72, 0.55);
        background-position: 100% 50%;
        color: #fff;
}
.hu-btn-primary:active { transform: translateY(-1px) scale(0.99); }
.hu-btn-outline {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        color: var(--hu-text);
        border-color: var(--hu-border);
}
.hu-btn-outline:hover {
        border-color: var(--hu-primary);
        background: #fff;
        color: var(--hu-primary);
        transform: translateY(-2px);
        box-shadow: var(--hu-shadow-soft);
}
.hu-btn-large { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.hu-btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ============= HEADER ============= */
.hu-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.hu-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
        padding-top: 12px;
        padding-bottom: 12px;
}
.hu-logo-link {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        font-weight: 800;
        font-family: "Poppins", sans-serif;
        font-size: 1.2rem;
        color: var(--hu-secondary);
        letter-spacing: -0.02em;
}
.hu-logo-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        background: var(--hu-grad-warm);
        background-size: 200% 200%;
        color: #fff;
        font-size: 18px;
        box-shadow: 0 6px 16px -4px rgba(225, 29, 72, 0.5);
        animation: hu-grad-shift 6s ease infinite;
}
@keyframes hu-grad-shift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
}
.hu-logo-text { letter-spacing: -0.02em; }
.hu-logo-accent {
        background: var(--hu-grad-warm);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
}

.hu-nav { display: flex; align-items: center; gap: 1rem; }
.hu-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.hu-menu li { margin: 0; }
.hu-menu a {
        display: inline-flex;
        padding: 0.5rem 1rem;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--hu-text);
        transition: all .2s ease;
        text-transform: capitalize;
}
.hu-menu a:hover { background: var(--hu-bg-soft); color: var(--hu-primary); }
.hu-menu .current-menu-item > a { background: var(--hu-bg-soft); color: var(--hu-primary); }
.hu-menu-toggle { display: none; }

@media (max-width: 768px) {
        .hu-menu-toggle {
                display: inline-flex;
                flex-direction: column;
                gap: 4px;
                background: transparent;
                border: none;
                padding: 8px;
                cursor: pointer;
        }
        .hu-menu-toggle .hu-menu-icon,
        .hu-menu-toggle .hu-menu-icon::before,
        .hu-menu-toggle .hu-menu-icon::after {
                content: "";
                display: block;
                width: 24px;
                height: 2px;
                background: var(--hu-secondary);
                transition: all .25s ease;
                border-radius: 2px;
        }
        .hu-menu-toggle[aria-expanded="true"] .hu-menu-icon { background: transparent; }
        .hu-menu-toggle[aria-expanded="true"] .hu-menu-icon::before { transform: translateY(6px) rotate(45deg); }
        .hu-menu-toggle[aria-expanded="true"] .hu-menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
        .hu-menu {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                background: #fff;
                border-top: 1px solid var(--hu-border);
                padding: 12px 20px;
                gap: 4px;
                display: none;
                box-shadow: var(--hu-shadow);
        }
        .hu-menu.hu-menu-open { display: flex; }
        .hu-menu a { width: 100%; }
}

/* ============= HEADER SEARCH ============= */
.hu-header-search {
        position: relative;
        display: flex;
        align-items: center;
}
.hu-header-search-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid var(--hu-border);
        background: var(--hu-bg-soft);
        color: var(--hu-text-muted);
        cursor: pointer;
        transition: all .2s ease;
}
.hu-header-search-btn:hover {
        background: var(--hu-bg);
        color: var(--hu-primary);
        border-color: var(--hu-primary);
        box-shadow: 0 4px 12px -4px rgba(225, 29, 72, 0.25);
}
.hu-header-search-panel {
        position: absolute;
        top: calc(100% + 12px);
        right: -20px;
        width: 400px;
        background: #fff;
        border-radius: var(--hu-radius);
        box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.30), 0 0 0 1px rgba(226, 232, 240, 0.6);
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.97);
        transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
}
.hu-header-search-panel--open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
}
.hu-header-search-inner {
        padding: 0;
}
.hu-header-search-input-wrap {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--hu-border-soft);
        background: var(--hu-bg-soft);
}
.hu-header-search-icon {
        flex-shrink: 0;
        color: var(--hu-text-muted);
        opacity: 0.6;
}
.hu-header-search-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--hu-text);
        outline: none;
        font-family: inherit;
        min-width: 0;
}
.hu-header-search-input::placeholder {
        color: var(--hu-text-muted);
        opacity: 0.6;
}
.hu-header-search-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: var(--hu-text-muted);
        cursor: pointer;
        transition: all .15s ease;
        flex-shrink: 0;
}
.hu-header-search-close:hover {
        background: var(--hu-border);
        color: var(--hu-text);
}
.hu-header-search-results {
        max-height: 380px;
        overflow-y: auto;
}
.hu-header-search-item {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--hu-border-soft);
        text-decoration: none;
        color: inherit;
        transition: background .15s ease;
        cursor: pointer;
}
.hu-header-search-item:last-child { border-bottom: none; }
.hu-header-search-item:hover {
        background: var(--hu-bg-soft);
}
.hu-header-search-item-thumb {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        object-fit: cover;
        flex-shrink: 0;
        background: var(--hu-grad-soft);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 0.75rem;
        color: var(--hu-primary);
        overflow: hidden;
}
.hu-header-search-item-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}
.hu-header-search-item-info {
        flex: 1;
        min-width: 0;
}
.hu-header-search-item-title {
        font-weight: 700;
        font-size: 0.92rem;
        color: var(--hu-text);
        margin-bottom: 0.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}
.hu-header-search-item-meta {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        font-size: 0.78rem;
        color: var(--hu-text-muted);
}
.hu-header-search-item-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
}
.hu-header-search-item-arrow {
        flex-shrink: 0;
        color: var(--hu-text-muted);
        opacity: 0;
        transform: translateX(-4px);
        transition: all .2s ease;
}
.hu-header-search-item:hover .hu-header-search-item-arrow {
        opacity: 1;
        transform: translateX(0);
        color: var(--hu-primary);
}
.hu-header-search-hint,
.hu-header-search-empty,
.hu-header-search-loading {
        text-align: center;
        padding: 2rem 1rem;
        color: var(--hu-text-muted);
        font-size: 0.88rem;
}
.hu-header-search-empty svg {
        display: block;
        margin: 0 auto 0.5rem;
}
.hu-header-search-empty p { margin: 0; }
.hu-header-search-view-all {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem;
        border-top: 1px solid var(--hu-border-soft);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--hu-primary);
        text-decoration: none;
        transition: background .15s ease;
}
.hu-header-search-view-all:hover {
        background: var(--hu-bg-soft);
        color: var(--hu-primary-dark);
}
.hu-search-query-highlight {
        color: var(--hu-primary);
        position: relative;
}

/* Header search responsive */
@media (max-width: 768px) {
        .hu-header-search-btn {
                width: 36px;
                height: 36px;
                border-radius: 10px;
        }
        .hu-header-search-panel {
                right: -40px;
                left: -20px;
                width: auto;
        }
}
@media (max-width: 480px) {
        .hu-header-search-panel {
                right: -50px;
                left: -40px;
        }
}

/* Dark mode header search */
@media (prefers-color-scheme: dark) {
        .hu-header-search-btn {
                background: var(--hu-bg-soft);
                border-color: var(--hu-border);
        }
        .hu-header-search-panel {
                background: var(--hu-bg-soft);
                box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--hu-border);
        }
        .hu-header-search-input-wrap {
                background: var(--hu-bg);
        }
        .hu-header-search-input {
                color: var(--hu-text);
        }
        .hu-header-search-item:hover {
                background: var(--hu-bg);
        }
        .hu-header-search-item-title { color: var(--hu-text); }
        .hu-header-search-view-all:hover { background: var(--hu-bg); }
}

/* Print: hide search */
@media print {
        .hu-header-search { display: none !important; }
}

/* ============= BREADCRUMB ============= */
.hu-breadcrumb {
        font-size: 0.82rem;
        color: var(--hu-text-muted);
        margin-bottom: 1.25rem;
        font-weight: 500;
}
.hu-breadcrumb a { color: var(--hu-text-muted); }
.hu-breadcrumb a:hover { color: var(--hu-primary); }
.hu-breadcrumb .hu-breadcrumb-current { color: var(--hu-text); font-weight: 600; }
.hu-breadcrumb .hu-breadcrumb-sep { margin: 0 0.4rem; opacity: 0.6; }

/* ============= HERO ============= */
.hu-hero {
        position: relative;
        overflow: hidden;
        background: var(--hu-grad-soft);
        border-bottom: 1px solid var(--hu-border);
        padding: clamp(3rem, 8vw, 6rem) 0;
        text-align: center;
}
.hu-hero-mini { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.hu-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hu-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        opacity: 0.55;
        animation: hu-float 12s ease-in-out infinite;
}
.hu-blob-1 { background: #fdba74; width: 320px; height: 320px; top: -110px; left: -60px; }
.hu-blob-2 { background: #f9a8d4; width: 360px; height: 360px; top: 40px; right: -90px; animation-delay: -3s; }
.hu-blob-3 { background: #c4b5fd; width: 260px; height: 260px; bottom: -90px; left: 50%; transform: translateX(-50%); animation-delay: -6s; }
.hu-blob-4 { background: #fcd34d; width: 200px; height: 200px; top: 30%; left: 20%; opacity: 0.35; animation-delay: -9s; }
@keyframes hu-float {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(20px, -25px) scale(1.05); }
        66% { transform: translate(-15px, 15px) scale(0.97); }
}
.hu-blob-3 { animation-name: hu-float-center; }
@keyframes hu-float-center {
        0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
        50% { transform: translateX(-50%) translateY(-20px) scale(1.08); }
}

.hu-hero-inner { position: relative; z-index: 1; }
.hu-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        border: 1px solid var(--hu-border);
        padding: 0.45rem 1.1rem;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: var(--hu-text);
        box-shadow: var(--hu-shadow-soft);
}
.hu-badge-icon {
        color: var(--hu-accent);
        display: inline-block;
        animation: hu-pulse 2.5s ease-in-out infinite;
}
@keyframes hu-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.2); opacity: 0.8; }
}
.hu-badge-sep { color: var(--hu-text-muted); margin: 0 0.25rem; }

.hu-hero-title {
        font-size: clamp(2.6rem, 7.5vw, 4.8rem);
        font-weight: 900;
        letter-spacing: -0.04em;
        margin-bottom: 1rem;
        line-height: 1.05;
}
.hu-hero-gradient {
        background: var(--hu-grad-warm);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: hu-grad-shift 5s ease infinite;
}
.hu-hero-sub {
        max-width: 680px;
        margin: 0 auto 2rem;
        color: var(--hu-text-muted);
        font-size: clamp(1rem, 2vw, 1.18rem);
        line-height: 1.6;
}
.hu-hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Trust badges (hero altı) */
.hu-hero-trust {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1.75rem;
}
.hu-trust-item {
        font-size: 0.88rem;
        color: var(--hu-text-muted);
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
}
.hu-trust-item span:first-child { color: #16a34a; font-weight: 800; }

/* Popüler aramalar bölümü */
.hu-search-terms-section {
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--hu-border-soft);
        background: var(--hu-bg);
}
.hu-search-terms {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 0.6rem;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
}
.hu-search-terms-label { color: var(--hu-text-muted); font-weight: 600; margin-right: 0.25rem; }
.hu-search-terms a {
        display: inline-block;
        padding: 0.3rem 0.85rem;
        background: var(--hu-bg-soft);
        border-radius: 999px;
        color: var(--hu-text);
        font-weight: 500;
        transition: all .2s ease;
        border: 1px solid transparent;
        font-size: 0.82rem;
}
.hu-search-terms a:hover {
        background: #fff;
        border-color: var(--hu-primary);
        color: var(--hu-primary);
        transform: translateY(-1px);
        box-shadow: var(--hu-shadow-soft);
}

/* ============= SECTIONS ============= */
.hu-tests-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.hu-how-section {
        padding: clamp(3rem, 6vw, 5rem) 0;
        background: var(--hu-bg-warm);
        border-top: 1px solid var(--hu-border-soft);
}
.hu-section-head { text-align: center; margin-bottom: 3rem; }
.hu-section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.hu-section-desc { color: var(--hu-text-muted); max-width: 620px; margin: 0.6rem auto 0; }
.hu-text-center { text-align: center; }

/* ============= KATEGORİ BLOKLARI ============= */
.hu-cat-block {
        margin-bottom: 3rem;
        position: relative;
}
.hu-cat-block-head {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--hu-border-soft);
}
.hu-cat-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--hu-cat-color, var(--hu-primary));
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--hu-cat-color, var(--hu-primary)) 18%, transparent);
        flex-shrink: 0;
}
.hu-cat-block-title {
        font-size: 1.4rem;
        margin: 0;
        flex: 1;
}
.hu-cat-block-count {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--hu-text-muted);
        background: var(--hu-bg-soft);
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
}

/* ============= TEST GRID ============= */
.hu-tests-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
        gap: 1.5rem;
}

.hu-tests-more-link { text-align: center; margin-top: 2.5rem; }

.hu-load-more-wrap { text-align: center; margin-top: 2.5rem; padding-top: 2rem; }
.hu-load-more-status { margin-top: 1rem; font-size: 0.9rem; color: var(--hu-text-muted); }
.hu-load-more-info {
        background: var(--hu-bg-soft);
        padding: 0.4rem 0.8rem;
        border-radius: 999px;
        font-weight: 600;
}
.hu-load-more-error { color: #dc2626; }
#hu-load-more-btn .hu-loading-spinner {
        display: inline-block;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: hu-spin 0.8s linear infinite;
        vertical-align: middle;
        margin-right: 0.5rem;
}
@keyframes hu-spin { to { transform: rotate(360deg); } }

/* Test kartı - daha tatlı, cam efektli */
.hu-test-card {
        background: #fff;
        border-radius: var(--hu-radius);
        overflow: hidden;
        box-shadow: var(--hu-shadow);
        transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, opacity .5s ease;
        border: 1px solid var(--hu-border-soft);
        position: relative;
}
/* Fade-in animasyonu (home.js IntersectionObserver ile tetiklenir) */
.hu-card-invisible {
        opacity: 0;
        transform: translateY(24px);
}
.hu-card-visible {
        opacity: 1;
        transform: translateY(0);
}
.hu-card-visible:hover,
.hu-test-card:hover {
        transform: translateY(-6px);
}
.hu-test-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: var(--hu-radius);
        border: 2px solid transparent;
        transition: border-color .3s ease;
        pointer-events: none;
        z-index: 3;
}
.hu-test-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--hu-shadow-hover);
}
.hu-test-card:hover::after {
        border-color: color-mix(in srgb, var(--hu-card-color, var(--hu-primary)) 40%, transparent);
}
.hu-card-link { display: block; color: inherit; }
.hu-card-link:hover { color: inherit; }

.hu-card-cover {
        position: relative;
        aspect-ratio: 16 / 10;
        color: #fff;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
}
.hu-card-cover-overlay--dark {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.55) 100%);
        z-index: 0;
}
.hu-test-card--has-image .hu-card-cover-content { z-index: 1; }
.hu-card-cover-overlay {
        position: absolute;
        inset: 0;
        opacity: 0.45;
        pointer-events: none;
}
.hu-card-blob {
        position: absolute;
        border-radius: 50%;
        background: #fff;
        filter: blur(40px);
        opacity: 0.25;
}
.hu-card-blob-1 { width: 120px; height: 120px; top: -30px; right: -30px; }
.hu-card-blob-2 { width: 140px; height: 140px; bottom: -50px; left: -40px; opacity: 0.15; background: #000; }
.hu-card-cover-content {
        position: relative;
        z-index: 1;
        padding: 1.1rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
}
.hu-card-cover-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
}
.hu-card-chip {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        padding: 0.25rem 0.65rem;
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 700;
        color: #fff;
        border: 1px solid rgba(255,255,255,0.2);
}
.hu-card-members {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        padding: 0.25rem 0.6rem;
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 700;
        color: #fff;
        border: 1px solid rgba(255,255,255,0.2);
}
.hu-card-group-name {
        font-size: 1.65rem;
        font-weight: 900;
        color: #fff;
        margin: 0;
        text-shadow: 0 2px 8px rgba(0,0,0,0.25);
        letter-spacing: -0.02em;
}
.hu-card-fandom { font-size: 0.8rem; color: rgba(255, 255, 255, 0.92); margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.hu-card-body { padding: 1.15rem 1.25rem 1.3rem; }
.hu-card-title { font-size: 1.12rem; margin-bottom: 0.45rem; line-height: 1.3; }
.hu-card-excerpt { color: var(--hu-text-muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hu-card-stats { display: flex; gap: 0.4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hu-card-stat {
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--hu-text-muted);
        background: var(--hu-bg-soft);
        padding: 0.25rem 0.65rem;
        border-radius: 999px;
}
.hu-card-cta {
        display: inline-block;
        font-weight: 700;
        color: var(--hu-card-color);
        font-size: 0.9rem;
        transition: gap .2s ease;
}
.hu-test-card:hover .hu-card-cta { letter-spacing: 0.02em; }

/* ============= HOW ============= */
.hu-how-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        max-width: 920px;
        margin: 0 auto;
}
.hu-how-step {
        background: #fff;
        padding: 2rem 1.5rem;
        border-radius: var(--hu-radius);
        box-shadow: var(--hu-shadow);
        text-align: center;
        border: 1px solid var(--hu-border-soft);
        transition: transform .3s ease, box-shadow .3s ease;
}
.hu-how-step:hover { transform: translateY(-4px); box-shadow: var(--hu-shadow-hover); }
.hu-how-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        color: #fff;
        font-weight: 900;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        box-shadow: 0 8px 20px -6px currentColor;
}
.hu-how-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.hu-how-step p { color: var(--hu-text-muted); font-size: 0.9rem; margin: 0; }

/* ============= EMPTY STATE ============= */
.hu-empty { text-align: center; padding: 4rem 1rem; color: var(--hu-text-muted); }
.hu-empty h2 { margin-bottom: 0.5rem; }

/* ============= 404 ============= */
.hu-404 { text-align: center; padding: 4rem 1rem; }
.hu-404-title {
        font-size: clamp(4rem, 12vw, 8rem);
        background: var(--hu-grad-warm);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1rem;
        line-height: 1;
        animation: hu-grad-shift 5s ease infinite;
}

/* ============= FOOTER ============= */
.hu-footer {
        background: var(--hu-secondary);
        color: #cbd5e1;
        padding: 3rem 0 1.5rem;
        margin-top: auto;
        position: relative;
        overflow: hidden;
}
.hu-footer::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 3px;
        background: var(--hu-grad-warm);
        background-size: 200% 200%;
        animation: hu-grad-shift 6s ease infinite;
}
.hu-footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
}
@media (max-width: 768px) {
        .hu-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.hu-footer .hu-logo-link { color: #fff; margin-bottom: 1rem; }
.hu-footer .hu-logo-text { color: #fff; }
.hu-footer-desc { color: #94a3b8; font-size: 0.9rem; margin: 1rem 0 0; max-width: 400px; }
.hu-footer-title { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.hu-footer-list { list-style: none; padding: 0; margin: 0; }
.hu-footer-list li { margin-bottom: 0.5rem; }
.hu-footer-list a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #cbd5e1;
        font-size: 0.9rem;
        text-transform: capitalize;
        transition: color .2s ease, transform .2s ease;
}
.hu-footer-list a:hover { color: #fff; transform: translateX(3px); }
.hu-footer-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hu-footer-text { color: #94a3b8; font-size: 0.85rem; }
.hu-footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        text-align: center;
        color: #94a3b8;
        font-size: 0.85rem;
}
.hu-footer-bottom p { margin: 0 0 0.5rem; }
.hu-footer-disclaimer { font-size: 0.75rem; color: #64748b; }

/* ============= ARCHIVE / SINGLE / PAGE ============= */
.hu-archive, .hu-single, .hu-page { padding: 2rem 0 4rem; }
.hu-archive-head { margin-bottom: 2rem; }
.hu-archive-title { font-size: 2rem; }
.hu-archive-desc { color: var(--hu-text-muted); }

.hu-single-title, .hu-page-title { margin-bottom: 0.5rem; }
.hu-single-meta { color: var(--hu-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.hu-single-cover { margin-bottom: 2rem; border-radius: var(--hu-radius); overflow: hidden; }
.hu-single-content { line-height: 1.8; }
.hu-page-content { line-height: 1.8; }

.hu-content-item {
        background: #fff;
        padding: 1.5rem;
        border-radius: var(--hu-radius);
        box-shadow: var(--hu-shadow);
        margin-bottom: 1.5rem;
        border: 1px solid var(--hu-border-soft);
}
.hu-content-title { font-size: 1.35rem; margin-bottom: 0.25rem; }
.hu-content-title a { color: var(--hu-secondary); }
.hu-content-title a:hover { color: var(--hu-primary); }
.hu-content-meta { color: var(--hu-text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.hu-content-thumb { display: block; margin-bottom: 1rem; border-radius: var(--hu-radius-sm); overflow: hidden; }
.hu-content-excerpt { color: var(--hu-text-muted); margin-bottom: 1rem; }

/* ============= COMMENTS ============= */
.hu-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--hu-border); }
.hu-comments-title { margin-bottom: 1.5rem; }
.hu-comments-list { list-style: none; padding: 0; }
.hu-comments-list .comment { padding: 1rem; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-sm); margin-bottom: 1rem; }

/* ============= SIDEBAR ============= */
.hu-sidebar { margin-top: 2rem; }
.widget { background: #fff; padding: 1.5rem; border-radius: var(--hu-radius); border: 1px solid var(--hu-border-soft); margin-bottom: 1.5rem; box-shadow: var(--hu-shadow-soft); }
.widget-title { font-size: 1.1rem; margin-bottom: 1rem; }

/* ============= KATEGORİ FİLTRE ÇUBUĞU ============= */
.hu-cat-filter-section {
        padding: 1.25rem 0;
        background: #fff;
        border-bottom: 1px solid var(--hu-border-soft);
        position: sticky;
        top: 68px;
        z-index: 20;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.85);
}
.hu-cat-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
}
.hu-cat-filter-label {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--hu-text-muted);
        margin-right: 0.4rem;
}
.hu-cat-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.4rem 0.9rem;
        background: var(--hu-bg-soft);
        border: 1px solid var(--hu-border);
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--hu-text);
        cursor: pointer;
        transition: all .2s ease;
        font-family: inherit;
}
.hu-cat-chip:hover {
        background: #fff;
        border-color: var(--hu-cat-color, var(--hu-primary));
        color: var(--hu-cat-color, var(--hu-primary));
        transform: translateY(-1px);
}
.hu-cat-chip--active {
        background: var(--hu-cat-color, var(--hu-primary));
        border-color: var(--hu-cat-color, var(--hu-primary));
        color: #fff;
        box-shadow: 0 6px 14px -4px var(--hu-cat-color, var(--hu-primary));
}
.hu-cat-chip-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--hu-cat-color, var(--hu-primary));
}
.hu-cat-chip--active .hu-cat-chip-dot { background: #fff; }
.hu-cat-chip-count {
        font-size: 0.7rem;
        font-weight: 700;
        opacity: 0.7;
        background: rgba(255,255,255,0.2);
        padding: 0.05rem 0.4rem;
        border-radius: 999px;
}
.hu-cat-chip:not(.hu-cat-chip--active) .hu-cat-chip-count {
        background: rgba(0,0,0,0.06);
}

/* ============= SEO İÇERİK ============= */
.hu-seo-section {
        padding: clamp(3rem, 6vw, 5rem) 0;
        background: var(--hu-bg);
        border-top: 1px solid var(--hu-border-soft);
}
.hu-seo-content {
        max-width: 820px;
        margin: 0 auto;
        line-height: 1.85;
        color: var(--hu-text);
}
.hu-seo-content h2 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
        margin: 2.25rem 0 1rem;
        color: var(--hu-secondary);
}
.hu-seo-content h2:first-child { margin-top: 0; }
.hu-seo-content p { margin: 0 0 1rem; color: var(--hu-text-muted); }
.hu-seo-content ul { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.hu-seo-content ul li { margin-bottom: 0.5rem; color: var(--hu-text-muted); }
.hu-seo-content strong { color: var(--hu-text); }

/* FAQ */
.hu-faq { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.hu-faq-item {
        background: var(--hu-bg-soft);
        border-radius: var(--hu-radius);
        padding: 1.25rem 1.5rem;
        border: 1px solid var(--hu-border-soft);
        transition: transform .2s ease, box-shadow .2s ease;
}
.hu-faq-item:hover { transform: translateX(3px); box-shadow: var(--hu-shadow-soft); }
.hu-faq-item h3 {
        font-size: 1.02rem;
        margin: 0 0 0.5rem;
        color: var(--hu-secondary);
}
.hu-faq-item p { margin: 0; font-size: 0.92rem; color: var(--hu-text-muted); }

/* ============= RESPONSIVE ============= */
@media (max-width: 640px) {
        .hu-tests-grid { grid-template-columns: 1fr; }
        .hu-hero { padding: 3rem 0; }
        .hu-tests-section, .hu-how-section { padding: 3rem 0; }
        .hu-section-head { margin-bottom: 2rem; }
        .hu-cat-filter-section { top: 60px; }
}

/* ============= DARK MODE ============= */
@media (prefers-color-scheme: dark) {
        :root {
                --hu-bg: #0f172a;
                --hu-bg-soft: #1e293b;
                --hu-bg-warm: #1a1410;
                --hu-text: #e2e8f0;
                --hu-text-muted: #94a3b8;
                --hu-secondary: #f8fafc;
                --hu-border: #334155;
                --hu-border-soft: #1e293b;
        }
        body { background: var(--hu-bg); color: var(--hu-text); }
        .hu-header { background: rgba(15, 23, 42, 0.80); border-bottom-color: var(--hu-border); }
        .hu-logo-text { color: var(--hu-secondary); }
        .hu-hero { background: linear-gradient(135deg, #431407 0%, #4c0519 50%, #3b0764 100%); }
        .hu-blob-1 { background: #f97316; opacity: 0.3; }
        .hu-blob-2 { background: #ec4899; opacity: 0.3; }
        .hu-blob-3 { background: #8b5cf6; opacity: 0.3; }
        .hu-blob-4 { background: #fcd34d; opacity: 0.2; }
        .hu-test-card, .hu-content-item, .widget {
                background: var(--hu-bg-soft);
                border-color: var(--hu-border);
        }
        .hu-card-excerpt { color: var(--hu-text-muted); }
        .hu-menu a { color: var(--hu-text); }
        .hu-menu a:hover { background: var(--hu-bg); color: var(--hu-primary); }
        .hu-card-stat { background: var(--hu-bg); }
        .hu-how-step { background: var(--hu-bg-soft); }
        .hu-btn-outline { color: var(--hu-text); border-color: var(--hu-border); background: rgba(30, 41, 59, 0.6); }
        .hu-btn-outline:hover { background: var(--hu-bg); border-color: var(--hu-primary); }
        .hu-footer { background: #020617; }
        .hu-cat-filter-section { background: rgba(15, 23, 42, 0.85); }
        .hu-cat-chip { background: var(--hu-bg-soft); border-color: var(--hu-border); }
        .hu-cat-chip:hover { background: var(--hu-bg); }
        .hu-hero-badge { background: rgba(30, 41, 59, 0.8); border-color: var(--hu-border); }
        .hu-search-terms a { background: var(--hu-bg-soft); }
        .hu-search-terms a:hover { background: var(--hu-bg); }
        .hu-faq-item { background: var(--hu-bg-soft); }
        .hu-breadcrumb, .hu-breadcrumb a { color: var(--hu-text-muted); }
        .hu-breadcrumb .hu-breadcrumb-current { color: var(--hu-text); }
        @media (max-width: 768px) {
                .hu-menu { background: var(--hu-bg-soft); }
        }
}

/* ============= PRINT ============= */
@media print {
        .hu-header, .hu-footer, .hu-hero-cta, .hu-test-bottombar, .hu-cat-filter-section, .hu-header-search { display: none !important; }
}

/* ============================================================
   v2.1 — Gelişmiş Single (Haber) Sayfası + Haber Carousel
   ============================================================ */

/* Breadcrumb */
.hu-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: 0.85rem; color: var(--hu-text-muted); margin-bottom: 1.5rem; }
.hu-breadcrumb a { color: var(--hu-primary); text-decoration: none; font-weight: 500; }
.hu-breadcrumb a:hover { text-decoration: underline; }
.hu-breadcrumb-sep { color: var(--hu-border); }
.hu-breadcrumb-current { color: var(--hu-text); font-weight: 500; }

/* Kategori rozetleri */
.hu-single-cats { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.75rem; }
.hu-single-cat { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(225,29,72,0.08); color: var(--hu-primary); font-size: 0.78rem; font-weight: 600; border-radius: 9999px; text-decoration: none; transition: all 0.2s; }
.hu-single-cat:hover { background: var(--hu-primary); color: #fff; }

/* Meta satırı */
.hu-single-head .hu-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.125rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--hu-border); }
.hu-meta-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.hu-meta-item svg { opacity: 0.55; }
.hu-meta-item a { color: var(--hu-text-muted); text-decoration: none; font-weight: 500; }
.hu-meta-item a:hover { color: var(--hu-primary); }

/* Kapak 16:9 */
.hu-single-cover { margin-bottom: 2rem; border-radius: var(--hu-radius); overflow: hidden; box-shadow: 0 10px 25px rgba(15,23,42,0.08); }
.hu-single-cover img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }

/* İçerik tipografi */
.hu-single-content h2 { font-size: 1.375rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--hu-secondary); }
.hu-single-content h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.hu-single-content ul, .hu-single-content ol { margin: 0.5rem 0 1rem 1.5rem; line-height: 1.8; }
.hu-single-content li { margin-bottom: 0.25rem; }
.hu-single-content img { border-radius: var(--hu-radius-sm); margin: 1rem 0; height: auto; }
.hu-single-content a { color: var(--hu-primary); text-decoration: none; font-weight: 500; }
.hu-single-content a:hover { text-decoration: underline; }
.hu-single-content blockquote { border-left: 4px solid var(--hu-primary); padding: 0.75rem 1.25rem; margin: 1.25rem 0; background: var(--hu-bg-soft); border-radius: 0 var(--hu-radius-sm) var(--hu-radius-sm) 0; color: var(--hu-text-muted); font-style: italic; }
.hu-single-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.hu-single-content th, .hu-single-content td { padding: 0.625rem 0.875rem; border: 1px solid var(--hu-border); text-align: left; }
.hu-single-content th { background: var(--hu-bg-soft); font-weight: 600; color: var(--hu-secondary); }

/* Etiketler */
.hu-single-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-top: 1.5rem; margin-top: 2rem; border-top: 2px solid var(--hu-border); }
.hu-tags-label { font-size: 0.875rem; font-weight: 700; color: var(--hu-secondary); }
.hu-tag { display: inline-block; padding: 0.25rem 0.75rem; background: #fff; color: var(--hu-text-muted); font-size: 0.78rem; border: 1px solid var(--hu-border); border-radius: 9999px; text-decoration: none; transition: all 0.2s; }
.hu-tag:hover { background: rgba(225,29,72,0.08); color: var(--hu-primary); border-color: var(--hu-primary); }

/* Önceki / Sonraki */
.hu-single-nav { display: flex; gap: 1rem; margin-top: 2rem; }
.hu-single-nav-link { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-sm); text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,0.05); transition: all 0.2s; }
.hu-single-nav-link:hover { border-color: var(--hu-primary); box-shadow: 0 4px 12px rgba(225,29,72,0.12); }
.hu-single-nav-next { text-align: right; }
.hu-single-nav-label { font-size: 0.72rem; font-weight: 700; color: var(--hu-primary); text-transform: uppercase; letter-spacing: 0.04em; }
.hu-single-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--hu-text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hu-single-nav-spacer { flex: 1; }

/* Haber carousel ek */
.hu-news-carousel-section .hu-carousel-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }

@media (max-width: 640px) {
        .hu-single-nav { flex-direction: column; }
        .hu-single-head .hu-single-meta { gap: 0.625rem; font-size: 0.8rem; }
}
