/* Odbito × Dunking Devils Akademija — shared styles (converted from Claude Design) */
:root {
  --black: #0e0e0e;
  --white: #ffffff;
  --yellow: #ffd400;
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .75; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; margin: 0; text-transform: uppercase; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Colour bands: each section sets its own palette */
.band-w { --bg: #ffffff; --fg: #0e0e0e; --line: rgba(14,14,14,.14); --acc: #ffd400; --on-acc: #0e0e0e; --mute: #5c5c5c; }
.band-k { --bg: #0e0e0e; --fg: #ffffff; --line: rgba(255,255,255,.2); --acc: #ffd400; --on-acc: #0e0e0e; --mute: #a6a6a6; }
.band-y { --bg: #ffd400; --fg: #0e0e0e; --line: rgba(14,14,14,.22); --acc: #0e0e0e; --on-acc: #ffffff; --mute: #3d3500; }
.band-d { --bg: #0e0e0e; --fg: #ffffff; --line: rgba(255,255,255,.18); --acc: #ffffff; --on-acc: #0e0e0e; --mute: #a6a6a6; }
[class*="band-"] { background: var(--bg); color: var(--fg); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 56px 24px 80px; }
section[id] { scroll-margin-top: 64px; }
.h2 { font-size: clamp(40px, 5.5vw, 72px); line-height: .9; margin-bottom: 36px; }
.frame { position: relative; border: 1px solid var(--line); }
.frame > img, .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Landing ---------- */
.landing { min-height: 100vh; display: flex; flex-direction: column; background: var(--black); }
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 24px; background: var(--black); color: var(--white); font-family: var(--font-heading); font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.y { color: var(--yellow); }
.landing-foot { display: none; }
.w { color: var(--white); }

.diag { position: relative; flex: 1; min-height: 640px; background: var(--black); }
.diag-half { position: absolute; inset: 0; overflow: hidden; }
/* The whole half is a link: a transparent overlay above the photo, below the card */
.half-link { position: absolute; inset: 0; z-index: 1; }
.diag-half .card { z-index: 2; }
.diag-left { clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); background: var(--white); }
.diag-right { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); background: var(--black); }
.diag-left > img { position: absolute; top: 0; left: -40%; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.diag-right > img { position: absolute; top: 0; left: 40%; width: 60%; height: 100%; max-width: none; object-fit: cover; object-position: center center; }

/* Hovering a half gently zooms its photo so it is clear which side is active */
.diag-half > img { transition: transform .5s ease; }
/* Academy photo sits 10% zoomed in, centred (previously anchored right: object-position/transform-origin right center) */
.diag-right > img { transform: scale(1.1); transform-origin: center center; }
@media (hover: hover) {
  .diag-half:hover > img { transform: scale(1.05); }
  .diag-right:hover > img { transform: scale(1.155); }
}
@media (prefers-reduced-motion: reduce) { .diag-half > img { transition: none; } }

.card { position: absolute; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .2s ease; }
.card:hover { opacity: 1; transform: scale(1.025); }
.card-odbito { left: 32px; bottom: 32px; max-width: min(440px, 36%); padding: 28px; background: var(--white); color: var(--black); transform-origin: left bottom; }
.card-academy { right: 20px; bottom: 20px; max-width: min(560px, 44%); padding: 22px; background: var(--black); color: var(--white); transform-origin: right bottom; }
.kick { font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.card h2 { font-size: clamp(26px, 4.2vw, 76px); line-height: .85; }
.card-odbito h2 { white-space: nowrap; }
.card-academy h2 { font-size: clamp(36px, 4.2vw, 76px); white-space: nowrap; }
.tilt { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; transform: rotate(-2deg); max-width: 100%; }
.chip { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; padding: 2px 10px; }
.chip-y { background: var(--yellow); color: var(--black); font-size: 26px; }
.chip-k { background: var(--black); color: var(--white); font-size: 26px; }
.chip-w { background: var(--white); color: var(--black); font-size: 22px; line-height: 1.1; }
.chip-date { color: var(--yellow); font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.bigbtn { align-self: flex-start; display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; text-transform: uppercase; }
.bigbtn b { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: .02em; }
.bigbtn i { font-weight: 400; font-size: 13px; letter-spacing: .08em; }
.bigbtn-k { background: var(--black); color: var(--white); }
.bigbtn-y { background: var(--yellow); color: var(--black); }
.bubble { position: absolute; top: 10%; left: 78%; width: 256px; height: 88px; transform: translateX(-50%) rotate(2deg); transform-origin: center; pointer-events: none; z-index: 2; }
.bubble svg { position: absolute; inset: 0; overflow: visible; }
.bubble span { position: absolute; left: 3px; top: 2px; width: 227px; height: 60px; display: flex; align-items: center; justify-content: center; color: var(--black); font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; white-space: nowrap; }

/* Landing on phones/tablets: stacked halves */
@media (max-width: 759px) {
  .diag { display: flex; flex-direction: column; min-height: 0; }
  .diag-half { position: relative; clip-path: none; min-height: 520px; }
  .diag-left > img, .diag-right > img { left: 0; width: 100%; }
  .card, .card-odbito, .card-academy { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 22px; }
  .card-odbito h2 { white-space: normal; font-size: 44px; }
  .card-academy h2 { font-size: 40px; white-space: normal; }
  .bubble { top: 24px; left: 50%; }
  /* Motto moves from the top bar to a footer bar on phones */
  .topbar-motto { display: none; }
  .landing-foot { display: block; padding: 18px 16px 22px; background: var(--black); text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
  /* Shift the academy photo up a little so the player sits higher above the card */
  .diag-right > img { transform: scale(1.15) translateY(-6%); }
}

/* ---------- Sub pages ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.nav-home { font-family: var(--font-heading); font-weight: 600; font-size: 14px; text-decoration: none; }
.nav-brand { font-family: var(--font-heading); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-right: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a { text-decoration: none; }
.nav-other { font-family: var(--font-heading); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line); padding: 7px 12px; }
.nav-other .sm { display: none; }
@media (max-width: 759px) { .nav-other .lg { display: none; } .nav-other .sm { display: inline; } }
.nav-cta { background: var(--acc); color: var(--on-acc); font-weight: 700; font-size: 14px; padding: 9px 16px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 759px) {
  /* Phone header: Domov · other page · Prijava on one row */
  .nav-links, .nav-brand { display: none; }
  .nav-in { padding: 10px 16px; gap: 8px; flex-wrap: nowrap; justify-content: space-between; }
  .nav-home, .nav-other { text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
  .nav-other { margin-left: auto; }
  .nav-cta { white-space: nowrap; }
}

.hero .wrap { padding: 64px 24px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.kicker { align-self: flex-start; background: var(--acc); color: var(--on-acc); font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; }
.hero h1 { font-size: clamp(64px, 9vw, 136px); line-height: .84; text-wrap: balance; }
.hero h1.stack { font-size: clamp(56px, 8vw, 120px); line-height: .86; display: flex; flex-direction: column; }
.wave { display: inline-flex; align-self: flex-start; color: var(--black); background: var(--yellow); padding: .06em .12em 0; box-shadow: 0 .1em 0 0 var(--yellow); }
.wave span { display: inline-block; animation: odbWave 1.8s ease-in-out infinite; }
.wave span:nth-child(1) { animation-delay: 0.00s; }
.wave span:nth-child(2) { animation-delay: 0.09s; }
.wave span:nth-child(3) { animation-delay: 0.18s; }
.wave span:nth-child(4) { animation-delay: 0.27s; }
.wave span:nth-child(5) { animation-delay: 0.36s; }
.wave span:nth-child(6) { animation-delay: 0.45s; }
.wave span:nth-child(7) { animation-delay: 0.54s; }
.wave span:nth-child(8) { animation-delay: 0.63s; }
@keyframes odbWave { 0%, 60%, 100% { transform: translateY(0); } 20% { transform: translateY(-0.22em); } 40% { transform: translateY(0.04em); } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; } }
.lead { max-width: 500px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-y { background: var(--yellow); color: var(--black); font-weight: 700; font-size: 16px; padding: 15px 22px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.btn-season { display: flex; align-items: center; background: var(--black); color: var(--white); font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; padding: 0 20px; min-height: 52px; }
.btn-line { border: 1px solid var(--line); font-family: var(--font-heading); font-size: 16px; padding: 14px 22px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.hero-img { aspect-ratio: 4 / 5; width: 100%; }

.about-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.about-row > * { flex: 1 1 340px; min-width: 0; }
.paras { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.paras p { font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin-top: 40px; }
.pillars div { min-height: 120px; padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--black); color: var(--yellow); }
.pillars h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }

.table-scroll { overflow-x: auto; }
table.urnik { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 17px; }
.urnik th { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--fg); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.urnik td { padding: 16px 8px; border-bottom: 1px solid var(--line); }
.urnik td:first-child { font-family: var(--font-heading); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.age { border: 1px solid var(--fg); padding: 2px 10px; font-size: 14px; font-weight: 700; }

.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.map { grid-column: span 2; min-height: 400px; position: relative; border: 1px solid var(--line); background: #e9e9e9; }
@media (max-width: 719px) { .map { grid-column: auto; min-height: 320px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-cta { position: absolute; left: 16px; bottom: 16px; background: var(--yellow); color: var(--black); font-family: var(--font-heading); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 14px; text-decoration: none; }
.loc-info { display: flex; flex-direction: column; gap: 22px; }
.loc-info h3 { font-size: clamp(30px, 3vw, 42px); line-height: .95; }
.loc-info > div > p { font-size: 18px; line-height: 1.5; margin-top: 10px; }
.loc-list { border-top: 1px solid var(--line); }
.loc-list div { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.loc-list strong { font-family: var(--font-heading); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.btn-acc { align-self: flex-start; background: var(--acc); color: var(--on-acc); font-weight: 700; font-size: 15px; padding: 13px 20px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.std-loc { display: flex; flex-direction: column; gap: 24px; }
.std-loc p { margin-top: 6px; font-size: 18px; line-height: 1.5; }
.std-loc .addr { font-size: 22px; line-height: 1.4; font-weight: 500; }
.btn-outline { align-self: flex-start; border: 1px solid var(--fg); font-weight: 700; font-size: 15px; padding: 12px 18px; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }

.team { overflow: hidden; }
.team .wrap { padding: 64px 24px 0; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; }
.team-words { flex: 0 0 auto; display: flex; flex-direction: column; font-family: var(--font-heading); font-weight: 800; font-size: clamp(48px, 6vw, 112px); line-height: .88; text-transform: uppercase; padding-bottom: 64px; }
.outline { color: var(--black); -webkit-text-stroke: 2px var(--white); }
.solid { color: var(--white); -webkit-text-stroke: 0; }
.team-img { flex: 1 1 440px; min-width: 0; }
.homeof .wrap { padding: 72px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.homeof p { flex: 1 1 520px; max-width: 980px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.18; text-transform: uppercase; text-wrap: balance; }
.hl-y, .hl-k { padding: 0 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-y { background: var(--yellow); }
.hl-k { background: var(--black); color: var(--yellow); }
.homeof-logo { flex: 0 0 auto; position: relative; width: 240px; padding-top: 34px; display: flex; flex-direction: column; align-items: center; }
.homeof-logo span { position: absolute; top: 0; left: -18px; font-family: "Permanent Marker", cursive; font-size: 30px; line-height: 1; transform: rotate(-12deg); white-space: nowrap; }
.homeof-logo img { width: 220px; }
@media (max-width: 759px) {
  .team .wrap { gap: 8px; padding-top: 48px; }
  .team-words { padding-bottom: 0; }
}
@media (max-width: 759px) {
  .homeof .wrap { justify-content: center; text-align: center; }
  .homeof p { flex-basis: 100%; }
  .homeof-logo { margin: 0 auto; }
}

/* Forms */
.intro { margin: -12px 0 28px; max-width: 720px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px 16px; max-width: 1040px; }
.form .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f > label, .f > .flabel { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.f > label small, .f > .flabel small { font-weight: 500; font-size: inherit; }
.f[hidden] { display: none; }
.form .f textarea { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.45; }
.f input, .f select, .f textarea { font-family: inherit; font-size: 16px; min-height: 46px; padding: 0 14px; background: #fff; color: #0e0e0e; border: 1px solid #0e0e0e; border-radius: 0; width: 100%; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.opts.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 20px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 6px 14px; cursor: pointer; border: 1px solid #0e0e0e; background: #fff; color: #0e0e0e; font-family: var(--font-heading); font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { flex: none; width: 14px; height: 14px; border: 2px solid currentColor; }
.opt:has(input:checked) { background: #0e0e0e; color: var(--yellow); }
.opt:has(input:checked) .dot { background: var(--yellow); }
.opt:has(input:focus-visible) { outline: 2px solid #0e0e0e; outline-offset: 2px; }
.err { display: none; color: #b00020; font-size: 14px; font-weight: 600; }
.err.show { display: block; }
.submit { grid-column: 1 / -1; margin-top: 6px; min-height: 56px; border: 0; cursor: pointer; background: #0e0e0e; color: var(--yellow); clip-path: polygon(1.5% 0, 100% 0, 98.5% 100%, 0 100%); font-family: var(--font-heading); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .1em; text-transform: uppercase; }
.submit:disabled { opacity: .6; cursor: wait; }
.fine { font-size: 13px; line-height: 1.45; color: var(--mute); }
.thanks { display: none; flex-direction: column; gap: 12px; padding: 24px 0; }
.thanks.show { display: flex; }
.thanks h3 { font-size: 48px; }
.thanks p { font-size: 18px; line-height: 1.5; }

.split-signup { display: flex; flex-wrap: wrap; }
.split-img { flex: 1.35 1 480px; min-width: 0; min-height: 720px; position: relative; background: #0e0e0e; color: #fff; overflow: hidden; }
.split-img > img { position: absolute; top: 0; left: -18%; width: 118%; height: 100%; max-width: none; object-fit: cover; }
.split-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0) 62%, rgba(14,14,14,.8) 100%); }
.split-caption { position: absolute; z-index: 1; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.split-caption h2 { font-size: clamp(36px, 4vw, 64px); line-height: .88; text-wrap: balance; }
.split-caption span { font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; color: var(--yellow); }
.split-form { flex: 1 1 400px; min-width: 0; padding: 56px clamp(24px, 4vw, 64px) 72px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.split-form > p { max-width: 560px; font-size: 21px; line-height: 1.45; font-weight: 500; }
.split-form .form { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split-form .f > label { color: var(--mute); font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: 0; text-transform: none; }
.consent { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.row-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.btn-send { border: 0; cursor: pointer; background: #0e0e0e; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; padding: 15px 24px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 759px) { .split-img { min-height: 480px; } }

/* Footer */
.footer { background: #0e0e0e; color: #fff; border-top: 1px solid rgba(255,255,255,.18); }
.footer .wrap { padding: 56px 24px 64px; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.contact { display: flex; flex-direction: column; gap: 18px; min-width: 240px; }
.contact-name { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--yellow); }
.contact-role { font-size: 18px; color: var(--yellow); }
.contact-links { display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.contact-links a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.footer-motto { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--yellow); }
.socials { display: flex; flex-wrap: wrap; gap: 16px; }
.socials a { width: 72px; height: 72px; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.copy { width: 100%; font-size: 13px; color: #a6a6a6; }
@media (max-width: 759px) {
  .footer-right { margin-left: 0; align-items: flex-start; }
  .socials a { width: 56px; height: 56px; }
}
