/* HK Spartak Dubnica – refaktor homepage (obsah zo starého webu), dizajn podľa šablóny hk-spartak-dca-template
   Layout: tmavé „nočné" sekcie striedané jednou ľadovou (vstupenky); skosené tlačidlá, tvrdé tiene, kurzívny Barlow Condensed. */
:root {
  color-scheme: dark;
  /* farby zo šablóny */
  --bg-surface: #121414;
  --bg-alt: #1a1c1c;
  --text-on-surface: #e2e2e2;
  --text-on-surface-variant: #c5c6d0;
  --primary-container: #1a2f5b;
  --club-blue: #00589a;          /* tmavá modrá z loga */
  --secondary: #82cfff;          /* ľadovo modrá */
  --secondary-dim: #00abec;
  --on-secondary: #00344b;
  --outline: #8f909a;
  --outline-variant: rgba(68, 70, 79, 0.45);
  --nav-bg: #122142;
  --footer-bg: #0d1830;
  --hard-shadow: #0c0f0f;
  /* ľadová sekcia */
  --ice: #eef6fb;
  --ice-line: #c9dceb;
  --ice-ink: #0d1830;
  --win: #4fd18b;
  --loss: #ff6b6b;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --section-gap: clamp(56px, 8vw, 96px);
  --gutter: clamp(16px, 4vw, 2rem);
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  background-color: var(--bg-surface);
  color: var(--text-on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: var(--font-heading); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--secondary); color: var(--on-secondary); padding: .5rem 1rem; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 1rem; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; line-height: 1; display: inline-block; width: 1em; overflow: hidden; white-space: nowrap; flex-shrink: 0; }
.material-symbols-outlined.small { font-size: 16px; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- 3D TILT (zo šablóny) ---------- */
.tilt-card {
  --rotateX: 0deg; --rotateY: 0deg; --translateZ: 0px;
  transform: perspective(1000px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) translateZ(var(--translateZ));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.175,.885,.32,1.275), box-shadow .5s ease, border-color .3s;
}
.tilt-card:hover {
  --translateZ: 15px;
  border-color: var(--secondary) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.6), 0 0 30px rgba(130,207,255,.15) !important;
  z-index: 10;
}

/* ---------- TLAČIDLÁ ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .75rem 1.5rem; transform: skewX(-10deg);
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s;
}
.btn-primary { background: var(--secondary); color: var(--on-secondary); box-shadow: 4px 4px 0 0 #001e2d; }
.btn-primary > span, .btn-ghost > span { transform: skewX(10deg); display: flex; align-items: center; gap: .5rem; position: relative; z-index: 2; }
.btn-primary .material-symbols-outlined { font-size: 20px; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); transition: .6s cubic-bezier(.16,1,.3,1); z-index: 1;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover { box-shadow: 0 0 20px rgba(130,207,255,.4); transform: skewX(-10deg) scale(1.02); }
.btn-primary.dark { background: var(--ice-ink); color: var(--secondary); box-shadow: 4px 4px 0 0 var(--club-blue); }
.btn-ghost { border: 2px solid var(--secondary); color: var(--secondary); }
.btn-ghost:hover { background: rgba(130,207,255,.1); }
.btn-ghost.dark { border-color: var(--ice-ink); color: var(--ice-ink); }
.btn-ghost.dark:hover { background: rgba(13,24,48,.06); }
.btn-icon { color: var(--text-on-surface); display: inline-flex; padding: .25rem; transition: color .2s; }
.btn-icon:hover { color: var(--secondary); }

/* ---------- NAVBAR ---------- */
.top-navbar {
  background: rgba(18,33,66,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(130,207,255,.15);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,.3);
}
.nav-container { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-inline: var(--gutter); height: 5.5rem; }
.nav-logo img { height: 58px; width: auto; display: block; }
.desktop-links { display: flex; gap: 1.4rem; align-items: center; }
.desktop-links a {
  font-family: var(--font-heading); font-size: 17px; font-weight: 600; font-style: italic;
  text-transform: uppercase; letter-spacing: 1.2px; padding-block: .3rem;
  border-bottom: 4px solid transparent; transition: color .2s, border-color .2s;
}
.desktop-links a:hover { color: var(--secondary); }
.desktop-links a.active { color: var(--secondary); border-bottom-color: var(--secondary); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-actions .btn-primary { padding: .6rem 1.2rem; }
.lang-menu { position: relative; }
.lang-btn, .btn-login {
  display: flex; align-items: center; gap: 4px; color: var(--text-on-surface);
  font-family: var(--font-heading); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color .2s;
}
.lang-btn:hover, .btn-login:hover { color: var(--secondary); }
.lang-btn .material-symbols-outlined { font-size: 20px; }
.lang-dropdown {
  position: absolute; top: 120%; right: 0; min-width: 140px;
  background: var(--nav-bg); border: 1px solid var(--outline-variant); box-shadow: 0 8px 24px rgba(0,0,0,.6);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s cubic-bezier(.16,1,.3,1); z-index: 100;
}
.lang-menu:hover .lang-dropdown, .lang-menu:focus-within .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { padding: .7rem 1rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }
.lang-dropdown a:hover { background: var(--primary-container); color: var(--secondary); }
.menu-btn { display: none; }

/* mobilné menu */
.mobile-menu-overlay { position: fixed; inset: 0; overflow: hidden; background: rgba(18,20,20,.9); backdrop-filter: blur(5px); z-index: 100; opacity: 0; visibility: hidden; transition: all .3s ease; }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-content {
  position: absolute; top: 0; right: 0; width: 82%; max-width: 360px; height: 100%;
  background: var(--nav-bg); border-left: 1px solid var(--outline-variant);
  display: flex; flex-direction: column; padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%); transition: transform .4s cubic-bezier(.16,1,.3,1); overflow-y: auto;
}
.mobile-menu-overlay.open .mobile-menu-content { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--outline-variant); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.mobile-menu-header img { height: 44px; width: auto; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 1.1rem; flex-grow: 1; }
.mobile-menu-links a { font-family: var(--font-heading); font-size: 26px; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 1px; }
.mobile-menu-links a:hover { color: var(--secondary); }
.mobile-menu-footer { border-top: 1px solid var(--outline-variant); padding-top: 1.5rem; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.lang-switcher-mobile { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--outline); }
.lang-switcher-mobile a { padding: .25rem .5rem; }
.lang-switcher-mobile a.active { color: var(--secondary); }

/* ---------- HERO ---------- */
.hero-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(0,88,154,.55), transparent 60%),
    linear-gradient(180deg, #0f1c38 0%, var(--bg-surface) 100%);
  border-bottom: 4px solid var(--secondary);
  padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
}
.hero-ice { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-wordmark {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) skewX(-10deg);
  font-family: var(--font-heading); font-weight: 900; font-style: italic;
  font-size: clamp(120px, 26vw, 400px); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(130,207,255,.13);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-surface) 0%, rgba(18,20,20,.35) 45%, transparent 100%); pointer-events: none; }
.hero-content {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 7fr 5fr; gap: 2.5rem; align-items: end;
}
.hero-message { min-width: 0; animation: fadeUpIn 1s cubic-bezier(.16,1,.3,1) both; }
.scoreboard { display: flex; flex-direction: column; gap: 1rem; min-width: 0; animation: fadeUpIn 1.2s .15s cubic-bezier(.16,1,.3,1) both; }
@keyframes fadeUpIn { from { opacity: .001; transform: translateY(32px); } to { opacity: 1; transform: none; } }

