/* =============================================
   VOLEJBAL HUB · TJ Ostrava — PUBLIC v3
   Unified public stylesheet
   Covers: homepage, login, shared components
   ============================================= */

:root {
    --red: #C41E3A;
    --red-dark: #9E1830;
    --red-glow: rgba(196, 30, 58, 0.25);
    --navy: #1B3A5C;
    --navy-deep: #0F1923;
    --navy-dark: #0A1118;
    --white: #FFFFFF;
    --gray-50: #FAFAF9;
    --gray-100: #F1F1EF;
    --gray-200: #E2E2DE;
    --gray-400: #9C9C98;
    --gray-600: #6B6B67;
    --gray-800: #2D2D2B;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


/* ═══════════════════════════════════════════════
   NAVBAR (shared across all public pages)
   ═══════════════════════════════════════════════ */

.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
    background: rgba(15, 25, 35, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 32px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 38px; height: 38px; border-radius: 50%; }
.nav-brand span { font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
    padding: 7px 14px; border-radius: 99px;
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.nav-active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-cta { color: var(--white) !important; background: var(--red) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
#navToggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }


/* ═══════════════════════════════════════════════
   HERO (homepage)
   ═══════════════════════════════════════════════ */

.hero {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 520px;
    padding: 100px 40px 100px;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 60%, #0D0D12 100%);
    overflow: hidden;
    text-align: center;
}
.hero-glow {
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    filter: blur(60px); opacity: 0.5;
    animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero player silhouette */
.hero-player {
    position: absolute;
    right: 4%; bottom: 0;
    width: clamp(260px, 35vw, 480px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}
.hero-player img {
    width: 100%; height: auto;
    filter: brightness(0) invert(1);
}

.hero-content { position: relative; z-index: 2; }
.hero-inner { max-width: 600px; margin: 0 auto; }
.hero-logo { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px; box-shadow: 0 0 40px var(--red-glow); }
.hero-eyebrow {
    font-size: 12px; font-weight: 600; color: var(--red);
    text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(44px, 7vw, 72px); font-weight: 900;
    color: var(--white); line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 32px; letter-spacing: 0.02em; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; font-size: 14px; font-weight: 600;
    border-radius: 99px; border: none; cursor: pointer;
    transition: all var(--transition);
}
.btn-hero-primary { background: var(--red); color: var(--white); box-shadow: 0 4px 20px var(--red-glow); }
.btn-hero-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px var(--red-glow); }
.btn-hero-secondary { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }


/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */

.section { padding: 72px 40px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--navy-dark); max-width: 100%; }
.section-dark .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-light { background: var(--gray-50); max-width: 100%; }
.section-light .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-gray { background: var(--gray-100); max-width: 100%; }
.section-gray .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-red { background: rgba(196, 30, 58, 0.03); max-width: 100%; border-top: 1px solid rgba(196,30,58,0.06); border-bottom: 1px solid rgba(196,30,58,0.06); }
.section-red .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-header { margin-bottom: 36px; }
.section-header h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.section-dark .section-header h2 { color: var(--white); }
.section-header p { font-size: 15px; color: var(--gray-600); margin-top: 6px; }
.section-dark .section-header p { color: rgba(255,255,255,0.4); }
.section-header .accent-line { width: 40px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 12px; }


/* ═══════════════════════════════════════════════
   MATCH TABS & PILLS
   ═══════════════════════════════════════════════ */

.match-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.match-tab {
    padding: 7px 18px; font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 99px;
    cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.match-tab:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }
.match-tab.active { color: var(--white); background: var(--red); border-color: var(--red); }

.matches-scroll { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.matches-scroll::-webkit-scrollbar { height: 4px; }
.matches-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
.matches-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
#matchesTrack { display: flex; gap: 10px; min-width: min-content; }
.match-pill {
    flex-shrink: 0; width: 200px; padding: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm); color: var(--white); transition: background var(--transition);
}
.match-pill:hover { background: rgba(255,255,255,0.07); }
.match-pill--win { border-left: 3px solid #059669; }
.match-pill--loss { border-left: 3px solid var(--red); }
.match-pill__date { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.match-pill__teams { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: rgba(255,255,255,0.7); }
.match-pill__us { font-weight: 700; color: var(--white); }
.match-pill__score { font-size: 22px; font-weight: 800; color: var(--white); text-align: center; margin: 4px 0; letter-spacing: 0.05em; }
.match-pill__vs { font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; }
.match-pill__team { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Match tabs & pills — light variant (section-red) */
.section-red .match-tab {
    color: var(--gray-600); background: var(--white);
    border: 1px solid var(--gray-200);
}
.section-red .match-tab:hover { color: var(--gray-800); border-color: var(--gray-400); }
.section-red .match-tab.active { color: var(--white); background: var(--red); border-color: var(--red); }

.section-red .match-pill {
    background: var(--white); border: 1px solid var(--gray-200);
    color: var(--gray-800);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.section-red .match-pill:hover { background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.section-red .match-pill--win { border-left: 3px solid #059669; }
.section-red .match-pill--loss { border-left: 3px solid var(--red); }
.section-red .match-pill__date { color: var(--gray-400); }
.section-red .match-pill__teams { color: var(--gray-600); }
.section-red .match-pill__us { color: var(--gray-800); }
.section-red .match-pill__score { color: var(--gray-800); }
.section-red .match-pill__vs { color: var(--gray-400); }
.section-red .match-pill__team { color: var(--red); opacity: 0.7; }
.section-red .matches-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.03); }
.section-red .matches-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); }
.section-red .no-data { color: var(--gray-400) !important; }

/* Decorative splash divider */
.splash-divider {
    position: relative; height: 60px; overflow: hidden; max-width: 100%;
}
.splash-divider svg { display: block; width: 100%; height: 100%; }


/* ═══════════════════════════════════════════════
   MATCHES PAGE (zapasy.html)
   ═══════════════════════════════════════════════ */

.match-filter-bar {
    display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap;
}
.match-filter-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; font-size: 13px; font-weight: 600;
    color: var(--gray-600); background: var(--white);
    border: 1px solid var(--gray-200); border-radius: 99px;
    cursor: pointer; transition: all var(--transition);
}
.match-filter-btn:hover { border-color: var(--gray-400); color: var(--gray-800); }
.match-filter-btn.active { color: var(--white); background: var(--red); border-color: var(--red); }
.match-filter-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.zap-section-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.zap-section-label i { font-size: 16px; }

.zap-list { display: flex; flex-direction: column; gap: 6px; }
.zap-row {
    display: grid; grid-template-columns: 100px 1fr auto;
    align-items: center; gap: 16px;
    padding: 14px 18px;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.zap-row:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-1px); }
.zap-row--win { border-left: 3px solid #059669; }
.zap-row--loss { border-left: 3px solid var(--red); }
.zap-row--past { opacity: 0.7; }
.zap-row--past:hover { opacity: 1; }

.zap-row__date { text-align: center; }
.zap-row__day { display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); }
.zap-row__time { display: block; font-size: 11px; color: var(--gray-400); }

.zap-row__match {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px;
}
.zap-row__team { flex: 1; color: var(--gray-600); }
.zap-row__team--ours { font-weight: 700; color: var(--gray-800); }
.zap-row__team:last-child { text-align: right; }
.zap-row__score {
    font-size: 18px; font-weight: 800; color: var(--gray-800);
    min-width: 50px; text-align: center;
}

.zap-row__meta {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12px;
}
.zap-row__badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 99px;
    font-weight: 600; font-size: 11px;
    color: var(--badge-c, var(--red));
    background: color-mix(in srgb, var(--badge-c, var(--red)) 8%, transparent);
}
.zap-row__sets { color: var(--gray-400); }
.zap-row__venue { color: var(--gray-400); }
.zap-row__venue i { font-size: 12px; margin-right: 2px; }


/* ═══════════════════════════════════════════════
   TEAM CARDS
   ═══════════════════════════════════════════════ */

#teamsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.team-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: var(--white); border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block; color: inherit; text-decoration: none;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.team-card__img { height: 200px; overflow: hidden; background: var(--gray-100); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card__placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--gray-400); opacity: 0.3;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.team-card__body { padding: 16px; }
.team-card__body h3 { font-size: 18px; font-weight: 700; }
.team-card__ext { display: block; font-size: 13px; color: var(--gray-600); margin-top: 2px; }
.team-card__comp {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--red); background: rgba(196,30,58,0.08);
    padding: 2px 10px; border-radius: 99px; margin-top: 8px;
}


/* ═══════════════════════════════════════════════
   NEWS CARDS
   ═══════════════════════════════════════════════ */

#newsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.news-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.news-card__img { height: 180px; 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: 18px; }
.news-card__cat { font-size: 11px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; }
.news-card__body h3 { font-size: 17px; font-weight: 700; margin: 6px 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__body p { font-size: 13px; color: var(--gray-600); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__body time { display: block; font-size: 12px; color: var(--gray-400); margin-top: 10px; }


/* ═══════════════════════════════════════════════
   SPONSORS
   ═══════════════════════════════════════════════ */

.sponsors-strip { overflow: hidden; position: relative; padding: 32px 0; }
.sponsors-strip::before, .sponsors-strip::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
}
.sponsors-strip::before { left: 0; background: linear-gradient(to right, var(--gray-100), transparent); }
.sponsors-strip::after { right: 0; background: linear-gradient(to left, var(--gray-100), transparent); }
#sponsorsTrack { display: flex; gap: 40px; align-items: center; animation: sponsorScroll 25s linear infinite; width: max-content; }
@keyframes sponsorScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sponsor-logo { flex-shrink: 0; height: 44px; display: flex; align-items: center; opacity: 0.4; transition: opacity var(--transition); filter: grayscale(100%); }
.sponsor-logo:hover { opacity: 1; filter: none; }
.sponsor-logo img { height: 100%; width: auto; object-fit: contain; }
.sponsor-logo span { font-size: 14px; font-weight: 600; color: var(--gray-600); white-space: nowrap; }


/* ═══════════════════════════════════════════════
   FOOTER (shared)
   ═══════════════════════════════════════════════ */

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 56px 40px 28px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.site-footer h4 { font-size: 12px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color var(--transition); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
#socialLinks { display: flex; gap: 10px; }
#socialLinks a { font-size: 20px; color: rgba(255,255,255,0.35); }
#socialLinks a:hover { color: var(--red); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; font-size: 12px; }


/* ═══════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════ */

.page-login {
    background: var(--navy-dark);
    min-height: 100vh;
}

.login-split {
    display: flex;
    min-height: 100vh;
}

/* Left brand panel */
.login-brand-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 60%, #0D0D12 100%);
    overflow: hidden;
    padding: 80px 40px 40px;
}
.login-brand-glow {
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    left: 50%; top: 40%; transform: translate(-50%, -50%);
    filter: blur(60px); opacity: 0.4;
    animation: glowPulse 4s ease-in-out infinite alternate;
}
.login-player-svg {
    position: absolute;
    right: 5%; bottom: 0;
    width: 340px;
    pointer-events: none;
    opacity: 0.1;
}
.login-player-svg img {
    width: 100%; height: auto;
    filter: brightness(0) invert(1);
}
.login-brand-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 320px;
}
.login-logo {
    width: 72px; height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px var(--red-glow);
}
.login-brand-content h1 {
    font-size: 36px; font-weight: 900;
    color: var(--white); letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.login-brand-sub {
    font-size: 14px; color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}
.login-brand-features {
    display: flex; flex-direction: column; gap: 12px;
    text-align: left;
}
.login-feature {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 13px; font-weight: 500;
}
.login-feature i {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 18px;
    color: var(--red);
    flex-shrink: 0;
}

/* Right form panel */
.login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 80px 40px 40px;
}
.login-form-wrap {
    width: 100%;
    max-width: 380px;
}
.login-form-header {
    margin-bottom: 32px;
}
.login-form-header h2 {
    font-size: 26px; font-weight: 800;
    color: var(--gray-800);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.login-form-header p {
    font-size: 14px; color: var(--gray-600);
    line-height: 1.5;
}

.login-error {
    display: none;
    background: #FEF2F2;
    color: #DC2626;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #FECACA;
}

.login-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.login-field label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}
.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.login-input-wrap i {
    position: absolute; left: 12px;
    font-size: 18px; color: var(--gray-400);
    pointer-events: none;
}
.login-input-wrap input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.login-input-wrap input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
    background: var(--white);
}
.login-input-wrap input::placeholder {
    color: var(--gray-400);
}

