/* =========================================
   DASHBOARD / RESULTS PAGE STYLES - PREMIUM (30/70 SPLIT)
   ========================================= */

.dashboard-body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Background Enhancements */
.dashboard-main {
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.dashboard-main::before {
    content: '';
    position: absolute;
    top: 0; left: 30%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Split Layout */
.dashboard-split-layout {
    max-width: 100%;
    margin: 0;
    padding: 0 clamp(1rem, 3vw, 3rem);
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

/* =========================================
   LEFT SIDEBAR
   ========================================= */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(22, 25, 38, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-profile {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 20%, #fde68a 60%, #e8a838 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: capitalize;
}

.sidebar-dob {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.profile-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1.5rem;
}

.profile-dropdown-wrapper {
    position: relative;
    margin-left: 10px;
}

.profile-dropdown-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.profile-dropdown-btn:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

.action-dropdown {
    position: absolute;
    top: 100%; right: 0;
    margin-top: 0.5rem;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
}

.action-dropdown.active {
    display: flex;
}

.action-dropdown button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 0.8rem 1rem;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.action-dropdown button:hover {
    background: rgba(232, 168, 56, 0.1);
    color: var(--gold);
}

.sidebar-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at top right, rgba(232, 168, 56, 0.2), rgba(22, 25, 38, 0.9));
    border: 1px solid rgba(232, 168, 56, 0.4);
    box-shadow: 0 0 20px rgba(232, 168, 56, 0.15);
    margin: 0 auto;
}

.sidebar-badge .badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 10px rgba(232, 168, 56, 0.3);
}

.sidebar-badge .badge-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.sidebar-badge .badge-caption {
    font-size: 8px;
    line-height: 1.25;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .dashboard-sidebar .sidebar-badge { width: 72px; height: 72px; }
}

/* Sidebar Nav */
.sidebar-nav-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.side-nav-link {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    text-align: left;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.side-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}

.side-nav-link.active {
    color: var(--gold);
    background: rgba(232, 168, 56, 0.08);
    box-shadow: inset 4px 0 0 var(--gold);
}

/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.sidebar-action-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.sidebar-action-btn:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.sidebar-action-btn.edit-btn {
    margin-top: 0.5rem;
    border-style: dashed;
}

/* =========================================
   RIGHT CONTENT AREA
   ========================================= */
.dashboard-content {
    position: relative;
    min-width: 0;
    min-height: 800px;
}

.dash-pane {
    display: none;
    animation: fadeSlideUp 0.5s ease forwards;
}

.dash-pane.active {
    display: block;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.pane-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Overview Pane */
.overview-glance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.glance-card {
    background: rgba(22, 25, 38, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.glance-card.primary {
    background: radial-gradient(circle at top right, rgba(232, 168, 56, 0.15), rgba(22, 25, 38, 0.8));
    border-color: rgba(232, 168, 56, 0.3);
}

.glance-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.glance-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #fff;
    line-height: 1;
}
.glance-card.primary .glance-num {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(232, 168, 56, 0.3);
}

.overview-synthesis {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overview-synthesis h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.overview-synthesis p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.summary-cards { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
}

.summary-card {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}

.summary-card h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-card p {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Core Numbers Pane (2x2) */
.core-numbers-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 0;
}

.core-card {
    background: rgba(22, 25, 38, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.core-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 168, 56, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 15px rgba(232, 168, 56, 0.05);
}

.core-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.core-card-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
}

.core-card-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 0.8;
    color: var(--gold);
}

.core-card-archetype {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.core-card-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.core-explore-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: letter-spacing 0.3s;
}

.core-explore-btn:hover {
    letter-spacing: 2px;
}

.core-detail-panel {
    display: none;
    margin-top: 1.5rem;
    animation: fadeSlideUp 0.4s ease;
}

.core-detail-panel.active {
    display: block;
}

.detail-inner {
    padding: 2.5rem;
    background: rgba(232, 168, 56, 0.05);
    border: 1px solid rgba(232, 168, 56, 0.15);
    border-radius: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Vedic Grid Pane */
.vedic-diagnostic-tool {
    display: flex;
    gap: 4rem;
    align-items: center;
    background: rgba(22, 25, 38, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.vedic-grid-visual {
    flex-shrink: 0;
    position: relative;
}

.vedic-grid-visual::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: var(--gold);
    filter: blur(80px);
    opacity: 0.08;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.premium-loshu-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.dash-loshu-cell {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.dash-loshu-cell.present {
    background: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.3);
    box-shadow: inset 0 0 15px rgba(232, 168, 56, 0.1);
}

.dash-loshu-cell.repeated {
    background: rgba(232, 168, 56, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(232, 168, 56, 0.2), inset 0 0 15px rgba(232, 168, 56, 0.3);
}

.dash-loshu-cell.missing {
    opacity: 0.3;
}

.dash-loshu-cell-planet {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.dash-loshu-cell-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1;
}
.dash-loshu-cell.present .dash-loshu-cell-number,
.dash-loshu-cell.repeated .dash-loshu-cell-number {
    color: var(--gold);
}

.dash-loshu-cell-count {
    font-size: 0.7rem;
    color: #fff;
    margin-top: 0.3rem;
    letter-spacing: 2px;
}

.vedic-pattern-stats {
    flex-grow: 1;
}

.vedic-pattern-stats h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.pattern-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pattern-stat:last-child {
    border-bottom: none;
}

.stat-label {
    width: 100px;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 3px;
}

.pattern-stat.present-stat .stat-val { color: var(--gold); }
.pattern-stat.repeated-stat .stat-val { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.pattern-stat.missing-stat .stat-val { color: rgba(255,255,255,0.3); }

/* Compact Tabs for Grid Interpretation */
.vedic-analysis-wrapper {
    background: rgba(22, 25, 38, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
}

.analysis-heading {
    padding: 2rem 2rem 1rem 2rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #fff;
}

.grid-tabs.compact-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
    padding: 0 1rem;
}

.compact-tabs .grid-tab {
    flex: none;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 2px solid transparent;
}

.compact-tabs .grid-tab.active {
    border-bottom: 2px solid var(--gold);
}

.compact-tab-content {
    padding: 2rem;
}
.tab-pane p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 1.05rem; }

/* Domain Insights */
.insight-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.insight-card {
    background: rgba(22, 25, 38, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2.5rem;
}
.insight-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.insight-card h3 { color: #fff; font-family: var(--font-display); margin-bottom: 1rem; font-size: 1.4rem; }
.insight-card p { color: rgba(255,255,255,0.6); line-height: 1.7; font-size: 1rem; }

/* AI Master Reading CTA */
.ai-master-panel {
    background: linear-gradient(135deg, rgba(232, 168, 56, 0.1) 0%, rgba(15, 17, 23, 1) 100%);
    border: 1px solid rgba(232, 168, 56, 0.3);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.ai-master-panel::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(232, 168, 56, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: spin 30s linear infinite;
}
.ai-panel-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.ai-badge {
    display: inline-block; padding: 0.5rem 1.2rem; border-radius: 30px;
    border: 1px solid var(--gold); color: var(--gold); font-size: 0.8rem;
    letter-spacing: 3px; margin-bottom: 1rem; background: rgba(232, 168, 56, 0.1);
}
.ai-master-panel h2 { font-family: var(--font-display); font-size: 2.2rem; color: #fff; margin-bottom: 1.5rem; }
.ai-features {
    list-style: none;
    padding: 0 1rem;
    margin: 0 auto 2rem auto;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem 3rem;
    width: 100%;
    max-width: 900px;
}
@media (min-width: 768px) {
    .ai-features {
        grid-template-columns: 1fr 1fr;
    }
}
.ai-features li { color: rgba(255,255,255,0.8); margin-bottom: 0; display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.95rem; line-height: 1.4; }
.check-icon { color: var(--gold); font-weight: bold; font-size: 1.1rem; }
.ai-cta-btn { width: 100%; max-width: 350px; margin: 0 auto 1rem auto; display: block; font-size: 1rem; padding: 1rem; }
.secure-tag { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* Low-commitment entry product for customers who want to try the reading first. */
.numerology-starter-panel {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    background: linear-gradient(120deg, rgba(102, 82, 168, .22), rgba(18, 20, 30, .9));
}
.numerology-starter-copy { text-align: left; }
.numerology-starter-eyebrow { color: #c9b7ff; font-size: .72rem; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.numerology-starter-panel h3 { color: #fff; font-family: var(--font-display); font-size: 1.5rem; margin: .45rem 0 .6rem; }
.numerology-starter-panel p { color: rgba(255,255,255,.68); line-height: 1.55; font-size: .9rem; margin: 0; }
.numerology-starter-points { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: .9rem; color: rgba(255,255,255,.75); font-size: .78rem; }
.numerology-starter-points span::before { content: '✦'; color: #e8a838; margin-right: .35rem; }
.numerology-starter-action { text-align: center; padding: 1rem; border-left: 1px solid rgba(255,255,255,.1); }
.numerology-starter-price { color: var(--gold); font-size: 1.45rem; font-weight: 800; margin-bottom: .75rem; }
.numerology-starter-price del { color: rgba(255,255,255,.42); font-size: .85rem; margin-right: .35rem; font-weight: 500; }
.numerology-starter-btn { width: 100%; margin: 0 auto .6rem; padding: .85rem 1rem; border: 1px solid #c9b7ff; border-radius: 12px; color: #fff; background: rgba(113, 80, 193, .72); cursor: pointer; font-weight: 800; }
.numerology-starter-btn:hover { background: rgba(138, 100, 226, .9); transform: translateY(-1px); }
.numerology-starter-note { font-size: .72rem !important; color: rgba(255,255,255,.42) !important; }
@media (max-width: 650px) {
    .numerology-starter-panel { grid-template-columns: 1fr; }
    .numerology-starter-action { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; }
}

/* =========================================
   RESPONSIVE LAYOUT (MOBILE)
   ========================================= */
@media (max-width: 1024px) {
    .dashboard-split-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; }
    .overview-glance-grid { grid-template-columns: repeat(2, 1fr); }
    .core-numbers-2x2 { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
    .dashboard-main { padding-top: 40px; }
    .dashboard-split-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
    
    .dashboard-sidebar {
        position: static;
        padding: 1.5rem;
        border-radius: 20px;
        flex-direction: column;
    }
    
    /* Make nav horizontal scroll on mobile */
    .sidebar-nav-heading { display: none; }
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        scrollbar-width: none; /* Firefox */
    }
    .sidebar-nav::-webkit-scrollbar { display: none; }
    
    .side-nav-link {
        padding: 0.6rem 1.2rem;
        border-radius: 30px;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .side-nav-link.active {
        box-shadow: none;
        border-color: var(--gold);
    }
    
    .sidebar-actions {
        flex-direction: row;
        justify-content: center;
        padding-top: 0;
        border-top: none;
    }
    .sidebar-action-btn { flex: 1; justify-content: center; padding: 0.6rem; font-size: 0.8rem; }
    .sidebar-action-btn.edit-btn { margin-top: 0; }
    
    /* Pane Adjustments */
    .vedic-diagnostic-tool {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    .insight-cards { grid-template-columns: 1fr; }
    .summary-cards { grid-template-columns: 1fr; }
    .summary-card {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}
}

/* =========================================
   OVERVIEW EXTRA GRID (LUCKY, CYCLES, MATURITY)
   ========================================= */
.overview-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: stretch;
}

.extra-card {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: left;
}

.extra-card h4 {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(232, 168, 56, 0.15);
    padding-bottom: 0.4rem;
}

.lucky-grid-mini {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.lucky-item-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lucky-icon-mini {
    font-size: 1.2rem;
    background: rgba(232, 168, 56, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lucky-text-mini {
    display: flex;
    flex-direction: column;
}

.lucky-label-mini {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.lucky-val-mini {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-swatch-mini {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

.cycle-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cycle-item {
    display: flex;
    flex-direction: column;
}

.cycle-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.cycle-item strong {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.cycle-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.maturity-info {
    text-align: center;
    padding-top: 1rem;
}

.maturity-info strong {
    font-size: 3rem;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.maturity-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Overview Header Badge */
.overview-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-header-row .pane-subtitle {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

.header-lp-badge {
    background: rgba(232, 168, 56, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.1);
}

.header-lp-badge .badge-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.header-lp-badge .badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(232, 168, 56, 0.4);
}

/* Overview Lists */
.overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.overview-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(232, 168, 56, 0.5);
    flex-shrink: 0;
}

/* Affordance Link */
.affordance-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.affordance-link:hover {
    background: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.3);
    text-decoration: none;
}

/* Ensure 3 columns on desktop for overview-extra-grid */
@media (min-width: 900px) {
    .overview-extra-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Overview Header Badge */
.overview-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-header-row .pane-subtitle {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

.header-lp-badge {
    background: rgba(232, 168, 56, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.3);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.1);
}

.header-lp-badge .badge-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.header-lp-badge .badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(232, 168, 56, 0.4);
}

/* Overview Lists */
.overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.overview-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(232, 168, 56, 0.5);
    flex-shrink: 0;
}

/* Affordance Link */
.affordance-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.affordance-link:hover {
    background: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.3);
    text-decoration: none;
}

/* Ensure 3 columns on desktop for overview-extra-grid */
@media (min-width: 900px) {
    .overview-extra-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        
    }
}

/* Make bottom cards bigger to fill empty space */
.extra-card {
    min-height: 200px;
    display: flex !important;
    flex-direction: column !important;
}

.lucky-grid-mini, .cycle-info, .maturity-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.maturity-info {
    align-items: center;
    text-align: center;
}

.overview-extra-grid {
    margin-top: 1rem;
}

/* Name Numerology Styles */
.name-numerology-wrapper {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.name-num-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.name-tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0;
}

.name-word-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.name-letter-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 55px;
    transition: all 0.3s ease;
}

.name-letter-tile:hover {
    background: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.15);
}

.nlt-char {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
}

.nlt-val {
    font-size: 0.8rem;
    color: var(--gold);
}

.name-calc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--gold);
    flex-wrap: wrap;
    gap: 1rem;
}

.calc-text {
    font-family: monospace;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}

.destiny-highlight {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.destiny-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.destiny-val {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(232, 168, 56, 0.4);
}

/* Side-by-side Vedic Cards Layout */
.vedic-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1200px) {
    .vedic-cards-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .vedic-diagnostic-tool {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 0;
        
        padding: 2.5rem;
    }
    
    .name-numerology-wrapper {
        margin-top: 0;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .vedic-pattern-stats {
        width: 100%;
    }
    
    .pattern-stat {
        justify-content: space-between;
    }
}

/* Vedic Grid Upsell CTA */
.vedic-upsell-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(232, 168, 56, 0.2);
    text-align: center;
}

.upsell-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.premium-upsell-btn {
    background: linear-gradient(135deg, rgba(232, 168, 56, 0.15) 0%, rgba(232, 168, 56, 0.05) 100%);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.1);
}

.premium-upsell-btn:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Compact Vedic Grid Pane to fit single screen */
#pane-grid .pane-title {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

#pane-grid .pane-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

#pane-grid .vedic-cards-container {
    gap: 1.2rem;
}

#pane-grid .vedic-diagnostic-tool {
    padding: 1.5rem;
    gap: 1.2rem;
    border-radius: 16px;
    margin-bottom: 0;
}

#pane-grid .name-numerology-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
}

#pane-grid .name-num-subtitle {
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

#pane-grid .name-tiles-container {
    margin-bottom: 1rem;
    gap: 1rem;
}

#pane-grid .name-word-group {
    gap: 0.35rem;
}

#pane-grid .name-letter-tile {
    width: 38px;
    height: 46px;
}

#pane-grid .nlt-char {
    font-size: 0.95rem;
}

#pane-grid .nlt-val {
    font-size: 0.7rem;
}

#pane-grid .name-calc-summary {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
}

#pane-grid .calc-text {
    font-size: 0.8rem;
}

#pane-grid .destiny-val {
    font-size: 1.5rem;
}

#pane-grid .vedic-pattern-stats h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

#pane-grid .pattern-stat {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

#pane-grid .vedic-upsell-cta {
    margin-top: 1.2rem;
    padding-top: 1rem;
}

#pane-grid .upsell-hint {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

#pane-grid .premium-upsell-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
}

