/* ─────────────────────────────────────────────
   PEDASA FUTBOL SPOR KULÜBÜ
   Navy & white club palette
     ink           #0e2a5a   (deep club navy)
     ink-2         #1f4ea8   (primary club blue)
     ink-3         #061533   (darkest navy)
     blue-mid      #4974c4
     blue-light    #b5c8e8
     white         #ffffff
     paper         #f5f7fa
     cream         #f9f5ec
     gold          #d4a93e   (achievement accent)
     gold-soft     #e8c66a
     red-flag      #e30a17
   ───────────────────────────────────────────── */

:root {
  --ink: #0e2a5a;
  --ink-2: #1f4ea8;
  --ink-3: #061533;
  --ink-darker: #030c20;
  --blue-mid: #4974c4;
  --blue-light: #b5c8e8;
  --white: #ffffff;
  --paper: #f5f7fa;
  --cream: #f9f5ec;
  --gold: #d4a93e;
  --gold-soft: #e8c66a;
  --red-flag: #e30a17;

  --line: rgba(31,78,168,.16);
  --line-strong: rgba(31,78,168,.4);
  --line-light: rgba(255,255,255,.16);
  --shadow-1: 0 30px 80px -30px rgba(14,42,90,.5);
  --shadow-2: 0 12px 40px -10px rgba(14,42,90,.35);

  --f-display: "Oswald", "Inter", sans-serif;
  --f-serif: "Playfair Display", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  --r: 10px;
  --r-lg: 18px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink-2); color: var(--white); }

/* ─────────────────  TYPOGRAPHY  ───────────────── */

.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: .2em 0 .6em;
  text-transform: none;
}
.display em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--ink-2);
  font-weight: 500;
}
.display--center { text-align: center; }

.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(14,42,90,.55);
  margin: 0 0 1.2rem;
}
.eyebrow--gold { color: var(--gold); }
.section--dark .eyebrow { color: rgba(255,255,255,.6); }
.section--dark .eyebrow--gold { color: var(--gold-soft); }

/* ─────────────────  LAYOUT  ───────────────── */

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section--dark {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(73,116,196,.15), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(212,169,62,.08), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--white);
}
.section--dark .display em { color: var(--blue-light); }
.section--cream { background: var(--cream); }

.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  text-align: left;
  max-width: var(--max);
  margin-bottom: 64px;
}
.section__sub {
  font-size: 1.05rem;
  color: rgba(14,42,90,.7);
  margin: 0 auto;
  max-width: 580px;
}
.section--dark .section__sub { color: rgba(255,255,255,.75); }
.section__sub--right { text-align: right; max-width: 460px; margin-left: auto; }
.section__sub a { color: var(--ink-2); border-bottom: 1px solid currentColor; text-decoration: none; }
.section--dark .section__sub a { color: var(--gold-soft); }

@media (max-width: 760px) {
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
  .section__sub--right { text-align: left; margin: 0; }
}

/* ─────────────────  BUTTONS  ───────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(14,42,90,.6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(14,42,90,.75);
  filter: brightness(1.07);
}
.btn--ghost {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline-light {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  font-size: .85rem;
}
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ─────────────────  TOP RIBBON  ───────────────── */

.ribbon {
  background: var(--ink-darker);
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  letter-spacing: .04em;
  padding: 6px 0;
  position: relative;
  z-index: 51;
}
.ribbon__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ribbon strong { color: var(--white); font-weight: 600; }
.ribbon__sep { opacity: .35; }
.ribbon__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-soft); font-weight: 600; }
.ribbon__live .dot {
  width: 7px; height: 7px;
  background: #45e08a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(69,224,138,.6);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(69,224,138,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(69,224,138,0); }
  100% { box-shadow: 0 0 0 0   rgba(69,224,138,0); }
}
@media (max-width: 700px) {
  .ribbon__sep { display: none; }
  .ribbon__inner { gap: 6px 14px; }
}

