/* ── Base ── */
:root {
    --bg-primary: #0a0a0a;
    --bg-surface: #111111;
    --bg-card: #1a1a1a;
    --red: #e31e24;
    --red-hover: #b91519;
    --text-primary: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --font-en: "Inter", sans-serif;
    --font-ar: "Cairo", sans-serif;
    --nav-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    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;
}

/* ── Utility ── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.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-hover);
    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-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;
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo-bg {
    display: flex;
    align-items: center;
}
.nav-logo-bg img {
    height: 48px;
    width: auto;
    display: block;
}

/* Nav links */
.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.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: #fff;
}
.nav-links > li > a .ti-chevron-down {
    font-size: 12px;
    transition: transform 0.2s;
    margin-top: 1px;
}
.nav-links > li.has-dropdown:hover > a .ti-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 6px;
    list-style: none;
    min-width: 200px;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s,
        transform 0.18s;
    transform: translateX(-50%) translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 300;
}
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::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.dropdown li a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition:
        color 0.15s,
        background 0.15s;
}
.dropdown li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition:
        color 0.2s,
        border-color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.lang-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-login {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 0.45rem 1.1rem;
    transition:
        border-color 0.2s,
        background 0.2s;
    white-space: nowrap;
}
.nav-login:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* Hamburger button */
.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;
    bottom: 0;
    width: min(320px, 85vw);
    background: #111;
    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;
    border-left: 1px solid var(--border);
}
html[lang="ar"] .mobile-menu {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Mobile menu header: logo left, close right */
.mobile-menu-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #111;
    border-bottom: 1px solid var(--border);
    z-index: 1;
    flex-shrink: 0;
}
.mob-logo {
    display: flex;
    align-items: center;
}
.mob-logo .nav-logo-bg {
    padding: 4px 8px;
    border-radius: 6px;
}
.mob-logo .nav-logo-bg img {
    height: 36px;
}

.mob-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 2px solid var(--red);
    background: rgba(227, 30, 36, 0.12);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.15s;
    flex-shrink: 0;
}
.mob-close-btn:hover {
    background: var(--red);
    color: #fff;
    transform: scale(1.05);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 1rem 0 2rem;
    flex: 1;
}

.mobile-menu-inner > a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition:
        color 0.2s,
        background 0.2s;
}
.mobile-menu-inner > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

/* Mobile accordion */
.mob-accordion {
    border-bottom: 1px solid var(--border);
}
.mob-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}
.mob-acc-trigger:hover {
    color: #fff;
}
.mob-acc-trigger .ti-chevron-down {
    font-size: 14px;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.mob-accordion.open .mob-acc-trigger {
    color: #fff;
}
.mob-accordion.open .mob-acc-trigger .ti-chevron-down {
    transform: rotate(180deg);
}

.mob-acc-body {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
}
.mob-accordion.open .mob-acc-body {
    display: flex;
}
.mob-acc-body a {
    display: block;
    padding: 0.7rem 1.5rem 0.7rem 2.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
html[lang="ar"] .mob-acc-body a {
    padding: 0.7rem 2.5rem 0.7rem 1.5rem;
}
.mob-acc-body a:hover {
    color: #fff;
}

.mob-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.mob-login-btn {
    display: block;
    margin: 0.5rem 1.5rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.mob-login-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.mob-lang {
    margin: 0.75rem 1.5rem 0;
    justify-content: center;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-slides {
    position: absolute;
    inset: 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;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.45) 12%,
            transparent 38%
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            transparent 100%
        );
}
html[lang="ar"] .hero-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.45) 12%,
            transparent 38%
        ),
        linear-gradient(
            to left,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            transparent 100%
        );
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    font-size: 1rem;
    padding: 0.9rem 2.25rem;
}

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