#pane-grid .analysis-heading {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Vowel/Consonant Breakdown */
.name-vc-breakdown {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vc-row {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.vc-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    min-width: 120px;
    flex-shrink: 0;
}

.vc-tiles {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    flex: 1;
}

.vc-mini-tile {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
}

.vc-mini-tile sub {
    font-size: 0.6rem;
    color: var(--gold);
}

.vc-mini-tile.vowel-tile {
    border-bottom: 2px solid rgba(100, 200, 255, 0.4);
}

.vc-mini-tile.consonant-tile {
    border-bottom: 2px solid rgba(232, 168, 56, 0.4);
}

.vc-result {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    margin-left: auto;
}

.vc-result strong {
    color: #fff;
    font-size: 0.9rem;
}

/* Vowel/Consonant color hints on main tiles */
.name-letter-tile.vowel-tile {
    border-bottom: 2px solid rgba(100, 200, 255, 0.5);
}

.name-letter-tile.consonant-tile {
    border-bottom: 2px solid rgba(232, 168, 56, 0.5);
}

/* Chaldean Reference Chart */
.chaldean-ref {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ref-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.3rem;
}

.ref-col {
    text-align: center;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 0.3rem 0.2rem;
}

.ref-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.ref-letters {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Fill Name Numerology card evenly */
#pane-grid .name-numerology-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 1rem 1.5rem;
}

#pane-grid .name-numerology-wrapper .analysis-heading {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

#pane-grid .name-numerology-wrapper .name-num-subtitle {
    margin-bottom: 0.6rem;
}

