.horoscope-section {
    padding: 20px;
}

.horoscope-intro {
    text-align: center;
    margin-bottom: 25px;
}

.horoscope-intro h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.horoscope-intro h2 {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.horoscope-intro p {
    font-size: 16px;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

.horoscope-narrative {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 30px auto; /* 👈 centers horizontally */
}

.horoscope-disclaimer {
    background: transparent;
    padding-top: 2px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 30px auto; /* 👈 centers horizontally */
}

/* GRID */
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.horoscope-grid-compact {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

/* CARD */
.horoscope-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #0f172a;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horoscope-card-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #0f172a;
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horoscope-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.horoscope-card-compact img {
    width: 30px;
    height: 30px;
}

.horoscope-card span {
    margin-top: 10px;
    color: #fff;
    font-weight: 600;
}

/* HOVER */
.horoscope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* TABLET */
@media (max-width: 992px) {
    .horoscope-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .horoscope-grid-compact {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .horoscope-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .horoscope-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }

    .horoscope-intro h1 {
        font-size: 22px;
    }
}

/* ===== SECTION WRAPPER ===== */
.horoscope-section {
    padding: 30px 20px;
    color: #e2e8f0;
}

/* ===== INTRO ===== */
.horoscope-intro {
    text-align: center;
    margin-bottom: 35px;
}

.horoscope-intro h1 {
    font-size: 30px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}

.horoscope-intro h2 {
    font-size: 30px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}

.horoscope-intro h3 {
    font-size: 25px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
}

.horoscope-intro p {
    font-size: 16px;
    max-width: 800px;
    margin: auto;
    line-height: 1.7;
    color: #cbd5f5;
}

/* ===== GRID ===== */
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

/* ===== CARD ===== */
.horoscope-card {
    background: linear-gradient(145deg, #0b1220, #121a2f);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* subtle glow */
.horoscope-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(99,102,241,0.15), transparent 70%);
    opacity: 0;
    transition: 0.3s;
}

.horoscope-card:hover::before {
    opacity: 1;
}

.horoscope-card img {
    width: 65px;
    height: 65px;
    margin-bottom: 10px;
}

.horoscope-card span {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 15px;
}

/* hover lift */
.horoscope-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    border-color: rgba(99,102,241,0.3);
}

/* ===== CONTENT CARDS ===== */
.horoscope-content {
    display: grid;
    gap: 25px;
    margin-top: 20px;
}

.horoscope-info,
.horoscope-benefits {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);

}

/* headings */
.horoscope-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #f8fafc;
}

/* text */
.horoscope-content p {
    line-height: 1.7;
    color: #cbd5f5;
    margin-bottom: 12px;
}

/* list */
.horoscope-benefits ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.horoscope-benefits li {
    margin-bottom: 8px;
    color: #e2e8f0;
}

/* ===== FAQ SECTION ===== */
.horoscope-faq {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.horoscope-faq h2 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #f8fafc;
}

/* FAQ items */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 17px;
    color: #a5b4fc;
    margin-bottom: 6px;
}

.faq-item p {
    color: #cbd5f5;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .horoscope-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .horoscope-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horoscope-intro h1 {
        font-size: 24px;
    }

    .horoscope-content h2,
    .horoscope-faq h2 {
        font-size: 20px;
    }
}

/* Container */
.planet-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    justify-content: center; /* 👈 THIS centers the row */
    gap: 20px;
    margin-top: 20px;
}

.planet-card {
    background: linear-gradient(145deg, #0b1220, #121a2f);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.planet-card:hover {
    transform: translateY(-4px);
}

/* Headings */
.planet-card h3 {
    font-size: 16px;
    color: #f8fafc;
    margin-bottom: 8px;
}

/* Text */
.planet-card p {
    color: #cbd5f5;
    line-height: 1.5;
    font-size: 14px;
}

/* Badge */
.dignity-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Example badge colors */
.dignity-exalted { background: #16a34a; color: white; }
.dignity-debilitated { background: #dc2626; color: white; }
.dignity-own_sign { background: #2563eb; color: white; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .planet-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .planet-breakdown {
        grid-template-columns: 1fr;
    }
}

/* SECTION */
.rashi-info {
    margin-top: 40px;
}

/* HEADING */
.rashi-info h2 {
    text-align: center;
    font-size: 26px;
    color: #f8fafc;
    margin-bottom: 20px;
}

/* GRID */
.rashi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

/* CARD */
.rashi-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    transition: all 0.25s ease;
}


/* HOVER */
.rashi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
}

/* LABEL */
.rashi-card .label {
    display: block;
    font-size: 14px;
    color: yellow;
    margin-bottom: 6px;
}

/* VALUE */
.rashi-card .value {
    font-size: 15px;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .rashi-grid {
        grid-template-columns: 1fr !important; /* 👈 1 card per row */
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .rashi-info h2 {
        font-size: 22px;
    }
}
