/* ============================================================
   ZodiacTales — Daily Horoscope Pages
   Standalone CSS for /daily and /daily/{slug}
   
   Design system: dark bg (#0d0d0f), gold accent (#E8C547),
   warm grays, no single-side colored borders on rounded containers.
   ============================================================ */


/* ── QUICK-NAV BAR ── */

.dh-nav {
    background: #111114;
    border-bottom: 1px solid rgba(232, 197, 71, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}

.dh-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dh-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dh-nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    min-width: 56px;
    flex-shrink: 0;
}

.dh-nav-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.dh-nav-scroll::-webkit-scrollbar {
    display: none;
}

.dh-nav-sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    min-width: 54px;
    flex-shrink: 0;
}

.dh-nav-sign:hover {
    background: rgba(232, 197, 71, 0.1);
    color: #E8C547;
}

.dh-nav-sign--active {
    background: rgba(232, 197, 71, 0.18);
    color: #E8C547;
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.3);
}

.dh-nav-emoji {
    font-size: 1rem;
    line-height: 1;
}

.dh-nav-name {
    font-size: 0.6rem;
    font-weight: 500;
}

.dh-nav-score {
    font-size: 0.5rem;
    color: #E8C547;
    letter-spacing: -0.02em;
}


/* ── HERO CARD ── */

.dh-hero {
    padding: 40px 20px 30px;
    background: linear-gradient(180deg, #111114 0%, #0d0d0f 100%);
}

.dh-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.dh-breadcrumb {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.dh-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.dh-breadcrumb a:hover {
    color: #E8C547;
}

.dh-breadcrumb span {
    margin: 0 6px;
}

.dh-hero-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.dh-hero-icon {
    border-radius: 16px;
    background: rgba(232, 197, 71, 0.08);
    padding: 8px;
}

.dh-hero-emoji {
    font-size: 4rem;
    line-height: 1;
}

.dh-hero-text .dh-hero-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dh-hero-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.dh-hero-tier {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(232, 197, 71, 0.06);
    border: 1px solid rgba(232, 197, 71, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.dh-tier-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.dh-tier-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dh-tier-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #E8C547;
}

.dh-tier-stars {
    font-size: 0.9rem;
    color: #E8C547;
    letter-spacing: 0.05em;
}

.dh-tier-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.dh-hero-pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.dh-pillar-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

.dh-pillar-value {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.dh-pillar-meta {
    font-size: 0.75rem;
}


/* ── SIGNAL BREAKDOWN ── */

.dh-signals {
    padding: 20px;
    background: #0d0d0f;
}

.dh-signals-inner {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.dh-signal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    position: relative;
}

.dh-signal-card--lead {
    background: rgba(232, 197, 71, 0.08);
    border-color: rgba(232, 197, 71, 0.2);
}

.dh-signal-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.dh-signal-domain {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.dh-signal-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

.dh-signal-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #E8C547;
    color: #0d0d0f;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}


/* ── FULL READING ── */

.dh-reading {
    padding: 32px 20px;
    background: #0d0d0f;
}

.dh-reading-inner {
    max-width: 720px;
    margin: 0 auto;
}

.dh-reading-body {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 24px;
}

.dh-reading-body p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.dh-reading-body p:last-child {
    margin-bottom: 0;
}

.dh-reading-opening {
    font-size: 1.05rem;
}

.dh-reading-closing {
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}


/* ── BEST MOVE + WATCH OUT ── */

.dh-advice {
    padding: 0 20px 32px;
    background: #0d0d0f;
}

.dh-advice-inner {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dh-advice-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.dh-advice-card--best {
    border-color: rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.04);
}

.dh-advice-card--watch {
    border-color: rgba(255, 152, 0, 0.2);
    background: rgba(255, 152, 0, 0.04);
}

.dh-advice-icon {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 8px;
}

.dh-advice-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
}

.dh-advice-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}


/* ── COMPATIBILITY MATCH ── */

.dh-compat {
    padding: 0 20px 32px;
    background: #0d0d0f;
}

.dh-compat-inner {
    max-width: 720px;
    margin: 0 auto;
}

.dh-compat-inner h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 12px 0;
}

.dh-compat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dh-compat-card {
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.dh-compat-card--best {
    border-color: rgba(232, 197, 71, 0.2);
}

.dh-compat-card--avoid {
    border-color: rgba(255, 82, 82, 0.15);
}

.dh-compat-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
}

.dh-compat-card--best .dh-compat-name {
    color: #E8C547;
    font-size: 1.1rem;
    font-weight: 600;
}

.dh-compat-card--avoid .dh-compat-name {
    color: rgba(255, 82, 82, 0.8);
    font-size: 1.1rem;
    font-weight: 600;
}


/* ── TRAILING DAYS ── */

.dh-history {
    padding: 0 20px 32px;
    background: #0d0d0f;
}

.dh-history-inner {
    max-width: 720px;
    margin: 0 auto;
}

.dh-history-inner h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 12px 0;
}

.dh-history-day {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.dh-history-day summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.dh-history-day summary::-webkit-details-marker {
    display: none;
}

.dh-history-day summary::before {
    content: '▸';
    color: rgba(255, 255, 255, 0.25);
    transition: transform 0.2s;
}

.dh-history-day[open] summary::before {
    transform: rotate(90deg);
}

.dh-history-date {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.dh-history-tier {
    font-size: 0.8rem;
}

.dh-history-stars {
    font-size: 0.75rem;
    color: #E8C547;
    margin-left: auto;
}

.dh-history-body {
    padding: 0 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dh-history-body p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 12px 0 0 0;
}

.dh-history-meta {
    margin-top: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ── CTA ── */

.dh-cta {
    padding: 40px 20px;
    text-align: center;
    background: #0d0d0f;
}

.dh-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.dh-cta-inner p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 16px 0;
}

.dh-cta-secondary {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #E8C547;
    text-decoration: none;
}

.dh-cta-secondary:hover {
    text-decoration: underline;
}


/* ── HUB PAGE ── */

.dh-hub-hero {
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, #111114 0%, #0d0d0f 100%);
}

.dh-hub-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.dh-hub-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #E8C547;
    margin: 0 0 8px 0;
}

.dh-hub-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.dh-hub-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 16px 0;
}

.dh-hub-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

.dh-hub-section {
    padding: 0 20px 40px;
    background: #0d0d0f;
}

.dh-hub-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.dh-hub-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(232, 197, 71, 0.6);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(232, 197, 71, 0.1);
}