#pane-grid .name-tiles-container {
    margin-bottom: 0.6rem;
}

#pane-grid .name-calc-summary {
    margin-bottom: 0;
}

#pane-grid .name-vc-breakdown {
    margin-top: 0.6rem;
    gap: 0.5rem;
}

#pane-grid .vc-row {
    padding: 0.4rem 0.6rem;
}

#pane-grid .chaldean-ref {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
}

/* Increase sizes to fill Name Numerology card */
#pane-grid .name-numerology-wrapper .analysis-heading {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
}

#pane-grid .name-numerology-wrapper .name-num-subtitle {
    font-size: 1rem;
    line-height: 1.5;
}

#pane-grid .name-letter-tile {
    width: 52px;
    height: 62px;
}

#pane-grid .nlt-char {
    font-size: 1.3rem;
}

#pane-grid .nlt-val {
    font-size: 0.9rem;
}

#pane-grid .name-calc-summary {
    padding: 1rem 1.2rem;
}

#pane-grid .calc-text {
    font-size: 1rem;
}

#pane-grid .destiny-val {
    font-size: 2rem;
}

#pane-grid .destiny-label {
    font-size: 0.85rem;
}

#pane-grid .vc-label {
    font-size: 0.8rem;
}

#pane-grid .vc-mini-tile {
    font-size: 0.95rem;
    padding: 0.2rem 0.45rem;
}