.login-submit {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px; font-weight: 600;
    color: var(--white);
    background: var(--red);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
.login-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--red-glow);
}
.login-submit:active { transform: translateY(0); }
.login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.login-submit__loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; display: inline-block; }

.login-form-footer {
    margin-top: 28px;
    text-align: center;
}
.login-form-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
    transition: color var(--transition);
}
.login-form-footer a:hover { color: var(--red); }


/* ═══════════════════════════════════════════════
   MATCH PILLS — enhancements
   ═══════════════════════════════════════════════ */

.match-pill { cursor: pointer; }
.match-pill:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); transition: all var(--transition); }
.match-pill--past { opacity: 0.7; }
.match-pill--past:hover { opacity: 1; }
.match-pill__sets { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 2px; }


/* ═══════════════════════════════════════════════
   PUBLIC MODAL (match detail etc.)
   ═══════════════════════════════════════════════ */

.pub-modal {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.2s ease;
}
.pub-modal.open { display: flex; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pub-modal__card {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.pub-modal__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}
.pub-modal__close:hover { background: var(--gray-200); color: var(--gray-800); }


/* ═══════════════════════════════════════════════
   MATCH DETAIL (inside modal)
   ═══════════════════════════════════════════════ */

.md-matchup {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}
.md-team { flex: 1; text-align: center; }
.md-team--home { text-align: right; }
.md-team--away { text-align: left; }
.md-team__name {
    font-size: 17px; font-weight: 700;
    color: var(--gray-800); line-height: 1.3;
}
.md-team--ours .md-team__name { color: var(--red); }
.md-team__tag {
    display: block;
    font-size: 11px; font-weight: 500;
    color: var(--gray-400);
    margin-top: 2px;
}

.md-score-block {
    text-align: center;
    min-width: 80px;
}
.md-score {
    display: block;
    font-size: 30px; font-weight: 900;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
}
.md-sets {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}
.md-vs {
    font-size: 14px; font-weight: 600;
    color: var(--gray-400);
}

.md-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.md-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    font-size: 12px; font-weight: 600;
    color: var(--badge-color, var(--gray-600));
    background: color-mix(in srgb, var(--badge-color, var(--gray-600)) 10%, transparent);
    border-radius: 99px;
}
.md-badge i { font-size: 14px; }

