* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-gold: #ffd54f;
    --gold-hover: #ffca28;
    --bg-dark: #0a051a;
    --accent-purple: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
}
body {
    font-family: 'Heebo', sans-serif;
    background: radial-gradient(circle at top, #1e1b4b, #0f172a 70%);
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

/* Header Layout */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: #facc15;
}

/* Desktop Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #facc15;
}

/* Mobile Button */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        display: none;
        flex-direction: column;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    nav.active {
        display: flex;
    }

}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.85;
}

.btn {
    background: linear-gradient(45deg, #7c3aed, #facc15);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Ads */
.ads {
    margin: 40px auto;
    text-align: center;
}

.ad-box {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 15px;
}

/* Grid */

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.9);
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 26px;
    }
}


.horoscopes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

/* بطاقة البرج - تم تحويلها للنمط الداكن لتناسب موقعك */
.zodiac-card-summary {
    background: var(--card-bg); /* استخدام المتغير الداكن الخاص بك */
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

/* تأثير عند مرور الماوس */
.zodiac-card-summary:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-soft);
}

/* أيقونة البرج */
.zodiac-summary-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

/* اسم البرج */
.zodiac-card-summary h3 {
    font-size: 1.6rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

/* ملخص النص - تعديل اللون ليكون مقروءاً على الخلفية الداكنة */
.zodiac-summary-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* زر اقرأ المزيد - متناسق مع ألوان الموقع */
.read-more-btn {
    display: inline-block;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.read-more-btn:hover {
    color: var(--gold-hover);
    letter-spacing: 0.5px;
}
.clima-astral {
    /* --- Vos styles actuels --- */
    padding: 35px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
    position: relative;
    overflow: hidden;
    margin-top: 10px;

    /* --- Correction pour le CLS --- */
    min-height: 150px; /* À ajuster selon la hauteur moyenne de votre contenu */
    contain: layout;   /* Aide le navigateur à isoler les changements de layout */
}
.clima-astral::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,213,79,0.25), transparent 70%);
    border-radius: 50%;
}
.clima-astral h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 15px;
    color: #ffd54f;
    font-weight: 700;
    letter-spacing: 1px;
}

.clima-astral p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2e8f0;
    max-width: 800px;
}

.clima-astral .highlight {
    color: #facc15;
    font-weight: 600;
}

.clima-astral .astral-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
    color: #fbbf24;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: #0f172a;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s ease;
}

.card:hover { transform: translateY(-5px); border-color: var(--accent-purple); }

.card img { width: 100%; height: 200px; object-fit: cover; }

.card .content { padding: 25px; }

.card h2 { font-size: 1.2rem; line-height: 1.4; margin-bottom: 15px; color: #fff; }

.card .signo { 
    color: #f65c5c; 
    font-weight: bold; 
    font-size: 0.8rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-gold);
    font-weight: 600;
}

/* --- تحسين الفوتر (Footer CSS) --- */
.footer {
    background: #020617; /* لون داكن جداً ليتناسب مع الثيم */
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8; /* لون نص مريح للعين */
    font-size: 0.95rem;
    margin-top: 60px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-left p {
    margin-bottom: 12px;
}

.footer-left em {
    font-size: 0.85rem;
    color: #d9e0e9;
    font-style: italic;
    line-height: 1.5;
    display: block;
    margin-top: 15px;
}

.footer-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-right a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-right a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.footer-right a:hover {
    color: #fff;
}

.footer-right a:hover::after {
    width: 100%;
}

/* --- تعديلات الموبايل --- */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 40px 0;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-right {
        justify-content: center;
        gap: 15px;
    }

    .footer-left {
        min-width: auto;
    }
}

/* منع تسريب الاتجاه من الإعلانات */
/* حاوية عامة لعزل الإعلانات */
.adsbygoogle {
    display: block !important;
    direction: ltr !important;      /* اجعل الإعلان LTR */
    text-align: left !important;    /* محاذاة النص داخل الإعلان */
    unicode-bidi: isolate !important;
    margin: 0 auto !important;      /* توسيط الإعلان */
    overflow: hidden !important;
}