#pane-grid .vc-result {
    font-size: 0.85rem;
}

#pane-grid .vc-result strong {
    font-size: 1.1rem;
}

#pane-grid .ref-title {
    font-size: 0.75rem;
}

#pane-grid .ref-num {
    font-size: 1rem;
}

#pane-grid .ref-letters {
    font-size: 0.65rem;
}

#pane-grid .ref-col {
    padding: 0.4rem 0.3rem;
}

/* Keep the Grid pane usable inside narrow dashboard columns, not just small viewports. */
#pane-grid {
    min-width: 0;
    overflow-wrap: anywhere;
}

#pane-grid .vedic-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

#pane-grid .vedic-cards-container > *,
#pane-grid .vedic-grid-visual,
#pane-grid .vedic-pattern-stats {
    min-width: 0;
    max-width: 100%;
}

#pane-grid .name-numerology-wrapper {
    margin-top: 0;
    padding: clamp(1rem, 2vw, 1.5rem);
}

#pane-grid .name-numerology-wrapper .analysis-heading {
    padding: 0;
}

#pane-grid .vedic-diagnostic-tool {
    flex-wrap: wrap;
    justify-content: center;
    padding: clamp(1rem, 2vw, 1.5rem);
}

#pane-grid .vedic-grid-visual {
    width: 100%;
    max-width: 19.75rem;
    flex-shrink: 1;
}