.hero-tag {
  display: inline-block; border: 1px solid var(--secondary); color: var(--secondary);
  font-family: var(--font-heading); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  padding: .25rem .75rem; margin-bottom: 1.1rem; box-shadow: 2px 2px 0 0 var(--secondary);
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(44px, 7vw, 84px); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .95; letter-spacing: -1px; margin-bottom: 1.4rem;
  text-shadow: 0 4px 10px rgba(0,0,0,.5);
}
.hero-title .highlight { color: var(--secondary); display: block; }
.hero-desc { font-size: 18px; color: var(--text-on-surface-variant); max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

.score-card {
  background: var(--primary-container); border: 1px solid rgba(130,207,255,.2);
  padding: 1.4rem 1.5rem; box-shadow: 8px 8px 0 0 var(--hard-shadow); position: relative;
}
.score-card.darker { background: #262a30; box-shadow: 4px 4px 0 0 var(--hard-shadow); }
.score-header {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--outline-variant); padding-bottom: .5rem; margin-bottom: 1rem;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px;
}
.score-header .title { color: var(--secondary); font-size: 16px; font-weight: 700; }
.score-header .title.muted { color: var(--outline); }
.score-header .date { color: var(--text-on-surface-variant); font: 500 14px var(--font-body); }
.score-header .date.accent { color: var(--secondary); }
.score-body { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.team { display: flex; flex-direction: column; min-width: 0; }
.team.right { align-items: flex-end; text-align: right; }
.team-abbr { font-family: var(--font-heading); font-size: 34px; font-style: italic; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.team-abbr.dim { color: var(--text-on-surface-variant); }
.team-abbr.sm { font-size: 26px; }
.team-name { font-size: 13px; color: var(--outline); margin-top: .2rem; }
.score-numbers { display: flex; align-items: center; gap: .8rem; font-family: var(--font-heading); font-size: 60px; font-weight: 900; color: var(--secondary); line-height: 1; font-variant-numeric: tabular-nums; }
.score-numbers .colon { color: var(--outline); }
.score-numbers .lose { color: var(--text-on-surface); }
.periods { display: flex; justify-content: center; gap: .5rem; margin-top: .9rem; }
.periods span { font: 600 13px var(--font-body); font-variant-numeric: tabular-nums; color: var(--text-on-surface-variant); background: rgba(0,0,0,.25); padding: .15rem .55rem; }
.vs { background: var(--bg-surface); padding: 4px 10px; font-family: var(--font-heading); font-weight: 700; font-style: italic; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.1rem; }
.countdown div { background: rgba(0,0,0,.3); border-bottom: 3px solid var(--secondary); text-align: center; padding: .45rem 0 .35rem; transform: skewX(-8deg); }
.countdown b { display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; transform: skewX(8deg); }
.countdown small { display: block; font-size: 12px; color: var(--outline); transform: skewX(8deg); }

/* ---------- BENTO ---------- */
.bento-section {
  max-width: var(--max); margin: 0 auto; padding: var(--section-gap) var(--gutter) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.bento-card { background: var(--primary-container); border: 1px solid var(--outline-variant); padding: 1.75rem; box-shadow: 4px 4px 0 0 var(--hard-shadow); display: block; }
.bento-card.featured { background: var(--secondary); color: var(--on-secondary); }
.bento-card.featured .icon, .bento-card.featured p { color: var(--on-secondary); }
.bento-card .icon { font-size: 2.4rem; color: var(--secondary); margin-bottom: 1rem; display: block; transform: translateZ(30px); }
.bento-card h3 { font-family: var(--font-heading); font-size: 28px; font-style: italic; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; transform: translateZ(20px); }
.bento-card p { color: var(--text-on-surface-variant); font-size: 15px; transform: translateZ(10px); }

/* ---------- SEKCIE ---------- */
.section { padding-block: var(--section-gap); }
.section.alt { background: var(--bg-alt); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem 2rem;
  border-bottom: 1px solid var(--outline-variant); padding-bottom: 1rem; margin-bottom: 2.5rem;
}
.section-head.plain { margin-bottom: 1.5rem; }
.section-head h2, .ice-copy h2, .history-body h2, .stadium-card h2, .newsletter h2 {
  font-family: var(--font-heading); font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 1px; line-height: 1; display: flex; align-items: center; gap: 1rem;
}
.head-icon { width: calc(1em + 10px); text-align: center; background: var(--secondary); color: var(--on-secondary); padding: 5px; transform: skewX(-10deg); font-size: 28px; }
.head-note { color: var(--outline); font-size: 14px; }
.lead { font-size: 18px; color: var(--text-on-surface-variant); max-width: 36em; }
.read-more {
  font-family: var(--font-heading); color: var(--secondary); font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.read-more:hover { border-bottom-color: var(--secondary); }

.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab {
  font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: .45rem 1rem; transform: skewX(-10deg); border: 1px solid var(--outline-variant); color: var(--text-on-surface-variant);
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--secondary); border-color: var(--secondary); }
.tab.active { background: var(--secondary); color: var(--on-secondary); border-color: var(--secondary); }

/* ---------- ZÁPASY ---------- */
.fixtures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fixture {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--outline-variant); border-left: 4px solid var(--outline-variant);
  padding: 1rem 1.25rem; box-shadow: 4px 4px 0 0 var(--hard-shadow); min-width: 0;
}
.fixture.next { border-left-color: var(--secondary); background: var(--primary-container); }
.fx-date { text-align: center; font-family: var(--font-heading); line-height: 1; min-width: 3rem; }
.fx-date b { display: block; font-size: 38px; font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; }
.fx-date span { text-transform: uppercase; color: var(--secondary); font-weight: 700; letter-spacing: 1px; }
.fx-body { min-width: 0; }
.fx-meta { font-size: 13px; color: var(--outline); }
.fx-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; font-family: var(--font-heading); font-size: 24px; font-weight: 700; text-transform: uppercase; font-style: italic; line-height: 1.15; }
.fx-teams i { font-size: 15px; color: var(--outline); }
.fx-teams em { color: var(--secondary); font-style: italic; font-weight: 900; font-variant-numeric: tabular-nums; }
.fx-action {
  font-family: var(--font-heading); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--secondary); color: var(--on-secondary); padding: .45rem .9rem; transform: skewX(-10deg); white-space: nowrap;
}
.fx-action.ghost { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); }
.chip { font-family: var(--font-heading); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .25rem .7rem; transform: skewX(-10deg); white-space: nowrap; }
.chip.win { background: rgba(79,209,139,.15); color: var(--win); border: 1px solid var(--win); }
.chip.loss { background: rgba(255,107,107,.12); color: var(--loss); border: 1px solid var(--loss); }

