/* Ana sayfa v2 — yalnızca anasayfada yüklenir (pages/home.php) */

/* ---------- Renk tonları: içerik türüne göre ---------- */
.hx-tone-amber { --tone: #e8a317; --tone-2: #f97316; }
.hx-tone-violet { --tone: #a855f7; --tone-2: #ec4899; }
.hx-tone-cyan { --tone: #06b6d4; --tone-2: #22c55e; }
/* Sözlük tonu: sitenin sıcak paletine uyan adaçayı yeşili */
.hx-tone-teal { --tone: #6b9080; --tone-2: #4f7a68; }
:root { --hx-sage-ink: #8fb5a5; }
[data-theme="light"] { --hx-sage-ink: #4a7262; }
.hx-tone-coral { --tone: #f43f5e; --tone-2: #f97316; }
.hx-tone-indigo { --tone: #6366f1; --tone-2: #8b5cf6; }

body.home-v2 { overflow-x: hidden; }

/* ---------- Kaydırınca beliren içerik ---------- */
.hx-js .hx-reveal > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-js .hx-reveal.is-in > * { opacity: 1; transform: none; }
.hx-js .hx-reveal.is-in > *:nth-child(2) { transition-delay: 0.06s; }
.hx-js .hx-reveal.is-in > *:nth-child(3) { transition-delay: 0.12s; }
.hx-js .hx-reveal.is-in > *:nth-child(4) { transition-delay: 0.18s; }
.hx-js .hx-reveal.is-in > *:nth-child(5) { transition-delay: 0.24s; }
.hx-js .hx-reveal.is-in > *:nth-child(n+6) { transition-delay: 0.3s; }

/* ---------- Bölüm başlığı ---------- */
.hx-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    margin: 0 0 1.75rem;
}
.hx-head-text { min-width: 0; max-width: 40rem; }
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tone);
}
.hx-eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 20%, transparent);
}
.hx-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.hx-desc { margin: 0.5rem 0 0; font-size: 1rem; color: var(--text-secondary); }
.hx-head-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1px solid color-mix(in srgb, var(--tone) 45%, var(--border-card));
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hx-head-link:hover { background: var(--tone); color: #fff; transform: translateX(2px); }

/* ---------- Bölüm zeminleri ---------- */
.hx-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.hx-section--soft { background: var(--bg-secondary); }
.hx-band {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
    overflow: hidden;
    isolation: isolate;
}
.hx-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 0% 0%, color-mix(in srgb, var(--band-1) 26%, transparent), transparent 70%),
        radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, var(--band-2) 22%, transparent), transparent 70%),
        var(--bg-secondary);
}
.hx-band--violet { --band-1: #a855f7; --band-2: #ec4899; }
.hx-band--cyan { --band-1: #06b6d4; --band-2: #22c55e; }
.hx-band--indigo { --band-1: #6366f1; --band-2: #ec4899; }

/* ---------- Gündem anketi: ana sayfadan oy verilir ---------- */
.hx-poll {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
.hx-poll--solo { grid-template-columns: minmax(0, 1fr); max-width: 60rem; }
.hx-poll-main {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, #6366f1 30%, var(--border-card));
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.hx-poll-media {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1, #ec4899);
}
.hx-poll-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hx-poll-main:hover .hx-poll-media img { transform: scale(1.04); }
.hx-poll-media--empty { display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); font-size: 3rem; }
.hx-poll-badge {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 14, 12, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}
.hx-poll-badge i { color: #a5b4fc; }
.hx-poll-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.35rem 1.4rem 1.25rem;
    min-width: 0;
    height: 100%;
}
.hx-poll-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}
.hx-poll-title:hover { color: #a5b4fc; }
[data-theme="light"] .hx-poll-title:hover { color: #4f46e5; }
/* Ana sayfada kutu kartın içine oturur: çerçeve ve zemin kartın kendisinden gelir. */
.hx-poll-box.poll-box { padding: 0; border: 0; border-radius: 0; background: none; }
.hx-poll-box .poll-question {
    margin: 0 0 0.75rem;
    font-family: var(--font-main);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.hx-poll-box .poll-options { gap: 0.5rem; }
.hx-poll-box .poll-option { min-height: 2.85rem; padding: 0.6rem 0.85rem; font-size: 0.93rem; }
.hx-poll-box .poll-note { margin-top: 0.75rem; font-size: 0.82rem; }
.hx-poll-more {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
}
[data-theme="light"] .hx-poll-more { color: #4f46e5; }
.hx-poll-more:hover { text-decoration: underline; }

.hx-poll-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
}
.hx-poll-list-head {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hx-poll-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1 auto;
    padding: 0.7rem;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.hx-poll-item:hover { border-color: #6366f1; transform: translateX(3px); }
.hx-poll-item-thumb {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
}
.hx-poll-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hx-poll-item-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; flex: 1; }
.hx-poll-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}
.hx-poll-item-meta { font-size: 0.78rem; color: var(--text-muted); }
.hx-poll-item-meta i { color: #818cf8; margin-right: 0.2rem; }
.hx-poll-item-arrow { flex-shrink: 0; font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 1023px) {
    .hx-poll { grid-template-columns: minmax(0, 1fr); }
    .hx-poll-main,
    .hx-poll-list { height: auto; }
    .hx-poll-item { flex: 0 0 auto; }
}
@media (max-width: 680px) {
    .hx-poll-main { grid-template-columns: minmax(0, 1fr); }
    .hx-poll-media { min-height: 0; aspect-ratio: 16 / 9; }
    .hx-poll-body { padding: 1.1rem 1rem 1rem; }
}

/* ---------- Hero ---------- */
.hx-hero {
    position: relative;
    padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    isolation: isolate;
}
.hx-hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.45;
    animation: hx-float 14s ease-in-out infinite alternate;
}
.hx-orb--amber { width: 32rem; height: 32rem; top: -14rem; left: -4rem; background: #e8a317; opacity: 0.3; }
.hx-orb--violet { width: 26rem; height: 26rem; top: 6rem; right: -6rem; background: #a855f7; animation-delay: -4s; opacity: 0.32; }
.hx-orb--cyan { width: 20rem; height: 20rem; bottom: -10rem; left: 40%; background: #06b6d4; animation-delay: -8s; opacity: 0.25; }
[data-theme="light"] .hx-orb { opacity: 0.22; }
[data-theme="light"] .hx-orb--violet { opacity: 0.16; }
[data-theme="light"] .hx-orb--cyan { opacity: 0.14; }
@keyframes hx-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
}
.hx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}
.hx-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.1rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 70%, transparent);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.hx-live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: hx-pulse 2s infinite;
}
@keyframes hx-pulse {
    70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hx-hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.4vw, 5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}
.hx-hero-title em {
    font-style: italic;
    background: linear-gradient(100deg, #e8a317 0%, #f97316 45%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hx-hero-rotator {
    margin: 1.1rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    color: var(--text-primary);
}
.hx-rotator {
    display: inline-block;
    padding: 0 0.15em;
    color: var(--accent);
    font-style: italic;
    border-bottom: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.hx-rotator.is-out { opacity: 0; transform: translateY(-0.4em); }
.hx-hero-lead {
    max-width: 34rem;
    margin: 0.9rem 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.hx-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 34rem;
    margin: 1.6rem 0 0;
    padding: 0.4rem 0.4rem 0.4rem 1.1rem;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    background: var(--bg-card);
    box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hx-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 14px 40px -24px rgba(0, 0, 0, 0.6);
}
.hx-search > i { color: var(--text-muted); }
.hx-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
}
.hx-search-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    color: var(--ink-on-accent);
    font-weight: 700;
    cursor: pointer;
}
.hx-search-btn:hover { background: var(--accent-hover); }
.hx-hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.hx-surprise,
.hx-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hx-surprise {
    color: #fff;
    background: linear-gradient(110deg, #a855f7, #ec4899 55%, #f97316);
    box-shadow: 0 10px 28px -12px rgba(236, 72, 153, 0.7);
}
.hx-surprise:hover { color: #fff; transform: translateY(-2px) rotate(-1deg); }
.hx-surprise:hover i { animation: hx-dice 0.6s ease; }
@keyframes hx-dice { to { transform: rotate(360deg); } }
.hx-ghost-btn {
    border: 1px solid var(--border-card);
    background: color-mix(in srgb, var(--bg-card) 70%, transparent);
    color: var(--text-primary);
}
.hx-ghost-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Hero mozaiği */
.hx-hero-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(15rem, 1.25fr) minmax(11rem, 1fr) auto;
    gap: 0.85rem;
}
.hx-bento-main { grid-column: 1 / -1; }
.hx-fact {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid color-mix(in srgb, var(--tone) 40%, var(--border-card));
    border-radius: 1rem;
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
        var(--bg-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.hx-fact:hover { transform: translateY(-3px); border-color: var(--tone); }
.hx-fact-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone); }
.hx-fact-term { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.hx-fact-text { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }

/* ---------- Görselli kart (tile) ---------- */
.hx-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 12rem;
    overflow: hidden;
    border-radius: 1.1rem;
    background: var(--bg-elevated);
    color: #fff;
    isolation: isolate;
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.8);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.hx-tile:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--tone) 70%, #000); }
/*
 * Görsel katmanı kartın kenarından 1px içeride ve kendi köşesi yuvarlak: yuvarlak köşede
 * görsel ile karartma katmanının yarı saydam kenar pikselleri üst üste binip açık renkli
 * (beyaz zeminli görsellerde beyaz) bir çizgi oluşturuyordu.
 */
.hx-tile-media { position: absolute; inset: 1px; z-index: -2; overflow: hidden; border-radius: calc(1.1rem - 1px); }
.hx-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-tile:hover .hx-tile-media img { transform: scale(1.06); }
.hx-tile-media--empty {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 70%, #111), color-mix(in srgb, var(--tone-2) 60%, #111));
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.35);
}
.hx-tile-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 8, 6, 0) 25%, rgba(10, 8, 6, 0.55) 55%, rgba(10, 8, 6, 0.92) 100%);
}
.hx-tile-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 1.6rem);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--tone), var(--tone-2));
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6);
}
.hx-tile-body { display: grid; gap: 0.3rem; padding: 1rem 1.1rem 1.1rem; }
.hx-tile-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 70%, #fff); }
.hx-tile-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hx-tile-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hx-tile-meta { font-size: 0.76rem; color: rgba(255, 255, 255, 0.7); }
.hx-tile-cta {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    transform: translateY(-4px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.hx-tile:hover .hx-tile-cta,
.hx-tile:focus-visible .hx-tile-cta { opacity: 1; transform: none; }
.hx-bento-main .hx-tile-title,
.hx-magazine-lead .hx-tile-title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }

/* ---------- Kayan kategori şeridi ---------- */
.hx-ticker {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: var(--bg-secondary);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hx-ticker-track { display: flex; width: max-content; animation: hx-marquee 60s linear infinite; }
.hx-ticker:hover .hx-ticker-track { animation-play-state: paused; }
.hx-ticker-group { display: flex; gap: 0.6rem; padding: 0.85rem 0.3rem; }
.hx-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    background: var(--bg-card);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.hx-ticker-item i { color: var(--accent); }
.hx-ticker-item:hover { border-color: var(--accent); color: var(--accent); }
.hx-ticker-count {
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: var(--accent-soft);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
}
@keyframes hx-marquee { to { transform: translateX(-50%); } }

/* ---------- İstatistikler ---------- */
.hx-stats { padding: 1.5rem 0 0.5rem; }
.hx-stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.hx-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-card);
    border-radius: 1rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--tone) 14%, transparent), transparent 65%),
        var(--bg-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
a.hx-stat:hover { transform: translateY(-3px); border-color: var(--tone); }
.hx-stat strong {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(100deg, var(--tone), var(--tone-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}
.hx-stat-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 22px -12px var(--tone);
    transition: transform 0.25s ease;
}
a.hx-stat:hover .hx-stat-icon { transform: rotate(-8deg) scale(1.06); }
.hx-stat-text { display: grid; gap: 0.05rem; min-width: 0; }
.hx-stat-text > span { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* ---------- Öne çıkanlar: dergi mozaiği ---------- */
.hx-magazine {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(14rem, 1fr));
    gap: 1rem;
}
.hx-magazine-lead { grid-column: span 2; grid-row: span 2; min-height: 30rem; }

/* ---------- Testler: yatay ray ---------- */
.hx-rail {
    display: grid;
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(13rem, 1fr));
    gap: 1rem;
}
.hx-rail-lead { grid-row: span 2; }

/* ---------- Popüler: büyük sıra numaraları ---------- */
/* Dönem seçici: kayan vurgu göstergeli hap biçimli segment */
.hx-pop-tabs {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    background: var(--bg-card);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
    isolation: isolate;
    max-width: 100%;
}
/* Başlığın içindeyken: masaüstünde sağda, başlıkla aynı hizada; dar ekranda alta sarılır. */
.hx-head .hx-pop-tabs { margin-bottom: 0; }
.hx-pop-tabs .data-segment {
    position: relative;
    z-index: 1;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.hx-pop-tabs .data-segment i { font-size: 0.85em; opacity: 0.75; transition: opacity 0.25s ease, transform 0.25s ease; }
.hx-pop-tabs .data-segment:hover { background: transparent; color: var(--text-primary); }
.hx-pop-tabs .data-segment.active,
.hx-pop-tabs .data-segment.active:hover { background: transparent; color: #fff; }
.hx-pop-tabs .data-segment.active i { opacity: 1; transform: scale(1.1); }
.hx-pop-tabs .data-segment:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }
.hx-pop-indicator {
    position: absolute;
    z-index: 0;
    top: 0.3rem;
    left: 0;
    height: calc(100% - 0.6rem);
    width: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e, #f97316);
    box-shadow: 0 6px 18px -6px rgba(244, 63, 94, 0.65);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* JS gelmeden (veya kapalıyken) etkin sekme yine vurgulu görünsün. */
.hx-pop-tabs:not(.has-indicator) .hx-pop-indicator { display: none; }
.hx-pop-tabs:not(.has-indicator) .data-segment.active { background: linear-gradient(135deg, #f43f5e, #f97316); }
.hx-rank {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.hx-rank li:first-child { grid-row: span 4; }
.hx-rank-item {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-card);
    border-radius: 1rem;
    background: var(--bg-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.hx-rank-item:hover { transform: translateX(4px); border-color: #f43f5e; }
/* Yazının fotoğrafı arka planda soluk; soldan sağa açılan geçiş metni okunaklı tutar. */
.hx-rank-item { position: relative; overflow: hidden; isolation: isolate; }
.hx-rank-bg {
    position: absolute;
    inset: 1px;
    z-index: -2;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    object-fit: cover;
    border-radius: calc(1rem - 1px);
    opacity: 0.5;
    transition: opacity 0.35s ease, transform 0.6s ease;
}
.hx-rank-item:has(.hx-rank-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--bg-card) 0%, color-mix(in srgb, var(--bg-card) 70%, transparent) 40%, color-mix(in srgb, var(--bg-card) 15%, transparent) 100%);
}
.hx-rank-item:hover .hx-rank-bg { opacity: 0.68; transform: scale(1.05); }
[data-theme="light"] .hx-rank-bg { opacity: 0.4; }
[data-theme="light"] .hx-rank-item:hover .hx-rank-bg { opacity: 0.55; }
.hx-rank-no {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(160deg, #f43f5e, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-width: 3.2rem;
}
.hx-rank-thumb {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    overflow: hidden;
    border-radius: 0.8rem;
    background: var(--bg-elevated);
    color: var(--text-muted);
}
.hx-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hx-rank-body { display: grid; gap: 0.25rem; min-width: 0; }
.hx-rank-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #f43f5e; }
.hx-rank-title { font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--text-primary); }
.hx-rank-views { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.hx-rank li:first-child .hx-rank-item { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-content: start; }
.hx-rank li:first-child .hx-rank-no { font-size: 4.5rem; grid-row: 1; }
.hx-rank li:first-child .hx-rank-thumb { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.hx-rank li:first-child .hx-rank-body { grid-column: 1 / -1; }
.hx-rank li:first-child .hx-rank-title { font-size: 1.35rem; }
.hx-rank li:first-child .hx-rank-views { grid-column: 1 / -1; }
.hx-rank li:first-child .hx-rank-no { grid-column: 1 / -1; }

/* ---------- Oyunlar: atari ızgarası ---------- */
.hx-arcade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.hx-arcade-item { aspect-ratio: 3 / 4; min-height: 0; }
.hx-arcade-item .hx-tile-cta { opacity: 1; transform: none; top: auto; bottom: 1rem; right: 1rem; }
.hx-arcade-item .hx-tile-body { padding-right: 5rem; }

/* ---------- Sözlük: çevrilebilir kartlar ---------- */
.hx-flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem 1rem; }
.hx-flip { display: grid; gap: 0.35rem; perspective: 1000px; }
.hx-flip-inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 8rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1);
    text-align: left;
}
.hx-flip.is-flipped .hx-flip-inner { transform: rotateY(180deg); }
.hx-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.9rem 1.05rem;
    border-radius: 1rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* Ön yüz: harf rozeti başlığın solunda, ipucu altta — kart daha alçak kalır. */
.hx-flip-front {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0.5rem;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hx-flip-front .hx-flip-hint { grid-column: 1 / -1; }
.hx-flip:hover .hx-flip-front {
    border-color: color-mix(in srgb, var(--sage) 55%, var(--border-card));
    box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.6);
}
.hx-flip-back {
    transform: rotateY(180deg);
    justify-content: center;
    background: linear-gradient(140deg, #5a7d6e 0%, #3e5a4f 100%);
    color: #f5f0e8;
}
.hx-flip-letter {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--sage) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--sage) 35%, transparent);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hx-sage-ink);
}
.hx-flip-term {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.22;
    color: var(--text-primary);
}
.hx-flip-hint { font-size: 0.78rem; font-weight: 600; color: var(--hx-sage-ink); }
.hx-flip-text { font-size: 0.88rem; line-height: 1.5; }
.hx-flip-more { justify-self: start; font-size: 0.85rem; font-weight: 600; color: var(--hx-sage-ink); }
.hx-flip-more:hover { color: var(--accent); }
.hx-flip-inner:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 1rem; }

/* ---------- Son yazılar: kart ızgarası ---------- */
.hx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hx-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-card);
    border-radius: 1.1rem;
    background: var(--bg-card);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hx-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.7); }
