:root {
  --ink: #171310;
  --ink-2: #221c18;
  --ink-3: #2c241e;
  --paper: #f3eadc;
  --paper-2: #e7dccb;
  --paper-3: #d9cbb4;
  --copper: #c85a27;
  --copper-2: #e07a3d;
  --teal: #215e58;
  --teal-2: #2f7a72;
  --wine: #6e2d2d;
  --line: #c9a36a;
  --mute: #8a7b6b;
  --ok: #2f6b4f;
  --shadow: 0 18px 40px rgba(0, 0, 0, .28);
  --radius: 14px;
  --max: 1180px;
  --head: "Fraunces", Georgia, serif;
  --display: "Big Shoulders Display", Impact, sans-serif;
  --ui: "Archivo", "Segoe UI", sans-serif;
  --read: "Literata", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--read);
  background:
    radial-gradient(1200px 600px at 10% -10%, #2a211c 0%, transparent 55%),
    repeating-linear-gradient(115deg, rgba(201,163,106,.04) 0 1px, transparent 1px 17px),
    var(--ink);
  color: var(--paper);
  line-height: 1.7;
  min-height: 100%;
}
body:before {
  content: "AVVABET";
  position: fixed;
  left: -6px;
  top: 40%;
  transform: rotate(-90deg);
  transform-origin: left center;
  font-family: var(--display);
  font-size: 88px;
  letter-spacing: .18em;
  color: rgba(201,163,106,.08);
  pointer-events: none;
  z-index: 0;
}
main, .site-head, .ticker, .site-foot, .dock { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--copper); color: #fff;
  padding: 8px 12px; z-index: 80; border-radius: 8px;
}
.skip:focus { top: 12px; }

.ticker {
  background: var(--teal);
  color: #f6efe4;
  overflow: hidden;
  border-bottom: 2px solid #173f3b;
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: drift 38s linear infinite;
  padding: 9px 0;
  white-space: nowrap;
}
.ticker b { color: #f0c48a; font-weight: 700; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23,19,16,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,163,106,.22);
}
.site-head.is-tight { box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper);
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--ink-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 28px; line-height: 1;
  position: relative; overflow: hidden;
}
.brand-mark:after {
  content: ""; position: absolute; right: 0; top: 0;
  border-left: 12px solid transparent; border-top: 12px solid var(--copper);
}
.brand strong {
  font-family: var(--display); font-size: 28px; letter-spacing: .04em; display: block; line-height: 1;
}
.brand small {
  display: block; font-family: var(--ui); font-size: 11px; color: var(--line);
  letter-spacing: .12em; text-transform: uppercase;
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav a {
  font-family: var(--ui); font-size: 14px; text-decoration: none;
  color: var(--paper-2); position: relative;
}
.nav a[aria-current="page"], .nav a:hover { color: #fff; }
.nav a[aria-current="page"]:after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--copper);
}
.cta-pair { display: flex; gap: 8px; }
.btn {
  font-family: var(--ui); font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 999px; padding: 12px 18px; letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-in {
  background: var(--copper); color: #fff;
  box-shadow: 0 0 0 0 rgba(200,90,39,.6);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-up { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn-lg { padding: 15px 22px; font-size: 16px; min-width: 148px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,90,39,.55); }
  50% { box-shadow: 0 0 0 10px rgba(200,90,39,0); }
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--ink-3); color: var(--paper); border: 1px solid rgba(201,163,106,.3);
}
.nav-drawer { display: none; }
.live-bar {
  background: #efe6d6;
  color: #231b15;
  border-bottom: 2px solid #c85a27;
}
.live-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0; flex-wrap: wrap;
}
.live-bar strong { font-family: var(--ui); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #6e2d2d; }
.live-bar .addr-mini {
  font-family: var(--ui); font-weight: 700; font-size: 15px; word-break: break-all;
}

.hero {
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}
.kicker {
  font-family: var(--ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--line); margin: 0 0 10px;
}
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 24px; }
.lead { font-size: 19px; color: var(--paper-2); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.note { font-family: var(--ui); font-size: 13px; color: var(--mute); }

.pass {
  background:
    linear-gradient(180deg, #f7f0e4, #eadfcb);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px 22px 18px;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pass:before {
  content: ""; position: absolute; inset: 10px; border: 1px dashed #b89a6a; border-radius: 12px; pointer-events: none;
}
.pass:after {
  content: "GÜNCEL"; position: absolute; right: -18px; top: 22px;
  transform: rotate(18deg); background: var(--copper); color: #fff;
  font-family: var(--display); font-size: 22px; padding: 4px 28px; letter-spacing: .08em;
}
.pass h2 { font-size: 26px; margin-top: 6px; }
.addr {
  margin: 18px 0 14px; padding: 14px 14px;
  background: #fff8ee; border: 1px solid #d7c4a3; border-radius: 10px;
  font-family: var(--ui); font-weight: 700; font-size: 16px; word-break: break-all;
}
.pass .cta-pair { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: var(--ui); font-size: 12px; background: #dfd2bb; color: #3b2f24;
  border-radius: 999px; padding: 5px 10px;
}

.board { padding: 10px 0 36px; }
.slider {
  border: 1px solid rgba(201,163,106,.28);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-2);
  position: relative;
}
.slide-window { overflow: hidden; }
.slide-track { display: flex; transition: transform .55s ease; }
.slide {
  min-width: 100%;
  padding: 28px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: center;
}
.slide-no {
  font-family: var(--display); font-size: 88px; line-height: .8; color: var(--copper);
}
.slide h3 { font-size: 30px; }
.slide p { margin: 0; color: var(--paper-2); max-width: 56ch; }
.slide-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 14px;
}
.slide-dots { display: flex; gap: 8px; }
.slide-dots button {
  width: 9px; height: 9px; border-radius: 99px; border: 0; background: #5a4d42; padding: 0;
}
.slide-dots button.is-on { background: var(--line); width: 22px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201,163,106,.35);
  background: transparent; color: var(--paper); cursor: pointer;
}