.md-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.md-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.md-info > i {
    font-size: 18px;
    color: var(--gray-400);
    margin-top: 1px;
    flex-shrink: 0;
}
.md-info__label {
    display: block;
    font-size: 11px; font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1px;
}
.md-info div span:last-child {
    font-size: 13px;
    color: var(--gray-800);
}

.md-notes {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}
.md-notes i {
    color: var(--gray-400);
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   PAGE HERO (subpages — akce, tým, etc.)
   ═══════════════════════════════════════════════ */

.page-hero {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 40px 48px;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 60%, #0D0D12 100%);
    overflow: hidden;
    text-align: center;
    min-height: 260px;
}
.page-hero .hero-glow {
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    filter: blur(60px); opacity: 0.4;
    animation: glowPulse 4s ease-in-out infinite alternate;
}
.page-hero__content { position: relative; z-index: 2; max-width: 600px; }
.page-hero__content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.page-hero__content p {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
}

/* Team hero variant */
.page-hero--team {
    min-height: 300px;
}


/* ═══════════════════════════════════════════════
   TEAM NAV TABS (sticky)
   ═══════════════════════════════════════════════ */

.team-nav {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.team-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    padding: 8px 40px;
    overflow-x: auto;
}
.team-nav__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px; font-weight: 600;
    color: var(--gray-600);
    background: none;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.team-nav__tab:hover { color: var(--gray-800); background: var(--gray-100); }
.team-nav__tab.active { color: var(--white); background: var(--red); }
.team-nav__tab i { font-size: 16px; }


/* ═══════════════════════════════════════════════
   ROSTER GRID (soupiska)
   ═══════════════════════════════════════════════ */

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.roster-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.roster-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.roster-card__avatar {
    position: relative;
    width: 72px; height: 72px;
    margin: 0 auto 12px;
}
.roster-card__avatar img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.roster-card__initials {
    display: flex;
    align-items: center; justify-content: center;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 22px; font-weight: 700;
    color: var(--gray-400);
}
.roster-card__number {
    position: absolute;
    bottom: -4px; right: -4px;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    background: var(--red);
    color: var(--white);
    font-size: 12px; font-weight: 700;
    border-radius: 50%;
    border: 2px solid var(--white);
}
.roster-card__info strong {
    display: block;
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}
.roster-card__pos {
    display: block;
    font-size: 12px; font-weight: 500;
    color: var(--red);
}
.roster-card__height {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}


/* ═══════════════════════════════════════════════
   MATCH ROWS (team detail — list format)
   ═══════════════════════════════════════════════ */

.team-matches-list { display: flex; flex-direction: column; gap: 6px; }
.match-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.match-row:hover { background: var(--gray-50); }
.match-row--win { border-left: 3px solid #059669; }
.match-row--loss { border-left: 3px solid var(--red); }

.match-row__date {
    min-width: 90px;
    font-size: 13px;
    color: var(--gray-600);
    flex-shrink: 0;
}
.match-row__time {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
}
.match-row__teams {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    min-width: 0;
}
.match-row__us { font-weight: 700; color: var(--gray-800); }
.match-row__score {
    font-size: 18px; font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 48px;
    text-align: center;
}
.match-row--win .match-row__score { color: #059669; }
.match-row--loss .match-row__score { color: var(--red); }
.match-row__vs { font-size: 12px; color: var(--gray-400); }
.match-row__meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
    flex-shrink: 0;
}
.match-row__sets { font-weight: 500; color: var(--gray-600); }

/* News grid small (for team detail) */
.news-grid-sm {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}


/* ═══════════════════════════════════════════════
   EVENTS PAGE (pages/akce.html)
   ═══════════════════════════════════════════════ */

/* Event cards */
.event-list { display: flex; flex-direction: column; gap: 12px; }
.pub-event-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.pub-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.pub-event-card--past { opacity: 0.6; }
.pub-event-card--past:hover { opacity: 1; }
.pub-event-card--featured { border-left: 3px solid var(--red); }

.pub-event__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.pub-event__day {
    font-size: 24px; font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}
.pub-event__month {
    font-size: 12px; font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
}

.pub-event__body { flex: 1; min-width: 0; }
.pub-event__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.pub-event__type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 11px; font-weight: 600;
    color: var(--type-color, var(--gray-600));
    background: color-mix(in srgb, var(--type-color, var(--gray-600)) 10%, transparent);
    border-radius: 99px;
}
.pub-event__type i { font-size: 13px; }
.pub-event__team-badge {
    font-size: 11px; font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 99px;
}

.pub-event__title {
    font-size: 16px; font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
}
.pub-event__desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 8px;
}
.pub-event__info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-400);
}
.pub-event__info span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pub-event__info i { font-size: 14px; }

