    /* -------------------------------------------------
       🌗 THEME VARIABLES
    ------------------------------------------------- */

    /* Dark Theme — Default */
:root {
    --primary: #5b3cf5;
    --accent: #ffcc33;

    --bg: radial-gradient(circle at top, #111827 0, #020617 40%, #000 100%);
    --bg-solid: #020617;

    --text-main: #f9fafb;
    --text-muted: #9ca3af;

    --card-bg: #111827;
    --border-soft: #1f2937;

    --radius-lg: 18px;
}

/* Light Theme */
html[data-theme="light"] {
    --bg: #f3f4f6;
    --bg-solid: #ffffff;

    --text-main: #111827;
    --text-muted: #6b7280;

    --card-bg: #ffffff;
    --border-soft: #e5e7eb;
}

/* -------------------------------------------------
   GLOBAL
------------------------------------------------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.da-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* -------------------------------------------------
   HEADER / NAV
------------------------------------------------- */

.da-header {
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 50;
    color: #f9fafb;
}

.da-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
}

/* Logo */
.da-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.da-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b1020;
}

.da-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.da-logo-text {
    display: flex;
    flex-direction: column;
}
.da-logo-text span:first-child {
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 700;
    color: #f9fafb;
}
.da-logo-text span:last-child {
    font-size: clamp(11px, 1.4vw, 13px);
    color: rgba(249, 250, 251, 0.72);
}

/* Nav Links */
.da-nav-links {
    display: flex;
    gap: 22px;
    font-size: clamp(13px, 1.6vw, 15px);
}

.da-nav-links a {
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    color: rgba(249, 250, 251, 0.72);
}

.da-nav-links a:hover,
.da-nav-links a.active {
    color: #ffffff;
    border-bottom-color: var(--accent);
}

/* Actions */
.da-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.da-nav-cta-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #111827;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(13px, 1.4vw, 14px);
    border: none;
    cursor: pointer;
}

.da-theme-toggle {
    width: 34px;
    height: 34px;
    background: var(--card-bg);
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #f9fafb;
}

html[data-theme="light"] .da-theme-toggle {
    background: #111827;
}

/* -------------------------------------------------
   MAIN
------------------------------------------------- */

.da-main {
    padding: 32px 0 40px;
    flex: 1;
}

/* -------------------------------------------------
   HERO SECTION
------------------------------------------------- */

.da-hero {
    padding-bottom: 24px;
}