#pane-grid .premium-loshu-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    aspect-ratio: 1;
    gap: clamp(4px, 1vw, 8px);
}

#pane-grid .dash-loshu-cell {
    min-width: 0;
    padding: 0.25rem;
    text-align: center;
}

#pane-grid .dash-loshu-cell.missing {
    opacity: 1;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.3);
}

#pane-grid .dash-loshu-cell-planet,
#pane-grid .dash-loshu-cell.missing .dash-loshu-cell-number,
#pane-grid .pattern-stat.missing-stat .stat-val {
    color: #b9becb;
}

#pane-grid .dash-loshu-cell-count {
    letter-spacing: 0.5px;
}

#pane-grid .vedic-pattern-stats {
    flex: 1 1 14rem;
}

#pane-grid .pattern-stat {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
}

#pane-grid .stat-val {
    min-width: 0;
    letter-spacing: 1px;
}

#pane-grid .vc-tiles,
#pane-grid .vc-label,
#pane-grid .name-calc-summary > * {
    min-width: 0;
    max-width: 100%;
}

#pane-grid .vc-result {
    max-width: 100%;
    white-space: normal;
}

#pane-grid .premium-upsell-btn {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
}

#pane-grid .premium-upsell-btn > span {
    min-width: 0;
}

#pane-grid .premium-upsell-btn .btn-icon {
    flex-shrink: 0;
}