/* Event filter tabs */
.event-filter-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.event-filter-tab {
    padding: 7px 16px;
    font-size: 13px; font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition);
}
.event-filter-tab:hover { border-color: var(--gray-400); color: var(--gray-800); }
.event-filter-tab.active { color: var(--white); background: var(--red); border-color: var(--red); }


/* Event section labels */
.event-section-label {
    font-size: 12px; font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
}


/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.no-data { text-align: center; color: var(--gray-400); padding: 32px; font-size: 14px; }


/* ═══════════════════════════════════════════════
   AUTH-AWARE HEADER
   ═══════════════════════════════════════════════ */

.nav-cta--admin {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
    box-shadow: 0 2px 12px var(--red-glow);
}
.nav-cta--admin:hover {
    box-shadow: 0 4px 20px var(--red-glow) !important;
    transform: translateY(-1px);
}
.nav-logout {
    color: rgba(255,255,255,0.35) !important;
    padding: 7px 10px !important;
    font-size: 16px !important;
}
.nav-logout:hover { color: rgba(255,255,255,0.7) !important; }


/* ═══════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════ */

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton-row { display: flex; gap: 10px; }
.skeleton-pill {
    width: 200px; height: 110px; flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    position: relative; overflow: hidden;
}
.skeleton-pill::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    background-size: 200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.skeleton-card {
    height: 260px;
    background: var(--gray-100); border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    position: relative; overflow: hidden;
}
.skeleton-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%);
    background-size: 200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.fade-in { animation: contentFadeIn 0.4s ease forwards; }
