/* =====================================================
   Bruslařský klub České Budějovice — hlavní stylesheet
   Design: tmavá paleta + brand #D12767, DM Sans + DM Serif Display
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Proměnné ── */
:root {
  /* Tmavé pozadí — zachováno */
  --ice-950: #060d1a;
  --ice-900: #0a1628;
  --ice-800: #102040;
  --ice-700: #1a3055;

  /* Brand barva — #D12767 nahrazuje světle modrou */
  --brand:         #D12767;
  --brand-dark:    #a81f52;
  --brand-darker:  #8a1844;
  --brand-light:   #e8588f;
  --brand-lighter: #f2a0bf;
  --brand-subtle:  rgba(209,39,103,.1);
  --brand-glow:    rgba(209,39,103,.28);

  /* Zachované modré pro pozadí a texty na tmavém */
  --ice-200: #b8e8ff;
  --ice-100: #dff3ff;

  /* Neutrální */
  --neutral-900: #111318;
  --neutral-800: #1e2128;
  --neutral-700: #2c3040;
  --neutral-600: #464c5e;
  --neutral-500: #5e6478;
  --neutral-400: #7a8099;
  --neutral-300: #a8b0c8;
  --neutral-200: #d4d8e8;
  --neutral-100: #eef0f6;
  --neutral-50:  #f7f8fb;

  --gold-500: #c9922a;
  --gold-400: #daa84a;
  --gold-300: #edc26a;

  --white: #ffffff;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-brand:   'Nunito Sans', 'DM Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --transition: 180ms cubic-bezier(.4,0,.2,1);
  --container:  1160px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-800);
  background: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ──
   Pevný padding na breakpointech (ne vw/clamp) — zajišťuje celočíselné
   šířky obsahu, což je nutné pro ostré renderování object-fit:cover obrázků
   v navazujícím gridu (viz .skaters-grid). */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 480px) {
  .container { padding-inline: 24px; }
}

@media (min-width: 860px) {
  .container { padding-inline: 32px; }
}

@media (min-width: 1100px) {
  .container { padding-inline: 48px; }
}

/* ── Navigace ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 207, 255, .1);
  overflow: visible;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  flex-wrap: nowrap;
  max-width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.site-logo img {
  max-height: 40px;
  width: auto;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(209,39,103,.12);
  border: 1px solid rgba(209,39,103,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23D12767' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 17l4-8 4 4 4-6 4 10'/%3E%3Ccircle cx='11' cy='5' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ice-100);
  letter-spacing: .01em;
}
.logo-name em {
  font-style: normal;
  color: var(--brand-light);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(220,180,200,.65);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(209,39,103,.1);
}

.site-nav a.active {
  font-weight: 500;
}

.nav-fb {
  display: flex;
  align-items: center;
  padding: 6px 8px !important;
  color: rgba(220,180,200,.5) !important;
  margin-left: 4px;
}
.nav-fb:hover { color: var(--brand-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ice-200);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero sekce ── */
.site-hero {
  background: var(--ice-900);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(209,39,103,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 20%, rgba(10,30,60,.6) 0%, transparent 60%);
  pointer-events: none;
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-light) 30%, var(--brand-light) 50%, var(--brand-light) 70%, transparent 100%);
  opacity: .5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--brand-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--brand-light);
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(220, 220, 230, .75);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(209,39,103,.1);
}

.hero-stat-n {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--brand-light);
  line-height: 1;
}
.hero-stat-l {
  font-size: 12px;
  color: rgba(220,180,200,.5);
  margin-top: 4px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Tlačítka ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--brand-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(209,39,103,.3);
}
.btn-outline:hover {
  background: rgba(209,39,103,.08);
  border-color: rgba(209,39,103,.5);
}

.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
}

/* ── Sekce ── */
.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--neutral-900);
}

.section-link {
  font-size: 14px;
  color: var(--brand-dark);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}
.section-link:hover { color: var(--brand); }

/* ── Závodník — karta ──
   Flexbox s PEVNOU šířkou karty v px (ne grid s 1fr) — 1fr jednotky
   rozpočítávají zbylý prostor a skoro nikdy nevyjdou na celé pixely,
   což u object-fit:cover obrázků způsobuje jemné rozostření.
   Karty mají fixní šířku, justify-content rozloží mezery rovnoměrně,
   poslední (nedoplněný) řádek se nezarovnává na celou šířku. */
.skaters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.skaters-grid .skater-card {
  width: 168px;
  flex-shrink: 0;
}

@media (min-width: 560px) {
  .skaters-grid .skater-card { width: 176px; }
}

@media (min-width: 860px) {
  .skaters-grid .skater-card { width: 184px; }
}

@media (min-width: 1100px) {
  .skaters-grid .skater-card { width: 176px; }
}

.skater-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.skater-card:hover {
  border-color: rgba(209,39,103,.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.skater-photo {
  aspect-ratio: 2/3;
  background: linear-gradient(160deg, var(--ice-800) 0%, var(--ice-700) 100%);
  position: relative;
  overflow: hidden;
}

.skater-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

.skater-card:hover .skater-photo img {
  transform: scale(1.04) translateZ(0);
}

.skater-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .25;
}

.skater-photo-placeholder svg {
  width: 48px;
  height: 48px;
}

.skater-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
}