.rail { padding: 8px 0 40px; }
.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.2fr .8fr; }
.card {
  background: var(--ink-2);
  border: 1px solid rgba(201,163,106,.18);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.card.paper {
  background: linear-gradient(180deg, #f6efe3, #eadfcd);
  color: var(--ink);
}
.card a.more {
  font-family: var(--ui); font-weight: 700; color: var(--copper); text-decoration: none;
}
.card.paper a.more { color: var(--wine); }
.num {
  font-family: var(--display); font-size: 42px; color: var(--line); line-height: 1;
}

.article {
  background: #efe6d6;
  color: #231b15;
  border-radius: 22px;
  padding: clamp(22px, 4vw, 42px);
  margin: 10px 0 36px;
}
.article p { font-size: 18px; }
.article h2, .article h3 { color: #1b1410; }
.article ul, .article ol { padding-left: 20px; }
.article li { margin: 8px 0; }
.crumb {
  font-family: var(--ui); font-size: 13px; color: #6d5d4d; margin-bottom: 16px;
}
.crumb a { color: #6d5d4d; }
.meta-line {
  font-family: var(--ui); font-size: 13px; color: #7a6856; display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
}

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid rgba(201,163,106,.22);
  border-radius: 12px; background: var(--ink-2); overflow: hidden;
}
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--paper);
  padding: 16px 18px; font-family: var(--head); font-size: 18px; cursor: pointer;
}
.faq-item .ans { display: none; padding: 0 18px 16px; color: var(--paper-2); }
.faq-item.is-open .ans { display: block; }

.event {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
  background: linear-gradient(90deg, #6e2d2d, #8a3d2b 40%, #215e58);
  border-radius: 16px; padding: 18px;
}
.event .when {
  font-family: var(--display); font-size: 34px; line-height: .9; text-align: center;
}
.event .when span { display: block; font-size: 16px; letter-spacing: .12em; }

.review {
  display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center;
}
.score {
  width: 150px; height: 150px; border-radius: 50%;
  border: 6px solid var(--line);
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: 52px; line-height: .9;
}
.score small { display: block; font-family: var(--ui); font-size: 12px; letter-spacing: .1em; }

.site-foot {
  margin-top: 20px; padding: 28px 0 110px;
  border-top: 1px solid rgba(201,163,106,.2);
  color: var(--paper-3); font-family: var(--ui); font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.site-foot a { color: var(--paper-2); }
.langs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.langs a { border: 1px solid rgba(201,163,106,.3); padding: 4px 8px; border-radius: 6px; text-decoration: none; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23,19,16,.94); border-top: 1px solid rgba(201,163,106,.3);
}
.dock .btn { flex: 1; }

.stamp {
  display: inline-block; border: 2px solid var(--copper); color: var(--copper);
  font-family: var(--display); letter-spacing: .12em; padding: 2px 8px;
  transform: rotate(-6deg); font-size: 18px;
}

@media (max-width: 1100px) {
  body:before { display: none; }
}
@media (max-width: 900px) {
  .hero, .grid-3, .grid-2, .slide, .review, .event, .foot-grid {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-drawer {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #1c1713; padding: 12px 16px 18px;
    border-bottom: 1px solid rgba(201,163,106,.25);
  }
  .nav-drawer.is-open { display: grid; gap: 12px; }
  .nav-drawer a { font-family: var(--ui); text-decoration: none; padding: 8px 0; }
  .cta-pair.head-cta { display: none; }
  .dock { display: flex; }
  .hero-actions { display: none; }
  .pass:after { right: 8px; top: 10px; font-size: 16px; padding: 3px 12px; }
  .slide-no { font-size: 64px; }
  h1 { font-size: 40px; }
  .score { width: 120px; height: 120px; font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  .ticker-track { width: auto; flex-wrap: wrap; }
}