@keyframes contentFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════════════
   SHOP / MERCH PAGE
   ═══════════════════════════════════════════════ */

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.shop-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.shop-card--featured { border: 2px solid var(--red); position: relative; }
.shop-card--featured::before {
    content: '⭐ Doporučujeme'; position: absolute; top: 12px; right: 12px; z-index: 2;
    font-size: 11px; font-weight: 700; color: var(--white);
    background: var(--red); padding: 3px 10px; border-radius: 99px;
}
.shop-card__img {
    height: 260px; overflow: hidden; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
}
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shop-card:hover .shop-card__img img { transform: scale(1.05); }
.shop-card__placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 48px; color: var(--gray-400); opacity: 0.2;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.shop-card__body { padding: 18px; }
.shop-card__category {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
.shop-card__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.shop-card__body p {
    font-size: 13px; color: var(--gray-600); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 12px;
}
.shop-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shop-card__price { font-size: 20px; font-weight: 800; color: var(--gray-800); }
.shop-card__price small { font-size: 13px; font-weight: 500; color: var(--gray-400); }
.shop-card__sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.shop-card__size { padding: 2px 8px; font-size: 11px; font-weight: 600; color: var(--gray-600); background: var(--gray-100); border-radius: 4px; }

.shop-cta { text-align: center; padding: 40px 24px; margin-top: 40px; background: linear-gradient(135deg, #1a2a3e 0%, #0f1923 100%); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); }
.shop-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.shop-cta p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }
.shop-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.shop-merch-contact {
    display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px; padding: 14px 24px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 99px; font-size: 14px;
}
.shop-merch-contact span,
.shop-merch-contact a { color: rgba(255,255,255,0.7); }
.shop-merch-contact a:hover { color: var(--red); }
.shop-merch-contact i { margin-right: 4px; color: var(--red); }

.btn-shop {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px;
    font-size: 14px; font-weight: 600; border-radius: 99px; border: none;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.btn-shop--primary { background: var(--red); color: var(--white); box-shadow: 0 2px 12px var(--red-glow); }
.btn-shop--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px var(--red-glow); }
.btn-shop--secondary { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }
.btn-shop--secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: #fff; }

.shop-filter-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-filter-tab {
    padding: 7px 18px; font-size: 13px; font-weight: 600; color: var(--gray-600);
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 99px;
    cursor: pointer; transition: all var(--transition);
}
.shop-filter-tab:hover { border-color: var(--gray-400); color: var(--gray-800); }
.shop-filter-tab.active { color: var(--white); background: var(--red); border-color: var(--red); }

.shop-empty { text-align: center; padding: 60px 24px; color: var(--gray-400); }
.shop-empty i { font-size: 48px; opacity: 0.3; margin-bottom: 16px; display: block; }
.shop-empty h3 { font-size: 18px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.shop-empty p { font-size: 14px; }


/* ═══════════════════════════════════════════════
   CMS PAGES (stranky.html)
   ═══════════════════════════════════════════════ */

.cms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.cms-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none; color: inherit;
}
.cms-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.cms-card--child {
    border-left: 3px solid var(--red);
}
.cms-card__img {
    height: 160px; overflow: hidden; background: var(--gray-100);
}
.cms-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.cms-card:hover .cms-card__img img { transform: scale(1.04); }
.cms-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.cms-card__icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196,30,58,0.08);
    color: var(--red); border-radius: 8px;
    font-size: 18px; margin-bottom: 10px;
}
.cms-card__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.cms-card__body p { font-size: 13px; color: var(--gray-600); line-height: 1.5; flex: 1; }
.cms-card__meta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cms-card__badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; color: var(--red);
    background: rgba(196,30,58,0.08);
    padding: 2px 8px; border-radius: 99px;
}
.cms-card__badge--sub { color: var(--gray-600); background: var(--gray-100); }

