/* ============================================================
   SportReels.sk — statický web
   Design tokeny zosúladené s presnými farbami živého webu (app/globals.css)
   ============================================================ */

:root {
  --bg: #0b0e13;
  --bg-alt: #151a22;
  --bg-alt-2: #1d2430;
  --line: rgba(238, 240, 243, 0.09);
  --line-strong: rgba(238, 240, 243, 0.16);
  --text: #eef0f3;
  --text-dim: #98a0ac;
  --amber: #ffb020;
  --amber-ink: #1a1408;
  --green: #46c972;
  --green-ink: #08160d;

  --font-display: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --header-offset: 96px;
}

/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 96px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

ul,
ol {
  list-style: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--amber);
  color: var(--amber-ink);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ===== Section pattern ===== */
.section {
  position: relative;
  padding: 80px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 112px 0;
  }
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
}

.section-title {
  margin-top: 12px;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.875rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title-lg {
  font-size: 2.25rem;
}

@media (min-width: 640px) {
  .section-title-lg {
    font-size: 3rem;
  }
}

.section-desc {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .section-desc {
    font-size: 1.125rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 176, 32, 0.25);
}

.btn-small {
  padding: 6px 12px;
  border-radius: 2px;
  background: rgba(26, 20, 8, 0.1);
  color: var(--amber-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.2s;
}

@media (min-width: 640px) {
  .btn-small {
    font-size: 0.75rem;
  }
}

.btn-small:hover {
  background: rgba(26, 20, 8, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(11, 14, 19, 0.6);
  border-radius: 2px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  backdrop-filter: blur(4px);
}

/* ===== Top promo bar ===== */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--amber);
  color: var(--amber-ink);
  padding: 8px 16px;
}

.topbar p {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar .btn-small {
  flex-shrink: 0;
}

.topbar-close {
  flex-shrink: 0;
  display: flex;
  color: rgba(26, 20, 8, 0.7);
}

.topbar-close:hover {
  color: var(--amber-ink);
}

.topbar.is-hidden {
  display: none;
}

@media (min-width: 640px) {
  .topbar {
    justify-content: center;
    padding: 8px 24px;
    gap: 16px;
  }

  .topbar p {
    flex: none;
    white-space: normal;
    font-size: 0.875rem;
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.header-bar {
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header-bar.is-scrolled {
  background: rgba(11, 14, 19, 0.9);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-desktop a {
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--green);
}

.nav-karticky {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: var(--amber-ink) !important;
  border-radius: 2px;
  padding: 8px 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-karticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 176, 32, 0.3);
  color: var(--amber-ink) !important;
}

.hamburger {
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(11, 14, 19, 0.95);
  backdrop-filter: blur(6px);
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 16px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--green);
}

.mobile-nav .nav-karticky {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 12px 16px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(11, 14, 19, 0.65) 45%,
    rgba(11, 14, 19, 0.15) 100%
  );
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 14, 19, 0.55) 0%,
    transparent 60%
  );
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 38%;
  height: 70vw;
  width: 70vw;
  max-height: 560px;
  max-width: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.2);
  filter: blur(60px);
  animation: glow-drift 8s ease-in-out infinite;
}

.hero-rec {
  position: absolute;
  z-index: 10;
  top: calc(var(--header-offset, 96px) + 12px);
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 14, 19, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 2px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-rec .dot-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
}

.hero-rec .dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: rec-pulse 1.6s ease-in-out infinite;
}

.hero-rec .time {
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100svh;
  width: 100%;
  align-items: flex-end;
  padding-bottom: 64px;
}

@media (min-width: 640px) {
  .hero-content {
    align-items: center;
    padding-bottom: 0;
  }
}

.hero-inner {
  max-width: 1024px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-inline: 40px;
  }
}

.hero-claim {
  max-width: 18ch;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  font-size: clamp(2.25rem, 2.6vw + 1.8rem, 3.25rem);
  line-height: 1.25;
}

.hero-desc {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .hero-desc {
    margin-top: 24px;
    font-size: 1.125rem;
  }
}

.hero-cta {
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero-cta {
    margin-top: 40px;
  }
}

/* ===== Services ===== */
.services-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 2px;
  padding: 28px;
  transition: transform 0.3s ease-out, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 32, 0.4);
  box-shadow: 0 16px 32px rgba(255, 176, 32, 0.12);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-top .icon {
  color: var(--amber);
}

