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

:root {
    --primary: #0b1d34;
    --primary-deep: #060f1d;
    --primary-soft: #173d66;
    --accent: #ef040d;
    --accent-dark: #c9030b;
    --accent-soft: #ffe5e7;
    --bg-light: #eef2f6;
    --bg-elevated: #e3e9f0;
    --border-color: rgba(11, 29, 52, 0.1);
    --text-primary: #14283d;
    --text-secondary: #4d6176;
    --text-muted: #7d8ea2;
    --white: #ffffff;
    --shadow-soft: 0 16px 32px rgba(6, 15, 29, 0.14);
    --radius-lg: 10px;
    --radius-md: 6px;
    --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-h: 76px;
}

html {
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 3px solid rgba(239, 4, 13, 0.8);
    outline-offset: 3px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--white);
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.1;
}

a {
    color: var(--accent);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header + drawer ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-deep);
    border-bottom: 4px solid var(--accent);
    transition: transform 0.25s ease;
}

.site-header.is-hidden {
    transform: translateY(-110%);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--white);
    line-height: 1;
}

.logo:hover {
    color: var(--white);
}

.logo img {
    width: 48px;
    height: 48px;
    padding: 4px;
    border-radius: 50%;
    background: var(--white);
    flex-shrink: 0;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.header-cta:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.menu-toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(380px, 86vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 20px) 32px 32px;
    background: var(--accent);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 0.3s ease, visibility 0.3s;
}

nav.open {
    clip-path: inset(0);
    visibility: visible;
}

nav a {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: padding 0.2s ease, color 0.2s ease;
}

nav a:hover {
    color: var(--white);
    padding-left: 8px;
}

nav a.is-current {
    color: var(--primary-deep);
}

.nav-extra {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.nav-extra a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border: 0;
    padding: 4px 0;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 15, 29, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* ---------- Buttons ---------- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 999px;
    padding: 13px 30px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cta-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-btn.outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-btn.outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-deep);
}

.cta-btn.ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.cta-btn.ghost:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Chevron motif ---------- */
.chevrons {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.chevrons span {
    position: absolute;
    top: -10%;
    height: 120%;
    aspect-ratio: 0.55;
    clip-path: polygon(0 0, 42% 0, 100% 50%, 42% 100%, 0 100%, 58% 50%);
}

.chevrons span:nth-child(1) {
    right: 14%;
    background: rgba(239, 4, 13, 0.55);
}

.chevrons span:nth-child(2) {
    right: -2%;
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Home hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(92vh - var(--header-h));
    display: flex;
    align-items: flex-end;
    padding: 120px 20px 72px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 15, 29, 0.92) 0%, rgba(6, 15, 29, 0.6) 55%, rgba(6, 15, 29, 0.25) 100%),
        url('images/handball/handball-match-sikri-02.webp') 65% 35%/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(0deg, rgba(6, 15, 29, 0.85), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero .eyebrow::before {
    content: "";
    width: 34px;
    height: 4px;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(3.4rem, 9vw, 7.5rem);
    font-weight: 800;
    font-style: italic;
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 22px;
    max-width: 900px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    max-width: 520px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-news {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    transition: background 0.2s ease;
}

.hero-news strong {
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

.hero-news:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--primary-deep), var(--primary) 60%, var(--primary-soft));
    color: var(--white);
    padding: 84px 20px 64px;
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    top: -10%;
    height: 120%;
    aspect-ratio: 0.55;
    clip-path: polygon(0 0, 42% 0, 100% 50%, 42% 100%, 0 100%, 58% 50%);
    pointer-events: none;
}

.page-hero::before {
    right: 12%;
    background: rgba(239, 4, 13, 0.5);
}

.page-hero::after {
    right: -4%;
    background: rgba(255, 255, 255, 0.07);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: var(--white);
}

.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 16px;
    max-width: 860px;
}

.page-hero p {
    max-width: 640px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.84);
}

/* ---------- Sections ---------- */
section {
    padding: 96px 20px;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-title {
    position: relative;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 14px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 5px;
    background: var(--accent);
}

.section-subtitle {
    max-width: 680px;
    margin: -12px 0 44px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 36px;
}

.section-head .section-title {
    margin-bottom: 0;
}

.text-link {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.text-link:hover {
    color: var(--accent-dark);
}

/* ---------- Home: intro ---------- */
.intro {
    padding: 80px 20px;
    text-align: center;
}

.intro p {
    max-width: 820px;
    margin: 0 auto 28px;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.intro p strong {
    color: var(--primary);
}

/* ---------- Home: programme tiles ---------- */
.tiles-section {
    padding: 0;
    background: var(--white) !important;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
}

.tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 15, 29, 0.75), rgba(6, 15, 29, 0.25));
    transition: background 0.3s ease;
}

.tile:hover img {
    transform: scale(1.06);
}

.tile:hover::after {
    background: linear-gradient(0deg, rgba(239, 4, 13, 0.7), rgba(6, 15, 29, 0.3));
}