/* CMS Detail */
.cms-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 500; color: var(--gray-600);
    margin-bottom: 24px; transition: color var(--transition);
}
.cms-back:hover { color: var(--red); }
.cms-article { max-width: 800px; }
.cms-content {
    font-size: 15px; line-height: 1.8; color: var(--gray-800);
}
.cms-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.cms-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.cms-content p { margin-bottom: 14px; }
.cms-content ul, .cms-content ol { margin: 12px 0; padding-left: 24px; }
.cms-content li { margin-bottom: 6px; }
.cms-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.cms-content a { color: var(--red); text-decoration: underline; }
.cms-content a:hover { color: var(--red-dark); }
.cms-content blockquote {
    margin: 16px 0; padding: 12px 20px;
    border-left: 3px solid var(--red);
    background: var(--gray-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--gray-600);
}

/* PDF embed */
.cms-pdf {
    margin-top: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.cms-pdf__header {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px; font-weight: 600;
}
.cms-pdf__header > i { font-size: 22px; color: var(--red); }
.cms-pdf__viewer {
    width: 100%; height: 600px; border: none; display: block;
    background: var(--gray-100);
}

/* Child pages in detail */
.cms-children { margin-top: 32px; }
.cms-children h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.cms-children__grid { display: flex; flex-direction: column; gap: 6px; }
.cms-children__link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500;
    transition: all var(--transition);
}
.cms-children__link:hover {
    background: var(--white); border-color: var(--red);
    transform: translateX(4px);
}
.cms-children__link i:first-child { color: var(--red); font-size: 18px; }
.cms-children__link span { flex: 1; }


