/* ==========================================
   1. المتغيرات والإعدادات العامة
========================================== */

:root {
    --bg: #08090D;
    --surface: #11131B;
    --surface-2: #171923;
    --gold: #F5C542;
    --gold-light: #FFE28A;
    --text: #F4F2ED;
    --muted: #9B9BA7;
    --border: rgba(245, 197, 66, .19);
    --container: 1080px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 50% 15%,
            rgba(245, 197, 66, .055), transparent 43%),
        linear-gradient(180deg, #090A0F, #08090D 55%, #0B0B10);
    color: var(--text);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

button, a {
    touch-action: manipulation;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.section {
    position: relative;
    z-index: 1;
}

::selection {
    color: #08090D;
    background: var(--gold);
}


/* ==========================================
   2. الخلفية المتحركة
========================================== */

.background-effects {
    position: absolute;
    inset: 0 0 auto;
    height: 1850px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    animation: grid-drift 35s linear infinite;
    mask-image: linear-gradient(to bottom, black, black 40%, transparent);
}

.gold-orb {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .09;
    background: #EAB82F;
    animation: orb-float 13s ease-in-out infinite alternate;
}

.orb-one {
    top: 100px;
    left: -180px;
}

.orb-two {
    top: 430px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: #9A751C;
    animation-delay: -6s;
}

.hero-rings {
    position: absolute;
    top: 75px;
    left: 50%;
    width: min(720px, 95vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    opacity: .65;
}

.ring {
    position: absolute;
    left: 50%;
    top: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-one {
    width: 100%;
    border: 1px solid rgba(245,197,66,.22);
    box-shadow:
        0 0 25px rgba(245,197,66,.04),
        inset 0 0 25px rgba(245,197,66,.035);
    animation: ring-rotate 55s linear infinite;
}

.ring-one::before,
.ring-one::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 18px var(--gold);
}

.ring-one::before {
    top: 12%;
    left: 17%;
}

.ring-one::after {
    right: 12%;
    bottom: 25%;
}

.ring-two {
    width: 78%;
    border: 1px dashed rgba(245,197,66,.2);
    animation: ring-rotate 75s linear infinite reverse;
}

.ring-three {
    width: 58%;
    border: 1px solid rgba(245,197,66,.15);
}

.ring-core {
    position: absolute;
    width: 27%;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(245,197,66,.09),
        rgba(245,197,66,.025) 45%,
        transparent 70%);
    animation: core-pulse 5s ease-in-out infinite;
}

@keyframes grid-drift {
    to { background-position: 46px 46px; }
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}@keyframes core-pulse {
    0%, 100% { opacity: .45; scale: .94; }
    50% { opacity: 1; scale: 1.08; }
}

@keyframes orb-float {
    from { translate: 0 -15px; }
    to { translate: 35px 45px; }
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}


/* ==========================================
   3. الشريط العلوي والشعار
========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8,9,13,.92);
    border-bottom: 1px solid rgba(245,197,66,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container {
    width: min(1240px, 94%);
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: #111;
    background: linear-gradient(145deg, #FFE78B, #F5C542 55%, #D9A51D);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px 5px 12px 5px;
    box-shadow: 0 0 22px rgba(245,197,66,.12);
}

.logo-icon span {
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.logo-text strong {
    font-family: Arial, sans-serif;
    direction: ltr;
    font-size: 18px;
    font-weight: 800;
}

.logo-text small {
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 5px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: #C5C4CB;
    font-size: 13px;
    transition: color .25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -11px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

body:not(:has(:target)) .nav-links a[href="#home"],
body:has(#home:target) .nav-links a[href="#home"],
body:has(#features:target) .nav-links a[href="#features"],
body:has(#social:target) .nav-links a[href="#social"] {
    color: var(--gold);
}

body:not(:has(:target)) .nav-links a[href="#home"]::after,
body:has(#home:target) .nav-links a[href="#home"]::after,
body:has(#features:target) .nav-links a[href="#features"]::after,
body:has(#social:target) .nav-links a[href="#social"]::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 17px;
    color: var(--gold);
    border: 1px solid rgba(245,197,66,.65);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.nav-cta:hover {
    color: #08090D;
    background: var(--gold);
    box-shadow: 0 0 22px rgba(245,197,66,.15);
}


/* ==========================================
   4. الواجهة الرئيسية
========================================== */

.hero {
    min-height: 580px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 64px;
    padding-bottom: 70px;
}

.announcement {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 28px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #D7D4C9;
    font-size: 11px;
    background: rgba(20,20,23,.75);
    border: 1px solid rgba(245,197,66,.27);
    border-radius: 100px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245,197,66,.8);
    animation: status-blink 2s ease-in-out infinite;
}

.announcement-divider {
    color: var(--gold);
}.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    direction: ltr;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--gold);
    text-shadow: 0 0 35px rgba(245,197,66,.11);
}

