:root {
  --bg: #000;
  --bg-soft: #070707;
  --text: #f5f5f5;
  --muted: #8e8e8e;
  --primary: #ffffff;
  --primary-dark: #d7d7d7;
  --card: #0b0b0b;
  --line: rgba(255, 255, 255, 0.14);
  --zadarnova-blue: #062b5f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-transform: uppercase;
  overflow-x: hidden;
}

p,
li,
.stats-note,
.player-card p {
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 82% 18%, rgba(6, 43, 95, 0.58), transparent 26%),
    radial-gradient(circle at 64% 70%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(120deg, #02050b 0%, #000 46%, #06142a 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.7) 42%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, #000 0%, transparent 30%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1.25rem;
  gap: 1.4rem;
  width: min(1180px, 94%);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  backdrop-filter: blur(18px);
}

.language-toggle {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.logo {
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.8;
  text-shadow: 0 0 26px rgba(6, 43, 95, 0.9);
  text-decoration: none;
}

.logo:hover,
.logo:focus,
.logo:visited {
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #7ab8ff;
}

.nav-links {
  display: flex;
  gap: clamp(0.95rem, 2.25vw, 2.25rem);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #bcd8ff;
}

.hero-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(460px, 1fr);
  gap: clamp(2.4rem, 6.5vw, 7.5rem);
  align-items: center;
  padding: clamp(6.4rem, 9vw, 8rem) 0 clamp(3rem, 8vw, 6.5rem);
}

.hero-content {
  max-width: 720px;
}

.hero-media {
  position: relative;
  width: min(430px, 100%);
  justify-self: end;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  overflow: hidden;
  background: #111;
  box-shadow: -36px 42px 100px rgba(0, 0, 0, 0.82);
}

.hero-photo-row {
  width: min(610px, 100%);
  aspect-ratio: auto;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 0.65rem;
  transform: translateX(1.1rem) rotate(-1deg);
}

.hero-photo-row::before {
  display: none;
}

.hero-row-card {
  position: relative;
  display: block;
  height: clamp(280px, 41vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.68);
  transform: none;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  transition: transform 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
  isolation: isolate;
}

.hero-row-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: grayscale(0.08) contrast(1.08) saturate(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-row-card:hover {
  transform: translateY(-10px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.48);
  z-index: 5;
}

.hero-row-card:hover img {
  transform: scale(1.18);
  filter: grayscale(0) contrast(1.12) saturate(1.08);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(0.12) saturate(0.98) contrast(1.13) brightness(0.86);
}

.player-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.4rem;
  color: #000;
}

.player-card h3 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.player-card p {
  margin: 0.35rem 0;
}

.eyebrow {
  color: #bcd8ff;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.68rem;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.4rem, 9.2vw, 8.6rem);
  margin: 0;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  line-height: 0.84;
  font-weight: 800;
  text-shadow: 0 32px 80px rgba(0, 0, 0, 0.68);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.06em;
}

h2,
h3,
.logo {
  font-family: "Montserrat", sans-serif;
}

.subtitle {
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  letter-spacing: 0.18em;
  margin-top: 1.65rem;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  margin-top: 1.1rem;
  background: var(--primary);
  color: #000;
  text-decoration: none;
  padding: 0.95rem 1.55rem;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.hero-mark {
  position: absolute;
  right: -0.04em;
  bottom: -0.06em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(11rem, 25vw, 25rem);
  line-height: 0.68;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-shadow: 0 0 80px rgba(6, 43, 95, 0.46);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  min-height: auto;
}

.main-snap > .snap-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-snap > .snap-section.container {
  display: grid;
}

.main-snap > .snap-section > .container,
.main-snap > .snap-section.container {
  width: min(1100px, 92%);
}

.section h2 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.section-alt {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 34%),
    var(--bg-soft);
}

.brand-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(6, 43, 95, 0.42), transparent 32%),
    linear-gradient(135deg, #02050b 0%, #000 48%, #06142a 100%);
}

.brand-section::before {
  content: "LP7";
  position: absolute;
  left: -0.12em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(12rem, 34vw, 35rem);
  line-height: 0.7;
  letter-spacing: -0.04em;
  font-weight: 800;
  pointer-events: none;
}