/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.contact-card--main {
    background: linear-gradient(135deg, #1a2a3e 0%, #0f1923 100%);
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.08);
}
.contact-card--main,
.contact-card--main h3,
.contact-card--main p,
.contact-card--main span,
.contact-card--main strong,
.contact-card--main a { color: rgba(255,255,255,0.8); }
.contact-card.contact-card--main h3 { color: #fff !important; }
.contact-card.contact-card--main p { color: rgba(255,255,255,0.7) !important; }
.contact-card--main .contact-card__club {
    font-size: 18px; font-weight: 700; color: #fff !important; margin-bottom: 4px;
}

.contact-card__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196,30,58,0.1);
    color: var(--red);
    border-radius: 10px;
    font-size: 22px;
    margin-bottom: 14px;
}
.contact-card--main .contact-card__icon {
    background: rgba(196,30,58,0.2);
    color: #ff4d6a;
}

.contact-card h3 {
    font-size: 18px; font-weight: 700;
    color: var(--gray-800); margin-bottom: 12px;
}
.contact-card p { font-size: 14px; line-height: 1.6; margin-bottom: 4px; }

.contact-card__venue {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}
.contact-card__venue i { font-size: 18px; color: #ff4d6a; margin-top: 2px; flex-shrink: 0; }
.contact-card__venue strong { display: block; color: #fff; }
.contact-card__venue span { font-size: 13px; color: rgba(255,255,255,0.5); }

.contact-card__hours {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 12px; font-size: 13px;
}
.contact-card__hours i { font-size: 16px; color: #ff4d6a; margin-top: 2px; flex-shrink: 0; }
.contact-card__hours pre {
    margin: 0; font-family: inherit; font-size: 13px;
    white-space: pre-line; color: rgba(255,255,255,0.55);
}

/* Contact links */
.contact-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0;
    font-size: 14px; color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--transition);
}
.contact-link:last-of-type { border-bottom: none; }
.contact-link:hover { color: var(--red); }
.contact-link i { font-size: 18px; color: var(--red); flex-shrink: 0; }

/* Person card */
.contact-card__person {
    display: flex; align-items: flex-start; gap: 12px;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}
.contact-card__person-avatar {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100);
    color: var(--gray-400);
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-card__person strong { display: block; font-size: 14px; color: var(--gray-800); }
.contact-card__person span { display: block; font-size: 12px; color: var(--gray-400); margin-bottom: 4px; }
.contact-card__person a { display: block; font-size: 13px; color: var(--gray-600); transition: color var(--transition); }
.contact-card__person a:hover { color: var(--red); }

/* Social links */
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-social {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 99px;
    font-size: 14px; font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition);
}
.contact-social:hover {
    background: var(--red); color: var(--white);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--red-glow);
}
.contact-social i { font-size: 20px; }

