/* =====================================================================
   Rekord Arena — ön səhifə üslubu
   Palitra: meydan yaşılı + təbaşir ağı + projektor kəhrəbası
   ===================================================================== */
:root {
  --pitch:      #0F3D2E;
  --pitch-deep: #0A2B21;
  --turf:       #155240;
  --chalk:      #F3F5EE;
  --chalk-dim:  #B9CCC1;
  --flood:      #FFB627;
  --flood-deep: #E59A00;
  --card-red:   #D9544D;
  --paper:      #F6F7F2;
  --ink:        #13241D;
  --ink-soft:   #4D6258;
  --line:       rgba(243, 245, 238, .16);

  --f-display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --f-body:    'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -.01em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flood); outline-offset: 3px; border-radius: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Biçilmiş ot zolaqları — meydanın imzası */
.turf {
  color: var(--chalk);
  background-color: var(--pitch);
  background-image: repeating-linear-gradient(90deg,
      rgba(255,255,255,.035) 0 80px, rgba(0,0,0,.05) 80px 160px);
}

/* ---------- Düymələr ---------- */
.btn { font-weight: 600; border-radius: 999px; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-flood { background: var(--flood); color: var(--ink); border: 0; }
.btn-flood:hover, .btn-flood:focus-visible { background: #FFC54F; color: var(--ink); box-shadow: 0 8px 26px -8px rgba(255,182,39,.7); }
.btn-chalk { border: 1.5px solid var(--chalk); color: var(--chalk); background: transparent; }
.btn-chalk:hover { background: var(--chalk); color: var(--pitch); }
.btn-chalk-dark { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-chalk-dark:hover { background: var(--ink); color: var(--paper); }
.btn-icon { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-icon:hover { background: var(--ink); color: var(--paper); }
.btn.loading { pointer-events: none; opacity: .8; }
.btn.loading .btn-text::after { content: ''; display: inline-block; width: 1em; height: 1em; margin-left: .6em; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--pitch); transition: opacity .5s, visibility .5s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .ball { width: 38px; height: 38px; border-radius: 50%; background: var(--chalk); box-shadow: inset -6px -6px 0 rgba(0,0,0,.18); animation: bounce .7s cubic-bezier(.5,0,.5,1) infinite alternate; }
@keyframes bounce { from { transform: translateY(-26px); } to { transform: translateY(12px) scaleY(.9); } }

/* ---------- Nav ---------- */
.ra-nav { padding: 18px 0; transition: padding .3s, background-color .3s, box-shadow .3s; }
.ra-nav.scrolled { padding: 10px 0; background: rgba(10, 43, 33, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.navbar-brand { display: flex; align-items: center; gap: 10px; color: var(--chalk) !important; }
.brand-mark svg { width: 34px; height: 34px; fill: none; stroke: var(--chalk); stroke-width: 2; }
.brand-text { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text b { font-weight: 800; color: var(--flood); margin-left: 2px; }
.ra-nav .nav-link { color: var(--chalk-dim); font-weight: 500; padding: .5rem .8rem !important; position: relative; }
.ra-nav .nav-link::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--flood); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ra-nav .nav-link:hover, .ra-nav .nav-link.active { color: var(--chalk); }
.ra-nav .nav-link:hover::after, .ra-nav .nav-link.active::after { transform: scaleX(1); }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--chalk-dim); }
.lang-switch a.active { background: var(--chalk); color: var(--pitch); }
.navbar-toggler { border: 0; padding: 8px; }
.navbar-toggler:focus { box-shadow: none; }
.burger { display: grid; gap: 5px; }
.burger i { display: block; width: 24px; height: 2px; background: var(--chalk); transition: transform .3s, opacity .3s; }
.navbar-toggler[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .ra-nav .navbar-collapse { background: var(--pitch-deep); margin-top: 12px; padding: 16px; border-radius: var(--r-md); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.flood { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; pointer-events: none; filter: blur(10px); opacity: 0; animation: floodOn 1.6s .2s var(--ease) forwards; }
.flood-l { top: -30vw; left: -20vw; background: radial-gradient(circle, rgba(255,214,120,.22), transparent 60%); }
.flood-r { top: -30vw; right: -25vw; background: radial-gradient(circle, rgba(255,214,120,.16), transparent 60%); animation-delay: .45s; }
@keyframes floodOn { 0% { opacity: 0; } 30% { opacity: .9; } 40% { opacity: .3; } 55% { opacity: 1; } 100% { opacity: 1; } }

.hero-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  opacity: 0; transform: translateY(24px);
  animation: rise .9s .5s var(--ease) forwards;
}
.hero-sub { font-size: 1.2rem; color: var(--chalk-dim); max-width: 46ch; opacity: 0; animation: rise .9s .7s var(--ease) forwards; }
.hero-copy .d-flex { opacity: 0; animation: rise .9s .85s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 3rem 0 0; opacity: 0; animation: rise .9s 1s var(--ease) forwards; }
.hero-stats dt { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.hero-stats dt::after { content: '+'; color: var(--flood); }
.hero-stats dd { margin: .35rem 0 0; font-size: .9rem; color: var(--chalk-dim); max-width: 14ch; line-height: 1.3; }

.hero-stage { position: relative; perspective: 1400px; }
.hero-pitch { transform: rotateX(48deg) rotateZ(-8deg) scale(1.08); transform-origin: 50% 60%; }
.hero-pitch .pitch { width: 100%; display: block; }

/* Meydan cizgiləri */
.pitch { overflow: visible; }
.pitch .pl rect, .pitch .pl line, .pitch .pl circle:not(.dot), .pitch .pl path {
  fill: none; stroke: var(--chalk); stroke-width: .45; stroke-linecap: round; stroke-linejoin: round;
}
.pitch .pl .goal { stroke-width: .35; }
.pitch .dot { fill: var(--chalk); }
.pitch .ghost { fill: none; stroke: var(--chalk); stroke-opacity: .28; stroke-width: .35; stroke-dasharray: 1.2 1.2; }
.pitch .dim { fill: var(--chalk-dim); font-family: var(--f-body); font-size: 2.6px; text-anchor: middle; }

/* Təbaşirlə çəkilmə — səhifə açılanda bir dəfə */
.pitch.draw .pl > *:not(.dot), .pitch.draw-on-view .pl > *:not(.dot) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pitch.draw .pl > *:not(.dot) { animation: chalk 1.4s var(--ease) forwards; }
.pitch.draw .pl > *:nth-child(2) { animation-delay: .25s; }
.pitch.draw .pl > *:nth-child(3) { animation-delay: .45s; }
.pitch.draw .pl > *:nth-child(n+5) { animation-delay: .7s; }
.pitch.draw-on-view.in .pl > *:not(.dot) { animation: chalk 1.6s var(--ease) forwards; }
.pitch .dot { opacity: 0; animation: fadeIn .4s 1.2s forwards; }
.pitch.draw-on-view .dot { animation: none; }
.pitch.draw-on-view.in .dot { animation: fadeIn .4s 1s forwards; }
@keyframes chalk { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Tablo */
.scoreboard {
  position: relative; margin: -12% auto 0; max-width: 440px;
  background: #07140F; border: 1px solid #22463A; border-radius: var(--r-md);
  padding: 16px 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(30px); animation: rise .9s 1.3s var(--ease) forwards;
}
.sb-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--chalk-dim); padding-bottom: 12px; border-bottom: 1px dashed #22463A; }
.sb-live { width: 8px; height: 8px; border-radius: 50%; background: var(--flood); box-shadow: 0 0 0 0 rgba(255,182,39,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,182,39,0); } 100% { box-shadow: 0 0 0 0 rgba(255,182,39,0); } }
.sb-clock { font-family: var(--f-display); color: var(--flood); font-size: 1rem; letter-spacing: .06em; }
.sb-row { padding: 12px 0 4px; }
.sb-row + .sb-row { border-top: 1px dashed #1A382E; }
.sb-name { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.sb-hours { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sb-hour {
  font-family: var(--f-display); font-size: .82rem; color: var(--flood); text-decoration: none;
  padding: 4px 9px; border-radius: 6px; background: rgba(255,182,39,.08); border: 1px solid rgba(255,182,39,.28);
  text-shadow: 0 0 8px rgba(255,182,39,.45); transition: background-color .2s, color .2s;
}
.sb-hour:hover { background: var(--flood); color: #07140F; text-shadow: none; }
.sb-more, .sb-none { font-size: .82rem; color: var(--chalk-dim); }

/* ---------- Bölmələr ---------- */
.section { padding: 110px 0; position: relative; }
.sec-head { margin-bottom: 3rem; max-width: 720px; }
.sec-head.d-flex { max-width: none; }
.sec-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }
.turf .sec-head p { color: var(--chalk-dim); }
.lead-text { font-size: 1.12rem; color: var(--ink-soft); max-width: 52ch; }
.turf .lead-text { color: var(--chalk-dim); }
.sub-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.25rem; }
.empty { color: var(--chalk-dim); font-style: italic; }
.section:not(.turf) .empty { color: var(--ink-soft); }

/* Haqqımızda — imkanlar siyahısı */
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.amenities li { display: flex; gap: 16px; padding: 26px 22px 26px 0; border-bottom: 1px solid rgba(19,36,29,.15); }
.amenities li:nth-child(odd) { border-right: 1px solid rgba(19,36,29,.15); }
.amenities li:nth-child(even) { padding-left: 22px; }
.amenities i { font-size: 1.6rem; color: var(--turf); line-height: 1; }
.amenities h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .35rem; }
.amenities p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 575.98px) {
  .amenities { grid-template-columns: 1fr; }
  .amenities li:nth-child(odd) { border-right: 0; }
  .amenities li:nth-child(even) { padding-left: 0; }
}

/* ---------- Stadion kartları ---------- */
.st-card { height: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(7,20,15,.35); display: flex; flex-direction: column; }
.st-visual { position: relative; padding: 28px 28px 12px; background: rgba(0,0,0,.12); border-bottom: 1px solid var(--line); aspect-ratio: 113 / 76; }
.st-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.st-visual .pitch { position: relative; width: 100%; height: 100%; }
.st-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.st-body h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 .3rem; }
.st-short { color: var(--chalk-dim); margin: 0; max-width: 36ch; }
.st-price { text-align: right; margin-left: auto; }
.st-price div { display: flex; gap: 10px; align-items: baseline; justify-content: flex-end; }
.st-price span { font-size: .82rem; color: var(--chalk-dim); }
.st-price b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--flood); }
.st-price small { color: var(--chalk-dim); font-size: .78rem; }
.st-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0; margin: 22px 0; border-top: 1px solid var(--line); }
.st-specs div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.st-specs dt { font-size: .78rem; font-weight: 500; color: var(--chalk-dim); }
.st-specs dd { margin: 0; font-weight: 600; }
.st-desc { color: var(--chalk-dim); }
.st-feats { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.st-feats li { font-size: .85rem; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); }
.st-body .btn { align-self: flex-start; margin-top: auto !important; }

/* ---------- Bron ---------- */
.booking { background: var(--paper); }
.bk-panel { background: #fff; border: 1px solid rgba(19,36,29,.1); border-radius: var(--r-lg); padding: 28px; }
.bk-step + .bk-step { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(19,36,29,.18); }
.bk-label { font-weight: 600; font-size: .95rem; margin-bottom: 12px; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn { border: 1.5px solid rgba(19,36,29,.2); background: transparent; border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--ink); transition: all .2s var(--ease); }
.seg-btn small { font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.seg-btn:hover { border-color: var(--pitch); }
.seg-btn.active { background: var(--pitch); border-color: var(--pitch); color: var(--chalk); }
.seg-btn.active small { color: var(--chalk-dim); }

.other-date { position: relative; font-size: .88rem; font-weight: 500; color: var(--turf); cursor: pointer; }
.other-date input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-chip { flex: 0 0 auto; scroll-snap-align: start; width: 72px; padding: 10px 0; text-align: center; border-radius: var(--r-md); border: 1.5px solid rgba(19,36,29,.14); background: transparent; color: var(--ink); line-height: 1.15; transition: all .2s var(--ease); }
.date-chip small { display: block; font-size: .75rem; color: var(--ink-soft); }
.date-chip b { display: block; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; margin: 3px 0; }
.date-chip:hover { border-color: var(--pitch); }
.date-chip.active { background: var(--pitch); border-color: var(--pitch); color: var(--chalk); transform: translateY(-2px); }
.date-chip.active small { color: var(--chalk-dim); }
.date-chip.weekend:not(.active) b { color: var(--card-red); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; min-height: 120px; }
.slot {
  position: relative; border-radius: var(--r-sm); padding: 10px 8px; text-align: center; border: 1.5px solid transparent;
  background: transparent; line-height: 1.2; font-weight: 600; transition: transform .15s var(--ease), background-color .15s, border-color .15s;
}
.slot .s-t { display: block; font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.slot .s-p { display: block; font-size: .75rem; font-weight: 500; opacity: .75; margin-top: 3px; }
.slot.free { border-color: rgba(15,61,46,.35); color: var(--pitch); cursor: pointer; }
.slot.free:hover { border-color: var(--pitch); background: rgba(15,61,46,.06); transform: translateY(-2px); }
.slot.pending { background: repeating-linear-gradient(135deg, rgba(255,182,39,.22) 0 6px, rgba(255,182,39,.08) 6px 12px); color: #8A5A00; cursor: not-allowed; }
.slot.booked { background: rgba(217,84,77,.12); color: #A43530; cursor: not-allowed; }
.slot.match { background: var(--ink); color: var(--flood); cursor: not-allowed; }
.slot.past, .slot.closed { background: rgba(19,36,29,.05); color: rgba(19,36,29,.35); cursor: not-allowed; }
.slot.past .s-t { text-decoration: line-through; }
/* seçilmiş saat hover-dan üstün olmalıdır */
.slot.free.sel, .slot.free.sel:hover { background: var(--flood); border-color: var(--flood); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(229,154,0,.9); }
.slots .s-msg { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--ink-soft); padding: 30px 0; }
.slots.is-loading .slot { animation: shimmer 1s infinite alternate; }
@keyframes shimmer { from { opacity: .45; } to { opacity: .9; } }
.slot-pop { animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.06); } }

.legend { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-soft); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { border: 1.5px solid rgba(15,61,46,.45); }
.lg-pending { background: repeating-linear-gradient(135deg, rgba(255,182,39,.5) 0 3px, rgba(255,182,39,.15) 3px 6px); }
.lg-booked { background: rgba(217,84,77,.35); }
.lg-match { background: var(--ink); }
.lg-past { background: rgba(19,36,29,.12); }

.bk-summary { position: sticky; top: 96px; background: var(--pitch); color: var(--chalk); border-radius: var(--r-lg); padding: 24px; }
.bk-summary .bk-label { color: var(--chalk); }
.bk-summary fieldset { border: 0; padding: 0; margin: 0; min-width: 0; transition: opacity .3s; }
.bk-summary fieldset:disabled { opacity: .45; }
.bk-summary .form-control { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--chalk); border-radius: var(--r-sm); }
.bk-summary .form-control:focus { background: rgba(255,255,255,.1); border-color: var(--flood); box-shadow: none; color: var(--chalk); }
.bk-summary .form-floating > label { color: var(--chalk-dim); }
.bk-summary .form-floating > .form-control:focus ~ label,
.bk-summary .form-floating > .form-control:not(:placeholder-shown) ~ label { color: var(--chalk-dim); }
.bk-summary .form-floating > .form-control:focus ~ label::after,
.bk-summary .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background: transparent; }

/* Bilet */
.ticket { position: relative; background: var(--chalk); color: var(--ink); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 22px; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 62%; width: 18px; height: 18px; border-radius: 50%; background: var(--pitch); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket-empty { color: var(--ink-soft); font-size: .95rem; padding: 18px 0; text-align: center; }
.t-stadium { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.t-date { color: var(--ink-soft); font-size: .92rem; margin-bottom: 12px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 12px; border-bottom: 1.5px dashed rgba(19,36,29,.25); }
.t-grid span, .t-total span { display: block; font-size: .78rem; color: var(--ink-soft); }
.t-grid b { font-size: 1.05rem; }
.t-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.t-total b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--pitch); }
.ticket.bump { animation: pop .35s var(--ease); }

.form-msg { font-size: .92rem; font-weight: 500; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.err { color: #FF9C95; }
.form-msg.ok { color: #9BE6B9; }
.section:not(.turf) .form-msg.err, .modal .form-msg.err, .card-form .form-msg.err { color: #B3261E; }
.section:not(.turf) .form-msg.ok, .modal .form-msg.ok, .card-form .form-msg.ok { color: #16713F; }

/* ---------- Oyunlar ---------- */
.fixture { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fx-when b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.fx-when span { color: var(--flood); font-weight: 600; font-size: .95rem; }
.fx-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.fx-teams i { font-style: normal; font-size: .8rem; color: var(--chalk-dim); font-weight: 500; }
.fx-where { font-size: .85rem; color: var(--chalk-dim); text-align: right; }
.result { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 10px; background: #07140F; border-radius: var(--r-md); position: relative; }
.r-team { font-weight: 600; font-size: .95rem; }
.r-date { grid-column: 1 / -1; text-align: center; color: var(--chalk-dim); font-size: .78rem; margin-top: -4px; }
.led { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--flood); text-shadow: 0 0 10px rgba(255,182,39,.5); letter-spacing: .05em; }
.led i { font-style: normal; margin: 0 4px; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 575.98px) {
  .fixture { grid-template-columns: 1fr; gap: 6px; }
  .fx-where { text-align: left; }
}

/* ---------- Komanda ---------- */
.team { background: #fff; }
.card-form { background: var(--paper); border-radius: var(--r-lg); padding: 30px; border: 1px solid rgba(19,36,29,.1); }
.card-form .form-control, .modal .form-control { border-radius: var(--r-sm); border-color: rgba(19,36,29,.2); }
.card-form .form-control:focus, .modal .form-control:focus { border-color: var(--pitch); box-shadow: 0 0 0 3px rgba(15,61,46,.12); }
.file-pill { position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px; border: 1.5px dashed rgba(19,36,29,.3); border-radius: var(--r-sm); cursor: pointer; color: var(--ink-soft); background: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-pill:hover { border-color: var(--pitch); color: var(--pitch); }
.file-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kit { margin-top: 2rem; width: 150px; }
.kit svg { width: 100%; fill: var(--pitch); }
.kit text { fill: var(--flood); font-family: var(--f-display); font-weight: 800; font-size: 34px; text-anchor: middle; }
.kit svg { transform-origin: 50% 20%; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-4deg); } }

/* ---------- Qalereya ---------- */
.masonry { columns: 4 240px; column-gap: 14px; }
.m-item { display: block; margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; position: relative; }
.m-item img { width: 100%; display: block; transition: transform .6s var(--ease), filter .6s; }
.m-item:hover img { transform: scale(1.05); filter: saturate(1.15); }
.gallery-empty { width: 100%; border: 2px dashed rgba(19,36,29,.2); border-radius: var(--r-lg); background: transparent; padding: 70px 20px; display: grid; justify-items: center; gap: 12px; color: var(--ink-soft); font-size: 1.05rem; transition: border-color .2s, color .2s; }
.gallery-empty i { font-size: 2.4rem; }
.gallery-empty:hover { border-color: var(--pitch); color: var(--pitch); }

.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 36px 20px; border: 2px dashed rgba(19,36,29,.25); border-radius: var(--r-md); text-align: center; cursor: pointer; transition: all .2s; }
.dropzone i { font-size: 2.2rem; color: var(--turf); }
.dropzone small { color: var(--ink-soft); }
.dropzone.over { border-color: var(--flood-deep); background: rgba(255,182,39,.08); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 12px; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); animation: pop .3s var(--ease); }

/* ---------- Rəylər ---------- */
.reviews-swiper { padding-bottom: 48px !important; }
.review { margin: 0; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(7,20,15,.35); display: flex; flex-direction: column; }
.review blockquote { margin: 14px 0 20px; font-size: 1.02rem; flex: 1; }
.review figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.review figcaption span { color: var(--chalk-dim); }
.swiper-slide { height: auto; }
.swiper-pagination-bullet { background: var(--chalk); opacity: .35; }
.swiper-pagination-bullet-active { background: var(--flood); opacity: 1; }
.stars { --r: 5; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.stars::before { content: '★★★★★'; background: linear-gradient(90deg, var(--flood) calc(var(--r) / 5 * 100%), rgba(243,245,238,.25) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.avg { display: flex; align-items: center; gap: 10px; }
.avg b { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.avg small { color: var(--chalk-dim); }
.star-input { border: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input legend { float: left; width: 100%; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.8rem; color: #D4DAD6; cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--flood); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--pitch); border-radius: 4px; }

/* ---------- Əlaqə ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(19,36,29,.12); }
.contact-list i { font-size: 1.3rem; color: var(--turf); }
.contact-list span { display: block; font-size: .8rem; color: var(--ink-soft); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--turf); }
.map-box { height: 100%; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-placeholder { height: 100%; min-height: 380px; display: grid; place-items: center; position: relative; padding: 30px; }
.map-placeholder .pitch { width: 80%; opacity: .5; }
.map-placeholder span { position: absolute; background: var(--flood); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; }

.footer { background: var(--pitch-deep); color: var(--chalk-dim); padding: 28px 0; font-size: .9rem; }
.footer-links a { color: var(--chalk-dim); text-decoration: none; margin-left: 18px; }
.footer-links a:hover { color: var(--chalk); }

.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 1030; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); text-decoration: none; transition: transform .2s var(--ease); }
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 1030; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pitch); color: var(--chalk); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modallar ---------- */
.modal-content { border: 0; border-radius: var(--r-lg); }
.modal-title { font-size: 1.2rem; font-weight: 600; }
.booked-card h3 { font-weight: 600; margin: 16px 0; }
.code-box { display: inline-flex; flex-direction: column; padding: 12px 26px; background: var(--pitch); color: var(--chalk); border-radius: var(--r-md); margin-bottom: 16px; }
.code-box span { font-size: .8rem; color: var(--chalk-dim); }
.code-box b { font-family: var(--f-display); font-size: 1.6rem; color: var(--flood); letter-spacing: .04em; }
.whistle-check { width: 76px; height: 76px; }
.whistle-check circle { fill: none; stroke: var(--pitch); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; }
.whistle-check path { fill: none; stroke: var(--flood-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.modal.show .whistle-check circle { animation: dash .6s .1s var(--ease) forwards; }
.modal.show .whistle-check path { animation: dash .4s .6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* Toast */
.ra-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2100; transform: translate(-50%, 20px); background: var(--ink); color: var(--chalk); padding: 12px 20px; border-radius: 999px; font-weight: 500; opacity: 0; transition: all .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.ra-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ra-toast.err { background: #8E2A25; }

@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .bk-summary { position: static; }
  .hero-pitch { transform: rotateX(40deg) rotateZ(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pitch .pl > * { stroke-dashoffset: 0 !important; }
}
