/* Kosem.live — mockup styles (Royal Gold direction) */
:root {
  --bg: #07060a;
  --bg-2: #0e0c08;
  --panel: #14110a;
  --panel-2: #1b170d;
  --line: #3a2f15;
  --gold: #e9c46a;
  --gold-2: #f6dc94;
  --gold-3: #b8862b;
  --gold-dim: #8a6d2c;
  --text: #f4efe3;
  --muted: #a69a80;
  --red: #e2343a;
  --green: #3ecf8e;
  --radius: 12px;
  --max: 1200px;
  --display: 'Oswald', 'Kanit', sans-serif;
  --body: 'Kanit', system-ui, sans-serif;
  --sport: 'Kanit', 'Oswald', sans-serif; /* heavy italic headlines, broadcast style */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.photo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* Studio backdrop for cut-out roosters: gold spotlight, dragon watermark, floor shadow */
.fighter .art, .rooster-card .art, .profile .art, .event-card .poster .half, .bout .thumb {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 58% 48% at 50% 40%, rgba(233, 196, 106, .30), transparent 70%),
    radial-gradient(ellipse 42% 6% at 50% 92%, rgba(0, 0, 0, .8), transparent 75%),
    linear-gradient(180deg, #1e160a 0%, #0f0b06 68%, #19120a 69%, #070504 100%);
}
.fighter .art::before, .rooster-card .art::before, .profile .art::before, .event-card .poster .half::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(img/kosem-dragon-gold.png) center 36% / 64% no-repeat; opacity: .07;
}
.fighter .art .photo, .rooster-card .art .photo, .profile .art .photo, .event-card .poster .half .photo {
  position: absolute; left: 5%; bottom: 6%; width: 90%; height: 86%;
  filter: drop-shadow(0 0 18px rgba(233, 196, 106, .22)) contrast(1.05) saturate(1.1);
}
.bout .thumb .photo { padding: 6px 4px 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  background: repeating-linear-gradient(45deg, #2a2108 0 10px, #1d1706 10px 20px);
  color: var(--gold-2);
  text-align: center;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 5px 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 6, 10, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.logo .mark { width: 68px; height: 68px; filter: drop-shadow(0 0 14px rgba(233, 196, 106, .45)); transition: transform .3s; }
.logo:hover .mark { transform: scale(1.06) rotate(-3deg); }
.logo b { color: var(--gold); }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { font-size: 15px; font-weight: 600; font-style: italic; color: var(--muted); padding: 30px 0; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav a .live-dot { margin-right: 6px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 7px 10px; font-family: var(--body); font-size: 13px; cursor: pointer;
}
.lang option { background: var(--panel); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold); border-radius: 8px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .5px; text-transform: uppercase;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold, .btn-fire { clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-left: 30px; padding-right: 30px; }
.btn-gold {
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2) 50%, var(--gold-3));
  background-size: 200% 100%;
  color: #1a1205;
  box-shadow: 0 6px 24px rgba(233, 196, 106, .25);
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 8px 32px rgba(233, 196, 106, .4); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-dim); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Labels ---------- */
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: "// "; color: var(--red); letter-spacing: 0; }
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; font-family: var(--display); font-size: 12px; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 4px;
}
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.live-badge .live-dot { background: #fff; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.chip { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.chip-gold { border-color: var(--gold-dim); color: var(--gold); background: rgba(233, 196, 106, .07); }
.unbeaten {
  display: inline-block; font-family: var(--display); font-size: 11px; letter-spacing: 2px;
  color: #1a1205; background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  padding: 2px 8px; border-radius: 3px;
}

/* ---------- Section ---------- */
section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 0;
  font-family: var(--sport); font-size: 42px; font-weight: 900; font-style: italic; line-height: 1.1; text-transform: uppercase;
}
.section-head h2::before { content: ""; flex: none; width: 9px; height: .85em; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); transform: skewX(-16deg); box-shadow: 0 0 14px rgba(233, 196, 106, .45); }
.section-head a { color: var(--gold); font-size: 14px; font-weight: 700; font-style: italic; white-space: nowrap; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(233, 196, 106, .22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(184, 134, 43, .12), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 80%, rgba(184, 134, 43, .12), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(233, 196, 106, .035) 0 1px, transparent 1px 80px);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: 40px; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%);
  background: url(img/kosem-dragon-gold.png) center / contain no-repeat; opacity: .07; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero-title {
  font-family: var(--sport); font-weight: 900; font-style: italic; margin: 10px 0 4px; line-height: 1;
  font-size: clamp(48px, 9vw, 110px);
  background: linear-gradient(180deg, #fff6d8 10%, var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(233, 196, 106, .25));
}
.hero-sub { font-size: 22px; font-weight: 800; font-style: italic; color: #fff; margin-bottom: 10px; text-transform: uppercase; }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--text); font-size: 15px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

.faceoff { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 34px auto 10px; max-width: 980px; }
.fighter { text-align: center; }
.fighter .art {
  position: relative; aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--gold-dim);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 40px rgba(233, 196, 106, .12);
}
.fighter .name { font-family: var(--sport); font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; font-style: italic; margin-top: 6px; line-height: 1.15; }
.fighter .name-en { font-family: var(--display); font-weight: 600; letter-spacing: 4px; color: var(--gold); font-size: 15px; text-transform: uppercase; margin-top: 12px; }
.fighter .record { font-family: var(--display); font-weight: 700; font-size: 34px; margin-top: 2px; }
.fighter .record small { color: var(--muted); font-size: 13px; letter-spacing: 1px; }
.vs-mark {
  font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 72px);
  color: var(--gold); text-shadow: 0 0 30px rgba(233, 196, 106, .5);
}