/* Structured birth-date analysis below the grid and name cards. */
#pane-grid .grid-analysis {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

#pane-grid .grid-core-numbers,
#pane-grid .grid-analysis-cards,
#pane-grid .grid-lines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

#pane-grid .grid-metric,
#pane-grid .grid-analysis-card,
#pane-grid .grid-line {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(22, 25, 38, 0.6);
    color: #d2d5df;
    line-height: 1.6;
}

#pane-grid .grid-metric,
#pane-grid .grid-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

#pane-grid .grid-metric > *,
#pane-grid .grid-line > * {
    min-width: 0;
    max-width: 100%;
}

#pane-grid .grid-metric strong {
    color: var(--gold);
    font-size: 1.5rem;
}

#pane-grid .grid-analysis-card h3,
#pane-grid .grid-analysis-card h4 {
    color: var(--gold);
    margin-bottom: 0.6rem;
}

#pane-grid .grid-analysis-card p {
    margin-bottom: 0.6rem;
}

#pane-grid .grid-analysis-card ul {
    padding-left: 1.2rem;
}

#pane-grid .grid-status,
#pane-grid [role="status"] {
    color: #c7cbd5;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    #pane-grid .ref-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #pane-grid .name-calc-summary {
        padding: 0.8rem;
    }
}

/* Enhanced Deep Insights */
#pane-insights .insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.insight-card-wide {
    grid-column: 1 / -1;
}

.insight-card .insight-extra {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Career Tags */
.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.career-tag {
    background: rgba(232, 168, 56, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.25);
    color: var(--gold);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.career-tag:hover {
    background: rgba(232, 168, 56, 0.2);
    transform: translateY(-1px);
}

/* Compatibility */
.compat-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.compat-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.compat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
}

.compat-nums {
    display: flex;
    gap: 0.4rem;
}

.compat-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-display);
}