/* ─────────────────  NAV  ───────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(14,42,90,.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: padding .25s ease, background .25s ease;
}
.nav.is-scrolled { padding: 10px 0; background: rgba(6,21,51,.95); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand__crest {
  width: 44px; height: 44px;
  position: relative;
  flex: 0 0 auto;
}
.brand__logo {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}
.brand__svg {
  width: 100%; height: 100%;
  color: var(--ink-2);
  display: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__line1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.brand__line2 { font-size: .66rem; letter-spacing: .25em; text-transform: uppercase; opacity: .65; margin-top: 2px; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--f-display);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: inherit;
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.nav__links a:hover { opacity: 1; color: var(--gold-soft); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 16px; height: 1px;
  background: var(--white);
}
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
.nav.is-open .nav__links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(6,21,51,.97);
  padding: 24px var(--pad) 32px;
  gap: 18px;
  border-top: 1px solid var(--line-light);
}

/* ─────────────────  HERO  ───────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - 50px);
  min-height: calc(100svh - 50px);
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 80px var(--pad) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(73,116,196,.35), transparent 60%),
    linear-gradient(180deg, #061533 0%, #0e2a5a 45%, #1f4ea8 75%, #0e2a5a 100%);
}
.hero__stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -22deg,
    rgba(255,255,255,.018) 0,
    rgba(255,255,255,.018) 60px,
    transparent 60px,
    transparent 120px
  );
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: 50%; top: 28%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center,
    rgba(255,255,255,.18) 0%,
    rgba(181,200,232,.08) 30%,
    transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.75 0 0 0 0 0.95 0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero__crest {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  margin: 0 auto 32px;
  position: relative;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}
.hero__logo {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.hero__svg {
  width: 100%; height: 100%;
  display: none;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 .35em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero__tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hero__tagline em { font-style: italic; color: var(--gold-soft); }
.hero__ctas {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__meta {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding: 24px 0;
}
.hero__meta li { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__meta-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.65);
}
@media (max-width: 600px) {
  .hero__meta { grid-template-columns: 1fr; gap: 16px; padding: 18px 0; }
  .hero__meta li { flex-direction: row; justify-content: center; align-items: baseline; gap: 12px; }
}

.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 6px;
  background: var(--gold-soft);
  margin: 6px auto 0;
  border-radius: 2px;
  animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ─────────────────  CLUB / ABOUT  ───────────────── */