.tile-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
}

.tile-label small {
    display: block;
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.12em;
    opacity: 0.85;
}

.tile-label:hover {
    color: var(--white);
}

/* ---------- Home: Black Eagles band ---------- */
.band {
    position: relative;
    overflow: hidden;
    background: var(--primary-deep) !important;
    color: var(--white);
}

.band .container {
    position: relative;
    z-index: 1;
}

.band .section-title {
    color: var(--white);
}

.band-lead {
    max-width: 620px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 44px;
}

.band .stats {
    margin-top: 0;
}

.band .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--accent);
    box-shadow: none;
}

.band .stat-number {
    color: var(--white);
}

.band .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Home: jersey promo ---------- */
.promo {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.promo img {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
}

.promo p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 520px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.about-content h2,
.about-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1.04rem;
}

.about-image {
    height: 440px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border-bottom: 6px solid var(--accent);
}

/* ---------- Cards ---------- */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.sport-card,
.news-card,
.feature-box,
.testimonial,
.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(6, 15, 29, 0.05);
}

.sport-card {
    padding: 26px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sport-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(6, 15, 29, 0.12);
}

.sport-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.sport-card h3,
.sport-card h4,
.feature-box h3,
.feature-box h4,
.news-card h3,
.news-card h4 {
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.sport-card h3 a:hover,
.sport-card h4 a:hover,
.news-card h3 a:hover,
.news-card h4 a:hover {
    color: var(--accent) !important;
}

.sport-card p,
.feature-box p,
.news-card p,
.contact-item p,
.contact-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.section-head + .news-grid {
    margin-top: 0;
}

.news-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-image {
    height: 220px;
    overflow: hidden;
    background: var(--primary);
    border-bottom: 5px solid var(--accent);
}

.news-image img {
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px 22px 24px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.news-tag {
    color: var(--accent);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 44px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
    border-top: 4px solid var(--accent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.feature-box {
    padding: 26px 22px;
    border-left: 5px solid var(--accent);
}

.testimonial {
    max-width: 860px;
    margin: 44px 0 0;
    padding: 34px 30px;
    border-left: 5px solid var(--accent);
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonial-author {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.cta-banner {
    position: relative;
    overflow: hidden;
    margin: 60px 0 0;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: var(--white);
}

.cta-banner::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -4%;
    height: 120%;
    aspect-ratio: 0.55;
    clip-path: polygon(0 0, 42% 0, 100% 50%, 42% 100%, 0 100%, 58% 50%);
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2,
.cta-banner h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-banner p {
    max-width: 580px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
}

.cta-banner .cta-btn {
    background: var(--white);
    border-color: var(--white);
    color: var(--accent);
}

.cta-banner .cta-btn:hover {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
    color: var(--white);
}

.cta-banner .cta-btn.outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.cta-banner .cta-btn.outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--accent);
}

/* ---------- Players ---------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.players-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.players-toolbar input,
.players-toolbar select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    color: var(--text-primary);
}

.players-toolbar input {
    flex: 1 1 260px;
}

.players-toolbar input:focus,
.players-toolbar select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.players-count {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.player-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--primary-deep);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(6, 15, 29, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.player-card:hover {
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(6, 15, 29, 0.22);
}

.player-card-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--primary);
    border-bottom: 5px solid var(--accent);
}

.player-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

a.player-card:hover .player-card-photo img {
    transform: scale(1.05);
}

.player-card-photo::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(0deg, rgba(6, 15, 29, 0.7), transparent);
}

.player-card-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16) 0 16%, transparent 16.5%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.16) 0 38%, transparent 38.5%),
        var(--primary);
}

.player-number {
    position: absolute;
    left: 14px;
    bottom: 8px;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: var(--white);
}

.player-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-flag.static {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
}

.player-card-body {
    padding: 14px 16px 18px;
}

.player-card-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.player-card-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.player-card-soon {
    opacity: 0.55;
}

.players-empty {
    color: var(--text-secondary);
    padding: 40px 0;
}

.players-empty h2 {
    color: var(--primary);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-hero-slim {
    padding-top: 36px;
    padding-bottom: 28px;
}

.page-hero-slim .breadcrumb {
    margin-bottom: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 64px;
}

.profile-photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--primary);
    border-bottom: 6px solid var(--accent);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 3 / 4;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.profile-info h1 {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--primary);
    margin-bottom: 8px;
}

.profile-meta {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.profile-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.profile-facts div {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border-top: 4px solid var(--primary);
}

.profile-facts dt {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.profile-facts dd {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.profile-bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
}

#player-profile > .section-title {
    margin-top: 8px;
}

.honours-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 56px;
    max-width: 760px;
}

.honours-list li {
    position: relative;
    padding: 14px 18px 14px 52px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--primary);
}

.honours-list li::before {
    content: "\2605";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.1rem;
}

.table-wrap {
    overflow-x: auto;
    margin-bottom: 56px;
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table th {
    background: var(--primary-deep);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 16px;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 420px));
    gap: 16px;
    margin-bottom: 56px;
}

.profile-gallery img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.profile-gallery figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .profile-photo {
        max-width: 360px;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .player-card-body h3 {
        font-size: 1.2rem;
    }

    .players-count {
        margin-left: 0;
    }
}

/* ---------- Partner tiers ---------- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

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

.tier-card {
    position: relative;
    padding: 30px 26px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(6, 15, 29, 0.05);
}

.tier-card.featured {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
    border-top-color: var(--accent);
    color: var(--white);
}

.tier-tag {
    position: absolute;
    top: -14px;
    right: 20px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tier-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.tier-card > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.tier-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.tier-card li {
    position: relative;
    padding-left: 22px;
    color: var(--text-secondary);
    font-size: 0.97rem;
}

.tier-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 10px;
    height: 4px;
    background: var(--accent);
}

.tier-card.featured h3 {
    color: var(--white);
}

.tier-card.featured > p,
.tier-card.featured li {
    color: rgba(255, 255, 255, 0.8);
}

.partner-contact {
    margin: 24px 0 0 !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-content {
    max-width: 860px;
    padding-top: 6px;
}

.contact-content h3 {
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-content p {
    margin-bottom: 12px;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */
footer {
    background: var(--primary-deep);
    color: var(--white);
    padding: 72px 20px 36px;
    border-top: 6px solid var(--accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}

.footer-section h5 {
    position: relative;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 22px;
    padding-bottom: 10px;
}

.footer-section h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background: var(--accent);
}

.footer-section a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, padding 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-section p a {
    display: inline;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-deep);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(6, 15, 29, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
}

/* ---------- Sport pages ---------- */
.sport-hero-media {
    margin-top: 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.sport-hero-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.sport-hero-icon {
    margin-top: 36px;
    height: 240px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.sport-card-photo {
    height: 190px;
    margin: -26px -22px 20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    border-bottom: 5px solid var(--accent);
}

.sport-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 860px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 4px 24px;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-left-color: var(--accent);
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    color: var(--text-secondary);
    padding-bottom: 18px;
    margin-top: -4px;
}

/* ---------- Related links ---------- */
.related-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.related-sports a {
    padding: 9px 20px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.related-sports a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Gallery ---------- */
.gallery-group {
    margin-bottom: 60px;
}

.gallery-group h2 {
    position: relative;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 22px;
    padding-left: 16px;
    border-left: 5px solid var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
}

/* ---------- Articles ---------- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 10px;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
    box-shadow: var(--shadow-soft);
    border-bottom: 6px solid var(--accent);
}

.article-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.article-body h2 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 40px 0 14px;
}

/* ---------- Jersey orders ---------- */
.jersey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.jersey-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.jersey-details h2 {
    color: var(--primary);
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.jersey-details > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.order-form label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    margin: 16px 0 6px;
}

.order-form .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    font: inherit;
    color: var(--text-primary);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.order-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-form .cta-btn {
    margin-top: 24px;
    cursor: pointer;
}

.order-form .form-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* ---------- 404 ---------- */
.not-found {
    text-align: center;
    padding: 130px 20px;
}

.not-found h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.not-found p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.not-found .hero-actions {
    justify-content: center;
}

.not-found .cta-btn.outline {
    color: var(--primary);
    border-color: var(--primary);
}

.not-found .cta-btn.outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Motion + responsive ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .jersey-grid,
    .promo {
        grid-template-columns: 1fr;
    }

    .tiles {
        grid-template-columns: 1fr 1fr;
    }

    .chevrons span:nth-child(1) {
        right: -12%;
    }

    .chevrons span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 66px;
    }

    .logo {
        font-size: 1.15rem;
        gap: 10px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .header-cta {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    section {
        padding: 72px 18px;
    }

    .hero {
        min-height: calc(88vh - var(--header-h));
        padding: 90px 18px 48px;
    }

    .hero-actions .cta-btn {
        flex: 1 1 auto;
        padding: 12px 18px;
    }

    .page-hero {
        padding: 64px 18px 48px;
    }

    .page-hero::before {
        right: -18%;
    }

    .page-hero::after {
        display: none;
    }

    .tiles {
        grid-template-columns: 1fr;
    }

    .tile {
        min-height: 180px;
    }

    .cta-banner {
        padding: 36px 24px;
    }

    .cta-btn {
        width: 100%;
    }

    .hero-actions .cta-btn {
        width: auto;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .header-cta {
        display: none;
    }

    .order-form .form-row {
        grid-template-columns: 1fr;
    }
}

.article-figure {
    margin: 0 0 32px;
}

.article-figure img {
    margin-bottom: 10px !important;
}

.article-figure.portrait {
    max-width: 380px;
    margin: 0 auto 36px;
}

.article-figure figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.news-image img[src*="/players/"] {
    object-position: top;
}

.article-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.article-gallery img {
    height: 100%;
    object-fit: cover;
    margin-bottom: 0 !important;
}

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