/* ── Tokens ── */
:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --card: #1a1a1a;
    --red: #e31e24;
    --red-h: #b91519;
    --white: #ffffff;
    --muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --font-en: "Inter", sans-serif;
    --font-ar: "Cairo", sans-serif;
    --topbar-h: 42px;
    --nav-h: 74px;
    --header-h: 116px; /* topbar + nav */
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-en);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
html[lang="ar"] body {
    font-family: var(--font-ar);
    direction: rtl;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
    font-family: inherit;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}
.btn-primary:hover {
    background: var(--red-h);
    transform: translateY(-1px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.15s;
    font-family: inherit;
    font-size: 0.9375rem;
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

/* ── Section Labels ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.6rem;
}
.section-label::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--red);
}
html[lang="ar"] .section-label::before {
    display: none;
}
html[lang="ar"] .section-label::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--red);
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
    white-space: nowrap;
}
.view-all:hover {
    gap: 0.6rem;
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ════════════════════════════════════
   HEADER ROW 1 — DARK UTILITY BAR
   (transparent — hero gradient covers it)
════════════════════════════════════ */
#header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: var(--topbar-h);
    background: transparent;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}
#header-top.scrolled {
    background: rgba(10, 10, 10, 0.97);
}
.hdr-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}
.hdr-socials {
    display: flex;
    align-items: center;
    gap: 0.05rem;
}
.hdr-social-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color 0.2s;
}
.hdr-social-btn:hover {
    color: #fff;
}

.hdr-top-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hdr-login-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.28rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.hdr-login-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.hdr-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0.28rem 0.5rem;
    transition: color 0.2s;
}
.hdr-lang-btn:hover {
    color: #fff;
}

/* ════════════════════════════════════
   HEADER ROW 2 — WHITE NAV BAR
   (opaque white — logo black text visible)
════════════════════════════════════ */
#navbar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 299;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* thin separator line with gap below logo */
.nav-inner {
    position: relative;
    padding-bottom: 10px;
}
.nav-inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Arabic font for language toggle label */
[data-lang-toggle] span {
    font-family: var(--font-ar);
    font-size: 0.78rem;
}

/* Logo — white box so black logo text is visible over dark gradient */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-logo-wrap {
    display: inline-flex;
}
.nav-logo-wrap img {
    height: 44px;
    width: auto;
    max-width: none;
}