.club { background: var(--paper); }
.club__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.club__text p { font-size: 1.06rem; color: rgba(14,42,90,.85); margin: 1em 0; }
.club__text em { color: var(--ink-2); font-style: italic; font-family: var(--f-serif); }
.club__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin: 32px 0 0;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.club__facts > div { display: flex; flex-direction: column; gap: 2px; }
.club__facts dt {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(14,42,90,.55);
  font-weight: 500;
}
.club__facts dd {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

.crest-block {
  background: linear-gradient(160deg, #fff 0%, #eef2fa 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-2);
  text-align: center;
}
.crest-block__img {
  max-width: 260px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 20px rgba(14,42,90,.15));
}
.crest-block__caption {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.crest-block__caption span {
  display: block;
  font-family: var(--f-display);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.crest-block__caption p {
  margin: 0;
  font-size: .92rem;
  color: rgba(14,42,90,.75);
}

@media (max-width: 900px) {
  .club__grid { grid-template-columns: 1fr; }
}

/* ─────────────────  TEAMS  ───────────────── */

.teams__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.team {
  background: linear-gradient(160deg, rgba(31,78,168,.22) 0%, rgba(14,42,90,.5) 100%);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team:hover {
  transform: translateY(-4px);
  border-color: rgba(232,198,106,.5);
  box-shadow: var(--shadow-2);
}
.team__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start;
}
.team h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 .4em;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.team p { color: rgba(255,255,255,.78); font-size: .96rem; margin: 0 0 18px; flex: 1; }
.team__meta {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.team__meta li { display: flex; flex-direction: column; gap: 2px; }
.team__meta span {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.team__meta strong { color: var(--gold-soft); font-weight: 500; font-family: var(--f-display); font-size: 1rem; }

.team--feature {
  background:
    linear-gradient(160deg, rgba(212,169,62,.22) 0%, rgba(14,42,90,.6) 100%),
    linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border-color: rgba(212,169,62,.5);
}
.team--feature .team__badge { background: var(--white); color: var(--ink); }

.team--cta {
  background: transparent;
  border: 1px dashed rgba(255,255,255,.35);
  align-items: flex-start;
}
.team--cta .btn { margin-top: auto; }

@media (max-width: 900px) { .teams__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .teams__grid { grid-template-columns: 1fr; } }

/* ─────────────────  FIXTURES  ───────────────── */

.fix { background: var(--white); }
.fix__tabs {
  display: inline-flex;
  background: var(--paper);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
}
.fix__tab {
  font-family: var(--f-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fix__tab.is-active {
  background: var(--ink);
  color: var(--white);
}
.fix__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.match {
  display: grid;
  grid-template-columns: 110px 1fr 180px;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s ease, transform .2s ease;
}
.match:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.match__date {
  display: flex; flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.match__day { font-family: var(--f-display); font-size: .76rem; letter-spacing: .18em; color: var(--ink-2); font-weight: 500; }
.match__num { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ink); }
.match__mon { font-size: .72rem; letter-spacing: .14em; color: rgba(14,42,90,.55); text-transform: uppercase; }
.match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.match__t {
  display: flex; align-items: center;
  gap: 12px;
}
.match__t--away { justify-content: flex-end; flex-direction: row-reverse; }
.match__crest {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .98rem;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.match__t--home .match__crest { background: var(--ink-2); }
.match__t--away .match__crest { background: #6b7080; }
.match__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.match__vs {
  font-family: var(--f-display);
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--gold);
  font-weight: 600;
}
.match__info {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: .82rem;
  color: rgba(14,42,90,.65);
}
.match__time {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
}
.match--note {
  display: block;
  text-align: center;
  background: var(--cream);
  border-style: dashed;
}
.match--note p { margin: 0; color: rgba(14,42,90,.75); font-size: .95rem; }
.match--note a { color: var(--ink-2); }

@media (max-width: 800px) {
  .match { grid-template-columns: 1fr; gap: 14px; padding: 20px 22px; }
  .match__date { flex-direction: row; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; align-items: baseline; }
  .match__info { align-items: flex-start; flex-direction: row; gap: 14px; }
  .match__teams { gap: 12px; }
}

/* ─────────────────  GALLERY  ───────────────── */

.gal { background: var(--paper); }
.gal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gtile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-2);
}
.gtile span {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.gtile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.gtile--tall { grid-row: span 2; }
.gtile--wide { grid-column: span 2; }

/* Football-themed gradient placeholders */
.gtile[data-img="saha"] {
  background:
    radial-gradient(circle at 50% 70%, rgba(180,220,150,.5), transparent 50%),
    linear-gradient(180deg, #2a6e3a 0%, #134220 100%);
}
.gtile[data-img="forma"] {
  background:
    repeating-linear-gradient(
      90deg,
      var(--ink) 0,
      var(--ink) 16px,
      #fff 16px,
      #fff 28px,
      var(--ink) 28px,
      var(--ink) 44px
    );
}
.gtile[data-img="kup"] {
  background:
    radial-gradient(circle at 50% 40%, rgba(232,198,106,.5), transparent 55%),
    linear-gradient(160deg, #423015, #1a0f04);
}
.gtile[data-img="tribune"] {
  background:
    radial-gradient(circle at 50% 80%, rgba(73,116,196,.4), transparent 55%),
    linear-gradient(180deg, #061533 0%, #1f4ea8 60%, #0e2a5a 100%);
}
.gtile[data-img="altyapi"] {
  background:
    radial-gradient(circle at 50% 50%, rgba(212,169,62,.3), transparent 55%),
    linear-gradient(160deg, #1f4ea8, #061533);
}

.gal__note {
  margin-top: 32px;
  text-align: center;
  font-size: .88rem;
  color: rgba(14,42,90,.6);
}
.gal__note code { background: rgba(14,42,90,.08); padding: 2px 8px; border-radius: 4px; }

@media (max-width: 900px) {
  .gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gtile--wide { grid-column: span 2; }
  .gtile--tall { grid-row: span 1; }
}

/* ─────────────────  SPONSORS  ───────────────── */

.spon__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.spon__slot {
  aspect-ratio: 16 / 7;
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(14,42,90,.5);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.spon__slot:hover {
  border-color: var(--ink-2);
  color: var(--ink-2);
  transform: translateY(-2px);
}
.spon__cta { text-align: center; }

@media (max-width: 700px) { .spon__grid { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────  MANAGEMENT  ───────────────── */

.mgmt__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.person {
  background: linear-gradient(180deg, rgba(31,78,168,.18), rgba(14,42,90,.36));
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}
.person--lead {
  background:
    linear-gradient(180deg, rgba(212,169,62,.2), rgba(14,42,90,.55)),
    linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border-color: rgba(212,169,62,.5);
}
.person:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.person__avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,.15);
}
.person--lead .person__avatar {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-soft);
}
.person h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.18rem;
  margin: 0 0 .3em;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.person__role {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0;
}

.mgmt__note {
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

@media (max-width: 900px) { .mgmt__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mgmt__grid { grid-template-columns: 1fr; } }

/* ─────────────────  CONTACT  ───────────────── */

.cont { background: var(--paper); }
.cont__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.cont__info p { color: rgba(14,42,90,.78); font-size: 1.05rem; max-width: 480px; }
.cont__info em { font-style: italic; color: var(--ink-2); font-family: var(--f-serif); }

.cont__list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  border-top: 1px solid var(--line);
}
.cont__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  font-size: .95rem;
}
.cont__lbl {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(14,42,90,.55);
  font-weight: 600;
}
.cont__val { color: var(--ink); }
.cont__val em { color: rgba(14,42,90,.5); font-style: italic; }
.cont__val a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-2);
}
.cont__val a:hover { color: var(--ink); border-color: var(--ink); }

.cont__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cont__social a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.cont__social a:hover { background: var(--ink-2); color: var(--white); transform: translateY(-2px); }
.cont__social svg { width: 20px; height: 20px; }

.cont__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  box-shadow: var(--shadow-2);
}
.cont__map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) {
  .cont__grid { grid-template-columns: 1fr; }
  .cont__map { min-height: 340px; }
}
@media (max-width: 600px) {
  .cont__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ─────────────────  FOOTER  ───────────────── */

.foot {
  background: var(--ink-darker);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
  border-top: 4px solid var(--ink-2);
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.foot__brand p { margin: 0; font-size: .9rem; }
.foot__col h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin: 0 0 18px;
}
.foot__col a {
  display: block;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  padding: 6px 0;
  font-size: .92rem;
  transition: color .2s ease;
}
.foot__col a:hover { color: var(--gold-soft); }

.foot__bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 20px var(--pad) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
@media (max-width: 800px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 480px) { .foot__inner { grid-template-columns: 1fr; } }

/* ─────────────────  REVEAL  ───────────────── */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