/* Payment rows */
.contact-payment-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}
.contact-payment-row:last-child { border-bottom: none; }
.contact-payment-label { color: var(--gray-400); font-size: 13px; }
.contact-payment-row code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px; color: var(--gray-800);
    background: var(--gray-50);
    padding: 2px 8px; border-radius: 4px;
}

/* Map */
.contact-map-section {
    max-width: 100%; margin: 0;
}
.contact-map {
    position: relative;
    width: 100%; height: 400px;
    background: var(--gray-100);
    overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; display: block; }
.contact-map__open {
    position: absolute;
    bottom: 16px; right: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--gray-800);
    font-size: 13px; font-weight: 600;
    border-radius: 99px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: all var(--transition);
    z-index: 2;
}
.contact-map__open:hover {
    background: var(--red); color: var(--white);
    box-shadow: 0 4px 20px var(--red-glow);
    transform: translateY(-2px);
}
.contact-map__open i { font-size: 16px; }


/* Shop cross-link on contact page */
.contact-shop-cta {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-shop-cta:hover { border-color: var(--gray-400); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.contact-shop-cta > i { font-size: 28px; color: var(--red); flex-shrink: 0; }
.contact-shop-cta h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.contact-shop-cta p { font-size: 13px; color: var(--gray-600); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
    .hero { padding: 80px 24px 80px; }
    .hero-player { display: none; }
    .section { padding: 56px 24px; }
    .section-dark .section-inner, .section-light .section-inner, .section-gray .section-inner { padding: 0 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-nav { padding: 10px 16px; }
    #navToggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: rgba(15,25,35,0.98);
        padding: 12px; gap: 2px;
    }
    .nav-links.open { display: flex; }
    #newsGrid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
    .shop-card__img { height: 200px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { height: 280px; }
    .contact-shop-cta { flex-direction: column; text-align: center; }
    .contact-shop-cta .btn-shop { margin-left: 0 !important; }
    .cms-grid { grid-template-columns: 1fr; }
    .cms-pdf__viewer { height: 400px; }
    .cms-pdf__header { flex-wrap: wrap; }
    .zap-row { grid-template-columns: 1fr; gap: 8px; }
    .zap-row__date { text-align: left; display: flex; gap: 8px; }
    .zap-row__meta { margin-top: 4px; }

    /* Login responsive */
    .login-split { flex-direction: column; }
    .login-brand-panel { padding: 80px 24px 40px; min-height: auto; }
    .login-player-svg { display: none; }
    .login-brand-features { display: none; }
    .login-form-panel { padding: 32px 24px 48px; }

    /* Modal responsive */
    .pub-modal { padding: 16px; }
    .pub-modal__card { padding: 20px; border-radius: 12px; max-height: 90vh; }
    .md-matchup { flex-direction: column; gap: 8px; }
    .md-team--home, .md-team--away { text-align: center; }
    .md-info-grid { grid-template-columns: 1fr; }

    /* Subpages responsive */
    .page-hero { padding: 80px 24px 36px; min-height: 200px; }
    .team-nav__inner { padding: 8px 16px; }
    .roster-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .match-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .match-row__meta { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 40px; }
    #teamsGrid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}