.brand-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.brand-content h2 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.brand-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.brand-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.brand-points span {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-video-card {
  position: relative;
  width: min(390px, 100%);
  justify-self: end;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #050505;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(122, 184, 255, 0.08),
    0 0 58px rgba(6, 43, 95, 0.52);
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.brand-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.04) brightness(0.86);
  transform: scale(1.015);
  transition: transform 0.75s ease, filter 0.75s ease;
}

.brand-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 38%),
    linear-gradient(90deg, rgba(6, 43, 95, 0.34), transparent 50%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.brand-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(122, 184, 255, 0.34);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  opacity: 0.5;
  pointer-events: none;
  animation: videoShine 4.8s ease-in-out infinite;
}

.brand-video-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(122, 184, 255, 0.58);
  box-shadow:
    0 48px 130px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(122, 184, 255, 0.2),
    0 0 78px rgba(6, 43, 95, 0.72);
}

.brand-video-card:hover video {
  transform: scale(1.075);
  filter: contrast(1.15) saturate(1.08) brightness(0.92);
}

.brand-video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
}

.brand-video-overlay span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(3.8rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-shadow:
    0 0 18px rgba(122, 184, 255, 0.45),
    0 0 48px rgba(6, 43, 95, 0.72);
  animation: lp7Pulse 2.6s ease-in-out infinite;
}

@keyframes videoShine {
  0%,
  62% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes lp7Pulse {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

.panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 1fr minmax(260px, 0.42fr);
  align-items: start;
}

.info-grid,
.stats-grid,
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.65rem, 1.25vw, 1rem);
  margin-top: 1.55rem;
}

.card,
.stat,
.gallery-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.3rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card h3,
.stat p {
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.card:hover,
.stat:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  background: #1a1a1a;
}

.stat {
  text-align: center;
}