.hero-team {
    margin-top: 8px;
    color: #F5F4EF;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 10px;
}

.title-decoration,
.heading-decoration,
.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-decoration {
    margin: 23px auto;
}

.title-decoration span,
.heading-decoration span,
.footer-decoration span {
    width: 65px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.title-decoration span:last-child,
.heading-decoration span:last-child,
.footer-decoration span:last-child {
    transform: rotate(180deg);
}

.title-decoration i,
.heading-decoration i,
.footer-decoration i {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}

.hero-description {
    max-width: 650px;
    margin: 0 auto;
    color: #B8B6C0;
    font-size: 15px;
    line-height: 2.1;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #15120A;
    background: linear-gradient(135deg, #FFE58A, #F5C542 60%, #E7B328);
}

.button-outline {
    color: #F1EFE9;
    border: 1px solid rgba(245,197,66,.7);
    background: rgba(8,9,13,.45);
}

.button-outline:hover {
    background: rgba(245,197,66,.08);
}

.hero-caption {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #777784;
    font-size: 11px;
}

.caption-line {
    width: 25px;
    height: 1px;
    background: #45434A;
}


/* ==========================================
   5. الإحصائيات
========================================== */

.stats {
    padding: 32px 0 18px;
    background: rgba(17,18,25,.77);
    border-block: 1px solid rgba(255,255,255,.045);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.stat-card {
    position: relative;
    min-height: 120px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: linear-gradient(145deg, #1B1C24, #101117);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    transition: .25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,197,66,.55);
}

.stat-icon {
    position: absolute;
    top: 12px;
    right: 14px;
    color: rgba(245,197,66,.75);
    font-size: 17px;
}

.stat-number {
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    direction: ltr;
}

.stat-label {
    color: #B7B6BF;
    font-size: 11px;
}

.stats-note {
    margin-top: 12px;
    color: #777681;
    text-align: center;
    font-size: 10px;
}


/* ==========================================
   6. شرائط الروابط المميزة
========================================== */

.featured {
    padding: 55px 0 25px;
}

.featured-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.featured-link {
    --link-color: var(--gold);
    --link-glow: rgba(245,197,66,.1);min-width: 240px;
    min-height: 48px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    background: rgba(18,19,25,.85);
    border: 1px solid var(--link-color);
    border-radius: 10px;
    box-shadow: 0 0 22px var(--link-glow);
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.featured-link:hover {
    transform: translateY(-3px);
    background: #202025;
    box-shadow: 0 0 30px var(--link-glow);
}

.gold-link {
    --link-color: rgba(245,197,66,.8);
    --link-glow: rgba(245,197,66,.1);
}

.purple-link {
    --link-color: rgba(216,80,255,.75);
    --link-glow: rgba(216,80,255,.1);
}

.featured-symbol {
    color: var(--link-color);
    font-size: 17px;
}


/* ==========================================
   7. عناوين الأقسام
========================================== */

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-heading h2 {
    color: var(--text);
    font-size: clamp(25px, 4vw, 37px);
    font-weight: 800;
    line-height: 1.6;
}

.section-heading h2 span {
    color: var(--gold);
}

.heading-decoration {
    margin: 13px auto;
}

.heading-decoration span {
    width: 36px;
}

.section-heading p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}


/* ==========================================
   8. شبكة البطاقات التفاعلية
========================================== */

.features {
    padding: 45px 0 65px;
}

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

.feature-card {
    --accent: var(--gold);
    --card-border: rgba(245,197,66,.19);

    position: relative;
    display: block;
    min-width: 0;
    min-height: 220px;
    padding: 27px 22px 23px;
    overflow: hidden;
    background: linear-gradient(145deg, #16171E, #0D0E13);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.feature-card::after {
    content: "";
    position: absolute;
    top: -65px;
    left: -65px;
    width: 140px;
    height: 140px;
    background: var(--accent);
    opacity: .035;
    border-radius: 50%;
    filter: blur(35px);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}

.feature-number {
    position: absolute;
    top: 13px;
    left: 17px;
    color: var(--accent);
    opacity: .75;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    direction: ltr;
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 43px;
    height: 43px;
    margin-bottom: 17px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: 12px;
    font-size: 23px;
    transition: transform .3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.06);
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 9px;
    color: #F0EEE8;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
}

.feature-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: #A5A4AE;
    font-size: 11px;
    line-height: 2.05;
}.card-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.card-action span {
    transition: transform .25s ease;
}

.feature-card:hover .card-action span {
    transform: translateX(-4px);
}

.card-bottom-line {
    position: absolute;
    bottom: 0;
    right: 22px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s ease;
}

.feature-card:hover .card-bottom-line {
    width: 55px;
}

/* لون كل بطاقة */

.feature-red {
    --accent: #FF777F;
    --card-border: rgba(255,119,127,.19);
}

.feature-blue {
    --accent: #64A9FF;
    --card-border: rgba(100,169,255,.19);
}

.feature-purple {
    --accent: #B68AFF;
    --card-border: rgba(182,138,255,.19);
}

.feature-orange {
    --accent: #FFB45E;
    --card-border: rgba(255,180,94,.19);
}

.feature-teal {
    --accent: #36D9C0;
    --card-border: rgba(54,217,192,.2);
}


.feature-gold {
    --accent: #F5C542;
    --card-border: rgba(245,197,66,.25);
}

.feature-green {
    --accent: #4AD6A0;
    --card-border: rgba(74,214,160,.19);
}


/* ==========================================
   9. بطاقة معرض اللقطات
========================================== */

.gallery-card {
    --accent: var(--gold);

    position: relative;
    min-height: 100px;
    margin-top: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    background: linear-gradient(110deg, #14151D, #101117);
    border: 1px solid rgba(245,197,66,.27);
    border-radius: 14px;
    transition: .28s ease;
}

.gallery-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.gallery-card::after {
    content: "";
    position: absolute;
    left: -55px;
    top: -65px;
    width: 170px;
    height: 170px;
    background: var(--gold);
    border-radius: 50%;
    opacity: .035;
    filter: blur(45px);
}

.gallery-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245,197,66,.75);
    box-shadow: 0 10px 30px rgba(245,197,66,.06);
}

.gallery-card-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: rgba(245,197,66,.09);
    border: 1px solid rgba(245,197,66,.22);
    border-radius: 12px;
    font-size: 24px;
}

.gallery-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.gallery-card-content strong {
    color: #F5F2E8;
    font-size: 15px;
}

.gallery-card-content small {
    color: #9695A1;
    font-size: 11px;
}

.gallery-card-arrow {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: rgba(245,197,66,.07);
    border: 1px solid rgba(245,197,66,.15);
    border-radius: 9px;
    font-size: 20px;
    transition: transform .25s ease;
}

.gallery-card:hover .gallery-card-arrow {
    transform: translateX(-4px);
}


/* ==========================================
   10. النوافذ المنبثقة
========================================== */

/* النافذة مخفية إلى أن يتم الضغط على بطاقة */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal:target {
    display: flex;
    animation: modal-appear .22s ease both;
}

@keyframes modal-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* الطبقة الداكنة خلف النافذة */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* جسم النافذة */.modal-box {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0D111A;
    border: 1px solid rgba(245,197,66,.22);
    border-radius: 16px;
    box-shadow:
        0 25px 90px rgba(0,0,0,.55),
        0 0 35px rgba(245,197,66,.035);
    animation: modal-rise .3s ease both;
}

@keyframes modal-rise {
    from {
        transform: translateY(12px) scale(.985);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

/* رأس النافذة */

.modal-header {
    --accent: var(--gold);

    position: relative;
    min-height: 82px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: color-mix(in srgb, var(--accent) 10%, #0D111A);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.modal-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.modal-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 11%, #11131B);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
    border-radius: 11px;
    font-size: 22px;
}

.modal-heading h2 {
    color: #F5F4EF;
    font-size: 16px;
    line-height: 1.7;
}

.modal-heading p {
    color: #A5A7B3;
    font-size: 10px;
    line-height: 1.8;
}

.modal-close {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #A5A7B3;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
    transition: .2s ease;
}

.modal-close:hover {
    color: #FFF;
    background: rgba(255,255,255,.1);
    transform: rotate(90deg);
}

/* ألوان رؤوس النوافذ */

.accent-red {
    --accent: #FF777F;
}

.accent-blue {
    --accent: #64A9FF;
}

.accent-purple {
    --accent: #B68AFF;
}

.accent-orange {
    --accent: #FFB45E;
}

.accent-teal {
    --accent: #36D9C0;
}

.accent-green {
    --accent: #4AD6A0;
}

.accent-gold {
    --accent: var(--gold);
}

/* محتوى النافذة */

.modal-body {
    padding: 22px 20px 20px;
}

.modal-description {
    padding: 17px;
    color: #D2D2D9;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    font-size: 12px;
    line-height: 2.1;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 23px;
    padding: 0;
    list-style: none;
}

.modal-list li {
    position: relative;
    padding-right: 21px;
    color: #C7C7D0;
    font-size: 12px;
    line-height: 1.9;
}

.modal-list li::before {
    content: "✦";
    position: absolute;
    right: 0;
    top: 1px;
    color: var(--gold);
    font-size: 12px;
}

.modal-cta {
    min-height: 48px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #071310;
    background: linear-gradient(100deg, #20BCA8, #11A995);
    border: 1px solid rgba(76,255,222,.25);
    border-radius: 10px;
    box-shadow: 0 5px 22px rgba(17,185,163,.12);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    transition: .25s ease;
}

.modal-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17,185,163,.2);
}

.modal-cta span {
    font-size: 17px;
}

.modal-footnote {
    margin-top: 14px;
    color: #7D7F8D;
    text-align: center;
    font-size: 10px;
    line-height: 1.9;
}

.modal-tip {
    margin: 18px 0;
    padding: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #BFC0CA;
    background: rgba(245,197,66,.045);
    border: 1px solid rgba(245,197,66,.12);
    border-radius: 9px;
}

.modal-tip > span {
    flex-shrink: 0;
    color: var(--gold);
    font-size: 15px;
}.modal-tip p {
    font-size: 11px;
    line-height: 2;
}


/* ==========================================
   11. معرض الصور داخل النافذة
========================================== */

.gallery-modal-box {
    width: min(100%, 620px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.gallery-placeholder {
    min-height: 135px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background:
        linear-gradient(145deg, rgba(245,197,66,.045), transparent),
        #11131B;
    border: 1px dashed rgba(245,197,66,.25);
    border-radius: 11px;
    text-align: center;
    transition: .25s ease;
}

.gallery-placeholder:hover {
    border-style: solid;
    border-color: rgba(245,197,66,.65);
    transform: translateY(-2px);
}

.gallery-placeholder > span {
    color: var(--gold);
    font-size: 26px;
    line-height: 1.4;
}

.gallery-placeholder strong {
    color: #E9E7E0;
    font-size: 11px;
}

.gallery-placeholder small {
    color: #777986;
    font-size: 10px;
}


/* ==========================================
   12. التواصل الاجتماعي
========================================== */

.social {
    padding: 45px 0 70px;
}

.social .section-heading {
    margin-bottom: 28px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    --social-color: var(--gold);

    min-width: 145px;
    padding: 11px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--social-color);
    background: rgba(18,19,25,.9);
    border: 1px solid color-mix(in srgb, var(--social-color) 32%, transparent);
    border-radius: 10px;
    font-size: 12px;
    transition: .25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: color-mix(in srgb, var(--social-color) 9%, #111219);
}

.social-icon {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.social-arrow {
    margin-right: auto;
    opacity: 0;
    transition: .25s ease;
}

.social-link:hover .social-arrow {
    opacity: .8;
}

.whatsapp { --social-color: #36D681; }
.telegram { --social-color: #52B8F5; }
.facebook { --social-color: #5C91FF; }
.instagram { --social-color: #F179B9; }
.tiktok { --social-color: #E4E2E9; }


/* ==========================================
   13. شريط التنبيه
========================================== */

.notice-section {
    position: relative;
    z-index: 1;
    padding: 0 0 35px;
}

.age-notice {
    min-height: 72px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: rgba(20,19,15,.9);
    border: 1px solid rgba(245,197,66,.32);
    border-radius: 12px;
}

.age-badge {
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    direction: ltr;
    flex-shrink: 0;
}

.notice-divider {
    width: 1px;
    height: 30px;
    flex-shrink: 0;
    background: rgba(245,197,66,.4);
}

.age-notice p {
    color: #C2B99B;
    font-size: 11px;
    line-height: 2;
}


/* ==========================================
   14. التذييل
========================================== */

.footer {
    position: relative;
    z-index: 1;
    padding: 36px 0 30px;
    text-align: center;
    background: rgba(8,9,13,.78);
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-logo {
    justify-content: center;
}

.footer-logo .logo-icon {
    width: 37px;
    height: 37px;
}

.footer-logo .logo-icon span {
    font-size: 16px;
}

.footer-logo .logo-text strong {
    font-size: 15px;
}

.footer-decoration {
    margin: 22px auto 18px;
}

.footer-decoration span {
    width: 27px;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #797985;
    font-size: 11px;
}.copyright-name {
    color: #B7B5BE;
    font-family: Arial, sans-serif;
    direction: ltr;
}


/* ==========================================
   15. زر المحادثة العائم
========================================== */

.chat-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #111;
    background: linear-gradient(145deg, #FFE58A, #F5C542);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 7px rgba(245,197,66,.06),
        0 8px 28px rgba(0,0,0,.35);
    transition: .25s ease;
}

.chat-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(245,197,66,.18);
}

.chat-icon {
    position: relative;
    width: 24px;
    height: 19px;
    display: grid;
    place-items: center;
    background: #151515;
    border-radius: 7px;
}

.chat-icon::before {
    content: "";
    position: absolute;
    right: 4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    background: #151515;
    transform: skewY(-30deg);
}

.chat-icon::after {
    content: "•••";
    position: relative;
    top: -2px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1px;
}

.chat-tooltip {
    position: absolute;
    right: 65px;
    white-space: nowrap;
    padding: 7px 12px;
    color: var(--text);
    background: #1B1B21;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(5px);
    transition: .25s ease;
}

.chat-button:hover .chat-tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* ==========================================
   16. الشاشات المتوسطة
========================================== */

@media (max-width: 900px) {

    .nav-container {
        gap: 16px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-rings {
        width: 650px;
        top: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card {
        min-height: 215px;
    }

    .social-link {
        min-width: 125px;
    }
}


/* ==========================================
   17. الموبايل
========================================== */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 110px;
    }

    .container {
        width: 91%;
    }

    .nav-container {
        width: 94%;
        min-height: 68px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;
        border-radius: 10px 4px 10px 4px;
    }

    .logo-icon span {
        font-size: 16px;
    }

    .logo-text strong {
        font-size: 15px;
    }

    .logo-text small {
        font-size: 8px;
        letter-spacing: 4px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,.055);
    }

    .nav-links a {
        flex: 1;
        text-align: center;
        font-size: 11px;
        padding: 3px 0;
    }

    .nav-links a::after {
        bottom: -5px;
        right: 20%;
    }

    body:not(:has(:target)) .nav-links a[href="#home"]::after,
    body:has(#home:target) .nav-links a[href="#home"]::after,
    body:has(#features:target) .nav-links a[href="#features"]::after,
    body:has(#social:target) .nav-links a[href="#social"]::after {
        width: 60%;
    }

    .nav-cta {
        gap: 7px;
        padding: 7px 11px;
        font-size: 11px;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding-top: 55px;
        padding-bottom: 48px;
    }

    .hero-rings {
        top: 90px;
        width: 125vw;
        opacity: .5;
    }

    .announcement {
        gap: 7px;
        margin-bottom: 28px;
        padding: 7px 10px;
        font-size: 9px;
    }.hero-title {
        font-size: clamp(37px, 10vw, 56px);
        letter-spacing: -2px;
    }

    .hero-team {
        margin-top: 12px;
        font-size: 13px;
        letter-spacing: 7px;
    }

    .title-decoration {
        margin: 20px auto;
    }

    .hero-description {
        font-size: 12px;
        line-height: 2.2;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 25px;
    }

    .button {
        min-height: 45px;
        padding: 0 15px;
        gap: 9px;
        font-size: 11px;
    }

    .hero-caption {
        margin-top: 30px;
    }

    .stats {
        padding: 23px 0 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        min-height: 105px;
        padding: 16px 9px 12px;
    }

    .stat-icon {
        top: 9px;
        right: 10px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 10px;
    }

    .featured {
        padding: 40px 0 20px;
    }

    .featured-links {
        flex-direction: column;
        gap: 12px;
    }

    .featured-link {
        width: min(100%, 380px);
        min-height: 46px;
    }

    .features {
        padding: 35px 0 45px;
    }

    .section-heading {
        margin-bottom: 27px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p {
        font-size: 11px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        min-height: 0;
        padding: 23px 19px 24px;
    }

    .feature-icon {
        width: 39px;
        height: 39px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 11px;
    }

    .gallery-card {
        min-height: 85px;
        margin-top: 14px;
        padding: 15px 13px;
        gap: 11px;
    }

    .gallery-card-icon {
        width: 41px;
        height: 41px;
        font-size: 21px;
    }

    .gallery-card-content strong {
        font-size: 13px;
    }

    .gallery-card-content small {
        font-size: 10px;
    }

    .gallery-card-arrow {
        width: 31px;
        height: 31px;
    }

    .social {
        padding: 30px 0 45px;
    }

    .social-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .social-link {
        min-width: 0;
        padding: 10px 7px;
        gap: 7px;
        font-size: 11px;
    }

    .social-link:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        justify-self: center;
    }

    .social-icon {
        font-size: 16px;
    }

    .social-arrow {
        display: none;
    }

    .notice-section {
        padding-bottom: 25px;
    }

    .age-notice {
        min-height: auto;
        padding: 15px 12px;
        gap: 12px;
    }

    .age-badge {
        font-size: 21px;
    }

    .notice-divider {
        height: 35px;
    }

    .age-notice p {
        font-size: 10px;
    }

    .footer {
        padding: 28px 0 25px;
    }

    .footer-logo .logo-icon {
        width: 34px;
        height: 34px;
    }

    .copyright {
        font-size: 10px;
    }

    .chat-button {
        right: 14px;
        bottom: 17px;
        width: 48px;
        height: 48px;
    }

    .chat-tooltip {
        display: none;
    }

    .background-grid {
        background-size: 34px 34px;
    }

    /* النافذة على الهاتف */
    .modal {
        padding: 12px;
        align-items: center;
    }

    .modal-box {
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 13px;
    }

    .modal-header {
        min-height: 72px;
        padding: 13px;
        gap: 9px;
    }

    .modal-heading {
        gap: 10px;
    }

    .modal-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .modal-heading h2 {
        font-size: 13px;
    }

    .modal-heading p {
        font-size: 9px;
    }.modal-close {
        width: 31px;
        height: 31px;
        font-size: 21px;
    }

    .modal-body {
        padding: 15px 13px;
    }

    .modal-description {
        padding: 13px;
        font-size: 11px;
    }

    .modal-list {
        gap: 10px;
        margin: 16px 0 19px;
    }

    .modal-list li {
        font-size: 11px;
    }

    .modal-cta {
        min-height: 45px;
        padding: 10px;
        font-size: 11px;
    }

    .gallery-grid {
        gap: 8px;
    }

    .gallery-placeholder {
        min-height: 115px;
        padding: 10px 5px;
    }
}


/* ==========================================
   18. الشاشات الصغيرة جداً
========================================== */

@media (max-width: 360px) {

    .logo-text strong {
        font-size: 13px;
    }

    .nav-container {
        gap: 7px;
    }

    .nav-cta {
        padding: 6px 8px;
        font-size: 10px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-team {
        font-size: 11px;
        letter-spacing: 5px;
    }

    .button {
        padding: 0 10px;
        font-size: 10px;
    }

    .social-links {
        gap: 7px;
    }

    .modal {
        padding: 8px;
    }

    .modal-box {
        max-height: calc(100dvh - 16px);
    }
}


/* ==========================================
   19. إعدادات تقليل الحركة
========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}