:root {
  --navy: #071a3d;
  --navy-2: #0a2b66;
  --blue: #123f91;
  --gold: #c79a31;
  --gold-soft: #e7c574;
  --cream: #f6f2e8;
  --ink: #111a2b;
  --muted: #687083;
  --line: #dfe4ec;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 20, 50, 0.14);
}

/* Native PHP administration and utility additions */
.desktop-nav a.active::after { width: 100%; }
.language-switch { min-width: 48px; height: 38px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-content: center; color: var(--navy); font: 900 .75rem Arial, sans-serif; }
[dir="ltr"] body { font-family: Arial, Helvetica, sans-serif; }
[dir="ltr"] .hero-content { margin-left: 0; margin-right: auto; }
[dir="ltr"] .hero-media::after { background: linear-gradient(270deg, rgba(7,26,61,.42), rgba(7,26,61,.88) 58%, #071a3d 100%); }
[dir="ltr"] .eyebrow::after { order: -1; }
.form-status { margin: 0 0 20px; border-radius: 6px; padding: 15px 18px; font-weight: 800; }
.form-status.success { background: #e8f7ed; border: 1px solid #9dd6ae; color: #155d2d; }
.form-status.error { background: #fff0f0; border: 1px solid #efb1b1; color: #8b1e1e; }
.empty-state { min-height: 55vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty-state > strong { color: var(--gold); font: 900 6rem/1 Arial, sans-serif; }
.empty-state h1 { color: var(--navy); margin-bottom: 0; }
.link-button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.login-card { width: min(470px, 100%); margin: 50px auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 36px; box-shadow: var(--shadow); }
.login-card > img { width: 86px; height: 86px; object-fit: cover; border-radius: 18px; margin: 0 auto 20px; }
.login-card h1, .login-card > p { text-align: center; }
.login-card h1 { color: var(--navy); margin-bottom: 4px; }
.login-card > p { color: var(--muted); margin-top: 0; }
.login-form { display: grid; gap: 16px; margin-top: 25px; }
.login-form .button { width: 100%; }
.admin-note.danger { border-color: #efb1b1; background: #fff0f0; color: #8b1e1e; }
.admin-filters { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, .35fr) auto; gap: 10px; margin: 25px 0; }
.admin-filters input, .admin-filters select { min-height: 48px; border: 1px solid var(--line); border-radius: 5px; padding: 0 13px; background: #fff; }
.status-rejected { background: #ffe5e5; color: #971f1f; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 25px; }
.detail-card h2 { color: var(--navy); margin: 0 0 20px; font-size: 1.2rem; }
.detail-card dl { margin: 0; display: grid; gap: 12px; }
.detail-card dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-card dt { color: var(--muted); }
.detail-card dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.document-actions, .status-form { display: grid; gap: 12px; }
.event-list { display: grid; gap: 10px; }
.event-list article { display: grid; grid-template-columns: 150px 1fr auto; gap: 15px; padding: 12px; background: #f6f7fa; border-radius: 5px; }
.event-list time { color: var(--muted); direction: ltr; }
.news-more { margin-top: 28px; }
.news-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-list-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 12px 35px rgba(4,20,50,.08); }
.news-list-card > img { width: 100%; height: 230px; object-fit: cover; }
.news-list-card > div { padding: 22px; }
.news-list-card small { color: var(--gold); font-weight: 900; }
.news-list-card h2 { color: var(--navy); font-size: 1.25rem; line-height: 1.35; }
.news-list-card p { color: var(--muted); }
.news-list-card a, .back-link { color: var(--blue); font-weight: 900; }
.news-detail { max-width: 900px; }
.news-detail > h1 { color: var(--navy); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; margin-bottom: 8px; }
.news-detail > time { color: var(--muted); }
.news-detail-image { width: 100%; max-height: 560px; object-fit: cover; border-radius: 8px; margin: 35px 0; }
.news-body { font-size: 1.08rem; line-height: 2; white-space: normal; }
.news-editor { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.news-editor textarea { resize: vertical; }
.news-list-heading { margin-top: 48px; }
.table-actions { display: flex; gap: 7px; align-items: center; }
.table-actions form { margin: 0; }
.button-danger { background: #9b2727; color: #fff; }
.role-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 10px; font-size: .75rem; font-weight: 900; white-space: nowrap; }
.role-admin { background: #fff0c7; color: #73530a; border: 1px solid #e7c574; }
.role-member { background: #e7eefb; color: #17468e; border: 1px solid #b8ccef; }
.permission-note { border: 1px solid #b8ccef; background: #f0f5ff; color: #173d77; border-radius: 7px; padding: 18px; }
.permission-note strong { display: block; margin-bottom: 5px; }
.permission-note p { margin: 0; }
.muted-text { color: var(--muted); font-size: .82rem; font-weight: 800; }
.users-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 22px; align-items: start; }
.role-guide { background: var(--navy); color: #fff; border-radius: 8px; padding: 24px; }
.role-guide h2 { color: var(--gold-soft); margin-top: 0; }
.role-guide table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.role-guide th, .role-guide td { border-bottom: 1px solid rgba(255,255,255,.15); padding: 10px 7px; text-align: start; }
.role-guide th:not(:first-child), .role-guide td:not(:first-child) { text-align: center; }

@media (max-width: 720px) {
  .admin-filters, .detail-grid { grid-template-columns: 1fr; }
  .detail-card dl > div, .event-list article { grid-template-columns: 1fr; gap: 3px; }
  .login-card { padding: 25px 18px; }
  .news-list-grid { grid-template-columns: 1fr; }
  .language-switch { min-width: 42px; }
  .users-layout { grid-template-columns: 1fr; }
  .role-badge { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.announcement { background: var(--gold); color: #071a3d; font-size: .78rem; font-weight: 800; }
.announcement-inner { min-height: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,26,61,.09); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 58px; height: 58px; border-radius: 13px; object-fit: cover; box-shadow: 0 8px 18px rgba(7,26,61,.15); }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { color: var(--navy); font-size: .97rem; }
.brand small { color: var(--gold); font: 700 .57rem/1.5 Arial, sans-serif; letter-spacing: .08em; }
.desktop-nav { margin-inline: auto; display: flex; align-items: center; gap: 27px; font-size: .9rem; font-weight: 700; color: #34415b; }
.desktop-nav a { position: relative; padding: 29px 0 27px; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 20px; width: 0; height: 2px; background: var(--gold); transition: width .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 4px; padding: 0 22px; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(199,154,49,.24); }
.button-gold:hover { background: var(--gold-soft); }
.button-light { background: #fff; color: var(--navy); }
.button-outline { color: #fff; border: 1px solid rgba(255,255,255,.5); background: transparent; }
.button-outline-dark { color: var(--navy); border: 1px solid #bcc7d8; background: transparent; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 21px; height: 2px; background: var(--navy); }
.mobile-menu nav { position: absolute; left: 0; top: 55px; width: min(320px, calc(100vw - 32px)); padding: 18px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 5px; }
.mobile-menu nav > a:not(.button) { padding: 11px 8px; border-bottom: 1px solid var(--line); font-weight: 800; }

.hero { position: relative; min-height: 690px; color: #fff; display: grid; align-items: center; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.04); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,61,.42), rgba(7,26,61,.88) 58%, #071a3d 100%); }
.hero::before { content: "JCC"; position: absolute; left: -2vw; bottom: -14vw; color: rgba(255,255,255,.035); font: 900 clamp(13rem, 35vw, 34rem)/.8 Arial, sans-serif; letter-spacing: -.08em; z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 75px 0 110px; max-width: 700px; margin-right: 0; margin-left: auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 11px; color: var(--gold-soft); font-size: .82rem; font-weight: 900; letter-spacing: .03em; }
.hero-kicker::before { content: ""; width: 40px; height: 2px; background: var(--gold); }
.hero h1 { margin: 18px 0 20px; font-size: clamp(3.3rem, 7vw, 6.8rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; color: var(--gold-soft); }
.hero p { max-width: 590px; color: #dce4f2; font-size: 1.1rem; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stamp { position: absolute; z-index: 2; left: max(20px, calc((100vw - 1180px)/2)); bottom: 52px; width: 144px; height: 144px; border: 1px solid rgba(231,197,116,.55); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--gold-soft); transform: rotate(-7deg); }
.hero-stamp strong { font: 900 2rem/1 Arial, sans-serif; }
.hero-stamp span { font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.match-bar { position: relative; z-index: 3; margin-top: -58px; }
.match-panel { background: #fff; min-height: 116px; display: grid; grid-template-columns: 1.15fr 1fr .7fr; align-items: stretch; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.match-result { padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.match-team { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--navy); }
.mini-crest { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-content: center; font: 900 .68rem Arial, sans-serif; }
.mini-crest.light { background: #eef1f6; color: #4f5b70; }
.score { text-align: center; }
.score strong { display: block; color: var(--navy); font: 900 1.65rem Arial, sans-serif; }
.score span { color: var(--muted); font-size: .72rem; }
.next-match { padding: 20px 30px; background: var(--cream); border-inline: 1px solid #e6dec9; }
.next-match small { color: var(--gold); font-weight: 900; }
.next-match strong { display: block; color: var(--navy); margin-top: 5px; }
.next-match span { color: var(--muted); font-size: .8rem; }
.match-link { background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; font-weight: 900; }
.match-link span { display: block; color: var(--gold); font: 900 1.5rem/1 Arial, sans-serif; }

.section { padding: 110px 0; }
.section-soft { background: #f5f7fa; }
.section-dark { color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 20%, rgba(199,154,49,.12), transparent 32%); }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.eyebrow::after { content: ""; width: 35px; height: 2px; background: currentColor; }
.section-heading h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.15; margin: 13px 0 12px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: #b9c5da; }
.intro-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 75px; align-items: center; }
.intro-visual { position: relative; min-height: 560px; }
.intro-visual > img { width: calc(100% - 54px); height: 520px; object-fit: cover; border-radius: 7px; }
.intro-visual::before { content: ""; position: absolute; inset: 34px 0 0 70px; border: 2px solid var(--gold); border-radius: 7px; z-index: -1; }
.intro-card { position: absolute; left: 0; bottom: 5px; width: 230px; padding: 24px; background: var(--navy); color: #fff; box-shadow: var(--shadow); border-radius: 5px; }
.intro-card strong { display: block; color: var(--gold-soft); font-size: 2.4rem; line-height: 1; }
.intro-card span { font-size: .85rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
.feature-item { border-top: 1px solid var(--line); padding-top: 15px; display: flex; gap: 12px; align-items: start; }
.feature-number { color: var(--gold); font: 900 .75rem Arial, sans-serif; margin-top: 5px; }
.feature-item strong { display: block; color: var(--navy); margin-bottom: 3px; }
.feature-item p { color: var(--muted); font-size: .85rem; margin: 0; }

.academy-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: stretch; min-height: 600px; }
.academy-teaser-image { position: relative; overflow: hidden; }
.academy-teaser-image img { width: 100%; height: 100%; object-fit: cover; }
.academy-teaser-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,61,.55), transparent 55%); }
.academy-teaser-content { padding: 75px; display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.academy-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 32px; }
.academy-groups span { border: 1px solid rgba(7,26,61,.2); color: var(--navy); border-radius: 999px; padding: 6px 13px; font: 800 .76rem Arial, Tahoma, sans-serif; background: rgba(255,255,255,.55); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7,26,61,.16); margin-top: 28px; padding-top: 28px; }
.stats-row strong { display: block; color: var(--navy); font: 900 1.7rem/1 Arial, sans-serif; }
.stats-row span { color: var(--muted); font-size: .78rem; }

.news-grid { display: grid; grid-template-columns: 1.25fr repeat(2, 1fr); gap: 20px; }
.news-card { position: relative; min-height: 390px; border-radius: 7px; overflow: hidden; background: var(--navy); color: #fff; }
.news-card.featured { min-height: 540px; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover img { transform: scale(1.035); }
.news-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,15,39,.94), rgba(4,15,39,.05) 70%); }
.news-content { position: absolute; z-index: 2; inset: auto 24px 24px; }
.news-content small { color: var(--gold-soft); font-weight: 900; }
.news-content h3 { margin: 8px 0 6px; font-size: 1.2rem; line-height: 1.35; }
.featured .news-content h3 { font-size: 1.65rem; }
.news-content p { color: #c8d2e3; font-size: .82rem; margin: 0; }

.sponsor-strip { border-block: 1px solid var(--line); padding: 36px 0; background: #fff; }
.sponsors { display: grid; grid-template-columns: .7fr repeat(4, 1fr); align-items: center; gap: 20px; }
.sponsors > span:first-child { color: var(--muted); font-size: .78rem; font-weight: 800; }
.sponsor-placeholder { min-height: 55px; border: 1px dashed #cad1dc; display: grid; place-content: center; color: #9aa3b3; border-radius: 4px; font: 800 .75rem Arial, sans-serif; letter-spacing: .08em; }

.cta-band { padding: 80px 0; background: var(--gold); color: var(--navy); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.cta-band p { margin: 0; opacity: .78; }
.cta-band .button { background: var(--navy); color: #fff; min-width: 190px; }

.page-hero { position: relative; min-height: 420px; display: grid; align-items: end; overflow: hidden; background: var(--navy); color: #fff; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #071a3d 0%, rgba(7,26,61,.6) 70%, rgba(7,26,61,.3)); }
.page-hero-content { position: relative; z-index: 2; padding: 80px 0 60px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; margin: 12px 0; letter-spacing: -.05em; }
.page-hero p { color: #d1dced; max-width: 650px; margin: 0; }
.breadcrumb { color: var(--gold-soft); font-size: .78rem; font-weight: 900; }

.group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.group-card { min-height: 170px; padding: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.group-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.group-card strong { color: var(--navy); font: 900 1.35rem Arial, Tahoma, sans-serif; }
.group-card p { color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.group-card span { position: absolute; left: 15px; bottom: -12px; color: #eef1f6; font: 900 4.5rem/1 Arial, sans-serif; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { padding: 32px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); position: relative; z-index: 2; }
.program-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-content: center; font: 900 1rem Arial, sans-serif; }
.program-card h3 { margin: 22px 0 8px; }
.program-card p { margin: 0; color: #b9c5da; font-size: .88rem; }
.schedule { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); }
.schedule th { background: var(--navy); color: #fff; text-align: right; padding: 17px 20px; }
.schedule td { padding: 17px 20px; border-bottom: 1px solid var(--line); }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td:first-child { color: var(--gold); font-weight: 900; }

.fixtures-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.fixture-card { border: 1px solid var(--line); background: #fff; padding: 25px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; margin-bottom: 12px; }
.fixture-card .club { font-weight: 900; color: var(--navy); }
.fixture-card .versus { padding: 0 25px; border-inline: 1px solid var(--line); }
.fixture-card .versus strong { display: block; font: 900 1.3rem Arial, sans-serif; color: var(--navy); }
.fixture-card .versus span { color: var(--muted); font-size: .72rem; }
.standings { background: var(--navy); color: #fff; padding: 28px; }
.standings h3 { margin: 0 0 18px; }
.standing-row { display: grid; grid-template-columns: 30px 1fr 40px 40px; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .83rem; }
.standing-row.header { color: #91a0ba; font-size: .7rem; }
.standing-row.highlight { color: var(--gold-soft); font-weight: 900; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.player-card { background: #eef1f5; min-height: 330px; position: relative; overflow: hidden; display: flex; align-items: end; }
.player-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-silhouette { position: absolute; inset: 0; background: radial-gradient(circle at 50% 33%, #c8d0db 0 42px, transparent 43px), radial-gradient(ellipse at 50% 105%, #c8d0db 0 115px, transparent 116px); }
.player-info { position: relative; z-index: 2; width: 100%; padding: 20px; color: #fff; background: linear-gradient(to top, var(--navy), transparent); }
.player-info strong { display: block; }
.player-info span { color: var(--gold-soft); font-size: .77rem; }

.media-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 230px; gap: 14px; }
.media-item { position: relative; overflow: hidden; border-radius: 5px; grid-column: span 4; }
.media-item.wide { grid-column: span 8; }
.media-item.tall { grid-row: span 2; }
.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-item:hover img { transform: scale(1.04); }
.media-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,61,.8), transparent 55%); }
.media-caption { position: absolute; z-index: 2; inset: auto 18px 15px; color: #fff; }
.media-caption strong { display: block; }
.media-caption span { color: var(--gold-soft); font-size: .72rem; }
.play-badge { position: absolute; z-index: 3; top: 18px; left: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-content: center; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.registration-form { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(7,26,61,.08); }
.form-step { padding: 34px; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; }
.form-step-title { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.form-step-title span { width: 35px; height: 35px; border-radius: 50%; display: grid; place-content: center; background: var(--navy); color: var(--gold); font: 900 .8rem Arial, sans-serif; }
.form-step-title h2 { margin: 0; color: var(--navy); font-size: 1.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #2f3c52; font-size: .8rem; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid #cfd6e1; background: #fbfcfd; border-radius: 4px; padding: 10px 13px; color: var(--ink); outline: none; }
.field textarea { min-height: 95px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,63,145,.08); }
.field small { color: var(--muted); font-size: .7rem; }
.category-suggestion { padding: 11px 13px; background: #f6f1e4; border-right: 3px solid var(--gold); color: #5c4c23; font-size: .78rem; }
.upload-box { min-height: 116px; border: 1px dashed #aab5c5; background: #f8fafc; padding: 18px; display: grid; place-content: center; text-align: center; }
.upload-box input { border: 0; min-height: auto; padding: 0; }
.checkbox-row { display: flex; align-items: start; gap: 10px; color: var(--muted); font-size: .78rem; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }
.form-submit { padding: 25px 34px; background: #f7f9fb; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-submit p { color: var(--muted); font-size: .73rem; margin: 0; max-width: 430px; }
.form-status { margin: 0 34px 25px; padding: 14px 16px; border-radius: 4px; font-size: .85rem; }
.form-status.success { background: #e9f7ef; color: #17603a; }
.form-status.error { background: #fff0f0; color: #a52a2a; }
.register-aside { position: sticky; top: 130px; }
.aside-card { padding: 28px; background: var(--navy); color: #fff; margin-bottom: 16px; }
.aside-card h3 { margin: 0 0 12px; }
.aside-card p { color: #b9c5da; font-size: .83rem; }
.aside-list { padding: 0; list-style: none; margin: 20px 0 0; }
.aside-list li { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 0; color: #dce4f2; font-size: .8rem; }
.aside-list li::before { content: "✓"; color: var(--gold); margin-left: 8px; }
.support-card { padding: 24px; border: 1px solid var(--line); }
.support-card strong { color: var(--navy); }
.support-card p { color: var(--muted); font-size: .8rem; margin: 8px 0 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { padding: 25px; border: 1px solid var(--line); display: grid; grid-template-columns: 46px 1fr; gap: 15px; }
.contact-card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--gold); display: grid; place-content: center; font-weight: 900; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card p, .contact-card a { color: var(--muted); font-size: .82rem; margin: 4px 0 0; }
.map-card { min-height: 480px; position: relative; overflow: hidden; background: #dce2e7; display: grid; place-content: center; }
.map-grid { position: absolute; inset: -20px; opacity: .38; background-image: linear-gradient(#9eabb6 1px, transparent 1px), linear-gradient(90deg, #9eabb6 1px, transparent 1px); background-size: 45px 45px; transform: rotate(8deg) scale(1.2); }
.map-pin { position: relative; z-index: 2; text-align: center; background: #fff; padding: 25px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.map-pin img { width: 70px; height: 70px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; }
.map-pin strong { display: block; color: var(--navy); }
.map-pin span { color: var(--muted); font-size: .78rem; }

.admin-shell { background: #f2f5f8; min-height: 100vh; padding-inline-start: 280px; }
.admin-sidebar { position: fixed; z-index: 50; inset-block: 0; inset-inline-start: 0; width: 280px; padding: 24px 18px; overflow-y: auto; display: flex; flex-direction: column; background: linear-gradient(180deg, #071a3d 0%, #04132f 100%); color: #dbe4f2; box-shadow: 12px 0 35px rgba(4,20,50,.14); }
[dir="rtl"] .admin-sidebar { box-shadow: -12px 0 35px rgba(4,20,50,.14); }
.admin-sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-sidebar-brand img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255,255,255,.2); }
.admin-sidebar-brand span { min-width: 0; }
.admin-sidebar-brand strong { display: block; color: var(--gold-soft); font: 900 1.15rem Arial,sans-serif; }
.admin-sidebar-brand small { display: block; color: #a9b7cc; font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-user { display: flex; align-items: center; gap: 11px; margin: 18px 4px 6px; padding: 12px; border-radius: 9px; background: rgba(255,255,255,.07); }
.admin-user-avatar { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; }
.admin-sidebar-user div { min-width: 0; }
.admin-sidebar-user strong, .admin-sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-user strong { color: #fff; font-size: .8rem; }
.admin-sidebar-user small { color: #9fb0c8; font-size: .68rem; }
.admin-sidebar-nav { flex: 1; display: flex; flex-direction: column; padding-top: 18px; }
.admin-nav-group { display: grid; gap: 5px; }
.admin-nav-label { padding: 0 11px 7px; color: #7f91aa; font-size: .64rem; font-weight: 900; letter-spacing: .06em; }
.admin-sidebar-nav a, .admin-sidebar-logout { width: 100%; min-height: 45px; padding: 9px 11px; border: 0; border-radius: 7px; display: flex; align-items: center; gap: 11px; background: transparent; color: #dbe4f2; font: inherit; font-size: .78rem; text-align: start; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.admin-sidebar-nav a:hover, .admin-sidebar-logout:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(-2px); }
[dir="ltr"] .admin-sidebar-nav a:hover, [dir="ltr"] .admin-sidebar-logout:hover { transform: translateX(2px); }
.admin-sidebar-nav a.active { background: linear-gradient(90deg, rgba(199,154,49,.26), rgba(199,154,49,.08)); color: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
[dir="rtl"] .admin-sidebar-nav a.active { box-shadow: inset -3px 0 0 var(--gold); }
.admin-nav-icon { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-content: center; border-radius: 7px; background: rgba(255,255,255,.09); color: var(--gold-soft); font: 900 .68rem Arial,sans-serif; }
.admin-nav-secondary { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-nav-secondary form { margin: 0; }
.admin-sidebar-logout { color: #ffc5c5; }
.admin-menu-toggle, .admin-menu-button { display: none; }
.admin-main { padding: 45px 0 90px; }
@media (max-width: 900px) {
  .admin-shell { padding-inline-start: 0; }
  .admin-sidebar { position: sticky; inset: auto; top: 0; width: 100%; height: auto; padding: 12px 16px; overflow: visible; box-shadow: 0 8px 25px rgba(4,20,50,.18); }
  [dir="rtl"] .admin-sidebar { box-shadow: 0 8px 25px rgba(4,20,50,.18); }
  .admin-sidebar-brand { padding: 0 0 10px; }
  .admin-sidebar-brand img { width: 40px; height: 40px; }
  .admin-sidebar-user { display: none; }
  .admin-menu-button { min-height: 42px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: .8rem; font-weight: 900; cursor: pointer; }
  .admin-sidebar-nav { display: none; max-height: calc(100vh - 115px); overflow-y: auto; padding-top: 10px; }
  .admin-menu-toggle:checked ~ .admin-sidebar-nav { display: flex; }
  .admin-nav-secondary { margin-top: 18px; }
  .admin-main { padding-top: 28px; }
}
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 25px; }
.admin-heading h1 { color: var(--navy); margin: 0; }
.admin-heading p { color: var(--muted); margin: 5px 0 0; }
.admin-actions { display: flex; gap: 8px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.dashboard-stat { background: #fff; padding: 22px; border: 1px solid var(--line); }
.dashboard-stat span { color: var(--muted); font-size: .75rem; }
.dashboard-stat strong { display: block; color: var(--navy); font: 900 2rem Arial, sans-serif; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.admin-table th, .admin-table td { padding: 15px 17px; text-align: right; border-bottom: 1px solid var(--line); font-size: .78rem; }
.admin-table th { background: #f8fafc; color: #536074; }
.status-pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: .67rem; }
.status-pending { background: #fff2cf; color: #785f15; }
.status-accepted { background: #e7f6ed; color: #1f6c42; }
.status-waiting { background: #edf0ff; color: #4051a7; }
.status-paid { background: #e6f2ff; color: #1c5e9b; }
.admin-note { margin-top: 18px; padding: 15px 18px; background: #fff9e8; border-right: 3px solid var(--gold); color: #695a2c; font-size: .8rem; }

.site-footer { background: #04132f; color: #b8c3d5; padding: 65px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h3, .footer-brand strong { color: #fff; margin: 0 0 10px; }
.footer-grid a, .footer-grid span, .footer-grid p { font-size: .78rem; margin: 0; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand { display: flex; gap: 16px; align-items: start; }
.footer-brand img { width: 72px; height: 72px; border-radius: 13px; object-fit: cover; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); display: grid; place-content: center; color: #fff; border-radius: 50%; }
.footer-grid small { font-size: .68rem; color: #7e8ca5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 45px; padding-top: 22px; display: flex; justify-content: space-between; font-size: .7rem; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .mobile-menu { display: block; }
  .hero { min-height: 620px; }
  .hero-stamp { display: none; }
  .match-panel { grid-template-columns: 1.25fr 1fr; }
  .match-link { grid-column: 1 / -1; min-height: 55px; }
  .intro-grid { grid-template-columns: 1fr; gap: 45px; }
  .intro-visual { order: 2; }
  .academy-teaser { grid-template-columns: 1fr; }
  .academy-teaser-image { min-height: 450px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card.featured { grid-column: 1 / -1; min-height: 500px; }
  .group-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .fixtures-layout, .form-layout, .contact-grid { grid-template-columns: 1fr; }
  .register-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .announcement-inner span:first-child { display: none; }
  .announcement-inner { justify-content: center; }
  .site-header { top: 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 49px; height: 49px; }
  .brand strong { font-size: .82rem; }
  .brand small { font-size: .48rem; }
  .hero { min-height: 590px; }
  .hero-content { padding: 70px 0 100px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero p { font-size: .95rem; }
  .hero-actions .button { width: 100%; }
  .hero-media::after { background: linear-gradient(to top, #071a3d 0%, rgba(7,26,61,.84) 58%, rgba(7,26,61,.48)); }
  .match-bar { margin-top: -35px; }
  .match-panel { display: block; }
  .match-result { padding: 18px 15px; }
  .match-team { flex-direction: column; font-size: .72rem; }
  .next-match { border: 0; }
  .section { padding: 75px 0; }
  .section-heading { margin-bottom: 35px; }
  .intro-visual { min-height: 430px; }
  .intro-visual > img { width: calc(100% - 30px); height: 390px; }
  .intro-visual::before { inset: 25px 0 0 35px; }
  .intro-card { width: 190px; padding: 18px; }
  .feature-list { grid-template-columns: 1fr; }
  .academy-teaser-image { min-height: 330px; }
  .academy-teaser-content { padding: 50px 25px; }
  .stats-row { gap: 10px; }
  .stats-row strong { font-size: 1.3rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; min-height: 430px; }
  .news-card { min-height: 380px; }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
  .sponsors > span:first-child { grid-column: 1 / -1; text-align: center; }
  .cta-band-inner { flex-direction: column; align-items: start; }
  .cta-band .button { width: 100%; }
  .page-hero { min-height: 340px; }
  .page-hero-content { padding: 70px 0 45px; }
  .group-grid, .program-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .group-card { min-height: 150px; padding: 18px; }
  .schedule { min-width: 650px; }
  .schedule-wrap { overflow-x: auto; }
  .fixture-card { padding: 18px 10px; }
  .fixture-card .versus { padding: 0 12px; }
  .media-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .media-item, .media-item.wide { grid-column: auto; }
  .media-item.tall { grid-row: auto; }
  .form-step { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-submit { padding: 22px 18px; flex-direction: column; align-items: stretch; }
  .form-status { margin-inline: 18px; }
  .admin-heading { align-items: start; flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-actions .button { flex: 1; padding-inline: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 430px) {
  .group-grid, .team-grid, .program-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .dashboard-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