.nav-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Nav links — WHITE text, RED on hover */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin: 0 auto;
}
.nav-links > li {
    position: relative;
}
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.45rem 0.85rem;
    border-radius: 3px;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--red);
}
.nav-links > li > a .ti-chevron-down {
    font-size: 11px;
    transition: transform 0.2s;
    margin-top: 1px;
}
.nav-links > li.has-dropdown:hover > a .ti-chevron-down {
    transform: rotate(180deg);
}
.nav-links > li > span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.45rem 0.85rem;
    border-radius: 3px;
    white-space: nowrap;
    font-family: inherit;
}
.nav-links > li > span .ti-chevron-down {
    font-size: 11px;
    transition: transform 0.2s;
    margin-top: 1px;
}
.nav-links > li.has-dropdown:hover > span .ti-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown — white with red top accent */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--red);
    border-radius: 0 0 6px 6px;
    list-style: none;
    min-width: 210px;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s,
        transform 0.18s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    z-index: 400;
}
html[lang="ar"] .dropdown {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(-6px);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
html[lang="ar"] .has-dropdown:hover .dropdown,
html[lang="ar"] .has-dropdown:focus-within .dropdown {
    transform: translateX(50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    transition:
        color 0.15s,
        background 0.15s;
}
.dropdown li a:hover {
    color: var(--red);
    background: rgba(227, 30, 36, 0.04);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-login {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--red);
    border: none;
    border-radius: 4px;
    padding: 0.48rem 1.2rem;
    transition: background 0.2s;
}
.nav-login:hover {
    background: var(--red-h);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-inline-start: auto;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
        transform 0.25s,
        opacity 0.2s;
}

/* ════════════════════════════════
   MOBILE MENU
════════════════════════════════ */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 298;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s,
        visibility 0.25s;
}
.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 85vw);
    background: #fff;
    z-index: 299;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
}
html[lang="ar"] .mobile-menu {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}
html[lang="ar"] .mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #fff;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.mob-logo img {
    height: 36px;
    width: auto;
}
.mob-logo {
    display: none;
}
.mob-close-btn {
    width: 38px;
    height: 38px;
    border: 2px solid var(--red);
    background: rgba(227, 30, 36, 0.08);
    color: var(--red);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.mob-close-btn:hover {
    background: var(--red);
    color: #fff;
}

.mobile-menu-inner {
    padding: 0.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mobile-menu-inner > a {
    display: block;
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #222;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s;
}
.mobile-menu-inner > a:hover {
    color: var(--red);
}

.mob-accordion {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mob-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #222;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}
.mob-acc-trigger .ti-chevron-down {
    transition: transform 0.25s;
    font-size: 0.85rem;
    color: #888;
}
.mob-accordion.open .mob-acc-trigger .ti-chevron-down {
    transform: rotate(180deg);
}
.mob-acc-trigger:hover {
    color: var(--red);
}
.mob-acc-body {
    display: none;
    background: rgba(0, 0, 0, 0.025);
}
.mob-accordion.open .mob-acc-body {
    display: block;
}
.mob-acc-body a {
    display: block;
    padding: 0.6rem 1.4rem 0.6rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    transition: color 0.2s;
}
.mob-acc-body a:hover {
    color: var(--red);
}

.mob-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin: 0.5rem 0;
}
.mob-login-btn {
    display: block;
    margin: 1rem 1.4rem;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s;
}
.mob-login-btn:hover {
    background: var(--red-h);
}
.mob-lang-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mob-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.mob-lang-btn:hover {
    color: #111;
    border-color: #555;
}
.mob-socials {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 1.4rem;
}
.mob-social-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1rem;
    transition: all 0.2s;
}
.mob-social-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* ════════════════════════════════
   HERO — full viewport slideshow
   (same as index.html)
════════════════════════════════ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active {
    opacity: 1;
}

/* ── Gradient overlay
   Layer 1: strong black → transparent top-to-bottom
             covers full header area (utility bar + white nav = ~116px)
             then keeps a medium dark for middle, lightening past halfway
   Layer 2: left-to-right dark for hero text readability
── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.4) 15%,
            rgba(0, 0, 0, 0.25) 35%,
            rgba(0, 0, 0, 0.12) 60%,
            transparent 80%
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.38) 55%,
            transparent 100%
        );
}
html[lang="ar"] .hero-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.4) 15%,
            rgba(0, 0, 0, 0.25) 35%,
            rgba(0, 0, 0, 0.12) 60%,
            transparent 80%
        ),
        linear-gradient(
            to left,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.38) 55%,
            transparent 100%
        );
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
}
.hero-content {
    max-width: 580px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.75rem;
}
.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.25rem;
    line-height: 1.65;
}
.hero-cta {
    /* btn-primary inline */
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition:
        background 0.3s,
        transform 0.3s;
    cursor: pointer;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Hero prev/next arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.hero-arrow:hover {
    background: var(--red);
    border-color: var(--red);
}
.hero-arrow-prev {
    left: 1.5rem;
}
.hero-arrow-next {
    right: 1.5rem;
}
html[lang="ar"] .hero-arrow-prev {
    left: auto;
    right: 1.5rem;
}
html[lang="ar"] .hero-arrow-next {
    right: auto;
    left: 1.5rem;
}

/* Members section */
#members {
    padding: 6rem 0;
    background: #1c1c1c;
}
.members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.members-panel {
    background: var(--card);
    padding: 3rem 2.5rem;
}
.members-panel-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.members-panel-sub {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}
/* login form */
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
}
.form-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    padding: 0.7rem 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus {
    border-color: var(--red);
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
.form-row-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.forgot-link {
    font-size: 0.78rem;
    color: var(--red);
}
.forgot-link:hover {
    text-decoration: underline;
}
.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}
.divider-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    color: var(--muted);
    font-size: 0.8rem;
}
.divider-or::before,
.divider-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
/* register panel */
.register-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.register-perks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}
.register-perks li i {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}
.register-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ════════════════════════════════
   STATS
════════════════════════════════ */
#stats {
    background: var(--surface);
    border-top: 3px solid var(--red);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child {
    border-right: none;
}
.stat-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-number::after {
    content: "+";
    font-size: 0.6em;
    color: var(--red);
}
.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#about {
    padding: 7rem 0;
    background: var(--bg);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--red);
    border-radius: 2px;
    z-index: -1;
}
html[lang="ar"] .about-image-accent {
    right: auto;
    left: -16px;
}
.about-text .section-title {
    margin-bottom: 1.25rem;
}
.about-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ════════════════════════════════
   NEWS
════════════════════════════════ */
#news {
    padding: 7rem 0;
    background: var(--surface);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.news-card {
    background: var(--card);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.news-card:hover {
    transform: translateY(-4px);
}
.news-card-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}
.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.news-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
}
.news-date {
    font-size: 0.75rem;
    color: var(--muted);
}
.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 0.6rem;
}
.news-excerpt {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
.news-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
}
.news-card:hover .news-card-title {
    color: var(--red);
}