.service-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.service-title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.service-desc {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.service-detail {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.service-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--green);
}

/* ===== Process ===== */
.steps-wrap {
  position: relative;
  margin-top: 56px;
}

@media (min-width: 640px) {
  .steps-wrap {
    margin-top: 80px;
  }
}

.steps-line-v {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

@media (min-width: 640px) {
  .steps-line-v {
    display: none;
  }
}

.steps-line-h {
  display: none;
}

@media (min-width: 640px) {
  .steps-line-h {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 28px;
    height: 1px;
    background: var(--line-strong);
  }
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 640px) {
  .steps {
    flex-direction: row;
    gap: 32px;
  }
}

.step {
  display: flex;
  gap: 20px;
}

@media (min-width: 640px) {
  .step {
    flex: 1;
    flex-direction: column;
    gap: 0;
  }
}

.step-number {
  position: relative;
  z-index: 10;
  display: flex;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--amber);
}

@media (min-width: 640px) {
  .step-number {
    margin-bottom: 24px;
  }
}

.step-body {
  padding-top: 4px;
}

@media (min-width: 640px) {
  .step-body {
    padding-top: 0;
    padding-right: 24px;
  }
}

.step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.step-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

@media (min-width: 640px) {
  .step-title {
    margin-top: 8px;
  }
}

.step-desc {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ===== Reels ===== */
.reels-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .reels-grid {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: linear-gradient(to bottom right, var(--bg-alt-2), var(--bg));
}

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

.reel-corner {
  pointer-events: none;
  position: absolute;
  height: 16px;
  width: 16px;
  border-color: rgba(238, 240, 243, 0.5);
}

.reel-corner.tl {
  left: 10px;
  top: 10px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.reel-corner.br {
  right: 10px;
  bottom: 10px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.reel-rec {
  pointer-events: none;
  position: absolute;
  left: 36px;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.reel-rec .dot-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
}

.reel-rec .dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--green);
}

.reel-card.is-playing .dot {
  animation: rec-pulse 1.6s ease-in-out infinite;
}

.reel-rec .time {
  font-variant-numeric: tabular-nums;
  color: rgba(238, 240, 243, 0.8);
}

.reel-play {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.reel-card.is-playing .reel-play {
  opacity: 0;
}

.reel-play-btn {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 14, 19, 0.5);
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}

.reel-card:hover .reel-play-btn {
  transform: scale(1.1);
}

.reel-fade {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.8), transparent);
}

.reel-tag {
  pointer-events: none;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 36px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.reels-more {
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.reels-more a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(62, 207, 142, 0.4);
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.reels-more a:hover {
  color: var(--amber);
}

/* ===== Photos ===== */
.photos-grid {
  margin-top: 48px;
  column-count: 2;
  column-gap: 16px;
}

@media (min-width: 640px) {
  .photos-grid {
    margin-top: 64px;
    column-count: 3;
    column-gap: 20px;
  }
}

@media (min-width: 1024px) {
  .photos-grid {
    column-count: 4;
  }
}

.photo-item {
  position: relative;
  margin-bottom: 16px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
}

@media (min-width: 640px) {
  .photo-item {
    margin-bottom: 20px;
  }
}

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

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-bar {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform 0.3s;
}

.photo-item:hover .photo-bar {
  transform: scaleX(1);
}

.photo-caption {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.85), transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.3s;
}

.photo-item:hover .photo-caption {
  opacity: 1;
}

/* ===== Trust / Prečo ja ===== */
.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

@media (min-width: 640px) {
  .stats {
    margin-top: 64px;
    gap: 24px;
  }
}

.stat-value {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 0.875rem;
  }
}