/* ---------- VSTUPENKY: ľadová sekcia ---------- */
.ice-section {
  background:
    repeating-linear-gradient(100deg, transparent 0 46px, rgba(255,255,255,.55) 46px 47px, transparent 47px 120px),
    linear-gradient(180deg, #f6fbfe, var(--ice));
  color: var(--ice-ink); padding-block: var(--section-gap);
  border-top: 6px solid var(--club-blue); border-bottom: 6px solid var(--club-blue);
}
.ice-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ice-copy { min-width: 0; }
.ice-copy h2 { color: var(--ice-ink); margin-bottom: 1rem; }
.ice-copy .lead { color: #33445f; margin-bottom: 2rem; }
.sector-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  background: #fff; border: 2px solid var(--ice-ink); box-shadow: 6px 6px 0 0 var(--club-blue);
  padding: 1.25rem 1.4rem; margin-bottom: 2rem;
}
.sector-code {
  font-family: var(--font-heading); font-size: 72px; font-weight: 900; font-style: italic; line-height: .85;
  color: var(--club-blue); min-width: 1ch; text-align: center;
}
.sector-info { min-width: 0; }
.sector-info h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.1; }
.sector-info p { color: #42526b; font-size: 15px; margin: .3rem 0 1rem; }
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.price-row div { border-top: 3px solid var(--secondary-dim); padding-top: .4rem; min-width: 0; }
.price-row small { display: block; font-size: 12px; color: #5a6a82; line-height: 1.3; }
.price-row b { font-family: var(--font-heading); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ice-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

.rink-map { min-width: 0; }
.rink-map svg { width: 100%; height: auto; display: block; }
.rink-map figcaption { text-align: center; font-size: 14px; color: #5a6a82; margin-top: .5rem; }
.sector { fill: #d5e5f1; stroke: var(--ice-ink); stroke-width: 2; cursor: pointer; transition: fill .2s; }
.sector:hover { fill: #a9d6f3; }
.sector.active { fill: var(--club-blue); }
.sector:focus-visible { outline: none; stroke: var(--secondary-dim); stroke-width: 5; }
.sector-labels text { font-family: var(--font-heading); font-weight: 700; font-size: 17px; text-anchor: middle; fill: var(--ice-ink); text-transform: uppercase; letter-spacing: 1px; pointer-events: none; }
.rink .ice { fill: #fff; stroke: var(--ice-ink); stroke-width: 3; }
.rink .blue-line { stroke: var(--club-blue); stroke-width: 7; }
.rink .center-line { stroke: #d63a3a; stroke-width: 5; }
.rink .goal-line { stroke: #d63a3a; stroke-width: 2; }
.rink .circle { fill: none; stroke: #d63a3a; stroke-width: 2; }
.rink .crease { fill: rgba(130,207,255,.6); stroke: #d63a3a; stroke-width: 2; }
.rink .bench { fill: var(--ice-ink); }

/* ---------- TABUĽKA ---------- */
.table-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 2.5rem; align-items: start; }
.table-grid > div { min-width: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--outline-variant); box-shadow: 4px 4px 0 0 var(--hard-shadow); background: var(--bg-surface); }
.league { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; min-width: 560px; }
.league th { font-family: var(--font-heading); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--outline); padding: .75rem .6rem; border-bottom: 1px solid var(--outline-variant); text-align: center; }
.league td { padding: .7rem .6rem; text-align: center; border-bottom: 1px solid rgba(68,70,79,.25); }
.league .l { text-align: left; }
.league td.l:nth-child(2) { font-weight: 600; white-space: nowrap; }
.league tr.us { background: var(--primary-container); box-shadow: inset 4px 0 0 var(--secondary); }
.league tr.us td { color: #fff; }
.league tr.us b { color: var(--secondary); }
.mini-logo { height: 18px; width: auto; vertical-align: -3px; margin-right: .45rem; }
.f { display: inline-block; width: 10px; height: 14px; margin-right: 3px; transform: skewX(-12deg); }
.f.w { background: var(--win); }
.f.l { background: var(--loss); opacity: .85; }

.leaders { background: var(--primary-container); border: 1px solid rgba(130,207,255,.2); box-shadow: 8px 8px 0 0 var(--hard-shadow); padding: 1.5rem; }
.leaders h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 1rem; }
.leader-list { list-style: none; display: grid; gap: .25rem; }
.leader-list li { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--outline-variant); }
.leaders .num { font-family: var(--font-heading); font-size: 34px; font-weight: 900; font-style: italic; color: var(--secondary); line-height: 1; }
.leader-list .nm { font-weight: 600; line-height: 1.2; min-width: 0; }
.leader-list small, .goalie-stat small { display: block; font-weight: 400; font-size: 13px; color: var(--outline); }
.leader-list b { font-family: var(--font-heading); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.goalie-stat { display: grid; grid-template-columns: 3.2rem 1fr; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.goalie-stat b { font-family: var(--font-heading); font-size: 30px; font-weight: 800; }
.bar { display: block; height: 6px; background: rgba(0,0,0,.35); margin-top: .3rem; }
.bar i { display: block; height: 100%; background: var(--secondary); }

/* ---------- AKTUALITY ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.article-card { background: var(--bg-alt); border: 1px solid var(--outline-variant); box-shadow: 4px 4px 0 0 var(--hard-shadow); display: flex; flex-direction: column; min-width: 0; }
.article-card[hidden] { display: none; }
.lead-article { grid-column: span 2; grid-row: span 2; }
.article-img { height: 210px; position: relative; overflow: hidden; border-bottom: 4px solid var(--secondary); transform: translateZ(10px); display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem 1.25rem; }
.lead-article .article-img { height: auto; flex: 1; min-height: 300px; }
.cover-big {
  font-family: var(--font-heading); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(48px, 6vw, 76px); line-height: .85; color: rgba(255,255,255,.92); position: relative; z-index: 1;
  text-shadow: 6px 6px 0 rgba(0,0,0,.35); transition: transform .5s;
}
.lead-article .cover-big { font-size: clamp(110px, 16vw, 210px); color: var(--secondary); }
.article-card:hover .cover-big { transform: scale(1.05) translateX(-6px); }
.cover-score { background: radial-gradient(90% 120% at 100% 100%, var(--club-blue), transparent 70%), repeating-linear-gradient(90deg, #13234a 0 38px, #172a57 38px 76px); }
.cover-stripes { background: repeating-linear-gradient(90deg, #00589a 0 30px, #15b4ec 30px 60px); }
.cover-stripes.alt { background: repeating-linear-gradient(90deg, #f2f8fc 0 30px, #15b4ec 30px 60px); }
.cover-stripes.alt .cover-big { color: var(--ice-ink); text-shadow: 5px 5px 0 rgba(255,255,255,.7); }
.cover-ice { background: radial-gradient(120% 100% at 0 0, #ffffff, #cfe6f5 60%, #a6d4f0); }
.cover-ice .cover-big { color: var(--club-blue); text-shadow: 5px 5px 0 rgba(255,255,255,.7); }
.cover-mic { background: radial-gradient(70% 90% at 15% 20%, #15b4ec, transparent 60%), linear-gradient(160deg, #00589a, #0d1830); }
.cover-navy { background: linear-gradient(135deg, #0d1830 0%, #1a2f5b 100%); }
.cover-navy::before { content: ''; position: absolute; inset: 0 auto 0 12%; width: 22%; background: repeating-linear-gradient(90deg, #fff 0 14px, #15b4ec 14px 28px); transform: skewX(-12deg); opacity: .9; }
.article-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--primary-container); color: var(--secondary); border: 1px solid rgba(130,207,255,.3);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: .2rem .7rem;
}
.article-content { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; transform: translateZ(20px); }
.lead-article .article-content { flex-grow: 0; }
.article-date { font-size: 14px; color: var(--text-on-surface-variant); margin-bottom: .4rem; }
.article-content h3 { font-family: var(--font-heading); font-size: 25px; font-weight: 700; line-height: 1.12; margin-bottom: .75rem; transition: color .3s; }
.lead-article h3 { font-size: clamp(28px, 3.2vw, 38px); font-style: italic; text-transform: uppercase; }
.article-card:hover h3 { color: var(--secondary); }
.article-content p { color: var(--text-on-surface-variant); margin-bottom: 1.25rem; flex-grow: 1; font-size: 15px; }
.empty-note { color: var(--outline); padding: 2rem 0; }

/* ---------- SÚPISKA ---------- */
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.player {
  position: relative; overflow: hidden; background: var(--primary-container); border: 1px solid var(--outline-variant);
  box-shadow: 4px 4px 0 0 var(--hard-shadow); padding: 7.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.player::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 45%; height: 100%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 12px, rgba(21,180,236,.12) 12px 24px); transform: skewX(-12deg) translateX(30%); }
.player .p-num {
  position: absolute; top: .4rem; left: 1.1rem; font-family: var(--font-heading); font-weight: 900; font-style: italic;
  font-size: 104px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--secondary); opacity: .9; transform: translateZ(30px);
}
.player .p-pos { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; position: relative; }
.player h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; position: relative; transform: translateZ(20px); }
.player .p-first { display: block; font-size: 18px; font-weight: 600; color: var(--text-on-surface-variant); }
.player .p-stats { display: flex; gap: 1rem; margin-top: .9rem; padding-top: .7rem; border-top: 1px solid rgba(130,207,255,.2); position: relative; font-variant-numeric: tabular-nums; }
.player .p-stats div { display: flex; flex-direction: column; }
.player .p-stats b { font-family: var(--font-heading); font-size: 22px; font-weight: 800; line-height: 1; }
.player .p-stats small { font-size: 12px; color: var(--outline); }
.player.captain .p-pos::after { content: 'C'; display: inline-block; margin-left: .5rem; background: var(--secondary); color: var(--on-secondary); padding: 0 .35rem; transform: skewX(-10deg); }

/* ---------- MLÁDEŽ ---------- */
.youth-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.youth-grid > div { min-width: 0; }
.youth-grid .lead { margin-bottom: 1.75rem; }
.age-table { border-top: 1px solid var(--outline-variant); }
.age-row { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--outline-variant); align-items: baseline; }
.age-row b { font-family: var(--font-heading); font-size: 22px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--secondary); }
.age-row span { color: var(--text-on-surface-variant); font-size: 15px; font-variant-numeric: tabular-nums; }
.signup { background: var(--primary-container); border: 1px solid rgba(130,207,255,.2); box-shadow: 8px 8px 0 0 var(--hard-shadow); padding: 1.75rem; display: flex; flex-direction: column; }
.signup h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.signup > p { color: var(--text-on-surface-variant); font-size: 15px; margin: .3rem 0 1.25rem; }
.signup label { font-size: 14px; font-weight: 600; margin-bottom: .35rem; }
.signup input, .signup select, .nl-form input {
  font: inherit; color: var(--text-on-surface); background: rgba(0,0,0,.3); border: 1px solid var(--outline-variant); border-bottom: 3px solid var(--outline);
  padding: .7rem .85rem; margin-bottom: 1rem; width: 100%; border-radius: 0;
}
.signup input:focus, .signup select:focus, .nl-form input:focus { outline: none; border-bottom-color: var(--secondary); background: rgba(0,0,0,.45); }
.signup select option { background: var(--nav-bg); }
.signup .btn-primary { align-self: flex-start; margin-top: .25rem; }
.form-error { color: var(--loss); font-size: 14px; margin-bottom: .75rem; }
.form-ok { display: flex; align-items: center; gap: .5rem; color: var(--win); margin-top: 1rem; font-weight: 600; }

/* ---------- ŠTADIÓN ---------- */
.stadium-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.stadium-card { min-width: 0; }
.stadium-card .lead { margin: .9rem 0 1.5rem; }
.info-list { list-style: none; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.info-list .material-symbols-outlined { width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary-container); color: var(--secondary); transform: skewX(-10deg); }
.info-list b { display: block; font-family: var(--font-heading); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.info-list span { color: var(--text-on-surface-variant); font-size: 15px; }
.matchday { align-self: start; background: var(--bg-surface); border: 1px solid var(--outline-variant); box-shadow: 4px 4px 0 0 var(--hard-shadow); padding: 1.75rem; min-width: 0; }
.matchday h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 1.25rem; }
.timeline { list-style: none; position: relative; display: grid; gap: 1.1rem; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 2px; background: var(--outline-variant); }
.timeline li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; align-items: baseline; }
.timeline li::before { content: ''; position: absolute; left: -1.5rem; top: .45rem; width: 12px; height: 12px; background: var(--secondary); transform: skewX(-10deg); }
.timeline time { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--secondary); font-variant-numeric: tabular-nums; }
.timeline span { color: var(--text-on-surface-variant); }

/* ---------- PARTNERI ---------- */
.partner-tier { margin-bottom: 2rem; }
.partner-tier h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--secondary); letter-spacing: 1px; margin-bottom: .9rem; }
.partner-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.partner-slots.one { grid-template-columns: 1fr; }
.partner-slots.small { grid-template-columns: repeat(6, 1fr); }
.slot { border: 2px dashed var(--outline-variant); display: grid; place-items: center; min-height: 96px; color: var(--outline); font-size: 14px; text-align: center; padding: .5rem; transition: border-color .2s, color .2s; }
.slot.big { min-height: 140px; font-size: 16px; }
.partner-slots.small .slot { min-height: 72px; }
.slot:hover { border-color: var(--secondary); color: var(--secondary); }