/* ════════════════════════════════
   STATS
════════════════════════════════ */
#stats {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}
.stat-item {
    background: var(--bg-surface);
    padding: 1.5rem 2rem;
    text-align: center;
}
.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#about {
    padding: 6rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    pointer-events: none;
}
.about-image-accent {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 60%;
    height: 60%;
    border: 3px solid var(--red);
    border-radius: 4px;
    z-index: -1;
}
html[lang="ar"] .about-image-accent {
    right: auto;
    left: -1rem;
}
.about-text p {
    color: var(--text-muted);
    margin: 1rem 0 2rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ════════════════════════════════
   NEWS
════════════════════════════════ */
#news {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition:
        border-color 0.2s,
        transform 0.2s;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.news-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-card-img img {
    transform: scale(1.04);
}

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.news-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}
.news-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.news-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 1rem;
}
.news-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
    transition: gap 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}
.news-read-more:hover {
    text-decoration: underline;
}

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

/* ════════════════════════════════
   EVENTS
════════════════════════════════ */
.events-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.events-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}
.events-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.events-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding: 0.5rem 1.5rem 0.5rem 0;
}

.event-card {
    width: 290px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition:
        border-color 0.2s,
        transform 0.2s;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.event-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--red);
    color: #fff;
    border-radius: 3px;
    padding: 0.3rem 0.55rem;
    text-align: center;
    line-height: 1.1;
}
html[lang="ar"] .event-date-badge {
    left: auto;
    right: 0.75rem;
}
.event-date-badge .day {
    font-size: 1.2rem;
    font-weight: 900;
    display: block;
}
.event-date-badge .month {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-type {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.event-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}
.event-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    flex: 1;
}
.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.event-details-btn {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(227, 30, 36, 0.08);
    border: 1px solid rgba(227, 30, 36, 0.25);
    border-radius: 3px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}
.event-details-btn:hover {
    background: rgba(227, 30, 36, 0.16);
}

/* ════════════════════════════════
   LOGIN CARD
════════════════════════════════ */
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 2.25rem;
}
.login-card-title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-row-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.forgot-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
    transition: text-decoration 0.1s;
}
.forgot-link:hover {
    text-decoration: underline;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrap > .ti {
    position: absolute;
    inset-inline-start: 0.85rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}
.input-icon-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    padding: 0.7rem 0.85rem 0.7rem 2.6rem;
    transition:
        border-color 0.2s,
        background 0.2s;
    outline: none;
}
html[lang="ar"] .input-icon-wrap input {
    padding: 0.7rem 2.6rem 0.7rem 0.85rem;
}
.input-icon-wrap input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}
.input-icon-wrap input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.toggle-pass {
    position: absolute;
    inset-inline-end: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color 0.2s;
}
.toggle-pass:hover {
    color: var(--text-primary);
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-register-hint {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.login-register-hint a {
    color: var(--red);
    font-weight: 600;
    margin-inline-start: 0.35rem;
}
.login-register-hint a:hover {
    text-decoration: underline;
}

/* ════════════════════════════════
   SPONSORS
════════════════════════════════ */
#sponsors {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.sponsors-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}
.sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
}
.sponsor-logo {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.sponsor-logo:hover {
    color: rgba(255, 255, 255, 0.55);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo-wrap {
    display: inline-flex;
    /* background: rgba(255, 255, 255, 0.93); */
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.footer-logo {
    height: 52px;
    width: auto;
    display: block;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}
.footer-socials {
    display: flex;
    gap: 0.75rem;
}
.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}
.social-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col ul a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.footer-policy-link {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-policy-link:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
}

/* ════════════════════════════════
   SCROLL REVEAL
════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ════════════════════════════════
   HERO SUBTITLE
════════════════════════════════ */
.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ════════════════════════════════
   RESPONSIVE — NAVBAR BREAKPOINT
════════════════════════════════ */
@media (max-width: 960px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
}

.form-error {
    font-size: 0.8125rem;
    color: var(--red);
    margin-top: 0.25rem;
}