.reasons {
  margin-top: 56px;
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .reasons {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.reason {
  display: flex;
  gap: 16px;
}

@media (min-width: 640px) {
  .reason {
    flex-direction: column;
    gap: 12px;
  }
}

.reason .icon {
  flex-shrink: 0;
  color: var(--green);
}

.reason-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.reason-desc {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.clients-wrap {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

@media (min-width: 640px) {
  .clients-wrap {
    margin-top: 64px;
  }
}

.clients-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.clients {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-chip {
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.client-chip.is-more {
  border-style: dashed;
  background: transparent;
  color: rgba(154, 166, 160, 0.7);
}

/* ===== Kontakt / Footer ===== */
.site-footer {
  position: relative;
  background: var(--bg-alt);
  padding: 64px 0;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 96px 0;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 64px;
  }
}

.footer-intro {
  max-width: 540px;
}

.footer-intro img {
  height: 44px;
  width: auto;
}

@media (min-width: 640px) {
  .footer-intro img {
    height: 56px;
  }
}

.footer-heading {
  margin-top: 24px;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 1.875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

@media (min-width: 640px) {
  .footer-heading {
    font-size: 2.25rem;
  }
}

.footer-intro p {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--text-dim);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-nav ul {
    align-items: flex-end;
  }
}

.footer-nav a:hover {
  color: var(--green);
}

.contact-grid {
  display: grid;
  gap: 16px;
  padding: 48px 0;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 19, 0.4);
  padding: 20px;
  transition: border-color 0.2s;
}

.contact-tile:hover {
  border-color: rgba(255, 176, 32, 0.4);
}

.contact-tile .icon {
  display: flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--green);
  transition: color 0.2s;
}

.contact-tile:hover .icon {
  color: var(--amber);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.contact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Animations ===== */
@keyframes rec-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes glow-drift {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .reel-card.is-playing .dot {
    animation: none;
  }
}

/* ===== Sportové kartičky page ===== */
.karticky-hero {
  overflow: hidden;
}

.karticky-hero .container {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .karticky-hero .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

.karticky-hero-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 33%;
  height: 70vw;
  width: 70vw;
  max-height: 520px;
  max-width: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.15);
  filter: blur(60px);
  animation: glow-drift 8s ease-in-out infinite;
}

.karticky-cta-row {
  margin-top: 32px;
}

.karticky-card-wrap {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 320px;
}

@media (min-width: 640px) {
  .karticky-card-wrap {
    max-width: 384px;
  }
}

.karticky-card-tilt {
  position: relative;
  transform: rotate(4deg);
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.karticky-card-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.features-grid {
  margin-top: 48px;
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .features-grid {
    margin-top: 64px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature .icon {
  color: var(--amber);
}

.feature-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.feature-desc {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.karticky-gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .karticky-gallery {
    margin-top: 64px;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .karticky-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.karticky-gallery-item {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.karticky-gallery-item img {
  transition: transform 0.5s ease-out;
}

.karticky-gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Fotky (zoznam galérií zápasov) ===== */
.matches-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .matches-grid {
    margin-top: 64px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .matches-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.match-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  transition: transform 0.3s ease-out, border-color 0.3s, box-shadow 0.3s;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 32, 0.4);
  box-shadow: 0 16px 32px rgba(255, 176, 32, 0.12);
}

.match-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.match-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.match-card:hover .match-card-media img {
  transform: scale(1.05);
}

.match-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.match-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.match-card-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.match-card-place {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.match-card-link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.matches-empty {
  margin-top: 48px;
  color: var(--text-dim);
}

.back-section .container {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .back-section .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

.back-text {
  order: 2;
}

.back-images {
  order: 1;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (min-width: 1024px) {
  .back-text {
    order: 1;
  }

  .back-images {
    order: 2;
  }
}

.back-image {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.back-image.offset {
  margin-top: 24px;
}

.portraits-section {
  overflow: hidden;
}

.portraits-glow {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 25%;
  height: 60vw;
  width: 60vw;
  max-height: 480px;
  max-width: 480px;
  transform: translateX(33%);
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.15);
  filter: blur(60px);
  animation: glow-drift 8s ease-in-out infinite;
}

.portraits-cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.portraits-grid {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .portraits-grid {
    margin-top: 64px;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .portraits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portrait-item {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.portrait-item img {
  transition: transform 0.5s ease-out;
}

.portrait-item:hover img {
  transform: scale(1.05);
}

/* ===== 404 ===== */
.error-page {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 24px;
  padding-top: var(--header-offset, 80px);
  text-align: center;
}

.error-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 70vw;
  width: 70vw;
  max-height: 520px;
  max-width: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.15);
  filter: blur(60px);
  animation: glow-drift 8s ease-in-out infinite;
}

.error-content {
  position: relative;
}

.error-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 3.75rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .error-title {
    font-size: 6rem;
  }
}

.error-desc {
  margin: 20px auto 0;
  max-width: 46ch;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .error-desc {
    font-size: 1.125rem;
  }
}

.error-cta {
  margin-top: 32px;
}