/* ════════════════════════════════
   EVENTS — Vertical list (index2 style)
════════════════════════════════ */
#events {
    padding: 7rem 0;
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.82)),
        url("assets/images/events-bg.jpg") center/cover no-repeat;
}
#events > .container {
    position: relative;
    z-index: 1;
}
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.event-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 2rem;
    background: var(--card);
    padding: 1.75rem 2rem;
    border-inline-start: 3px solid transparent;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.event-row:hover {
    border-inline-start-color: var(--red);
    background: #1e1e1e;
}

.event-date-col {
    text-align: center;
}
.event-day {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.03em;
}
.event-month {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}
.event-year {
    font-size: 0.68rem;
    color: var(--muted);
}

.event-info {
}
.event-badge {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.35rem;
}
.event-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}
.event-loc {
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.event-action {
}
.event-cta {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 3px;
    padding: 0.5rem 1.2rem;
    transition:
        background 0.2s,
        color 0.2s;
}
.event-cta:hover {
    background: var(--red);
    color: #fff;
}

/* ════════════════════════════════
   CALENDAR
════════════════════════════════ */
#calendar {
    padding: 7rem 0;
    background: var(--surface);
}
.cal-members-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .cal-members-layout {
        grid-template-columns: 1fr;
    }
}

.cal-wrap {
    background: var(--card);
    border-radius: 4px;
    overflow: hidden;
}
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.cal-nav-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.cal-nav-btn:hover {
    border-color: var(--red);
    color: var(--red);
}
.cal-month-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.cal-grid-wrap {
    padding: 1rem 1.25rem;
}
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.4rem;
}
.cal-weekdays span {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.4rem 0;
}
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
    position: relative;
    gap: 2px;
    transition: background 0.2s;
    border-radius: 3px;
}
.cal-day.today {
    background: rgba(227, 30, 36, 0.15);
    color: var(--red);
    font-weight: 700;
}
.cal-day.has-event {
    color: #fff;
    cursor: pointer;
}
.cal-day.has-event:hover {
    background: rgba(255, 255, 255, 0.06);
}
.cal-day.selected {
    outline: 2px solid var(--red);
    outline-offset: -2px;
}
.cal-day.empty {
    opacity: 0;
    pointer-events: none;
}
.day-num {
    font-size: 0.8rem;
    line-height: 1;
}
.day-dots {
    display: flex;
    gap: 2px;
}
.day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}
.dot-competition {
    background: var(--red);
}
.dot-news {
    background: #f59e0b;
}
.dot-event {
    background: #3b82f6;
}

.cal-events-list {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
}
.cal-event-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
}
.cal-event-item:last-child {
    border-bottom: none;
}
.cal-event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.3rem;
}
.type-competition .cal-event-dot {
    background: var(--red);
}
.type-news .cal-event-dot {
    background: #f59e0b;
}
.type-event .cal-event-dot {
    background: #3b82f6;
}
.cal-event-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    flex: 1;
}
.cal-event-date {
    font-size: 0.7rem;
    color: var(--muted);
    white-space: nowrap;
}
.cal-empty-msg {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0.5rem 0;
}

.cal-legend {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-inline-end: 0.4rem;
}
.dot-competition {
    background: var(--red);
}
.dot-news {
    background: #f59e0b;
}
.dot-event {
    background: #3b82f6;
}
.cal-legend span {
    font-size: 0.8rem;
    color: var(--muted);
}

.cal-info-panel {
    background: var(--card);
    border-radius: 4px;
    padding: 2.5rem 2rem;
}
.cal-info-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 1rem;
}
.cal-info-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}
.cal-info-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.cal-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.cal-info-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
.cal-info-panel .btn-primary {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.cal-info-panel .btn-outline {
    width: 100%;
    justify-content: center;
}

/* ════════════════════════════════
   SPONSORS
════════════════════════════════ */
#sponsors {
    padding: 3rem 0;
    background: #000;
    border-top: 1px solid var(--border);
}
.sponsors-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin-bottom: 1.75rem;
}
.sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.sponsor-logo {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.2s;
}
.sponsor-logo:hover {
    color: rgba(255, 255, 255, 0.45);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
#footer {
    background: #000;
    padding: 5rem 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo-wrap {
    display: inline-flex;
    margin-bottom: 1rem;
}
.footer-logo {
    height: 40px;
    width: auto;
}
.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-socials {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 1rem;
    transition: all 0.2s;
}
.social-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--red);
    display: inline-block;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
}
.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-social-link:hover {
    color: #fff;
}
.footer-social-link i {
    font-size: 1rem;
}
.footer-bottom {
    padding: 1.75rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}