.da-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .da-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Badge */
.da-hero-badge {
    background: rgba(91, 60, 245, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.da-hero-badge .highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Title */
.da-hero-title {
    font-size: 32px;
    margin: 16px 0 8px;
    font-weight: 800;
}
.da-hero-title span {
    color: var(--accent);
}

/* Subtitle */
.da-hero-subtitle {
    color: var(--text-muted);
    max-width: 460px;
    font-size: 15px;
    margin-bottom: 18px;
}

/* Hero Buttons */
.da-hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.da-btn-primary {
    background: linear-gradient(135deg, var(--primary), #22d3ee);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.da-btn-secondary {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 14px;
    display: inline-block;
}

/* Meta under buttons */
.da-hero-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (min-width: 720px) {
    .da-hero-meta {
        flex-direction: row;
        gap: 16px;
    }
}

/* Hero Video */
.da-hero-video {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 14px;
}

.da-hero-video-thumb {
    height: 210px;
    background: #020617;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.da-hero-video-thumb::after {
    content: "Thumbnail آخر فيديو";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: var(--text-muted);
}

.da-play-icon {
    width: 56px;
    height: 56px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 999px;
    border: 2px solid rgba(248, 250, 252, 0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.da-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #f9fafb;
}

.da-hero-video-info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.da-hero-video-title {
    font-size: 14px;
    font-weight: 600;
}

.da-card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.da-hero-video-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 204, 51, 0.16);
    color: var(--accent);
    font-size: 11px;
}

/* -------------------------------------------------
   SECTION GENERAL
------------------------------------------------- */

.da-section {
    margin-top: 36px;
}

.da-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.da-section-title {
    font-size: 21px;
    font-weight: 700;
}

.da-section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.da-section-link {
    font-size: 13px;
    color: var(--accent);
    white-space: nowrap;
}

/* Article grid cards */
.da-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 900px) {
    .da-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .da-article-grid {
        grid-template-columns: 1fr;
    }
}

.da-article-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.22);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.da-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.7);
    border-color: rgba(234,179,8,0.6);
}
.da-article-card-toprow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.da-article-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid transparent;
    background: rgba(15,23,42,0.9);
}
.da-article-badge-blue { border-color: rgba(59,130,246,0.4); background: rgba(37,99,235,0.25); }
.da-article-badge-yellow { border-color: rgba(250,204,21,0.5); background: rgba(250,204,21,0.15); }
.da-article-badge-pink { border-color: rgba(244,114,182,0.5); background: rgba(244,114,182,0.18); }
.da-article-reading { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.da-article-card-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.da-article-card-excerpt { font-size: 13px; color: var(--text-muted); }
.da-article-card-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.da-article-card-footer { margin-top: 4px; display: flex; justify-content: flex-end; align-items: center; font-size: 12px; }
.da-article-card-footer a { color: var(--accent); }

.da-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.da-pagination .da-page-item {
    list-style: none;
}
.da-pagination .da-page-link {
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(15,23,42,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 10px;
}
.da-pagination .da-page-item.active .da-page-link {
    background: linear-gradient(135deg, var(--primary), #22d3ee);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}
.da-pagination .da-page-item:not(.active) .da-page-link:hover {
    border-color: var(--accent);
    color: var(--text-main);
}

.da-pagination-wrapper {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

/* -------------------------------------------------
   MOOD CARDS
------------------------------------------------- */

.da-mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

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

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

.da-mood-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    padding: 16px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.da-mood-icon {
    font-size: 28px;
}

.da-mood-title {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
}

.da-mood-text {
    color: var(--text-muted);
    font-size: 13px;
    margin: 6px 0 10px;
}

.da-mood-cta {
    font-size: 13px;
    color: var(--accent);
}

/* -------------------------------------------------
   CARDS (Video, Article…)
------------------------------------------------- */

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

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

.da-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.da-card.da-card-link a.da-card-link-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.da-card.da-card-link a.da-card-link-inner:hover .da-card-footer {
    text-decoration: underline;
}

.da-card-media {
    height: 140px;
    background: #020617;
}

.da-card-body {
    padding: 12px 14px 14px;
}

.da-card-body p {
    font-size: 15px;
    line-height: 1.8;
}

.da-card-title {
    font-size: 15px;
    font-weight: 600;
}

.da-card-footer {
    font-size: 13px;
    color: var(--accent);
    margin-top: 4px;
}

.da-pill {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(91,60,245,0.15);
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 6px;
}

/* -------------------------------------------------
   CTA SECTION
------------------------------------------------- */

.da-cta {
    background: linear-gradient(135deg, var(--primary), #22d3ee);
    padding: 22px 20px;
    border-radius: var(--radius-lg);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.da-cta-text {
    font-size: 17px;
    font-weight: 600;
}
.da-cta-text span {
    color: #ffe57f;
}

/* -------------------------------------------------
   TWO-COLUMN GRID (FORMS/INFO)
------------------------------------------------- */

.da-grid-2 {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .da-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------
   CONTACT / FORM STYLES
------------------------------------------------- */

.da-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    color: var(--text-muted);
}

.da-contact-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.da-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.da-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.da-label {
    font-size: 13px;
    color: var(--text-muted);
}

.da-input,
.da-textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.da-textarea {
    resize: vertical;
    min-height: 120px;
}

.da-input:focus,
.da-textarea:focus {
    outline: 1px solid var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 51, 0.15);
}

.da-form-error {
    color: #f87171;
    font-size: 13px;
}

.da-captcha {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.da-captcha-image img {
    border-radius: 12px;
    border: 1px solid var(--border-soft);
}

.da-form-actions {
    display: flex;
    justify-content: flex-end;
}

.da-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    color: var(--text-main);
    font-size: 14px;
}

.da-list li {
    display: flex;
    gap: 8px;
    align-items: center;
}

.da-list li::before {
    content: "•";
    color: var(--accent);
}

.da-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.da-stats li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.da-stats span {
    font-size: 16px;
    font-weight: 700;
}

.da-stats small {
    color: var(--text-muted);
    font-size: 12px;
}

.da-cta-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.da-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.da-pagination .da-page-btn {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 12px;
    cursor: pointer;
}

.da-pagination .da-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.da-page-info {
    font-size: 14px;
    color: var(--text-muted);
}

/* -------------------------------------------------
   FOOTER
------------------------------------------------- */

.da-footer {
    padding: 20px 0 26px;
    border-top: 1px solid var(--border-soft);
    margin-top: 40px;
    color: var(--text-muted);
    font-size: clamp(11px, 1.2vw, 12px);
}

.da-footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.da-footer-links {
    display: flex;
    gap: 12px;
}

/* -------------------------------------------------
   RESPONSIVE NAV
------------------------------------------------- */

@media (max-width: 768px) {
    .da-nav-links {
        display: none;
    }
}

    /* PAGE WRAPPER */
    .da-articles-page,
    .da-article-page {
        max-width: 960px;
        margin: 0 auto;
    }

    /* HEADER TITLE ALREADY EXISTS
       بنضيف شوية ضبط للمقالات */
    .da-articles-header {
        margin-top: 24px;
        margin-bottom: 16px;
    }

    /* LISTING CARDS */
    .da-articles-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .da-article-card {
        background: var(--card-bg);
        border-radius: 20px;
        border: 1px solid rgba(148,163,184,0.22);
        padding: 14px 18px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        transition: transform 0.15s ease, box-shadow 0.15s ease,
        border-color 0.15s ease;
    }

    .da-article-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(15,23,42,0.7);
        border-color: rgba(234,179,8,0.6);
    }

    /* Breadcrumb */
    .da-breadcrumb {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 8px;
    }
    .da-breadcrumb-link {
        color: var(--accent);
        font-weight: 600;
    }
    .da-breadcrumb-separator {
        opacity: 0.7;
    }
    .da-breadcrumb-current {
        color: var(--text-main);
        font-weight: 700;
    }

    .da-article-card-main {
        flex: 1;
    }

    .da-article-card-toprow {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 4px;
    }

    .da-article-badge {
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 11px;
        border: 1px solid transparent;
        background: rgba(15,23,42,0.9);
    }
    .da-article-badge-blue {
        border-color: rgba(59,130,246,0.4);
        background: rgba(37,99,235,0.2);
    }
    .da-article-badge-yellow {
        border-color: rgba(250,204,21,0.4);
        background: rgba(250,204,21,0.12);
    }
    .da-article-badge-pink {
        border-color: rgba(244,114,182,0.4);
        background: rgba(244,114,182,0.15);
    }

    .da-article-reading {
        font-size: 11px;
        color: var(--text-muted);
    }

    .da-article-card-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .da-article-card-excerpt {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 6px;
    }

    .da-article-card-meta {
        font-size: 11px;
        color: var(--text-muted);
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* CTA inside card */
    .da-article-card-cta a {
        font-size: 13px;
        color: var(--accent);
        white-space: nowrap;
    }

    @media (max-width: 768px) {
        .da-article-card {
            flex-direction: column;
            align-items: flex-start;
        }
        .da-article-card-cta a {
            margin-top: 6px;
        }
    }

    /* ARTICLE VIEW */
    .da-article-header {
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .da-article-title {
        font-size: 24px;
        margin-top: 8px;
    }

    .da-article-meta-line {
        font-size: 12px;
        color: var(--text-muted);
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 4px;
    }

    /* LAYOUT: MAIN + SIDEBAR */
    .da-article-layout {
        display: grid;
        grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
        gap: 22px;
        margin-top: 18px;
    }

    @media (max-width: 900px) {
        .da-article-layout {
            grid-template-columns: 1fr;
        }
    }

    /* MAIN BODY */
    .da-article-main {
        background: rgba(15,23,42,0.85);
        border-radius: 20px;
        border: 1px solid rgba(51,65,85,0.9);
        padding: 18px 18px 20px;
    }

    .da-article-paragraph {
        font-size: 14px;
        color: var(--text-main);
        margin-bottom: 12px;
    }

    .da-article-subtitle {
        font-size: 17px;
        font-weight: 700;
        margin: 18px 0 8px;
    }

    .da-article-list {
        margin: 0 0 14px;
        padding-right: 18px;
        font-size: 14px;
    }
    .da-article-list li {
        margin-bottom: 4px;
    }

    .da-article-quote {
        margin: 14px 0;
        padding: 10px 14px;
        border-right: 3px solid var(--primary);
        background: rgba(15,23,42,0.9);
        border-radius: 12px;
        font-size: 13px;
    }

    /* SIDEBAR */
    .da-article-sidebar {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .da-article-box {
        background: rgba(15,23,42,0.9);
        border-radius: 18px;
        border: 1px solid rgba(51,65,85,0.9);
        padding: 12px 14px;
    }

    .da-article-box-title {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .da-related-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .da-related-list li {
        margin-bottom: 6px;
    }
    .da-related-list a {
        font-size: 13px;
        color: var(--text-main);
    }
    .da-related-list a:hover {
        color: var(--accent);
    }