.hx-card-media { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-elevated); color: var(--text-muted); font-size: 2rem; }
.hx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hx-card:hover .hx-card-media img { transform: scale(1.05); }
/* Gövde kartın kalan yüksekliğini doldurur; tarih/okuma süresi her kartta en altta hizalanır. */
.hx-card-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.45rem; padding: 1rem 1.1rem 1.15rem; }
.hx-card-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.hx-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--text-primary); }
.hx-card-text { font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); }
.hx-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}
.hx-card-views { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.hx-card-views i { font-size: 0.9em; opacity: 0.8; }

/* ---------- Kategoriler: görselli mozaik ---------- */
.hx-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.85rem; }
.hx-cat {
    position: relative;
    display: grid;
    align-content: end;
    gap: 0.15rem;
    min-height: 8.5rem;
    padding: 0.9rem;
    overflow: hidden;
    border-radius: 1rem;
    /* Görsel yüklenemezse görünen nötr zemin (görsel kenarlarından renk sızmasın). */
    background: #1f1b18;
    color: #fff;
    isolation: isolate;
    transition: transform 0.3s ease;
}
.hx-cat:hover { color: #fff; transform: translateY(-3px) scale(1.01); }
.hx-cat-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hx-cat:hover .hx-cat-img { transform: scale(1.08); }
.hx-cat-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 6, 0.1), rgba(10, 8, 6, 0.85)); }
.hx-cat-icon {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
}
.hx-cat-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.hx-cat-count { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Astroloji & tarot: yıldızlı gece ---------- */
.hx-night {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(70% 90% at 15% 0%, rgba(99, 102, 241, 0.45), transparent 65%),
        radial-gradient(60% 80% at 100% 100%, rgba(168, 85, 247, 0.35), transparent 65%),
        #0d0b1f;
    color: #ede9fe;
}
.hx-stars {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent 60%),
        radial-gradient(1px 1px at 25% 70%, #fff, transparent 60%),
        radial-gradient(1.5px 1.5px at 40% 35%, #c7d2fe, transparent 60%),
        radial-gradient(1px 1px at 55% 80%, #fff, transparent 60%),
        radial-gradient(2px 2px at 70% 15%, #fde68a, transparent 60%),
        radial-gradient(1px 1px at 82% 55%, #fff, transparent 60%),
        radial-gradient(1.5px 1.5px at 92% 30%, #ddd6fe, transparent 60%),
        radial-gradient(1px 1px at 5% 90%, #fff, transparent 60%),
        radial-gradient(1px 1px at 65% 45%, #fff, transparent 60%),
        radial-gradient(1.5px 1.5px at 33% 8%, #fff, transparent 60%);
    background-size: 600px 400px;
    opacity: 0.7;
    animation: hx-twinkle 6s ease-in-out infinite alternate;
}
@keyframes hx-twinkle { from { opacity: 0.45; } to { opacity: 0.85; } }
.hx-night .hx-title { color: #fff; }
.hx-night .hx-desc { color: #c4b5fd; }
.hx-night .hx-eyebrow { color: #a5b4fc; }
.hx-night .hx-head-link { color: #fff; border-color: rgba(165, 180, 252, 0.45); }
.hx-night-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; }
.hx-night-panel {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid rgba(165, 180, 252, 0.22);
    border-radius: 1.25rem;
    background: rgba(15, 12, 41, 0.55);
    backdrop-filter: blur(8px);
}
.hx-sky-now {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.18));
}
.hx-sky-moon { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 0 12px rgba(253, 230, 138, 0.5)); }
.hx-sky-now-text { display: grid; gap: 0.15rem; min-width: 0; }
.hx-sky-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a5b4fc; }
.hx-sky-now-text strong { font-family: var(--font-display); font-size: 1.25rem; color: #fff; }
.hx-sky-facts { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; font-size: 0.85rem; color: #ddd6fe; }
.hx-night-sub { margin: 0.2rem 0 0; font-size: 0.85rem; font-weight: 600; color: #c4b5fd; }
.hx-zodiac { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; }
.hx-zodiac-item {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.7rem 0.25rem 0.6rem;
    border: 1px solid rgba(165, 180, 252, 0.18);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    color: #ede9fe;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hx-zodiac-item:hover { color: #fff; transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); border-color: var(--el); }
.hx-zodiac-symbol { font-size: 1.5rem; line-height: 1; color: var(--el); text-shadow: 0 0 14px color-mix(in srgb, var(--el) 60%, transparent); }
.hx-zodiac-name { font-size: 0.74rem; font-weight: 600; }
.hx-zodiac-item.is-season { border-color: var(--el); background: color-mix(in srgb, var(--el) 22%, transparent); }
.hx-el-fire { --el: #fb923c; }
.hx-el-earth { --el: #a3e635; }
.hx-el-air { --el: #7dd3fc; }
.hx-el-water { --el: #a5b4fc; }
.hx-night-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hx-night-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(165, 180, 252, 0.28);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e0e7ff;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.hx-night-pill:hover { color: #fff; background: rgba(165, 180, 252, 0.16); border-color: #a5b4fc; }
.hx-night-pill--accent { border: 0; background: linear-gradient(120deg, #f59e0b, #ec4899); color: #fff; }
.hx-night-pill--accent:hover { background: linear-gradient(120deg, #fbbf24, #f472b6); }
.hx-tarot-fan {
    --tarot-card-ratio: 2 / 3;
    position: relative;
    height: 9.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hx-tarot-fan-card {
    position: absolute;
    bottom: 0;
    width: 5.6rem;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hx-tarot-fan-card .tarot-card-face { position: absolute; inset: 0; }
/* Gerçek kart çizimleri: klasik tarot oranı; ön yüz çevirme kartı dışında düz gösterilir. */
.hx-tarot-fan--faces { --tarot-card-ratio: 32 / 55; height: 11rem; }
.hx-tarot-fan--faces .hx-tarot-fan-card { width: 5.7rem; aspect-ratio: 32 / 55; border-radius: 8px; box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(253, 230, 138, 0.25); }
.hx-tarot-fan--faces .tarot-card-front { transform: none; border-radius: 8px; }
.hx-tarot-fan--faces .hx-tarot-fan-card:nth-child(1),
.hx-tarot-fan--faces .hx-tarot-fan-card:nth-child(3) { filter: brightness(0.86); }
.hx-night-panel--tarot:hover .hx-tarot-fan--faces .hx-tarot-fan-card { filter: none; }
.hx-tarot-fan-card:nth-child(1) { transform: translateX(-3.3rem) rotate(-14deg); }
.hx-tarot-fan-card:nth-child(2) { transform: translateY(-0.6rem); z-index: 2; }
.hx-tarot-fan-card:nth-child(3) { transform: translateX(3.3rem) rotate(14deg); }
.hx-night-panel--tarot:hover .hx-tarot-fan-card:nth-child(1) { transform: translateX(-4.4rem) rotate(-20deg); }
.hx-night-panel--tarot:hover .hx-tarot-fan-card:nth-child(2) { transform: translateY(-1.4rem); }
.hx-night-panel--tarot:hover .hx-tarot-fan-card:nth-child(3) { transform: translateX(4.4rem) rotate(20deg); }
.hx-tarot-title { margin: 0; text-align: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.hx-tarot-spreads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.hx-tarot-spread {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(253, 230, 138, 0.22);
    border-radius: 0.9rem;
    background: rgba(253, 230, 138, 0.05);
    color: #fef3c7;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hx-tarot-spread:hover { color: #fff; transform: translateY(-2px); border-color: #fbbf24; background: rgba(253, 230, 138, 0.12); }
.hx-tarot-spread > i { color: #fbbf24; font-size: 1.1rem; }
.hx-tarot-spread-body { display: grid; min-width: 0; }
.hx-tarot-spread-body strong { font-size: 0.9rem; }
.hx-tarot-spread-body span { font-size: 0.75rem; color: #fcd34d; opacity: 0.8; }

/* ---------- Güncel özet ---------- */
.hx-live { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; }
.hx-weather {
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 1.2rem;
    min-height: 19rem;
    padding: 1.4rem 1.5rem;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #fff;
    isolation: isolate;
    box-shadow: 0 24px 50px -30px rgba(14, 116, 144, 0.9);
    transition: transform 0.3s ease;
}
.hx-weather:hover { color: #fff; transform: translateY(-3px); }
.hx-weather-sky {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(40% 50% at 85% 15%, rgba(253, 224, 71, 0.55), transparent 70%),
        linear-gradient(160deg, #0ea5e9 0%, #2563eb 55%, #1e3a8a 100%);
}
.hx-weather-top { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; }
.hx-weather-place { font-weight: 700; }
.hx-weather-updated { opacity: 0.8; font-size: 0.78rem; }
.hx-weather-main { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hx-weather-icon { font-size: 3.2rem; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25)); }
.hx-weather-temp { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 700; line-height: 1; }
.hx-weather-desc { display: grid; gap: 0.15rem; font-size: 0.9rem; }
.hx-weather-desc strong { font-size: 1.1rem; }
.hx-weather-metrics { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.82rem; opacity: 0.92; }
.hx-weather-metrics i { opacity: 0.8; margin-right: 0.15rem; }
.hx-weather-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.hx-weather-day {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.3rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    font-size: 0.76rem;
    text-align: center;
}
.hx-weather-day i { font-size: 1.1rem; }
.hx-weather-day strong { font-size: 0.8rem; }
.hx-live-side { display: grid; gap: 1rem; align-content: start; }
.hx-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.hx-city {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    padding: 0.8rem 0.5rem;
    border: 1px solid var(--border-card);
    border-radius: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.hx-city:hover { transform: translateY(-2px); border-color: #0ea5e9; color: var(--text-primary); }
.hx-city i { font-size: 1.25rem; color: #0ea5e9; }
.hx-city span { font-size: 0.82rem; color: var(--text-secondary); }
.hx-city strong { font-family: var(--font-display); font-size: 1.35rem; }
.hx-market {
    display: grid;
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--border-card);
    border-radius: 1.25rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}
.hx-market:hover { border-color: #22c55e; color: var(--text-primary); }
.hx-market-head { display: flex; justify-content: space-between; gap: 0.75rem; font-weight: 700; }
.hx-market-head i { color: #22c55e; }
.hx-market-updated { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }
.hx-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.hx-market-item {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 0.15rem;
    padding: 0.8rem 3.15rem 0.8rem 0.9rem;
    border-radius: 0.9rem;
    background: var(--bg-elevated);
    border-left: 3px solid var(--border-card);
}
.hx-market-mark {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.14;
    pointer-events: none;
}
.hx-market-item.is-up { border-left-color: #22c55e; }
.hx-market-item.is-down { border-left-color: #ef4444; }
.hx-market-label { font-size: 0.78rem; color: var(--text-secondary); }
.hx-market-label i { color: var(--accent); margin-right: 0.15rem; }
.hx-market-value { font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.hx-market-meta { font-size: 0.74rem; color: var(--text-muted); }
.hx-market-item.is-up .hx-market-meta { color: #16a34a; font-weight: 700; }
.hx-market-item.is-down .hx-market-meta { color: #ef4444; font-weight: 700; }
.hx-market-empty { font-size: 0.9rem; color: var(--text-secondary); }

/* ---------- Günün köşesi ---------- */
.hx-daily {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "apod apod" "otd sport";
    gap: 1.25rem;
}
.hx-apod {
    grid-area: apod;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(18rem, 34vw, 26rem);
    overflow: hidden;
    border-radius: 1.4rem;
    background: radial-gradient(circle at 30% 30%, #312e81, #020617 70%);
    color: #fff;
    isolation: isolate;
}
.hx-apod:hover { color: #fff; }
.hx-apod-img { position: absolute; inset: 1px; z-index: -2; width: calc(100% - 2px); height: calc(100% - 2px); object-fit: cover; border-radius: calc(1.4rem - 1px); transition: transform 8s ease; }
.hx-apod:hover .hx-apod-img { transform: scale(1.08); }
.hx-apod-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.45) 55%, rgba(2, 6, 23, 0.1) 100%); }
.hx-apod-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
}
.hx-apod-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    transform: translate(-50%, -50%);
}
.hx-apod-body { display: grid; gap: 0.5rem; max-width: 40rem; padding: clamp(1.25rem, 3vw, 2rem); }
.hx-apod-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.1; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }
.hx-apod-text { font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.hx-apod-more { font-size: 0.85rem; font-weight: 700; color: #a5b4fc; }
.hx-otd,
.hx-sport {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border-card);
    border-radius: 1.25rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.hx-otd { grid-area: otd; grid-template-rows: auto auto 1fr; }
.hx-otd-foot {
    display: grid;
    gap: 0.7rem;
    align-self: end;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--border-card);
}
.hx-otd-stats { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hx-otd-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.hx-otd-stat i { color: #f59e0b; }
.hx-otd-stat strong { color: var(--text-primary); }
.hx-otd-more { font-size: 0.85rem; font-weight: 700; color: #f59e0b; }
@media (min-width: 961px) {
    .hx-otd-foot {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem 1rem;
    }
    .hx-otd-stats { flex-wrap: nowrap; min-width: 0; }
    .hx-otd-more { flex-shrink: 0; margin-left: auto; white-space: nowrap; }
}
.hx-sport { grid-area: sport; }
.hx-otd:hover { border-color: #f59e0b; color: var(--text-primary); }
.hx-sport:hover { border-color: #22c55e; color: var(--text-primary); }
.hx-panel-head { display: flex; align-items: center; gap: 0.75rem; }
.hx-panel-head > span:last-child { display: grid; }
.hx-panel-head strong { font-family: var(--font-display); font-size: 1.15rem; }
.hx-panel-head > span:last-child > span { font-size: 0.8rem; color: var(--text-muted); }
.hx-panel-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; color: #fff; }
.hx-panel-icon--otd { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hx-panel-icon--sport { background: linear-gradient(135deg, #22c55e, #0d9488); }
.hx-panel-empty { font-size: 0.9rem; color: var(--text-secondary); }
.hx-timeline { position: relative; display: grid; gap: 0.85rem; margin: 0; padding: 0 0 0 0.2rem; list-style: none; }
.hx-timeline::before {
    content: '';
    position: absolute;
    top: 0.4rem;
    bottom: 0.4rem;
    left: 1.95rem;
    width: 2px;
    background: linear-gradient(180deg, #f59e0b, #ef4444);
    opacity: 0.4;
}
.hx-timeline-item { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.hx-timeline-item--photo { grid-template-columns: 3.6rem minmax(0, 1fr) 2.5rem; }
.hx-timeline-media {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.55rem;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--border-card);
}
.hx-timeline-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hx-timeline-year {
    position: relative;
    z-index: 1;
    padding: 0.25rem 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.hx-timeline-body { display: grid; gap: 0.1rem; }
.hx-timeline-kind { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #f59e0b; }
.hx-timeline-text { font-size: 0.9rem; line-height: 1.45; color: var(--text-secondary); }
.hx-sport-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hx-sport-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.8rem;
    background: var(--bg-elevated);
}
.hx-sport-row.is-lead { background: linear-gradient(120deg, rgba(34, 197, 94, 0.18), transparent 70%), var(--bg-elevated); }
.hx-sport-crest { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: var(--text-muted); }
.hx-sport-crest img { width: 100%; height: 100%; object-fit: contain; }
.hx-sport-body { display: grid; min-width: 0; }
.hx-sport-body strong { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-sport-body span { font-size: 0.76rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Keşfet ---------- */
.hx-explore { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 0.85rem; }
.hx-explore-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--border-card);
    border-radius: 1.1rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--tone) 12%, transparent), transparent 60%),
        var(--bg-card);
    color: var(--text-primary);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.hx-explore-item:hover { transform: translateY(-3px); border-color: var(--tone); color: var(--text-primary); }
.hx-explore-icon {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px -10px var(--tone);
}
.hx-explore-body { display: grid; gap: 0.2rem; min-width: 0; }
.hx-explore-title { font-weight: 700; }
.hx-explore-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--tone);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hx-explore-hint .hx-live-dot { flex-shrink: 0; width: 0.4rem; height: 0.4rem; }
.hx-explore-desc { font-size: 0.8rem; color: var(--text-muted); }
.hx-explore-arrow { color: var(--text-muted); transition: transform 0.2s ease, color 0.2s ease; }
.hx-explore-item:hover .hx-explore-arrow { color: var(--tone); transform: translateX(3px); }

@media (max-width: 960px) {
    .hx-night-grid,
    .hx-live { grid-template-columns: minmax(0, 1fr); }
    .hx-daily { grid-template-columns: minmax(0, 1fr); grid-template-areas: "apod" "otd" "sport"; }
}
@media (max-width: 640px) {
    .hx-zodiac { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hx-tarot-spreads { grid-template-columns: minmax(0, 1fr); }
    .hx-weather-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-weather-icon { font-size: 2.4rem; }
    .hx-market-grid { grid-template-columns: minmax(0, 1fr); }
    .hx-apod-shade { background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 20%, rgba(2, 6, 23, 0.9) 100%); }
    .hx-apod-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-stars { animation: none; }
    .hx-apod-img,
    .hx-tarot-fan-card { transition: none; }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1100px) {
    .hx-arcade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hx-stat { padding: 0.85rem 0.9rem; gap: 0.7rem; }
    .hx-stat-icon { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}
@media (max-width: 960px) {
    .hx-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hx-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hx-magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .hx-magazine-lead { grid-column: 1 / -1; grid-row: auto; min-height: 22rem; }
    .hx-magazine-item { min-height: 13rem; }
    .hx-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .hx-rail-lead { grid-column: 1 / -1; grid-row: auto; min-height: 18rem; }
    .hx-rail-item { min-height: 13rem; }
    .hx-rank { grid-template-columns: minmax(0, 1fr); }
    .hx-rank li:first-child { grid-row: auto; }
    .hx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hx-hero-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .hx-bento-main { min-height: 17rem; }
    .hx-bento-side { min-height: 11rem; }
    .hx-search-btn { padding: 0.65rem 1rem; }
    /* Üç buton telefonda her zaman tek satırda, eşit genişlikte */
    .hx-hero-actions { flex-wrap: nowrap; gap: 0.4rem; }
    .hx-hero-actions > a {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.65rem 0.4rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .hx-hero-actions > a i { font-size: 0.85rem; }
    .hx-stats { padding-top: 1rem; }
    .hx-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
    .hx-stats-grid .hx-stat:last-child { grid-column: 1 / -1; justify-content: center; }
    .hx-stat { gap: 0.65rem; padding: 0.7rem 0.8rem; border-radius: 0.9rem; }
    .hx-stat-icon { width: 2.3rem; height: 2.3rem; border-radius: 0.7rem; font-size: 0.95rem; }
    .hx-stat strong { font-size: 1.35rem; }
    .hx-stat-text > span { font-size: 0.78rem; }
    .hx-magazine,
    .hx-rail,
    .hx-cards,
    .hx-flips { grid-template-columns: minmax(0, 1fr); }
    .hx-flip-inner { min-height: 8.75rem; }
    .hx-arcade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-arcade-item .hx-tile-body { padding-right: 1.1rem; padding-bottom: 3.4rem; }
    .hx-arcade-item:nth-child(n+5) { display: none; }
    .hx-flips .hx-flip:nth-child(n+5) { display: none; }
    .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-cats .hx-cat:nth-child(n+7) { display: none; }
    .hx-rank-item { grid-template-columns: auto minmax(0, 1fr); }
    .hx-rank-thumb,
    .hx-rank-views { display: none; }
    .hx-rank li:first-child .hx-rank-thumb { display: grid; }
    .hx-rank-no { font-size: 2rem; min-width: 2.4rem; }
    .hx-head-link { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hx-orb,
    .hx-ticker-track,
    .hx-live-dot { animation: none; }
    .hx-ticker { overflow-x: auto; }
    .hx-js .hx-reveal > * { opacity: 1; transform: none; transition: none; }
    .hx-tile,
    .hx-tile-media img,
    .hx-flip-inner { transition: none; }
}