.footer-policy-link {
    font-size: 0.8rem;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-policy-link:hover {
    color: #fff;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    #about {
        padding: 5rem 0;
    }
    #news,
    #events,
    #calendar {
        padding: 5rem 0;
    }
}
@media (max-width: 768px) {
    :root {
        --topbar-h: 38px;
        --nav-h: 62px;
        --header-h: 100px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image-accent {
        display: none;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Events */
    .event-row {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
        padding: 1.25rem 1.25rem;
    }
    .event-action {
        display: none;
    }
    .event-day {
        font-size: 1.9rem;
    }

    /* Members */
    .members-grid {
        grid-template-columns: 1fr;
    }
    .members-panel {
        padding: 2rem 1.5rem;
    }
    .members-panel + .members-panel {
        border-inline-start: none !important;
        border-top: 1px solid var(--border);
    }

    /* Calendar */
    .cal-members-layout {
        grid-template-columns: 1fr;
    }

    /* Hero arrows — hidden on mobile */
    .hero-arrow {
        display: none;
    }

    /* Sponsors — single row, no wrap */
    .sponsors-logos {
        flex-wrap: nowrap;
        gap: 1.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sponsor-img {
        height: 36px;
        flex-shrink: 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Sections padding */
    #about,
    #news,
    #events,
    #calendar,
    #members {
        padding: 4rem 0;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 1.6rem;
    }
    .container {
        padding: 0 1.1rem;
    }
    .hdr-socials {
        gap: 0;
    }
    .members-panel {
        padding: 1.75rem 1.1rem;
    }
    .event-row {
        padding: 1rem;
    }
}
/* Sponsors section */
#sponsors {
    padding: 3.5rem 0;
    background: var(--card);
    border-top: 1px solid var(--border);
}
.sponsors-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin-bottom: 2rem;
}
.sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.sponsor-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: filter 0.2s;
}
.sponsor-img:hover {
    opacity: 1;
}
/* Footer sport logo */
.footer-sport-logo {
    height: 64px;
    width: auto;
    margin-top: 1rem;
    transition: filter 0.2s;
}
.footer-sport-logo:hover {
    opacity: 0.9;
}
/* Footer partner logos */
.footer-partner-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-partner-logos img {
    height: 28px;
    width: auto;
    object-fit: contain;
    transition: filter 0.2s;
}
.footer-partner-logos img:hover {
    opacity: 0.9;
}
.mob-lang-row {
    display: none;
}
.mob-socials {
    display: none;
}

/* ════ HOMEPAGE RESPONSIVE ENHANCEMENTS ════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .about-img-wrap {
        max-height: 320px;
        overflow: hidden;
    }
    .about-img-wrap img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .section-header {
        margin-bottom: 2rem;
    }
}

/* ── 768px ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 5.5vw, 2.8rem) !important;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-ctas {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline {
        padding: 0.7rem 1.4rem;
        font-size: 0.875rem;
    }
    .hero-dots {
        bottom: 1.25rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stat-num {
        font-size: 2rem !important;
    }
    .news-grid {
        grid-template-columns: 1fr !important;
    }
    .section-title {
        font-size: clamp(1.4rem, 4vw, 2rem) !important;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.75rem;
    }
    .events-row {
        flex-direction: column;
        gap: 1rem;
    }
    .membership-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .sponsor-row {
        gap: 1.5rem !important;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .partners-strip {
        gap: 1.25rem !important;
    }
}

/* ── 600px ── */
@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        max-width: 90%;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stat-item {
        padding: 1.5rem 1rem !important;
    }
    .stat-num {
        font-size: 1.8rem !important;
    }
    .news-card-body {
        padding: 1.1rem;
    }
    .events-scroll {
        padding-bottom: 1rem;
    }
    .event-card {
        min-width: 240px !important;
    }
    .membership-card {
        padding: 2rem 1.5rem !important;
    }
    .section-label {
        font-size: 0.68rem;
    }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem !important;
    }
    .hero-subtitle {
        font-size: 0.82rem;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .stat-num {
        font-size: 1.6rem !important;
    }
    .footer-col ul li a {
        font-size: 0.82rem;
    }
    .news-card-title {
        font-size: 0.9rem;
    }
    .news-excerpt {
        font-size: 0.82rem;
    }
}

/* ── Touch ── */
@media (hover: none) {
    .news-card:hover {
        transform: none;
    }
    .about-img-wrap img {
        transform: none !important;
    }
}

/* ── Print ── */
@media print {
    #header-top,
    #navbar,
    .mobile-menu,
    .mobile-menu-backdrop,
    #footer,
    .hero-arrows,
    .hero-dots {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}
.mob-lang-row {
    display: none;
}
.mob-socials {
    display: none;
}