.tale { max-width: 640px; margin: 18px auto 0; border-top: 1px solid var(--line); }
.tale-row { display: grid; grid-template-columns: 1fr 120px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.tale-row div:first-child { text-align: right; }
.tale-row div:last-child { text-align: left; }
.tale-row .k { text-align: center; color: var(--gold); font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 0; text-transform: uppercase; align-self: center; }
.tale-row .win { color: var(--gold); font-weight: 600; }

.countdown { display: flex; justify-content: center; gap: 12px; margin: 30px 0 26px; }
.countdown .cell { min-width: 88px; padding: 12px 8px 10px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px; background: linear-gradient(180deg, #1d1810, #0c0a06); transform: skewX(-8deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.countdown .cell > * { transform: skewX(8deg); }
.countdown .n { font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; color: var(--gold-2); }
.countdown .l { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 4px; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price-note { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Live strip ---------- */
.live-strip { background: linear-gradient(90deg, #2a0a0b, #120708 60%); border-bottom: 1px solid #4a1517; }
.live-strip .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.live-strip .t { flex: 1; min-width: 200px; }
.live-strip .t b { font-weight: 800; font-style: italic; font-size: 17px; }
.live-strip .t span { color: var(--muted); font-size: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.event-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.event-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.event-card .poster {
  position: relative; height: 190px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--gold-dim); overflow: hidden;
}
.event-card .poster .vs { z-index: 2; text-shadow: 0 2px 12px #000; }
.event-card .poster .badge-pos { z-index: 2; }
.event-card .poster .vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%) skewX(-8deg); font-family: var(--display); font-size: 40px; color: var(--gold-2); font-weight: 700; }
.event-card .poster .badge-pos { position: absolute; top: 12px; left: 12px; }
.event-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-card .date { font-family: var(--display); font-weight: 600; letter-spacing: 2px; font-size: 14px; color: var(--gold); text-transform: uppercase; }
.event-card h3 { margin: 0; font-family: var(--sport); font-size: 28px; font-weight: 900; font-style: italic; line-height: 1.15; text-transform: uppercase; }
.event-card .matchup { color: var(--muted); font-size: 14px; }
.event-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.event-card .purse { font-family: var(--sport); font-size: 26px; font-weight: 900; font-style: italic; color: var(--gold-2); line-height: 1.1; }
.event-card .purse small { display: block; font-family: var(--body); font-size: 11px; color: var(--muted); letter-spacing: 0; }

.rooster-card {
  display: block; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative;
  transition: border-color .2s, transform .2s;
}
.rooster-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.rooster-card .art { height: 240px; position: relative; overflow: hidden; }
.rooster-card .rank { z-index: 2; }
.rooster-card .rank { position: absolute; top: 12px; left: 14px; font-family: var(--display); font-size: 46px; transform: skewX(-8deg); font-weight: 700; color: var(--gold); line-height: 1; }
.rooster-card .rank small { font-size: 12px; color: var(--muted); display: block; letter-spacing: 2px; }
.rooster-card .body { padding: 14px 16px 16px; }
.rooster-card h3 { margin: 0; font-family: var(--sport); font-size: 24px; font-weight: 900; font-style: italic; line-height: 1.2; }
.rooster-card .meta { color: var(--muted); font-size: 13px; }
.rooster-card .rec { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 24px; }

/* ---------- Promo band ---------- */
.promo {
  border: 1px solid var(--gold-dim); border-radius: 16px; padding: 40px;
  background: radial-gradient(ellipse at 100% 0, rgba(233, 196, 106, .2), transparent 60%), var(--panel);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center;
}
.promo h2 { font-family: var(--sport); font-size: 46px; font-weight: 900; font-style: italic; margin: 6px 0 10px; line-height: 1.1; text-transform: uppercase; }
.promo p { color: var(--muted); margin: 0 0 20px; }
.promo .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.promo .stats div { border: 1px solid var(--line); border-radius: 10px; padding: 16px 8px; background: rgba(0, 0, 0, .3); }
.promo .stats b { display: block; font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--gold-2); transform: skewX(-8deg); }
.promo .stats span { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Page header ---------- */
.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 100% at 50% 0, rgba(233, 196, 106, .14), transparent 70%); }
.page-head h1 { font-family: var(--sport); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6vw, 64px); margin: 6px 0 4px; line-height: 1.05; }
.page-head p { color: var(--muted); margin: 0; }

.tabs { display: flex; gap: 8px; margin: 24px 0 28px; flex-wrap: wrap; }
.tabs button { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px; font-family: var(--body); font-size: 14px; cursor: pointer; }
.tabs button.active { color: #1a1205; background: var(--gold); border-color: var(--gold); font-weight: 600; }

/* ---------- Fight card (event page) ---------- */
.bout {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
  background: var(--panel);
}
.bout.main { border-color: var(--gold-dim); background: radial-gradient(ellipse at 50% 0, rgba(233, 196, 106, .12), transparent 70%), var(--panel-2); }
.bout .side { display: flex; align-items: center; gap: 14px; }
.bout .side.right { flex-direction: row-reverse; text-align: right; }
.bout .thumb { width: 72px; height: 72px; flex: none; border-radius: 50%; background: #0b0905; border: 1px solid var(--line); overflow: hidden; }

.bout .nm { font-weight: 600; font-size: 18px; }
.bout .sub { color: var(--muted); font-size: 13px; }
.bout .mid { text-align: center; min-width: 140px; }
.bout .mid .lbl { font-family: var(--display); letter-spacing: 2px; font-size: 11px; color: var(--gold); text-transform: uppercase; }
.bout .mid .p { font-family: var(--display); font-size: 22px; color: var(--gold-2); }
.bout .mid .res { font-size: 13px; color: var(--muted); }
.bout .w { color: var(--green); font-size: 12px; font-weight: 600; }
.bout .l { color: var(--red); font-size: 12px; font-weight: 600; }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 40px 0; }
.profile .art { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 1px solid var(--gold-dim); box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 40px rgba(233, 196, 106, .12); }
.profile h1 { font-size: clamp(36px, 5vw, 56px); margin: 6px 0 0; line-height: 1.1; }
.profile .en { font-family: var(--display); letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }
.big-record { display: flex; gap: 26px; margin: 22px 0; }
.big-record div { text-align: center; }
.big-record b { display: block; font-family: var(--display); font-size: 48px; line-height: 1; }
.big-record .w b { color: var(--gold-2); }
.big-record span { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--panel); }
.spec span { display: block; font-size: 12px; color: var(--muted); }
.spec b { font-weight: 500; }
.bars { margin-top: 18px; display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; }
.bar { height: 8px; background: #241e10; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: 99px; }

table.history { width: 100%; border-collapse: collapse; font-size: 14px; }
table.history th { text-align: left; font-weight: 400; color: var(--gold-dim); font-family: var(--display); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.history td { padding: 12px; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }

/* ---------- Watch ---------- */
.watch { display: grid; grid-template-columns: 1fr 340px; gap: 20px; padding: 24px 0 56px; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 50% 70%, #3b2e12, #0a0805 70%); border: 1px solid var(--line);
}
.player .scene { position: absolute; inset: 0; }
.player .scene .arena { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(1.08); animation: cam 14s ease-in-out infinite alternate; }
@keyframes cam { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-2%); } }
.player .hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent); }
.player .viewers { font-size: 13px; color: #fff; background: rgba(0, 0, 0, .5); padding: 4px 10px; border-radius: 4px; }
.player .scorebar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); font-size: 14px; }
.player .scorebar .round { font-family: var(--display); color: var(--gold); letter-spacing: 2px; }
.paywall {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: rgba(5, 4, 2, .82); backdrop-filter: blur(10px);
}
.paywall h3 { font-family: var(--display); font-size: 32px; margin: 8px 0 4px; }
.paywall p { color: var(--muted); margin: 0 0 18px; }
.under-player { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.under-player h1 { font-size: 26px; margin: 4px 0 0; line-height: 1.2; }
.chat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; height: 100%; min-height: 480px; max-height: 640px; }
.chat .h { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; justify-content: space-between; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.chat .msgs .m b { color: var(--gold); font-weight: 500; margin-right: 6px; }
.chat .msgs .m .flag { margin-right: 4px; }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat input { flex: 1; min-width: 0; background: #0b0905; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: var(--body); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 36px 0 64px; }
.plan { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--panel); cursor: pointer; margin-bottom: 12px; transition: border-color .2s; }
.plan:hover { border-color: var(--gold-dim); }
.plan.sel { border-color: var(--gold); background: radial-gradient(ellipse at 0 50%, rgba(233, 196, 106, .12), transparent 70%), var(--panel-2); }
.plan .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--gold-dim); flex: none; }
.plan.sel .radio { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 45%, transparent 50%); }
.plan .info { flex: 1; }
.plan .info b { display: block; font-size: 17px; font-weight: 600; }
.plan .info span { font-size: 13px; color: var(--muted); }
.plan .pr { font-family: var(--display); font-size: 26px; color: var(--gold-2); text-align: right; }
.plan .pr small { display: block; font-family: var(--body); font-size: 11px; color: var(--muted); }
.paymethods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 20px; }
.paymethods button { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 14px 8px; font-family: var(--body); cursor: pointer; font-size: 14px; }
.paymethods button.sel { border-color: var(--gold); color: var(--gold); }
.summary { border: 1px solid var(--gold-dim); border-radius: 16px; padding: 24px; background: var(--panel-2); position: sticky; top: 104px; align-self: start; }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary .total { font-family: var(--display); font-size: 30px; color: var(--gold-2); border: 0; padding-top: 14px; }
.fineprint { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- Modal / toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--panel-2); border: 1px solid var(--gold-dim); color: var(--text); padding: 12px 20px; border-radius: 10px;
  transition: opacity .25s, transform .25s; z-index: 100; max-width: calc(100% - 32px); text-align: center; font-size: 14px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; background: var(--bg-2); }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { color: var(--text); margin: 0 0 10px; font-weight: 600; }