.dh-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.dh-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    text-decoration: none;
    color: #fff;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    text-align: center;
}

.dh-hub-card:hover {
    border-color: rgba(232, 197, 71, 0.25);
    background: rgba(232, 197, 71, 0.06);
    transform: translateY(-2px);
}

.dh-hub-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dh-hub-card-icon {
    border-radius: 8px;
}

.dh-hub-card-emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.dh-hub-card-tier {
    font-size: 1.2rem;
    line-height: 1;
}

.dh-hub-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.dh-hub-card-stars {
    font-size: 0.75rem;
    color: #E8C547;
}

.dh-hub-card-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
}

.dh-hub-card-lead {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.3;
}

.dh-hub-about {
    padding: 40px 20px;
    background: #0d0d0f;
}

.dh-hub-about-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.dh-hub-about-inner h2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px 0;
}

.dh-hub-about-inner p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 12px 0;
}

.dh-hub-cta {
    padding: 30px 20px 50px;
    text-align: center;
    background: #0d0d0f;
}

.dh-hub-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.dh-hub-cta-inner p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 16px 0;
}


/* ── RESPONSIVE ── */

@media (max-width: 768px) {
    .dh-signals-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .dh-advice-inner {
        grid-template-columns: 1fr;
    }

    .dh-compat-cards {
        grid-template-columns: 1fr;
    }

    .dh-hero-text h1 {
        font-size: 1.4rem;
    }

    .dh-hub-title {
        font-size: 1.6rem;
    }

    .dh-hub-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .dh-signals-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-hero-identity {
        flex-direction: column;
        text-align: center;
    }

    .dh-hero-pillar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dh-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-nav-inner {
        padding: 8px 12px;
    }

    .dh-nav-sign {
        min-width: 44px;
        padding: 3px 5px;
    }
}