/* ---------- NEWSLETTER ---------- */
.newsletter { background: var(--secondary); color: var(--on-secondary); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: center; }
.newsletter h2 { color: var(--ice-ink); }
.newsletter p { margin-top: .4rem; max-width: 34em; }
.nl-form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: stretch; min-width: 0; }
.nl-form input { flex: 1 1 220px; margin: 0; background: #fff; color: var(--ice-ink); border-color: var(--ice-ink); border-bottom-color: var(--ice-ink); }
.nl-form input::placeholder { color: #6b7a90; }
.nl-form input:focus { background: #fff; border-bottom-color: var(--club-blue); }
.nl-msg { flex-basis: 100%; font-weight: 600; min-height: 1.5em; }

/* ---------- PÄTA ---------- */
.site-footer { background: var(--footer-bg); border-top: 2px solid var(--primary-container); padding-block: 4rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.footer-container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.footer-info { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--outline-variant); }
.footer-brand { display: flex; gap: 1.25rem; align-items: center; min-width: 0; }
.footer-logo { height: 76px; width: auto; }
.footer-brand h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--secondary); letter-spacing: 1px; line-height: 1; margin-bottom: .4rem; }
.footer-brand p { color: var(--text-on-surface-variant); font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { font-family: var(--font-heading); font-size: 18px; color: var(--secondary); letter-spacing: 1px; margin-bottom: .75rem; }
.footer-cols a { display: block; color: var(--text-on-surface-variant); padding: .2rem 0; font-size: 15px; transition: color .2s; }
.footer-cols a:hover { color: var(--secondary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { font-family: var(--font-heading); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--outline); transition: color .2s; }
.footer-nav a:hover { color: var(--secondary); }
.footer-nav button { font-family: var(--font-heading); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--outline); transition: color .2s; padding: 0; }
.footer-nav button:hover { color: var(--secondary); }
.footer-copy { color: var(--outline); font-size: 13px; margin-left: auto; }
/* powered by AWIS (nastavenie webu Päta) – logo biele, stlmené, pri prechode myšou naplno */
.footer-powered { display: flex; align-items: center; gap: .6rem; margin: 0 0 0 auto; color: var(--outline); font-size: 13px; letter-spacing: .02em; }
.footer-awis { display: inline-flex; line-height: 0; }
.footer-awis img { display: block; width: 78px; height: 20px; filter: brightness(0) invert(1); opacity: .6; transition: opacity .2s; }
a.footer-awis:hover img, a.footer-awis:focus-visible img { opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1320px) { .btn-login span:last-child { display: none; } }
@media (max-width: 1180px) {
  .desktop-links { gap: 1rem; }
  .desktop-links a { font-size: 15px; }
  .btn-login span:last-child { display: none; }
}
@media (max-width: 1024px) {
  .desktop-links, .nav-actions .lang-menu, .nav-actions .btn-login { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-content, .ice-grid, .table-grid, .history-grid, .youth-grid, .stadium-grid, .nl-grid, .footer-info { grid-template-columns: 1fr; }
  .bento-section, .roster { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-article { grid-row: auto; }
  .history-cover { max-width: 460px; }
  .partner-slots.small { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-container { height: 4.75rem; }
  .nav-logo img { height: 44px; }
  .nav-actions .btn-primary { padding: .5rem .8rem; font-size: 14px; }
  .fixtures, .news-grid { grid-template-columns: 1fr; }
  .lead-article { grid-column: auto; }
  .lead-article .article-img { min-height: 220px; }
  .fixture { grid-template-columns: auto 1fr; }
  .fixture .fx-action, .fixture .chip { grid-column: 2; justify-self: start; }
  .score-numbers { font-size: 48px; }
  .team-abbr { font-size: 28px; }
  .price-row b { font-size: 24px; }
  .sector-code { font-size: 54px; }
  .age-row { grid-template-columns: 1fr 1fr; }
  .age-row span:last-child { grid-column: 1 / -1; }
  .partner-slots { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .footer-copy, .footer-powered { margin-left: 0; }
  .tilt-card { transform: none !important; }
}
@media (max-width: 480px) {
  .bento-section { grid-template-columns: 1fr; }
  .bento-card { padding: 1.4rem; }
  .player { padding: 5.75rem .9rem .9rem; }
  .player .p-num { font-size: 80px; left: .8rem; }
  .player h3 { font-size: 21px; }
  .player .p-first { font-size: 15px; }
  .player .p-stats { gap: .6rem; }
  .player .p-pos { font-size: 12px; }
  .price-row b { font-size: 21px; }
  .price-row { gap: .5rem; }
  .sector-panel { grid-template-columns: 1fr; gap: .5rem; }
  .hero-ctas .btn-ghost { display: none; }
}

/* =====================================================================
   REFAKTOR 2026-10: nové bloky + moderné animácie
   Princíp: všetko je čitateľné aj bez JS a bez animácií. Prvky pod okrajom
   obrazovky dostanú triedu .pre až z JS a pri vstupe do viewportu .in.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16,1,.3,1); --ease-back: cubic-bezier(.34,1.56,.64,1); --draw: #ffd36b; }

/* ---------- Progres scrollu ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300; pointer-events: none;
  background: linear-gradient(90deg, var(--club-blue), var(--secondary));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Navbar sa pri scrolle zmenší ---------- */
.nav-container, .nav-logo img { transition: height .4s var(--ease-out); }
.top-navbar.scrolled .nav-container { height: 4.4rem; }
.top-navbar.scrolled .nav-logo img { height: 44px; }
.top-navbar.scrolled { background: rgba(13,24,48,.94); }

/* ---------- Hero: nadpis po slovách ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .06em 0; margin-right: -.06em; }
.split .w > span { display: inline-block; }
.js .split .w > span { animation: wordUp 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 200ms); }
@keyframes wordUp { from { transform: translateY(105%) skewY(7deg); } to { transform: none; } }
.hero-wordmark { will-change: translate; }

/* ---------- Ticker výsledkov ---------- */
.ticker { background: var(--footer-bg); border-bottom: 1px solid rgba(130,207,255,.18); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--footer-bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--footer-bg), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .8rem 1.6rem;
  font-family: var(--font-heading); font-size: 19px; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 1px;
}
.ticker-item::after { content: ''; width: 8px; height: 8px; background: var(--secondary); transform: skewX(-12deg); margin-left: 1.6rem; opacity: .6; }
.ticker-item em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--outline); letter-spacing: 1.5px; }
.ticker-item b { color: var(--secondary); font-weight: 900; font-variant-numeric: tabular-nums; }
.tk { font-style: normal; font-size: 13px; font-weight: 800; padding: 0 .4rem; transform: skewX(-10deg); }
.tk.w { background: var(--win); color: #062a17; }
.tk.l { background: var(--loss); color: #3a0808; }
.tk.d { background: var(--outline); color: var(--bg-surface); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Záložky s posuvným indikátorom ---------- */
.tabs { position: relative; }
.tab { position: relative; z-index: 1; }
.tab small { font: 600 12px var(--font-body); opacity: .7; margin-left: .25rem; }
.tab-ind {
  position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; background: var(--secondary);
  transform: skewX(-10deg); box-shadow: 3px 3px 0 0 #001e2d;
  transition: left .5s var(--ease-out), top .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out);
}
.tabs.has-ind .tab.active { background: transparent; border-color: transparent; }

/* ---------- Zápasy: kategória a remíza ---------- */
.fx-date.cat b { font-size: 30px; }
.chip.draw { background: rgba(143,144,154,.15); color: var(--text-on-surface-variant); border: 1px solid var(--outline); }
.fixture { transition: border-color .3s, translate .4s var(--ease-out), background .3s; }
.fixture:hover { border-color: var(--secondary); translate: 0 -3px; }
.fixture.next { position: relative; overflow: hidden; }
.fixture.next::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(130,207,255,.14) 50%, transparent 60%);
  translate: -100% 0; animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { translate: -100% 0; } 100% { translate: 100% 0; } }

/* ---------- Tabuľka: body ako pruh ---------- */
.league .pts { display: flex; align-items: center; gap: .6rem; min-width: 7.5rem; }
.league .pts b { min-width: 1.6em; text-align: right; }
.pbar { flex: 1; height: 6px; background: rgba(255,255,255,.07); display: block; }
.pbar i { display: block; height: 100%; width: var(--w); background: var(--outline); transform-origin: 0 50%; }
.league tr.us .pbar i { background: var(--secondary); }
.league tbody tr { transition: background .25s; }
.league tbody tr:not(.us):hover { background: rgba(130,207,255,.05); }
.table-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.table-foot .form-label { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--outline); margin-right: .4rem; }
.table-foot .read-more { margin-left: auto; }
.bar i { width: var(--w); transform-origin: 0 50%; }
.leaders .num { min-width: 2ch; }

.more-row { margin-top: 2rem; text-align: right; }

/* ---------- Súpiska ---------- */
.player .p-born { font-size: 13px; color: var(--outline); font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- Ľadová plocha: kreslené čiary a puk ---------- */
.desktop-links a, .btn-primary > span { white-space: nowrap; }
.sector-info .price-row b { font-size: 20px; line-height: 1.1; display: block; margin-top: .15rem; }
.sector-info .price-row small { min-height: 2.6em; }
.sector.active { animation: zonePulse 2.6s ease-in-out infinite; }
@keyframes zonePulse { 50% { fill: #1a78c2; } }
.puck-trail { fill: none; stroke: rgba(0,88,154,.22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; animation: trail 1.2s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -11; } }
.puck-body { fill: #0d1830; }
.sector-panel { transition: box-shadow .3s; }
.sector-panel.swap .sector-code { animation: codeIn .55s var(--ease-back); }
.sector-panel.swap .sector-info > * { animation: panelIn .5s var(--ease-out) both; }
.sector-panel.swap .sector-info > *:nth-child(2) { animation-delay: .05s; }
.sector-panel.swap .sector-info > *:nth-child(3) { animation-delay: .1s; }
@keyframes codeIn { from { scale: .3; rotate: -25deg; opacity: 0; } }
@keyframes panelIn { from { opacity: 0; translate: 14px 0; } }

/* ---------- Mládež: výstroj a tréner ---------- */
.kit { margin-top: 2.25rem; }
.kit h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 1rem; }
.kit-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.kit-list li { display: flex; align-items: center; gap: .75rem; background: var(--bg-alt); border: 1px solid var(--outline-variant); padding: .75rem .9rem; font-size: 15px; min-width: 0; }
.kit-list .material-symbols-outlined { width: 36px; height: 36px; display: grid; place-items: center; background: var(--primary-container); color: var(--secondary); transform: skewX(-10deg); font-size: 22px; }
.kit-note { margin-top: .9rem; color: var(--secondary); font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.coach { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--outline-variant); }
.coach > .material-symbols-outlined { width: 44px; height: 44px; display: grid; place-items: center; background: var(--secondary); color: var(--on-secondary); transform: skewX(-10deg); font-size: 26px; }
.coach b { display: block; font-family: var(--font-heading); font-size: 19px; text-transform: uppercase; letter-spacing: .5px; }
.coach span { color: var(--text-on-surface-variant); font-size: 15px; user-select: all; }
.form-ok { align-items: flex-start; }

/* ---------- História ---------- */
.history { background: linear-gradient(180deg, var(--bg-surface), #0f1a33); }
.history-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.history-cover {
  position: relative; overflow: hidden; aspect-ratio: 1; max-width: 100%;
  background: repeating-linear-gradient(90deg, #00589a 0 34px, #15b4ec 34px 68px);
  border: 2px solid var(--secondary); box-shadow: 10px 10px 0 0 var(--hard-shadow);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
}
.history-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,24,48,.96) 35%, rgba(13,24,48,.15)); }
.history-cover > * { position: relative; }
.hc-kicker { font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); }
.hc-year { font-family: var(--font-heading); font-size: clamp(96px, 13vw, 176px); font-weight: 900; font-style: italic; line-height: .82; letter-spacing: -2px; font-variant-numeric: tabular-nums; transform: translateZ(30px); }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(130,207,255,.3); }
.hc-stats b { display: block; font-family: var(--font-heading); font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; font-style: italic; line-height: 1; color: var(--secondary); font-variant-numeric: tabular-nums; }
.hc-stats small { font-size: 13px; color: var(--text-on-surface-variant); }
.history-body { min-width: 0; }
.history-body h2 { margin-bottom: 1rem; }
.history-body h2 em { font-style: italic; color: var(--secondary); }
.history-body .lead { margin-bottom: 2rem; }
.htl { list-style: none; position: relative; display: grid; gap: 1.15rem; padding-left: 1.75rem; margin-bottom: 1.75rem; }
.htl::before, .htl::after { content: ''; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 2px; }
.htl::before { background: var(--outline-variant); }
.htl::after { background: var(--secondary); transform-origin: 50% 0; transform: scaleY(var(--tl, 1)); }
.htl li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: .9rem; align-items: baseline; }
.htl li::before { content: ''; position: absolute; left: -1.75rem; top: .4rem; width: 12px; height: 12px; background: var(--bg-surface); border: 2px solid var(--secondary); transform: skewX(-10deg); }
.htl li.title::before { background: var(--draw); border-color: var(--draw); box-shadow: 0 0 12px rgba(255,211,107,.6); }
.htl time { font-family: var(--font-heading); font-size: 22px; font-weight: 800; font-style: italic; color: var(--secondary); font-variant-numeric: tabular-nums; }
.htl li.title time { color: var(--draw); }
.htl span { color: var(--text-on-surface-variant); }

/* ---------- Podpora 2 % (pás na mieste newslettra) ---------- */
.newsletter p { color: var(--on-secondary); }
.tax-box { background: #fff; color: var(--ice-ink); border: 2px solid var(--ice-ink); box-shadow: 6px 6px 0 0 var(--club-blue); padding: 1.25rem 1.4rem; display: grid; gap: 1rem; min-width: 0; }
.tax-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tax-row small { display: block; font-size: 12px; color: #5a6a82; text-transform: uppercase; letter-spacing: 1px; }
.tax-row b { font-family: var(--font-heading); font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; user-select: all; }
.tax-row .btn-primary { padding: .55rem 1rem; font-size: 15px; }
.tax-link { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-heading); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 1px; color: var(--club-blue); border-bottom: 2px solid transparent; justify-self: start; }
.tax-link:hover { border-bottom-color: var(--club-blue); }
.tax-link .material-symbols-outlined { font-size: 18px; }

/* ---------- Kontakt ---------- */
.info-list a { color: var(--secondary); }
.info-list a:hover { text-decoration: underline; }
.facts { display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--outline-variant); }
.facts dt { font-family: var(--font-heading); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--outline); }
.facts dd { font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; user-select: all; }
.partners-lead { margin: -1rem 0 2rem; }

/* ---------- Spotlight pod kurzorom na kartách ---------- */
.tilt-card { position: relative; }
.tilt-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(130,207,255,.16), transparent 45%);
}
.tilt-card:hover::after { opacity: 1; }
.bento-card.featured::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%); }