.best-num {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.good-num {
    background: rgba(232, 168, 56, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.3);
    color: var(--gold);
}

.avoid-num {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Overview CTA Banner */
.overview-cta-banner {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overview-cta-banner::before {
    content: "✧";
    position: absolute;
    right: -20px;
    top: -40px;
    font-size: 10rem;
    color: rgba(232, 168, 56, 0.05);
    line-height: 1;
    pointer-events: none;
}

.cta-banner-content h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.cta-banner-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
    margin: 0;
    line-height: 1.4;
}

.cta-banner-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.3);
}

.cta-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.5);
    background: #ffcc5c;
}

@media (max-width: 768px) {
    \.overview-cta-banner {
    background: rgba(20, 24, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    .cta-banner-btn {
        width: 100%;
    }
}

/* --- Personalized Hero Banner --- */


.hero-archetype-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(232, 168, 56, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
}



.hero-greeting {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.hero-archetype-title {
    font-size: 2.2rem;
    color: var(--gold);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-archetype-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-daily-vibe {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.vibe-label {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vibe-text {
    color: #fff;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }


@media (max-width: 768px) {
    .overview-top-row {
        flex-direction: column;
    }
}




/* =========================================
   HERO BANNER - PREMIUM OVERHAUL
   ========================================= */
.hero-archetype-banner {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 3rem;
    
    /* Premium Background as requested */
    background: 
        radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.03), transparent 45%),
        linear-gradient(
            110deg,
            #17171b 0%,
            #121318 55%,
            #0d0e12 100%
        );
    box-shadow: inset 0 0 80px rgba(212, 151, 45, 0.04), 0 10px 30px rgba(0,0,0,0.3);
}

.hero-archetype-content {
    position: relative;
    z-index: 10;
    max-width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

/* Typography Hierarchy */
.hero-welcome {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.hero-path-label {
    font-size: 14px;
    color: #d4972d;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    font-family: 'Cinzel', serif;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Vibe Pill */
.hero-vibe-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.vibe-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.vibe-dot {
    color: rgba(212, 151, 45, 0.6);
    font-size: 16px;
}

.vibe-text {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

/* Cosmic Zodiac Wheel Styling */
.hero-cosmic-animation {
    position: absolute;
    right: -250px;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 1;
    
    /* Strong left fade mask so no hard box edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
}

.cosmic-wheel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.40; /* Darker as requested */
    
    will-change: transform;
    transform: translateZ(0); 
    animation: spin-ultra 200s linear infinite;
    filter: drop-shadow(0 0 20px rgba(212, 151, 45, 0.2));
}

.sun-face-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34%; /* Scaled up by ~1.2x */
    height: 34%;
    object-fit: contain;
    mix-blend-mode: screen; /* Makes the black background transparent */
    border-radius: 50%;
    z-index: 2;
    opacity: 1; /* Keep it 100% visible */
    filter: drop-shadow(0 0 20px rgba(255, 204, 92, 0.6)) contrast(1.1);
}


@keyframes spin-ultra { 
    0%   { transform: translateZ(0) rotate(0deg); }
    100% { transform: translateZ(0) rotate(360deg); } 
}

@media (max-width: 900px) {
    .hero-archetype-banner {
        padding: 2rem;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-archetype-content {
        max-width: 70%;
    }
    .hero-cosmic-animation {
        right: -300px;
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 600px) {
    .hero-archetype-banner {
        flex-direction: column;
        padding: 1.5rem;
    }
    .hero-archetype-content {
        max-width: 100%;
    }
    .hero-cosmic-animation {
        right: -150px;
        width: 400px;
        height: 400px;
        opacity: 0.3;
    }
}

/* =========================================
   MATURITY CARD PREMIUM UPGRADES
   ========================================= */
.maturity-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
}

.maturity-number-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.maturity-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 151, 45, 0.15) 0%, rgba(212, 151, 45, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.maturity-number-wrapper strong {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.maturity-subtext {
    font-size: 0.85rem;
    color: var(--gold, #d4972d);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

#overviewMaturityDesc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 90%;
}