.stat span {
  display: block;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.stats-note {
  margin-top: 1rem;
  color: var(--muted);
}

.next-match-card {
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
}

.next-match-card h3 {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.next-match-card p {
  margin-bottom: 0;
}

.next-match-links {
  display: grid;
  gap: 0.55rem;
}

.next-match-links a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-match-links a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.next-match-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.next-match-list article {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
}

.next-match-list p {
  color: #bcd8ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-match-list h4 {
  margin: 0.35rem 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.next-match-list span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.gallery-item {
  min-height: 120px;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.gallery-link {
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
}

.gallery-photo {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text);
  align-content: start;
  gap: 0.7rem;
  padding: 0;
  overflow: hidden;
  min-height: auto;
  height: 280px;
  background: #050505;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 0;
}

.gallery-photo::after {
  content: "Pogledaj";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(6, 43, 95, 0.72));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-photo:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 58px rgba(6, 43, 95, 0.28);
}

.gallery-photo:hover::after {
  opacity: 1;
}

.gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-photo:hover img {
  transform: scale(1.045);
  filter: contrast(1.05) saturate(1.08);
}

.gallery-featured {
  grid-column: span 1;
  grid-row: span 1;
  height: 280px;
}

.gallery-featured img {
  height: 280px;
}

.gallery-photo:nth-child(1) img,
.gallery-photo:nth-child(2) img,
.gallery-photo:nth-child(3) img,
.gallery-photo:nth-child(4) img,
.gallery-photo:nth-child(5) img,
.gallery-photo:nth-child(6) img {
  object-position: 50% 28%;
}

.gallery-photo:not(.gallery-featured) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-photo:nth-child(6n + 2),
.gallery-photo:nth-child(6n + 5) {
  grid-row: span 1;
}

.gallery-photo:nth-child(9n + 4) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-photo:nth-child(12n + 8) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-photo:nth-child(1),
.gallery-photo:nth-child(2),
.gallery-photo:nth-child(3),
.gallery-photo:nth-child(4),
.gallery-photo:nth-child(5),
.gallery-photo:nth-child(6) {
  grid-column: span 1;
  grid-row: span 1;
}

.sources {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.4rem;
}

.sources h3 {
  margin: 0 0 0.25rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  border-radius: 16px;
}

.lightbox-image-portrait {
  width: 55vh;
  height: 82vh;
  object-fit: contain;
}

.lightbox-image-landscape {
  width: min(1100px, 92vw);
  height: 65vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sources a {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(6, 43, 95, 0.58);
}

.social-links svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links svg path:last-child {
  fill: currentColor;
  stroke: none;
}

.form-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.form-pill {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}

.form-pill.win {
  background: #23b26b;
}

.career-total {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.player-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.6rem;
  border-radius: 0;
  background: #fff;
  color: #0b0b0b;
}

.player-card h3,
.player-card strong {
  color: #0b0b0b;
}

.club-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.club-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-left: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.career-subtitle {
  margin-top: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-weight: 700;
}

.career-breakdown {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
}

.footer {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .main-snap {
    scroll-snap-type: y mandatory;
  }

  .snap-section {
    scroll-snap-align: start;
    scroll-margin-top: 0;
  }

  .snap-section > .container,
  .snap-section.container {
    width: min(1100px, 92%);
  }

  #pocetna.snap-section {
    min-height: 100svh;
  }
}

@media (max-width: 980px) {
  .main-snap > .snap-section {
    min-height: auto;
    display: block;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-media {
    width: min(340px, 58vw);
    justify-self: center;
    order: -1;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-video-card {
    justify-self: center;
    width: min(360px, 76vw);
  }

  .next-match-card {
    grid-template-columns: 1fr;
  }

  .next-match-links {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }

  .next-match-links a {
    white-space: normal;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-photo:nth-child(9n + 4),
  .gallery-photo:nth-child(12n + 8) {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(1100px, 94%);
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0.8rem 3% 0.7rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    mix-blend-mode: normal;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
  }

  .language-toggle {
    position: absolute;
    right: 3%;
    top: 0.72rem;
    padding: 0.48rem 0.62rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.25rem;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a {
    display: block;
    text-align: center;
    padding: 0.42rem 0.52rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 7.7rem 0 2.6rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-media {
    width: min(250px, 74vw);
    justify-self: center;
    border-radius: 0;
    order: -1;
  }

  .hero-photo-stack {
    width: min(330px, 88vw);
    aspect-ratio: 1 / 1.08;
  }

  .hero-photo-row {
    width: 100%;
    grid-template-columns: repeat(4, minmax(118px, 1fr));
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.75rem 0.35rem 1rem;
    margin-top: 0.8rem;
    transform: none;
    order: 0;
    scrollbar-width: none;
  }

  .hero-photo-row::-webkit-scrollbar {
    display: none;
  }

  .hero-row-card {
    height: 220px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  }

  .hero-row-card img {
    object-position: center center;
    transform: scale(1.04);
  }

  .brand-section::before {
    left: -0.08em;
    bottom: 0.02em;
    font-size: 10rem;
  }

  .brand-content h2 {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .brand-video-card {
    width: min(285px, 78vw);
  }

  .brand-points span {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.8rem);
    line-height: 0.9;
  }

  .hero-mark {
    right: -0.08em;
    bottom: 0.02em;
    font-size: 8.8rem;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .btn {
    padding: 0.75rem 0.95rem;
    font-size: 0.64rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .next-match-card {
    grid-template-columns: 1fr;
  }

  .next-match-list {
    grid-template-columns: 1fr;
  }

  .next-match-links a {
    white-space: normal;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .subtitle {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 0;
  }

  .main-snap > .snap-section {
    min-height: auto;
    display: block;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .card,
  .stat,
  .gallery-item {
    padding: 0.95rem;
  }

  .gallery-photo img {
    height: 170px;
  }

  .gallery-photo {
    height: 170px;
  }

  .gallery-featured {
    grid-column: span 1;
    grid-row: span 1;
    height: 170px;
  }

  .gallery-featured img {
    height: 170px;
  }

  .gallery-photo:not(.gallery-featured),
  .gallery-photo:nth-child(6n + 2),
  .gallery-photo:nth-child(6n + 5),
  .gallery-photo:nth-child(9n + 4),
  .gallery-photo:nth-child(12n + 8) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-photo::after {
    content: "";
    background: linear-gradient(180deg, transparent, rgba(6, 43, 95, 0.34));
    opacity: 1;
  }

  .lightbox {
    padding: 4.5rem 0.85rem 4rem;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 72vh;
  }

  .lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 0.8rem;
    width: 46px;
    height: 46px;
    transform: none;
    font-size: 2.35rem;
  }

  .lightbox-prev {
    left: 0.85rem;
  }

  .lightbox-next {
    right: 0.85rem;
  }

  .lightbox-counter {
    bottom: 1.85rem;
  }

  .form-pill {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-photo,
  .gallery-featured {
    grid-column: span 1;
    grid-row: span 1;
    height: 170px;
  }

  .gallery-photo img,
  .gallery-featured img {
    height: 170px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }
}