/* ---------- Magnetické tlačidlá ---------- */
.magnetic { transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s, translate .35s var(--ease-out); }

/* ---------- Odpočet: preklopenie číslice ---------- */
.countdown div { perspective: 300px; }
.countdown b.flip { animation: flip .45s var(--ease-out); }
@keyframes flip { from { rotate: x 90deg; opacity: .2; } }

/* =====================================================================
   Vstupné animácie (iba prvky pod okrajom pri načítaní)
   ===================================================================== */
@keyframes animUp { from { opacity: 0; translate: 0 44px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes rowIn { from { opacity: 0; translate: -28px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes wipeIn { from { clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%); } to { clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%); } }
@keyframes iconIn { from { rotate: -120deg; scale: .2; } to { rotate: 0deg; scale: 1; } }
@keyframes lineIn { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes barIn { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes strokeIn { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.section-head { position: relative; }
.section-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 120px; height: 2px; background: var(--secondary); transform-origin: 0 50%; }

/* stagger */
.pre[data-anim="stagger"] > * { opacity: 0; }
.in[data-anim="stagger"] > * { animation: animUp .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 75ms); }
/* nadpis sekcie */
.pre[data-anim="head"] h2 { clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%); }
.in[data-anim="head"] h2 { animation: wipeIn .9s var(--ease-out) both; }
.in[data-anim="head"] .head-icon { animation: iconIn .8s var(--ease-back) .15s both; }
.pre[data-anim="head"]::after { scale: 0 1; }
.in[data-anim="head"]::after { animation: lineIn 1s var(--ease-out) .25s both; }
.pre[data-anim="head"] .tabs, .pre[data-anim="head"] .head-note, .pre[data-anim="head"] > .read-more { opacity: 0; }
.in[data-anim="head"] .tabs, .in[data-anim="head"] .head-note, .in[data-anim="head"] > .read-more { animation: animUp .8s var(--ease-out) .2s both; }
/* riadky tabuľky */
.pre[data-anim="rows"] tbody tr { opacity: 0; }
.in[data-anim="rows"] tbody tr { animation: rowIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.pre[data-anim="rows"] .pbar i { scale: 0 1; }
.in[data-anim="rows"] .pbar i { animation: barIn 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + .3s); }
.in[data-anim="rows"] tr.us { animation: rowIn .7s var(--ease-out) both, usGlow 1.6s ease .9s; }
@keyframes usGlow { 40% { background: #23407a; } }
/* ihrisko: čiary sa nakreslia */
.rink .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pre[data-anim="rink"] .draw { stroke-dashoffset: 1; }
.in[data-anim="rink"] .draw { animation: strokeIn 1.4s var(--ease-out) both; }
.in[data-anim="rink"] .blue-line { animation-delay: .15s; }
.in[data-anim="rink"] .center-line { animation-delay: .3s; }
.in[data-anim="rink"] .circle { animation-delay: .45s; }
.pre[data-anim="rink"] .sector { opacity: 0; }
.in[data-anim="rink"] .sector { animation: animUp .8s var(--ease-out) both; }
.in[data-anim="rink"] .sector:nth-child(2) { animation-delay: .1s; }
.in[data-anim="rink"] .sector:nth-child(3) { animation-delay: .2s; }
.in[data-anim="rink"] .sector:nth-child(4) { animation-delay: .3s; }
.in[data-anim="rink"] .sector.active { animation: animUp .8s var(--ease-out) both, zonePulse 2.6s ease-in-out 1s infinite; }

/* scroll-driven efekty tam, kde ich prehliadač podporuje */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .hero-wordmark { animation: wmDrift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes wmDrift { to { translate: -14% 28%; opacity: .35; } }
    .htl::after { animation: tlGrow linear both; animation-timeline: view(); animation-range: entry 40% cover 60%; }
    @keyframes tlGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    .ice-section { animation: iceDrift linear both; animation-timeline: view(); }
    @keyframes iceDrift { from { background-position: -160px 0, 0 0; } to { background-position: 160px 0, 0 0; } }
    .history-cover { animation: coverDrift linear both; animation-timeline: view(); }
    @keyframes coverDrift { from { background-position: 0 0; } to { background-position: 204px 0; } }
  }
}


/* ---------- A-tím: doplnky ---------- */
.periods .sn { background: var(--secondary); color: var(--on-secondary); font-family: var(--font-heading); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.periods { flex-wrap: wrap; }
.tk.o { background: #f2b34a; color: #3a2400; }
.chip.ot { background: rgba(242,179,74,.12); color: #f2b34a; border: 1px solid #f2b34a; }
.f.o { background: #f2b34a; }
.table-note { margin: -1.25rem 0 1rem; }
.league tr.out td { color: var(--outline); font-style: italic; }
.league td small { font-size: 12px; color: var(--outline); margin-left: .4rem; font-style: normal; }
.roster-tabs { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.team-tabs .tab { font-size: 16px; }
.staff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.staff.staff-tab { margin-top: 0; }
.staff > div { background: var(--bg-surface); border: 1px solid var(--outline-variant); border-left: 4px solid var(--secondary); padding: .9rem 1.1rem; min-width: 0; }
.staff small { display: block; font-size: 13px; color: var(--outline); }
.staff b { font-family: var(--font-heading); font-size: 22px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.1; }
.facts-note { margin-top: 1rem; font-size: 14px; color: var(--outline); }
.facts-title { font-family: var(--font-heading); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); margin-top: 1.5rem; }
.matchday h3 + .billing-entity .facts-title { margin-top: 0; }
.matchday .billing-entity + .billing-entity { margin-top: 1.75rem; }
.slot.gp { flex-direction: column; gap: .2rem; border-style: solid; border-color: rgba(130,207,255,.35); background: linear-gradient(135deg, var(--primary-container), #0d1830); }
.slot.gp { display: flex; align-items: center; justify-content: center; }
.slot.gp b { font-family: var(--font-heading); font-size: clamp(40px, 6vw, 64px); font-weight: 900; font-style: italic; letter-spacing: 2px; color: var(--text-on-surface); line-height: 1; }
.slot.gp span { color: var(--secondary); font-family: var(--font-heading); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 1024px) { .staff { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .staff { grid-template-columns: 1fr; } }

/* ---------- Vstupenky ---------- */
.top-navbar .btn-primary .material-symbols-outlined { font-size: 20px; }
.mobile-menu-links .mobile-tickets { color: var(--secondary); display: inline-flex; align-items: center; gap: .4rem; }
.fx-action { display: inline-flex; align-items: center; gap: .35rem; }
.fx-action .material-symbols-outlined { font-size: 18px; }
.more-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.75rem; }

.score-cta {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem;
  margin-top: 1rem; padding: .7rem .9rem; background: var(--secondary); color: var(--on-secondary);
  box-shadow: 4px 4px 0 0 #001e2d; transition: translate .35s var(--ease-out), box-shadow .3s;
}
.score-cta:hover { translate: 0 -2px; box-shadow: 6px 6px 0 0 #001e2d; }
.score-cta b { display: block; font-family: var(--font-heading); font-size: 19px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.score-cta small { display: block; font-size: 13px; }
.score-cta .material-symbols-outlined:last-child { transition: translate .3s var(--ease-out); }
.score-cta:hover .material-symbols-outlined:last-child { translate: 4px 0; }

.tickets-band {
  position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem);
  background:
    repeating-linear-gradient(90deg, rgba(130,207,255,.05) 0 34px, transparent 34px 68px),
    linear-gradient(120deg, #0d1830 0%, var(--primary-container) 60%, #00589a 140%);
  border-block: 4px solid var(--secondary);
}
.tickets-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tickets-copy { min-width: 0; }
.tickets-copy h2 { font-family: var(--font-heading); font-size: clamp(34px, 4.8vw, 52px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; margin-bottom: 1rem; }
.tickets-copy p { color: var(--text-on-surface-variant); max-width: 34em; margin-bottom: 1.75rem; font-size: 17px; }
.tickets-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.ticket-prices { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.ticket-prices li {
  background: rgba(0,0,0,.3); border: 1px solid rgba(130,207,255,.25); border-left: 4px solid var(--secondary);
  padding: 1rem 1.1rem; box-shadow: 4px 4px 0 0 var(--hard-shadow); min-width: 0;
}
.ticket-prices small { display: block; font-size: 13px; color: var(--outline); text-transform: uppercase; letter-spacing: 1px; }
.ticket-prices b { font-family: var(--font-heading); font-size: clamp(30px, 3.6vw, 40px); font-weight: 900; font-style: italic; color: var(--secondary); line-height: 1.05; font-variant-numeric: tabular-nums; }
.ice-ctas { align-items: center; }
.ice-link { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--club-blue); border-bottom: 2px solid transparent; }
.ice-link:hover { border-bottom-color: var(--club-blue); }
@media (max-width: 1024px) { .tickets-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .top-navbar .btn-primary .material-symbols-outlined { display: none; } }

/* ---------- Responzívne doplnky ---------- */
@media (max-width: 720px) {
  .kit-list { grid-template-columns: 1fr; }
  .ticker-item { font-size: 17px; padding: .7rem 1.1rem; }
  .htl li { grid-template-columns: 1fr; gap: .1rem; }
  .table-foot .read-more { margin-left: 0; flex-basis: 100%; margin-top: .5rem; }
  .facts div { grid-template-columns: 4rem 1fr; }
  .hc-stats small { font-size: 12px; }
}
@media (max-width: 480px) {
  .history-cover { aspect-ratio: auto; min-height: 340px; padding: 1.4rem; }
  .sector-info .price-row b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tilt-card { transform: none !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .fixture.next::after { display: none; }
}


/* =====================================================================
   TYPO3: podstránky a obsah z backendu (fluid_styled_content)
   ===================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, rgba(0,88,154,.55), transparent 60%), linear-gradient(180deg, #0f1c38 0%, var(--bg-surface) 100%);
  border-bottom: 4px solid var(--secondary);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.page-title {
  font-family: var(--font-heading); font-size: clamp(40px, 6vw, 72px); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .95; letter-spacing: -1px;
}
.cms-content { max-width: 52rem; }
.cms-content:empty { display: none; }
.cms-content > * + * { margin-top: 1.25rem; }
.cms-content h2, .cms-content h3 { font-family: var(--font-heading); font-style: italic; text-transform: uppercase; line-height: 1.05; margin-top: 2rem; }
.cms-content h2 { font-size: clamp(28px, 3.5vw, 38px); }
.cms-content h3 { font-size: 24px; }
.cms-content p, .cms-content li { color: var(--text-on-surface-variant); }
.cms-content ul, .cms-content ol { padding-left: 1.25rem; display: grid; gap: .4rem; }
.cms-content a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.cms-content img { height: auto; }
.cms-content table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cms-content th, .cms-content td { padding: .6rem; border-bottom: 1px solid var(--outline-variant); text-align: left; }


/* =====================================================================
   TYPO3: stránka zo sekcií a obsahové prvky „HK: …“ (Flux, Templates/Content/*)
   ===================================================================== */
/* bežné prvky (FSC rám .frame) na stránke zo sekcií: užší stĺpec textu ako na podstránke */
.sections > .frame { max-width: calc(52rem + 2 * var(--gutter)); margin-inline: auto; padding: var(--section-gap) var(--gutter) 0; }
.sections > .frame:last-child { padding-bottom: var(--section-gap); }
.sections > .frame > * + * { margin-top: 1.25rem; }
.sections > .frame p, .sections > .frame li { color: var(--text-on-surface-variant); }
.sections > .frame a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.sec-note { color: var(--text-on-surface-variant); font-size: 16px; max-width: 34em; min-width: 0; }

/* HK: Hlavička podstránky */
.ph::after { /* kruh buly – detail z ľadovej plochy */
  content: ''; position: absolute; right: -140px; top: 50%; width: 440px; height: 440px; transform: translateY(-50%);
  border: 3px solid rgba(130,207,255,.14); border-radius: 50%; pointer-events: none;
}
.ph-inner { position: relative; z-index: 1; display: grid; gap: 1.1rem; justify-items: start; }
.ph .hero-tag { margin-bottom: 0; }
.ph .page-title { font-size: clamp(48px, 9vw, 104px); font-weight: 900; line-height: .88; letter-spacing: .5px; }
.ph .page-title em { font-style: italic; color: var(--secondary); }
.ph-crumbs { font-size: 13px; color: var(--outline); letter-spacing: .5px; }
.ph-crumbs a:hover { color: var(--secondary); }
.ph-numbers { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin-top: .4rem; }
.ph-numbers div { display: grid; }
.ph-numbers b { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ph-numbers span { font-size: 13px; color: var(--outline); text-transform: uppercase; letter-spacing: 1px; }
.ph-jump { margin-top: .8rem; font-family: var(--font-heading); }

/* HK: Karty */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
.tile, .panel { background: var(--bg-surface); border: 1px solid var(--outline-variant); box-shadow: 6px 6px 0 0 var(--hard-shadow); padding: 1.75rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.tile h3, .panel h3 { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.tile h3 em, .panel h3 em, .section-head h2 em { font-style: italic; color: var(--secondary); }
.panel h3 { font-size: 26px; }
.tile p, .panel p { color: var(--text-on-surface-variant); }
.tile-tag { justify-self: start; font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--on-secondary) !important; background: var(--secondary); padding: .2rem .8rem; transform: skewX(-10deg); }
.tile-tag span { display: inline-block; transform: skewX(10deg); }
.tile-list { list-style: none; display: grid; gap: .45rem; }
.tile-list li { padding-left: 1.2rem; position: relative; }
.tile-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: .55rem; height: 2px; background: var(--secondary); }

/* História: Éry (HK: Éry) – kapitoly s veľkými rokmi vľavo */
.eras { list-style: none; display: grid; }
.era { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--outline-variant); position: relative; }
.era:first-child { border-top: 0; padding-top: .5rem; }
.era-side { display: grid; gap: 1rem; align-content: start; }
.era-years { font-family: var(--font-heading); font-style: italic; font-weight: 900; font-size: clamp(44px, 5.6vw, 76px); line-height: .9; letter-spacing: -1px; color: transparent; -webkit-text-stroke: 1.5px var(--secondary); font-variant-numeric: tabular-nums; }
.era:hover .era-years { color: rgba(130,207,255,.12); }
.era-body { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.era-body h3 { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.era-body h3 em { font-style: italic; color: var(--secondary); }
.era-body p { color: var(--text-on-surface-variant); max-width: 46em; }
.era-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.era-points li { max-width: 100%; font-size: 14px; padding: .35rem .8rem; border: 1px solid rgba(130,207,255,.35); background: rgba(130,207,255,.06); color: var(--text-on-surface); transform: skewX(-10deg); }
@media (max-width: 760px) {
  .era { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: 2rem 0; }
}

/* História: Tituly (HK: Tituly) – vitrína so zlatým akcentom */
.honours { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: 1.25rem; }
.honour { position: relative; display: grid; gap: .35rem; align-content: start; padding: 1.4rem 1.3rem 1.5rem; background: linear-gradient(170deg, var(--nav-bg), var(--footer-bg)); border: 1px solid rgba(255,211,107,.35); border-top: 3px solid var(--draw); box-shadow: 6px 6px 0 0 var(--hard-shadow); overflow: hidden; }
.honour::after { content: ''; position: absolute; right: -18px; bottom: -18px; width: 84px; height: 84px; border: 10px solid rgba(255,211,107,.08); transform: skewX(-10deg); pointer-events: none; }
.honour-kicker { font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--draw); }
.honour-season { font-family: var(--font-heading); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; color: var(--text-on-surface); font-variant-numeric: tabular-nums; }
.honour-league { font-family: var(--font-heading); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .5px; color: var(--secondary); }
.honour small { font-size: 14px; color: var(--text-on-surface-variant); }

/* Výzva (HK: Výzva) – pás s tlačidlom */
.callout-section { padding-top: 0; }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: 2.25rem 2.5rem; background: linear-gradient(120deg, var(--primary-container), var(--club-blue)); border: 1px solid rgba(130,207,255,.35); box-shadow: 8px 8px 0 0 var(--hard-shadow); position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 40px, transparent 40px 80px); pointer-events: none; }
.callout-text { display: grid; gap: .6rem; position: relative; }
.callout h2 { font-family: var(--font-heading); font-style: italic; font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; text-transform: uppercase; }
.callout h2 em { font-style: italic; color: var(--secondary); }
.callout p:not(.kicker) { color: var(--text-on-surface); max-width: 44em; }
.callout a:not(.btn-primary) { color: var(--secondary); text-decoration: underline; }
.callout .btn-primary { position: relative; white-space: nowrap; }
@media (max-width: 760px) {
  .callout { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 1.4rem; }
  .callout .btn-primary { justify-self: start; }
}

/* Kontakty (HK: Kontakty): karty podľa tém – ikona, téma, osoba, riadky Popis|Hodnota */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); gap: 1.5rem; align-items: stretch; }
.contact-card { background: var(--bg-surface); border: 1px solid var(--outline-variant); border-top: 3px solid var(--secondary); box-shadow: 6px 6px 0 0 var(--hard-shadow); padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.cc-head { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.cc-icon { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--primary-container); color: var(--secondary); transform: skewX(-10deg); }
.cc-icon .material-symbols-outlined { transform: skewX(10deg); font-size: 24px; }
.cc-head h3 { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; min-width: 0; }
.cc-person { display: grid; gap: .1rem; }
.cc-person strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.cc-person span { font-size: 14px; color: var(--text-on-surface-variant); }
.cc-lines { display: grid; }
.cc-lines div { display: grid; gap: .1rem; padding: .6rem 0; border-top: 1px solid var(--outline-variant); }
.cc-lines dt { font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--outline); }
.cc-lines dd { min-width: 0; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.cc-lines a[href^="tel:"] { white-space: nowrap; font-size: 18px; }
.cc-lines a, .cc-note a { color: var(--secondary); font-weight: 600; }
.cc-lines a:hover, .cc-note a:hover { text-decoration: underline; }
.cc-note { font-size: 14px; color: var(--text-on-surface-variant); }

/* HK: Ľudia (vedenie) */
.lineup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
.lineup.single { grid-template-columns: minmax(0, 1fr); }
.captain { background: linear-gradient(170deg, var(--nav-bg), var(--footer-bg)); border: 1px solid var(--club-blue); box-shadow: 6px 6px 0 0 var(--hard-shadow); padding: 2rem 1.75rem; display: grid; gap: 1rem; position: relative; overflow: hidden; }
.captain::after { content: 'C'; position: absolute; right: -6px; bottom: -42px; font-family: var(--font-heading); font-style: italic; font-weight: 900; font-size: 220px; line-height: 1; color: rgba(130,207,255,.07); pointer-events: none; }
.captain p { color: var(--text-on-surface-variant); font-size: 15px; position: relative; z-index: 1; }
.captains { display: grid; gap: 1.5rem; }
.captain .entity { font-family: var(--font-heading); font-weight: 800; font-style: italic; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--text-on-surface); padding-bottom: .9rem; border-bottom: 1px solid rgba(130,207,255,.2); }
.captain .entity + .kicker { margin-top: -.25rem; }
.kicker { font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--secondary) !important; }
.person { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.avatar { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 22px; color: var(--on-secondary); background: var(--secondary); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.captain .avatar { width: 72px; height: 72px; font-size: 28px; }
.person-txt { min-width: 0; display: grid; }
.person-txt strong { font-weight: 600; font-size: 17px; line-height: 1.3; }
.captain .person-txt strong { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.person-txt span { font-size: 14px; color: var(--text-on-surface-variant); }
.groups { display: grid; gap: 1.5rem; }
.group h3 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .9rem; }
.group h3 small { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--outline); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.lineup.single .people { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.people .person { background: var(--bg-surface); border: 1px solid var(--outline-variant); padding: .9rem 1rem; }

/* HK: Schéma orgánov */
.org { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.org.single { grid-template-columns: minmax(0, 1fr); }
.org.single .rules { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem 2.5rem; }
.chart { display: grid; justify-items: center; }
.node { width: 100%; background: var(--bg-alt); border: 1px solid var(--outline-variant); padding: 1rem 1.2rem; display: grid; gap: .2rem; text-align: center; }
.node b { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.node span { font-size: 13px; color: var(--text-on-surface-variant); }
.node.top { border-color: var(--club-blue); background: var(--nav-bg); }
.node.key { border-color: var(--secondary); box-shadow: 4px 4px 0 0 var(--club-blue); }
.chart-link { display: grid; justify-items: center; padding-block: .2rem; }
.chart-link i { width: 2px; height: 22px; background: var(--secondary); display: block; }
.chart-link small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--secondary); background: var(--bg-surface); padding: .1rem .6rem; border: 1px solid rgba(130,207,255,.35); text-align: center; }
.chart-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; position: relative; }
.chart-row:empty { display: none; }
.chart-watch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--outline); background: var(--bg-surface); padding: .1rem .4rem; z-index: 1; white-space: nowrap; }
.rules { display: grid; gap: 1rem; }
.rule { border-left: 3px solid var(--club-blue); padding: .2rem 0 .2rem 1rem; }
.rule h3 { font-family: var(--font-heading); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .2rem; }
.rule p { color: var(--text-on-surface-variant); font-size: 15px; }

/* HK: Postup a dokumenty */
.two-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.two-panels > .panel:only-child { max-width: 40rem; }
.steps { list-style: none; display: grid; gap: .8rem; counter-reset: hk-step; }
.steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; counter-increment: hk-step; }
.steps li::before { content: counter(hk-step); font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 22px; color: var(--on-secondary); background: var(--secondary); text-align: center; line-height: 1.6; transform: skewX(-10deg); }
.docs { display: grid; gap: .7rem; }
.doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--outline-variant); background: var(--bg-alt); }
.pdf-badge { font-family: var(--font-heading); font-weight: 800; font-size: 14px; letter-spacing: 1px; color: var(--secondary); border: 2px solid var(--secondary); padding: .1rem .4rem; }
.doc strong { font-weight: 600; display: block; }
.doc div span { font-size: 13px; color: var(--outline); }
.doc-link, .doc-soon { font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.doc-link { color: var(--secondary); }
.doc-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.doc-soon { color: var(--outline); }

/* HK: Fakturačné údaje */
.billing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; }
.billing .facts-title { margin-top: 0; }
.billing + .facts-note { margin-top: 1.5rem; }
.facts-note b, .facts-note em { color: var(--text-on-surface); font-weight: 600; font-style: normal; }

@media (max-width: 900px) {
  .lineup, .org, .two-panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .people { grid-template-columns: minmax(0, 1fr); }
  .chart-row { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .doc { grid-template-columns: auto minmax(0, 1fr); }
  .doc-link, .doc-soon { grid-column: 2; }
  .ph::after { width: 300px; height: 300px; right: -160px; }
}


/* =====================================================================
   TYPO3: aktuality a články (EXT:blog)
   ===================================================================== */
.article-img.has-photo { padding: 0; background: var(--primary-container); }
.article-img.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article-card:hover .article-img.has-photo img { transform: scale(1.04); }
.article-img.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,48,.45), transparent 45%); pointer-events: none; }
.cover-big { white-space: nowrap; }
.article-link { color: inherit; }
.article-link:hover { color: var(--secondary); }
.tabs.filter[hidden] { display: none; }

/* článok */
.post-hero .hero-tag { margin-bottom: 1rem; display: inline-block; }
.post-subtitle { margin-top: 1rem; font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 700; font-style: italic; color: var(--secondary); text-transform: uppercase; }
.post-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--text-on-surface-variant); font-size: 15px; }
.post-meta-item { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta-item .material-symbols-outlined { font-size: 20px; color: var(--secondary); }
.post-cover { margin-top: clamp(-2rem, -3vw, -1rem); position: relative; z-index: 1; }
.post-cover figure { margin: 0; border: 1px solid var(--outline-variant); box-shadow: 8px 8px 0 0 var(--hard-shadow); background: var(--bg-alt); }
.post-cover img { display: block; width: 100%; height: auto; }
.post-cover figcaption { padding: .75rem 1rem; font-size: 14px; color: var(--text-on-surface-variant); }
.cms-content .frame > * + *, .cms-content p + p { margin-top: 1rem; }
.cms-content .frame > :is(h2, h3):not(:first-child) { margin-top: 2rem; }
.post-body .cms-content { font-size: 17px; }
.post-footer { max-width: 52rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--outline-variant); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.post-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.post-tags li { background: var(--primary-container); color: var(--secondary); font-family: var(--font-heading); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: .2rem .7rem; transform: skewX(-10deg); }
.related-posts { background: var(--bg-alt); border-top: 4px solid var(--secondary); }
.related-posts .article-card { background: var(--bg-surface); }

/* zoznam článkov vložený ako obsah podstránky: plná šírka a bez typografie textu */
.cms-content:has(.postlist) { max-width: none; }
.cms-content .article-card a { text-decoration: none; }
.cms-content .article-card .article-link { color: inherit; }
.cms-content .article-card .article-link:hover { color: var(--secondary); }
.cms-content .article-card h3 { margin-top: 0; font-size: 25px; font-style: normal; text-transform: none; line-height: 1.12; }
.cms-content .article-card.lead-article h3 { font-size: clamp(28px, 3.2vw, 38px); font-style: italic; text-transform: uppercase; }
.cms-content .article-card p { margin-top: 0; }

/* stránkovanie EXT:blog */
.blogpagination { margin-block: 2rem; }
.blogpagination__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.blogpagination__link { display: inline-flex; min-width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--outline-variant); background: var(--bg-alt); font-family: var(--font-heading); font-weight: 700; font-size: 17px; transform: skewX(-10deg); transition: background .2s, color .2s; }
.blogpagination__link:hover { border-color: var(--secondary); color: var(--secondary); }
.blogpagination__item--active .blogpagination__link { background: var(--secondary); color: var(--on-secondary); border-color: var(--secondary); }
.blogpagination__item--disabled .blogpagination__link { pointer-events: none; opacity: .5; }

@media (max-width: 640px) {
  .post-footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- COOKIE LIŠTA (Partials/CookieConsent, JavaScript/consent.js) ---------- */
.cookie-consent {
  position: fixed; z-index: 150;
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  bottom: max(var(--gutter), env(safe-area-inset-bottom, 0px));
  width: min(30rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100vh - 2 * var(--gutter)); overflow-y: auto;
  background: var(--nav-bg); color: var(--text-on-surface);
  border: 1px solid var(--outline-variant); border-left: 4px solid var(--secondary);
  box-shadow: 8px 8px 0 0 var(--hard-shadow), 0 20px 40px rgba(0,0,0,.45);
  padding: 1.5rem 1.5rem 1.6rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.cookie-consent.is-visible { opacity: 1; transform: none; }
.cookie-consent-kicker {
  font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--secondary); margin-bottom: .25rem;
}
.cookie-consent h2 {
  font-family: var(--font-heading); font-size: 30px; font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1; letter-spacing: .5px; margin-bottom: .75rem;
}
.cookie-consent p#cookie-consent-text { font-size: 14px; line-height: 1.6; color: var(--text-on-surface-variant); }
.cookie-consent p a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-consent p a:hover { color: #fff; }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; padding-inline: 4px; }
.cookie-consent-actions .btn-primary, .cookie-consent-actions .btn-ghost { justify-content: center; padding: .7rem 1rem; }
@media (max-width: 480px) {
  .cookie-consent { padding: 1.25rem 1.1rem 1.35rem; }
  .cookie-consent h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: none; transform: none; }
}