footer a { display: block; padding: 3px 0; }
footer a:hover { color: var(--gold); }
footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .site-header .wrap { gap: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .nav [data-farm] { display: none; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .watch, .checkout, .profile, .promo { grid-template-columns: 1fr; }
  .chat { min-height: 380px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px; }
  .nav.open { display: flex; }
  .nav [data-farm] { display: block; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.active { border-bottom-color: var(--line); }
  .menu-btn { display: block; }
  .site-header .wrap { gap: 12px; height: 72px; }
  .logo .mark { width: 50px; height: 50px; }
  .logo { font-size: 21px; gap: 8px; min-width: 0; }
  .lang { padding: 6px 4px; font-size: 12px; max-width: 84px; }
  .header-actions { gap: 8px; flex: none; }
  .logo { flex: 1; }
  .header-actions .btn { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .faceoff { gap: 4px; }
  .countdown .cell { min-width: 64px; }
  .countdown .n { font-size: 30px; }
  .tale-row { grid-template-columns: 1fr 90px 1fr; font-size: 13px; }
  .bout { grid-template-columns: 1fr; text-align: center; }
  .bout .side, .bout .side.right { flex-direction: column; text-align: center; }
  .paymethods { grid-template-columns: 1fr 1fr; }
  .promo { padding: 24px; }
  .promo h2 { font-size: 30px; }
  .section-head h2 { font-size: 30px; }
  footer .cols { grid-template-columns: 1fr; }
}

/* ---------- Coming Soon banner (fire mood from the Kosem Farm poster) ---------- */
.cs-banner {
  position: relative; overflow: hidden; padding: 0;
  background:
    radial-gradient(ellipse 50% 70% at 28% 60%, rgba(255, 72, 0, .38), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(200, 30, 0, .35), transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(120, 20, 0, .45), transparent 70%),
    linear-gradient(180deg, #120403, #050101);
  border-top: 1px solid #5a1a0a; border-bottom: 1px solid #5a1a0a;
}
.cs-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 120, 40, .035) 60px 62px);
}
.cs-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 12px; min-height: 620px; max-width: 1360px; }
.cs-art { position: relative; align-self: stretch; min-height: 620px; }
.cs-kosem {
  position: absolute; left: -4%; top: 2%; z-index: 2; width: 84%; max-width: 640px; transform: scaleX(-1);
  filter: drop-shadow(0 0 2px rgba(255, 170, 60, .7)) drop-shadow(0 0 34px rgba(255, 80, 0, .5)) contrast(1.06) saturate(1.05);
}
.cs-kosem img { display: block; width: 100%; }
.cs-kosem img:first-child {
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 96%); mask-image: linear-gradient(180deg, #000 70%, transparent 96%);
}
.cs-art::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 30%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 90, 0, .35), transparent 70%); pointer-events: none;
}
.cs-copy { position: relative; z-index: 1; padding: 44px 0 40px; }
.cs-rule { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; color: var(--gold-2); font-weight: 800; font-style: italic; font-size: 19px; text-shadow: 0 2px 0 #2a0601; }
.cs-rule::before, .cs-rule::after { content: ""; height: 2px; flex: 0 1 60px; background: linear-gradient(90deg, transparent, var(--gold)); }
.cs-rule::after { transform: scaleX(-1); }
.cs-title { margin: 10px 0 18px; font-family: var(--display); font-weight: 700; line-height: .9; letter-spacing: 2px; }
.cs-live { display: flex; align-items: center; gap: .16em; font-size: clamp(72px, 10vw, 144px); transform: skewX(-8deg); }
.cs-live-text {
  position: relative;
  background: linear-gradient(180deg, #fff6c2 0%, #ffd23a 30%, #ff7a00 62%, #d4160a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 #3a0a02) drop-shadow(0 0 30px rgba(255, 90, 0, .7));
  animation: live-flicker 3.2s infinite;
}
/* Red broadcast-style ghost offset behind the gradient text */
.cs-live-text::before {
  content: attr(data-text); position: absolute; left: .04em; top: .02em; z-index: -1;
  color: rgba(226, 30, 10, .55); -webkit-text-fill-color: rgba(226, 30, 10, .55); filter: blur(1px);
}
.cs-dot {
  flex: none; width: .26em; height: .26em; border-radius: 50%; background: #ff2a1a;
  box-shadow: 0 0 0 .07em rgba(255, 42, 26, .28), 0 0 34px #ff2a1a; animation: pulse 1.2s infinite;
}
.cs-coming {
  display: flex; align-items: center; gap: 14px; margin-top: 14px; transform: skewX(-8deg);
  font-size: clamp(26px, 3.4vw, 46px); letter-spacing: .3em; color: #fff;
  text-shadow: 0 3px 0 #3a0a02, 0 0 26px rgba(255, 110, 0, .5);
}
.cs-coming::after { content: ""; flex: 1; max-width: 120px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }
@keyframes live-flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .55; } 95% { opacity: 1; } 96% { opacity: .7; } }
.cs-sub { color: #f1d9c8; font-size: 17px; font-weight: 500; margin: 6px 0 24px; }
.cs-sub strong { display: block; color: #fff; font-family: var(--sport); font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; font-style: italic; line-height: 1.2; text-transform: uppercase; text-shadow: 0 3px 0 #2a0601, 0 0 20px rgba(255, 90, 0, .35); }
.cs-sub b { color: #ff5a2a; font-weight: 800; font-style: italic; }
.cs-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-fire { background: linear-gradient(180deg, #ff6a1a, #c81a04); color: #fff; box-shadow: 0 8px 30px rgba(255, 60, 0, .4); }
.btn-fire:hover { box-shadow: 0 10px 40px rgba(255, 60, 0, .6); }
.cs-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 120, 40, .25); }
.cs-feat { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; }
.cs-feat i { font-style: normal; font-size: 24px; line-height: 1; filter: drop-shadow(0 0 8px rgba(255, 170, 40, .6)); }
.cs-feat b { display: block; color: #fff; font-size: 16px; font-weight: 800; font-style: italic; }
.cs-feat span { color: #d9b89c; font-size: 13px; font-weight: 500; }
.cs-embers { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.cs-embers i {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: radial-gradient(circle, #fff3b0, #ff8a00 50%, rgba(255, 60, 0, 0) 70%);
  animation: ember linear infinite; opacity: 0;
}
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--dx), -680px); opacity: 0; }
}
@media (max-width: 980px) {
  .cs-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .cs-art { min-height: 0; aspect-ratio: 1.1 / 1; }
  .cs-kosem { left: 0; width: 84%; }
  .cs-copy { padding: 8px 0 48px; text-align: center; }
  .cs-rule, .cs-cta, .cs-live, .cs-coming { justify-content: center; }
  .cs-coming::after { display: none; }
}
@media (max-width: 760px) {
  .cs-feats { grid-template-columns: 1fr; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .cs-embers { display: none; } }
