/* ==========================================================================
   Astrology & Numerology Suite - Luxury Emerald & Gold Theme
   ========================================================================== */

.astro-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(222, 176, 75, 0.15);
    border: 1px solid rgba(222, 176, 75, 0.4);
    border-radius: 30px;
    color: #926a10;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.astro-icon-gold {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
}

.astro-icon-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7e22ce;
}

.astro-icon-rose {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    color: #be123c;
}

.astro-icon-blue {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
}

.astro-icon-emerald {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
}

/* Big Number Highlight Circle */
.astro-number-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d3827 0%, #062217 100%);
    border: 3px solid #deb04b;
    color: #fde68a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(6, 34, 23, 0.25);
    flex-shrink: 0;
}

.astro-number-badge .num-val {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.astro-number-badge .num-lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #deb04b;
    margin-top: 2px;
}

/* Key stat cards in astrology */
.astro-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.astro-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.astro-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.astro-stat-card .astro-stat-info h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astro-stat-card .astro-stat-info .astro-stat-val {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.astro-stat-card .astro-stat-info .astro-stat-sub {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #059669;
    font-weight: 600;
}

/* Lo Shu Grid Visual */
.loshu-container {
    max-width: 380px;
    margin: 0 auto 24px auto;
    background: #062217;
    border: 3px solid #deb04b;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(6, 34, 23, 0.3);
}

.loshu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.loshu-cell {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(222, 176, 75, 0.35);
    border-radius: 12px;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px;
    transition: all 0.25s ease;
}

.loshu-cell.has-number {
    background: linear-gradient(135deg, rgba(222, 176, 75, 0.2) 0%, rgba(13, 56, 39, 0.6) 100%);
    border-color: #deb04b;
    box-shadow: 0 0 14px rgba(222, 176, 75, 0.3);
}

.loshu-cell.empty {
    opacity: 0.45;
    border-style: dashed;
}

.loshu-cell .cell-expected {
    font-size: 10px;
    color: #94a3b8;
    position: absolute;
    top: 6px;
    left: 8px;
    font-weight: 600;
}

.loshu-cell .cell-digits {
    font-size: 24px;
    font-weight: 800;
    color: #fde68a;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.loshu-cell .cell-count-badge {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: #deb04b;
    color: #062217;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Planes & Arrows list */
.plane-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
    margin-bottom: 8px;
}

.plane-complete {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.plane-incomplete {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
}

/* Letters Table / breakdown */
.letter-breakdown-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.letter-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.letter-chip .char {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.letter-chip .val {
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
}

.letter-chip.is-vowel {
    background: #fef3c7;
    border-color: #fde68a;
}

/* Suggestion Card for Name Correction */
.name-suggest-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
}

.name-suggest-card:hover {
    border-color: #deb04b;
    box-shadow: 0 4px 12px rgba(222, 176, 75, 0.15);
    transform: translateY(-2px);
}

.name-suggest-card.recommended {
    border-color: #10b981;
    background: #f0fdf4;
}

.name-suggest-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-tag-auspicious {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    background: #dcfce7;
    color: #15803d;
    text-transform: uppercase;
}

.badge-tag-warning {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fee2e2;
    color: #b91c1c;
    text-transform: uppercase;
}

/* Astrology Tool Suite Hub Grid */
.astro-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.astro-hub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.astro-hub-card:hover {
    border-color: #deb04b;
    box-shadow: 0 10px 25px rgba(222, 176, 75, 0.18);
    transform: translateY(-4px);
}

.astro-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #deb04b, #caa03c);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.astro-hub-card:hover::before {
    opacity: 1;
}

.astro-hub-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.astro-hub-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.astro-hub-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.astro-hub-sub {
    font-size: 13px;
    color: #b45309;
    font-weight: 600;
    margin: 0;
}

.astro-hub-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

.astro-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
}

.astro-hub-footer i {
    transition: transform 0.2s ease;
}

.astro-hub-card:hover .astro-hub-footer i {
    transform: translateX(4px);
}

/* Quick Tools Switcher Navigation Bar */
.astro-nav-switcher {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: thin;
}

.astro-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.astro-nav-pill:hover {
    border-color: #deb04b;
    color: #b45309;
    background: #fffbeb;
}

.astro-nav-pill.active {
    background: #062217;
    color: #fde68a;
    border-color: #deb04b;
}

@media (max-width: 768px) {
    .astro-stat-grid {
        grid-template-columns: 1fr;
    }

    .loshu-container {
        max-width: 100%;
    }

    .astro-hub-grid {
        grid-template-columns: 1fr;
    }
}