.badge-zacky      { background: rgba(10,22,40,.7); color: var(--ice-200); border: 1px solid rgba(209,39,103,.25); }
.badge-juniorky   { background: rgba(15,110,86,.7); color: #7de0c0; border: 1px solid rgba(125,224,192,.25); }
.badge-seniori    { background: rgba(100,55,10,.7); color: var(--gold-300); border: 1px solid rgba(201,146,42,.25); }
.badge-novacek    { background: rgba(60,20,80,.7); color: #d4a0ff; border: 1px solid rgba(180,100,255,.25); }
.badge-default    { background: rgba(20,20,30,.65); color: var(--neutral-300); border: 1px solid rgba(168,176,200,.2); }

.skater-info {
  padding: 12px 14px;
}

.skater-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.3;
  margin-bottom: 2px;
}

.skater-cat {
  font-size: 12px;
  color: var(--neutral-400);
}

/* ── Kategorie nadpis ── */
.kat-heading {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--neutral-900);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ice-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kat-heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, var(--brand-light), var(--brand-dark));
  border-radius: 2px;
}

.kat-heading:first-of-type { margin-top: 0; }

/* ── Filtr tlačítka ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  font-size: 13px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-600);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: rgba(209,39,103,.4);
  color: var(--brand-dark);
}

.filter-btn.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* ── Profil závodníka ── */
.profile-hero {
  background: var(--ice-900);
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 0%, rgba(209,39,103,.2), transparent 70%);
  pointer-events: none;
}

.profile-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-light) 40%, var(--brand-light) 60%, transparent);
  opacity: .4;
}

.profile-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  align-items: flex-end;
  padding-bottom: 0;
}

.profile-avatar {
  width: clamp(100px, 14vw, 160px);
  height: clamp(130px, 18vw, 200px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(160deg, var(--ice-700), var(--ice-800));
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(209,39,103,.2);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-placeholder {
  opacity: .2;
}
.profile-avatar-placeholder svg { width: 64px; height: 64px; }

.profile-meta {
  padding-bottom: 24px;
  flex: 1;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(220,180,200,.5);
  margin-bottom: 16px;
  transition: color var(--transition);
}
.profile-back:hover { color: var(--ice-200); }
.profile-back svg { width: 14px; height: 14px; }

.profile-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.profile-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.profile-detail {
  font-size: 13px;
  color: rgba(220,180,200,.6);
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-detail-kat {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-light);
}

/* ── Záložky profilu ── */
.profile-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(209,39,103,.1);
  margin-top: 8px;
}

.profile-tab {
  font-size: 14px;
  font-weight: 400;
  color: rgba(220,180,200,.5);
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.profile-tab:hover { color: var(--ice-200); }

.profile-tab.active {
  color: var(--white);
  border-bottom-color: var(--brand-light);
  font-weight: 500;
}

/* ── Výsledky tabulka ── */
.results-section {
  padding: 40px 0;
}

.results-year {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 32px 0 12px;
}
.results-year:first-child { margin-top: 0; }

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.results-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-400);
  border-bottom: 1px solid var(--neutral-200);
}

.results-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-800);
  vertical-align: middle;
}

.results-table tr:last-child td { border-bottom: none; }

.results-table tr:hover td { background: var(--neutral-50); }

.medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.medal-1 { background: rgba(201,146,42,.15); color: var(--gold-500); }
.medal-2 { background: rgba(120,120,140,.15); color: #7a8099; }
.medal-3 { background: rgba(167,100,60,.15); color: #a75e30; }
.medal-n { background: var(--neutral-100); color: var(--neutral-500); }

/* ── Fotogalerie ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.photo-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  cursor: pointer;
  position: relative;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.photo-thumb:hover img { transform: scale(1.06) translateZ(0); }

.photo-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ice-800), var(--ice-700));
}

.photo-thumb-empty svg {
  width: 32px;
  height: 32px;
  opacity: .25;
  color: var(--white);
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6,13,26,.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ── Video přehrávač ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: var(--ice-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(209,39,103,.2);
  border: 1.5px solid rgba(209,39,103,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  pointer-events: none;
}

.video-info {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--neutral-600);
}

/* ── Aktuality ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  padding: 24px;
  transition: all var(--transition);
  cursor: pointer;
}

.news-card:hover {
  border-color: rgba(209,39,103,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-date {
  font-size: 12px;
  color: var(--neutral-400);
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(209,39,103,.1);
  color: var(--brand-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card p {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}

/* ── Patička ── */
.site-footer {
  background: var(--ice-950);
  color: rgba(220,180,200,.5);
  padding: 56px 0 32px;
  margin-top: 80px;
  border-top: 1px solid rgba(209,39,103,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links a,
.footer-contact a {
  font-size: 14px;
  color: rgba(220,180,200,.5);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--ice-200); }

.footer-contact p { font-size: 14px; margin-bottom: 8px; }

.footer-fb {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(209,39,103,.6) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(209,39,103,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.footer-bottom a { color: rgba(220,180,200,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--ice-200); }

/* ── Počítadlo návštěv ── */
.hits-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(220,180,200,.4);
  padding: 4px 10px;
  background: rgba(209,39,103,.05);
  border: 1px solid rgba(209,39,103,.1);
  border-radius: var(--radius-full);
}

/* ── Utilita ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-muted { color: var(--neutral-400); }
.mt-0 { margin-top: 0 !important; }

/* ── Responsivita ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Navigace — hamburger nastupuje dřív (1024px), aby pokryl i mobily v landscape (iPhone 11 = 896px) */
@media (max-width: 1024px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ice-900); border-bottom: 1px solid rgba(209,39,103,.1); padding: 12px; z-index: 99; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 10px 16px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 680px) {
  .profile-inner { flex-direction: column; align-items: flex-start; }
  .profile-avatar { width: 100px; height: 130px; border-radius: var(--radius-lg); }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .skaters-grid { gap: 10px; justify-content: center; }
  .skaters-grid .skater-card { width: 160px; }
  .skater-photo { aspect-ratio: 2/3; }
  .skater-photo img { object-position: center top; }
}