/* pdo2.com/rehber: player guide. Builds on site.css (colours, fonts, header, buttons). Every animation is CSS / SVG, starts when its
   figure scrolls into view (.play, rehber.js) and is off under prefers-reduced-motion (site.css), where the final state is shown. */

.g-hero {
  position: relative; padding: 132px 0 64px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(192, 57, 43, 0.18), transparent 60%), var(--bg);
}
.g-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../media/rehber/hero.webp') center 30% / cover no-repeat; opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  animation: g-drift 26s ease-in-out infinite alternate;
}
@keyframes g-drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1%); } }
.g-hero .wrap { position: relative; z-index: 1; }
.g-hero .kicker { font: 700 12px/1 var(--head); letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; }
.g-hero h1 {
  margin: 14px 0 12px; font-size: clamp(36px, 6vw, 64px); font-weight: 900;
  background: linear-gradient(180deg, #fff6dc 0%, var(--gold-hi) 40%, var(--gold) 70%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7));
}
.g-hero .lede { max-width: 640px; color: #e8d9bb; font-size: 17px; text-shadow: 0 2px 10px #000; }
.g-hero .note { color: var(--muted); font-size: 14px; }

/* quick jump tiles */
.g-index { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 34px; }
.g-index a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px;
  background: linear-gradient(180deg, rgba(30, 20, 14, 0.9), rgba(14, 10, 8, 0.92));
  border: 1px solid var(--line); border-radius: 6px; color: #f1e2c3; text-align: center;
  font: 700 13px/1.25 var(--head); letter-spacing: 0.03em;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  opacity: 0; transform: translateY(14px); animation: g-up 0.6s ease forwards; animation-delay: calc(var(--i) * 60ms + 150ms);
}
.g-index a:hover { transform: translateY(-3px); border-color: var(--line-hi); box-shadow: 0 10px 30px rgba(227, 160, 60, 0.18); color: #fff3d6; }
.g-index img { width: 56px; height: 56px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6)); transition: transform 0.3s; }
.g-index a:hover img { transform: scale(1.08) rotate(-3deg); }
.g-index .chip { position: absolute; top: 6px; right: 6px; }
@keyframes g-up { to { opacity: 1; transform: none; } }

/* status chip: «Yakında» stays until data/rehber.json says the feature is in the game */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; vertical-align: middle;
  font: 700 10.5px/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.chip.soon { color: #ffd9a8; background: rgba(192, 57, 43, 0.22); border: 1px solid rgba(240, 120, 80, 0.5); }
.chip.soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff9a5c; animation: g-pulse 1.6s ease-in-out infinite; }
.chip.live { color: #c9f2d0; background: rgba(63, 163, 138, 0.18); border: 1px solid rgba(63, 163, 138, 0.55); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5fd3a8; }
@keyframes g-pulse { 50% { opacity: 0.35; transform: scale(0.7); } }

/* sections */
.g-sec { position: relative; padding: 88px 0; border-top: 1px solid rgba(227, 180, 90, 0.08); }
.g-sec.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 10%, var(--bg2) 90%, var(--bg) 100%); }
.g-sec > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.g-sec.wide > .wrap { grid-template-columns: 1fr; }
.g-sec.flip > .wrap > .g-fig { order: -1; }
.g-head .kicker { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--head); letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }
.g-head .kicker img { width: 40px; height: 40px; }
.g-head h2 { margin: 12px 0 6px; font-size: clamp(26px, 3.6vw, 38px); color: #fff0cf; }
.g-head h2 .chip { margin-left: 8px; position: relative; top: -4px; }
.g-head .lead { color: #e0d0b0; font-size: 16.5px; margin: 10px 0 18px; }
.season-dates { display: inline-block; margin: -6px 0 12px; padding: 8px 14px; border: 1px solid rgba(227, 180, 90, 0.4); border-radius: 6px; background: rgba(192, 57, 43, 0.12); color: #f1e2c3; font-size: 15px; }
.g-text h3 { margin: 26px 0 10px; font-size: 19px; color: var(--gold-hi); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-text p, .g-text li { color: #dccbab; }
.g-text ul, .g-text ol { margin: 0 0 1em; padding-left: 20px; }
.g-text li { margin: 4px 0; }
.g-text li::marker { color: var(--gold); }
.g-text strong { color: #fff0cf; }
.g-text .fine { font-size: 13px; color: var(--dim); }
/* site.css scroll-padding-top 72 px + these: a section lands with its heading just under the header, a sub-anchor 84 px down */
.g-anchor { scroll-margin-top: 12px; }
section.g-anchor { scroll-margin-top: -80px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.facts dt, .facts dd { margin: 0; padding: 10px 14px; border-top: 1px solid rgba(227, 180, 90, 0.12); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { font: 700 12px/1.5 var(--head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); background: rgba(227, 180, 90, 0.06); }
.facts dd { color: #e8d8b8; }

.npcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 6px 0 14px; padding: 0; list-style: none; }
.npcs li { margin: 0; padding: 10px 12px; border-left: 2px solid var(--gold-lo); background: rgba(255, 255, 255, 0.025); border-radius: 0 4px 4px 0; font-size: 14px; }
.npcs b { display: block; color: #fff0cf; font: 700 14px/1.3 var(--head); }

/* figure frame: A2 lacquer panel */
.g-fig { position: sticky; top: 84px; margin: 0; }
.gpanel {
  position: relative; border: 1px solid rgba(227, 180, 90, 0.45); border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(126, 26, 20, 0.28), transparent 70%), linear-gradient(180deg, #1b120d, #0f0a08);
  box-shadow: 0 0 0 1px #000, 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 230, 170, 0.08);
}
.gpanel::after { content: ''; position: absolute; z-index: 3; inset: 5px; border: 1px solid rgba(227, 180, 90, 0.14); border-radius: 5px; pointer-events: none; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-bottom: 1px solid rgba(227, 180, 90, 0.22); background: rgba(0, 0, 0, 0.25); font: 700 13px/1 var(--head); letter-spacing: 0.14em; color: var(--gold-hi); text-transform: uppercase; }
.panel-title small { font: 600 11px/1 var(--body); letter-spacing: 0.04em; color: var(--muted); text-transform: none; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); text-align: center; }
.banner-img { width: 100%; border-radius: 6px; border: 1px solid var(--line); margin: 0 0 18px; aspect-ratio: 1280 / 200; object-fit: cover; }

/* ============================================================ 1. activity centre + queue (fig-kuyruk, 10 s loop) */
.q-rows { padding: 8px 12px 14px; }
.q-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid rgba(227, 180, 90, 0.1); }
.q-row:last-child { border-bottom: 0; }
.q-row img { width: 44px; height: 44px; }
.q-row b { display: block; font: 700 15px/1.2 var(--head); color: #fff0cf; }
.q-row small { color: var(--muted); font-size: 12.5px; }
.q-btn { position: relative; min-width: 118px; padding: 9px 12px; border-radius: 4px; text-align: center; font: 700 11.5px/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: #2a1406; background: linear-gradient(180deg, #ffe39f, var(--gold) 50%, var(--gold-lo)); border: 1px solid #ffe7ad; }
.q-btn.line { color: var(--gold-hi); background: rgba(0, 0, 0, 0.3); border-color: var(--line-hi); }
.q-btn .q-in { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 3px; color: #d7f5e5; background: linear-gradient(180deg, #2b6b58, #174236); border: 1px solid #5fd3a8; opacity: 0; }
.q-btn .q-in::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 2px; background: #8ff0c8; transform-origin: left; transform: scaleX(0); }
.q-ready {
  position: absolute; left: 50%; top: 50%; width: min(300px, 84%); transform: translate(-50%, -50%) scale(0.9); opacity: 0; pointer-events: none;
  padding: 18px 18px 16px; text-align: center; border-radius: 8px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, #2a1a10, #140d09); box-shadow: 0 0 0 1px #000, 0 0 50px rgba(227, 160, 60, 0.35);
}
.q-ready b { display: block; font: 700 17px/1.2 var(--head); color: #fff0cf; }
.q-ready small { color: var(--muted); font-size: 12.5px; }
.q-ring { width: 70px; height: 70px; margin: 10px auto 8px; }
.q-ring circle { fill: none; stroke-width: 6; }
.q-ring .bg { stroke: rgba(227, 180, 90, 0.18); }
.q-ring .fg { stroke: var(--gold-hi); stroke-dasharray: 188.5; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-linecap: round; }
.q-ring text { fill: #fff0cf; font: 700 20px/1 var(--head); text-anchor: middle; dominant-baseline: central; }
.q-ready .q-acts { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.q-ready .q-btn { min-width: 0; padding: 8px 14px; }
.q-flash { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 230, 160, 0.55), rgba(20, 12, 8, 0.9) 70%); opacity: 0; pointer-events: none; font: 700 16px/1.3 var(--head); color: #fff4d6; text-align: center; padding: 20px; }
.q-cursor { position: absolute; width: 22px; height: 22px; left: 70%; top: 92%; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 4px #000); }
.q-cursor::after { content: ''; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold-hi); opacity: 0; }
.play .q-cursor { animation: q-cursor 10s ease-in-out infinite; }
.play .q-cursor::after { animation: q-click 10s ease-out infinite; }
.play .q-in { animation: q-in 10s step-end infinite; }
.play .q-in::after { animation: q-bar 10s linear infinite; }
.play .q-ready { animation: q-ready 10s ease infinite; }
.play .q-ring .fg { animation: q-ring 10s linear infinite; }
.play .q-flash { animation: q-flash 10s ease infinite; }
@keyframes q-cursor {
  0% { left: 60%; top: 95%; opacity: 0; } 6% { opacity: 1; } 16% { left: 84%; top: 25%; } 22% { left: 84%; top: 25%; }
  40% { left: 70%; top: 60%; } 50% { left: 39%; top: 69%; } 60% { left: 39%; top: 69%; opacity: 1; } 66% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes q-click { 0%, 17% { opacity: 0; transform: scale(0.4); } 19% { opacity: 1; transform: scale(1); } 23% { opacity: 0; transform: scale(1.6); } 53%, 100% { opacity: 0; } 55% { opacity: 1; transform: scale(1); } 59% { opacity: 0; transform: scale(1.6); } }
@keyframes q-in { 0% { opacity: 0; } 19% { opacity: 1; } 58% { opacity: 0; } }
@keyframes q-bar { 0%, 19% { transform: scaleX(0); } 40% { transform: scaleX(1); } 41%, 100% { transform: scaleX(0); } }
@keyframes q-ready { 0%, 38% { opacity: 0; transform: translate(-50%, -46%) scale(0.92); } 42%, 57% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 61%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.04); } }
@keyframes q-ring { 0%, 40% { stroke-dashoffset: 0; } 56% { stroke-dashoffset: 60; } 100% { stroke-dashoffset: 60; } }
@keyframes q-flash { 0%, 58% { opacity: 0; } 63%, 82% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* ============================================================ 2-3. battlefield map + Son Çatışma (SVG, scene 57 coordinates) */
.map { display: block; width: 100%; height: auto; background: radial-gradient(circle at 50% 50%, #2a2216 0%, #17110c 70%); }
.map .grid { stroke: rgba(227, 180, 90, 0.07); stroke-width: 1; }
.map .road { fill: none; stroke: rgba(227, 190, 120, 0.16); stroke-width: 14; stroke-linecap: round; }
.map .camp-red { fill: rgba(192, 57, 43, 0.22); stroke: #e0624f; stroke-width: 2; }
.map .camp-blue { fill: rgba(52, 110, 190, 0.22); stroke: #5d9ae6; stroke-width: 2; }
.map .lbl { font: 700 15px/1 var(--head); fill: #f6e5c3; letter-spacing: 0.06em; paint-order: stroke; stroke: #000; stroke-width: 4px; }
.map .lbl.sm { font-size: 12px; fill: var(--muted); }
.map .mob { fill: #9a8f7a; }
.map .red { fill: #ff7563; } .map .blue { fill: #7fb6ff; }
.play .map .mob { animation: m-wander 6s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1s); }
@keyframes m-wander { to { transform: translate(var(--dx, 8px), var(--dy, -6px)); } }
.play .map .fighter { animation: m-fight 4s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1s); }
@keyframes m-fight { to { transform: translate(var(--dx, 20px), var(--dy, 20px)); } }
.pop { font: 700 16px/1 var(--head); paint-order: stroke; stroke: #000; stroke-width: 4px; opacity: 0; }
.pop.red { fill: #ffb09f; } .pop.blue { fill: #b7d6ff; } .pop.gold { fill: var(--gold-hi); font-size: 22px; }
.play .pop { animation: m-pop 4s ease-out infinite; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes m-pop { 0% { opacity: 0; transform: translateY(6px); } 10% { opacity: 1; } 40% { opacity: 1; transform: translateY(-16px); } 55%, 100% { opacity: 0; transform: translateY(-22px); } }
.score { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(227, 180, 90, 0.18); font: 700 13px/1 var(--head); }
.score .bar { position: relative; height: 10px; border-radius: 6px; background: #5d9ae6; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6); }
.score .bar i { position: absolute; inset: 0 auto 0 0; width: 50%; background: linear-gradient(90deg, #a3271d, #e0624f); box-shadow: 2px 0 6px rgba(255, 255, 255, 0.4); }
.play .score .bar i { animation: m-tug 8s ease-in-out infinite; }
@keyframes m-tug { 0% { width: 50%; } 25% { width: 57%; } 45% { width: 52%; } 70% { width: 61%; } 85% { width: 55%; } 100% { width: 50%; } }
.score .r { color: #ff9a88; } .score .b { color: #9cc6ff; }

/* Son Çatışma: 12 s loop. 0-15 % zone full, phase 1 15-35, phase 2 35-55, phase 3 55-75, final 75-100 */
.ls-outside { fill: rgba(150, 20, 14, 0.5); }
.ls-zone { fill: none; stroke: #ffd27a; stroke-width: 3; stroke-dasharray: 10 6; filter: drop-shadow(0 0 6px rgba(255, 200, 100, 0.8)); }
.ls-mask { fill: #000; }
.play .ls-shrink { animation: ls-shrink 12s ease-in-out infinite; transform-box: view-box; transform-origin: 255.5px 256px; }
@keyframes ls-shrink { 0%, 15% { transform: scale(1); } 33%, 35% { transform: scale(0.36); } 53%, 55% { transform: scale(0.22); } 73%, 100% { transform: scale(0.1); } }
.play .ls-zone { animation: ls-shrink 12s ease-in-out infinite, ls-dash 1.2s linear infinite; }
@keyframes ls-dash { to { stroke-dashoffset: -16; } }
.ls-flag { opacity: 0; }
.play .ls-flag { animation: ls-flag 12s ease-in-out infinite; }
@keyframes ls-flag { 0%, 16% { opacity: 0; transform: translate(0, 0) scale(0.4); } 20% { opacity: 1; transform: translate(0, 0) scale(1.15); } 24% { transform: translate(0, 0) scale(1); } 40% { opacity: 1; transform: translate(0, 0); } 78% { opacity: 1; transform: translate(-188px, -192px); } 82%, 100% { opacity: 0; transform: translate(-188px, -192px); } }
.ls-carrier { opacity: 0; }
.play .ls-carrier { animation: ls-carrier 12s ease-in-out infinite; }
@keyframes ls-carrier { 0%, 30% { opacity: 0; transform: translate(26px, 30px); } 36% { opacity: 1; transform: translate(0, 0); } 40% { transform: translate(0, 0); } 78% { opacity: 1; transform: translate(-188px, -192px); } 84%, 100% { opacity: 0; transform: translate(-188px, -192px); } }
.ls-ring-pick { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-dasharray: 69.1; stroke-dashoffset: 69.1; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; opacity: 0; }
.play .ls-ring-pick { animation: ls-pick 12s linear infinite; }
@keyframes ls-pick { 0%, 35% { opacity: 0; stroke-dashoffset: 69.1; } 36% { opacity: 1; } 40% { opacity: 1; stroke-dashoffset: 0; } 41%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.ls-deliver { opacity: 0; }
.play .ls-deliver { animation: ls-deliver 12s ease-out infinite; }
@keyframes ls-deliver { 0%, 78% { opacity: 0; transform: translateY(8px); } 80% { opacity: 1; } 92% { opacity: 1; transform: translateY(-18px); } 97%, 100% { opacity: 0; transform: translateY(-22px); } }
.ls-phase { font: 700 14px/1 var(--head); fill: #ffe0a8; paint-order: stroke; stroke: #000; stroke-width: 4px; opacity: 0; }
.play .ls-phase.p1 { animation: ls-p1 12s step-end infinite; }
.play .ls-phase.p2 { animation: ls-p2 12s step-end infinite; }
.play .ls-phase.p3 { animation: ls-p3 12s step-end infinite; }
@keyframes ls-p1 { 0% { opacity: 0; } 15% { opacity: 1; } 35% { opacity: 0; } }
@keyframes ls-p2 { 0% { opacity: 0; } 35% { opacity: 1; } 55% { opacity: 0; } }
@keyframes ls-p3 { 0% { opacity: 0; } 55% { opacity: 1; } }
.timeline { padding: 14px 16px 16px; border-top: 1px solid rgba(227, 180, 90, 0.18); }
.tl-track { position: relative; height: 26px; border-radius: 4px; background: linear-gradient(90deg, rgba(227, 180, 90, 0.16), rgba(227, 180, 90, 0.1)); }
.tl-ph { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; font: 700 11px/1 var(--body); color: #fff; border-left: 1px solid rgba(0, 0, 0, 0.5); }
.tl-ph.a { left: 60%; width: 10%; background: rgba(214, 110, 40, 0.55); }
.tl-ph.b { left: 70%; width: 10%; background: rgba(200, 70, 34, 0.7); }
.tl-ph.c { left: 80%; width: 10%; background: rgba(170, 30, 22, 0.85); }
.tl-ph.d { left: 90%; width: 10%; background: rgba(120, 16, 12, 0.85); }
.tl-head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: #fff4d6; box-shadow: 0 0 8px #ffd27a; }
.play .tl-head { animation: tl-head 12s linear infinite; }
@keyframes tl-head { 0% { left: 0; } 15% { left: 60%; } 35% { left: 70%; } 55% { left: 80%; } 75% { left: 90%; } 100% { left: 100%; } }
.tl-ticks { position: relative; height: 12px; margin-top: 6px; font: 600 11px/1 var(--body); color: var(--muted); }
.tl-ticks span { position: absolute; left: 0; white-space: nowrap; }
.tl-ticks span:nth-child(2) { left: 60%; transform: translateX(-50%); }
.tl-ticks span:nth-child(3) { left: auto; right: 0; }

/* ============================================================ 4. arenas */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acard { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #120c09; transition: transform 0.25s, border-color 0.25s; }
.acard:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.acard img.cover { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform 0.6s; }
.acard:hover img.cover { transform: scale(1.04); }
.acard .in { padding: 14px 16px 16px; }
.acard h3 { margin: 0 0 6px; font-size: 18px; color: #fff0cf; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acard p { margin: 0; color: #d6c4a4; font-size: 14.5px; }
.acard .shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 240, 200, 0.18) 50%, transparent 65%); transform: translateX(-100%); pointer-events: none; }
.play .acard .shine { animation: a-shine 5s ease-in-out infinite; }
.play .acard:nth-child(2) .shine { animation-delay: 2.5s; }
@keyframes a-shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }

/* ============================================================ 4b. dungeons */
.dgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.dg { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #120c09; transition: transform 0.25s, border-color 0.25s; }
.dg:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.dg img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s; }
.dg:hover img { transform: scale(1.05); }
.dg-in { padding: 10px 12px 12px; }
.dg h3 { margin: 0 0 6px; font-size: 15px; color: #fff0cf; }
.dg-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dg-lv { padding: 2px 8px; border: 1px solid var(--goldLo, #7a5e33); font: 700 11.5px/1.3 var(--body); color: #fff1d0; }
.dg-st { color: var(--gold-hi); letter-spacing: 1px; font-size: 13px; } .dg-st i { color: #4a3d30; font-style: normal; }
.dg p { margin: 0; font-size: 12.5px; color: #cdbb9a; }
.dg p.dg-loot { margin-top: 4px; color: #e3cf9f; }
.play .dg { animation: b-in 0.5s ease backwards; animation-delay: calc(var(--i) * 60ms); }

/* ============================================================ week calendar */
.week { display: grid; grid-template-columns: 112px repeat(7, minmax(0, 1fr)); gap: 4px; padding: 14px; font-size: 12.5px; }
.week .h { text-align: center; font: 700 12px/1 var(--head); color: var(--gold); padding: 6px 0; letter-spacing: 0.06em; }
.week .n { display: flex; align-items: center; gap: 6px; color: #f1e2c3; font: 700 12.5px/1.2 var(--head); }
.week .n img { width: 26px; height: 26px; }
.week .c { min-height: 34px; border-radius: 4px; background: rgba(255, 255, 255, 0.03); display: grid; place-items: center; text-align: center; color: #1c0f06; font: 700 11px/1.15 var(--body); padding: 2px; }
.week .c.on { background: linear-gradient(180deg, #ffe39f, var(--gold) 60%, var(--gold-lo)); box-shadow: 0 0 0 1px rgba(255, 231, 173, 0.6); }
.week .c.on.jade { background: linear-gradient(180deg, #9ef0d4, #3fa38a 60%, #1f6b58); }
.week .c.on.red { background: linear-gradient(180deg, #ffb7a6, #c0392b 60%, #7e1a14); color: #fff2ea; }
/* three battlefield sessions in one day cell: stacked */
.week .c:has(i) { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; font-size: 10px; padding: 2px 0; }
.week .c i { font-style: normal; }
.play .week .c.on { animation: w-in 0.5s ease backwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes w-in { from { opacity: 0; transform: scale(0.6); } }

/* siege power map strip under the dynasty week */
.map-strip { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 45%; border-top: 1px solid rgba(227, 180, 90, 0.2); }

/* ============================================================ 5. task board (fig-pano, 9 s loop) */
.tasks { list-style: none; margin: 0; padding: 10px 14px 14px; }
.tasks li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid rgba(227, 180, 90, 0.1); font-size: 14px; color: #ecdcbc; }
.tasks li:last-child { border-bottom: 0; }
.tasks .pb { grid-column: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.tasks .pb i { display: block; height: 100%; width: var(--w, 100%); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; }
.tasks .ok { grid-row: 1 / span 2; grid-column: 2; width: 58px; padding: 6px 0; border-radius: 4px; text-align: center; font: 700 11px/1 var(--head); letter-spacing: 0.08em; color: #2a1406; background: linear-gradient(180deg, #ffe39f, var(--gold) 50%, var(--gold-lo)); }
.tasks .ok.wait { color: var(--muted); background: rgba(255, 255, 255, 0.05); }
.tasks .xp { color: var(--gold); font-size: 12px; }
.play .tasks .pb i { animation: t-fill 9s ease-out infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes t-fill { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.play .tasks .ok:not(.wait) { animation: t-ok 9s ease infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes t-ok { 0%, 28% { filter: grayscale(1) brightness(0.5); } 32% { filter: none; box-shadow: 0 0 0 0 rgba(255, 220, 140, 0.8); } 45% { box-shadow: 0 0 0 10px rgba(255, 220, 140, 0); } 100% { filter: none; } }

/* login calendar: 30 day cells */
.cal { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 14px; }
.cal span { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 4px; font: 700 12px/1 var(--head); color: #8e7a5c; background: rgba(255, 255, 255, 0.04) url('../media/rehber/gun_hucresi.webp') center / cover; opacity: 0.55; }
.cal span.got { color: #2a1406; opacity: 1; }
.cal span.got::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(227, 180, 90, 0.75); border-radius: 4px; color: #2a1406; font-size: 15px; }
.cal span.miss { opacity: 0.25; filter: grayscale(1); }
.cal span.today { opacity: 1; color: #fff0cf; box-shadow: 0 0 0 2px var(--gold-hi), 0 0 18px rgba(255, 210, 120, 0.6); }
.play .cal span.got::after { animation: c-got 0.4s ease backwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes c-got { from { opacity: 0; transform: scale(0.4); } }
.play .cal span.today { animation: c-today 1.6s ease-in-out infinite; }
@keyframes c-today { 50% { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 30px rgba(255, 210, 120, 0.9); } }

/* ============================================================ 6. guild weekly goal */
.goal { padding: 22px 18px 18px; }
.goal-track { position: relative; height: 16px; margin: 86px 26px 52px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6); }
.goal-track > i { position: absolute; inset: 0 auto 0 0; width: 72%; border-radius: 10px; background: linear-gradient(90deg, #1f6b58, #3fa38a 60%, #9ef0d4); box-shadow: 0 0 14px rgba(63, 163, 138, 0.6); transform-origin: left; }
.play .goal-track > i { animation: g-fill 8s ease-in-out infinite; }
@keyframes g-fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.goal-mark { position: absolute; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; }
.goal-mark img { width: 46px; height: 46px; margin-top: -58px; filter: grayscale(0.8) brightness(0.6); }
.goal-mark b { margin-top: 30px; font: 700 12px/1 var(--head); color: var(--muted); white-space: nowrap; }
.play .goal-mark.reach img { animation: g-chest 8s ease infinite; animation-delay: var(--t); }
@keyframes g-chest { 0% { filter: grayscale(0.8) brightness(0.6); transform: none; } 4% { filter: none; transform: scale(1.25); } 8%, 82% { filter: drop-shadow(0 0 10px rgba(255, 210, 120, 0.9)); transform: none; } 100% { filter: grayscale(0.8) brightness(0.6); } }
.goal-pops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.goal-pops span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(63, 163, 138, 0.55); background: rgba(63, 163, 138, 0.12); color: #c9f2e2; font: 600 12px/1.2 var(--body); }
.play .goal-pops span { animation: g-pop 8s ease infinite; animation-delay: calc(var(--i) * 0.6s); }
@keyframes g-pop { 0% { opacity: 0.3; transform: translateY(4px); } 6%, 60% { opacity: 1; transform: none; } 100% { opacity: 0.3; } }

/* ============================================================ 7. titles, frames, badges */
.titles { position: relative; padding: 22px 16px 18px; text-align: center; }
.title-stage { position: relative; height: 112px; display: grid; place-items: center; }
.title-stage img { position: absolute; width: min(420px, 92%); height: auto; opacity: 0; transform: translateY(8px) scale(0.96); }
.title-stage img:first-child { opacity: 1; transform: none; }
.play .title-stage img { animation: tt-cycle 24s ease infinite; animation-delay: calc(var(--i) * 3s); opacity: 0; }
@keyframes tt-cycle { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 2%, 11% { opacity: 1; transform: none; } 13%, 100% { opacity: 0; transform: translateY(-6px) scale(1.02); } }
.title-name { display: inline-block; margin-top: 2px; padding: 4px 16px; border-radius: 3px; background: rgba(0, 0, 0, 0.45); font: 700 15px/1.2 var(--body); color: #9ff0a8; }
.title-name small { color: #ffe39f; margin-right: 6px; font-weight: 600; }
.title-list { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; text-align: left; }
.title-list li { display: grid; grid-template-columns: 180px 1fr; gap: 10px; align-items: center; margin: 0; font-size: 12.5px; color: #cdbb9a; }
.title-list img { width: auto; max-width: 180px; height: 34px; }
.frames { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 18px 12px 6px; }
.frames figure { margin: 0; text-align: center; }
.frames .fr { position: relative; width: 100px; height: 100px; margin: 0 auto; }
.frames .fr img, .frames .fr video { position: absolute; inset: 0; width: 100%; height: 100%; }
.frames figcaption { margin-top: 4px; font-size: 12px; color: #cdbb9a; }
.frames figcaption b { display: block; color: #fff0cf; font: 700 13px/1.2 var(--head); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 12px 18px; }
.badges img { width: 52px; height: 52px; transition: transform 0.25s; }
.badges img:hover { transform: scale(1.15) rotate(-4deg); }
.play .badges img { animation: b-in 0.5s ease backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes b-in { from { opacity: 0; transform: scale(0.5) rotate(-20deg); } }

/* ============================================================ 8. season card track */
.season-top { position: relative; }
.season-top img { width: 100%; aspect-ratio: 1280 / 200; object-fit: cover; display: block; }
.season-top .ttl { position: absolute; left: 18px; bottom: 12px; font: 900 clamp(18px, 2.6vw, 26px)/1.1 var(--head); color: #fff2d0; text-shadow: 0 2px 10px #000, 0 0 20px rgba(255, 150, 60, 0.5); }
.season-top .ttl small { display: block; font: 700 11px/1 var(--head); letter-spacing: 0.3em; color: var(--gold-hi); margin-bottom: 6px; }
.track-wrap { overflow-x: auto; padding: 16px 14px 10px; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.track { position: relative; display: grid; grid-template-columns: repeat(50, 26px); gap: 4px; align-items: end; width: max-content; padding-top: 52px; }
.track::before { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); }
.track .xp { position: absolute; left: 0; bottom: 10px; height: 6px; width: calc(23 * 30px); border-radius: 4px; background: linear-gradient(90deg, #c0392b, var(--gold) 70%, var(--gold-hi)); box-shadow: 0 0 10px rgba(255, 190, 90, 0.7); transform-origin: left; }
.play .track .xp { animation: k-xp 7s ease-in-out infinite; }
@keyframes k-xp { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.track .t { position: relative; z-index: 1; height: 26px; display: grid; place-items: center; border-radius: 50%; font: 700 9.5px/1 var(--body); color: #8e7a5c; background: #1b130e; border: 1px solid rgba(227, 180, 90, 0.25); }
.track .t.got { color: #2a1406; background: linear-gradient(180deg, #ffe39f, var(--gold)); border-color: #ffe7ad; }
.track .rw { position: absolute; bottom: 30px; left: 50%; width: 40px; height: 40px; transform: translateX(-50%); }
.track .rw.vit { width: 48px; height: 48px; background: url('../media/rehber/vitrin_cerceve.webp') center / contain no-repeat; display: grid; place-items: center; }
.track .rw img { width: 100%; height: 100%; }
.track .rw.vit img { width: 30px; height: 30px; }
.track .t.claim .rw { animation: k-claim 1.4s ease-in-out infinite; }
@keyframes k-claim { 50% { transform: translateX(-50%) translateY(-4px); filter: drop-shadow(0 0 8px rgba(255, 210, 120, 0.9)); } }
.lanes-note { display: flex; gap: 14px; flex-wrap: wrap; padding: 0 16px 14px; font-size: 12.5px; color: var(--muted); }
.lanes-note b { color: #f1e2c3; }

.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 6px; }
.rank { padding: 14px 10px 12px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, 0.02); }
.rank b { display: block; font: 700 14px/1.25 var(--head); color: #fff0cf; margin-bottom: 8px; }
.rank .m { display: flex; justify-content: center; gap: 2px; }
.rank .m img { width: 34px; height: 34px; }
.play .rank .m img { animation: r-bob 3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.2s); }
@keyframes r-bob { 50% { transform: translateY(-3px); } }
.rank small { display: block; margin-top: 8px; font-size: 12px; color: #cdbb9a; line-height: 1.45; }
/* PLAT: platinum (A2 silver-blue) block with the badge, the animated PLAT frame and the perk medallions */
.plat { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; margin: 18px 0 0; padding: 22px; border-color: rgba(175, 195, 218, 0.55);
  background: radial-gradient(ellipse at 0% 0%, rgba(175, 195, 218, 0.16), transparent 60%), linear-gradient(180deg, #161a20, #0e1014); }
.plat-art { position: relative; display: grid; justify-items: center; gap: 10px; align-content: start; }
.plat-badge { width: 120px; height: 120px; filter: drop-shadow(0 6px 18px rgba(175, 195, 218, 0.35)); }
.play .plat-badge { animation: pl-float 4s ease-in-out infinite; }
@keyframes pl-float { 50% { transform: translateY(-5px); filter: drop-shadow(0 10px 24px rgba(175, 195, 218, 0.55)); } }
.plat-art .fr { position: relative; width: 120px; height: 120px; }
.plat-art .fr img, .plat-art .fr video { position: absolute; inset: 0; width: 100%; height: 100%; }
.plat-body h3 { margin-top: 0; color: #e6eef8; }
.plat-body p { color: #cfd8e3; }
.perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 6px 0 14px !important; padding: 0 !important; }
.perks li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; margin: 0; color: #dfe7f1; font-size: 14.5px; }
.perks li b { color: #ffffff; }
.perks img { width: 48px; height: 48px; }
.play .perks li { animation: pl-in 0.5s ease backwards; animation-delay: calc(var(--i) * 90ms + 0.2s); }
@keyframes pl-in { from { opacity: 0; transform: translateX(-10px); } }

/* ============================================================ 9. daily routine */
.day { position: relative; list-style: none; margin: 0; padding: 18px 18px 8px 18px; counter-reset: d; }
.day::before { content: ''; position: absolute; left: 43px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--gold-lo)); transform-origin: top; }
.play .day::before { animation: d-line 2.4s ease-out both; }
@keyframes d-line { from { transform: scaleY(0); } }
.day li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; margin: 0 0 14px; }
.day li img { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #1b130e; box-shadow: 0 0 0 2px var(--gold-lo), 0 0 0 5px #0f0a08; }
.day li b { display: block; font: 700 15.5px/1.3 var(--head); color: #fff0cf; }
.day li b + span { font-size: 13.5px; color: #cdbb9a; }
.play .day li { animation: d-in 0.6s ease backwards; animation-delay: calc(var(--i) * 0.4s + 0.2s); }
@keyframes d-in { from { opacity: 0; transform: translateX(-14px); } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .g-index a { opacity: 1; transform: none; } }

.g-end { padding: 70px 0 90px; text-align: center; }
.g-end p { color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.g-end .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .g-index { grid-template-columns: repeat(4, 1fr); }
  .ranks { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .g-sec > .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .g-sec.flip > .wrap > .g-fig { order: 0; }
  .g-fig { position: relative; top: 0; }
  .g-index { grid-template-columns: repeat(3, 1fr); }
  .g-sec { padding: 64px 0; }
}
@media (max-width: 560px) {
  .g-hero { padding: 104px 0 44px; }
  .g-index { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .g-index a { padding: 12px 6px; font-size: 12px; }
  .g-index img { width: 44px; height: 44px; }
  .g-index .chip { position: static; margin-top: -2px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-top: 1px solid rgba(227, 180, 90, 0.12); padding-bottom: 2px; }
  .facts dd { border-top: 0; padding-top: 2px; }
  .facts dt:first-of-type { border-top: 0; }
  .cards2 { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .week { grid-template-columns: 78px repeat(7, minmax(0, 1fr)); gap: 3px; padding: 10px 8px; font-size: 10.5px; }
  .week .n { font-size: 11px; } .week .n img { display: none; }
  .week .c { font-size: 9.5px; min-height: 30px; }
  .week .c:has(i) { font-size: 9px; }
  .title-list { grid-template-columns: 1fr; }
  .ranks { grid-template-columns: 1fr 1fr; }
  .plat { grid-template-columns: minmax(0, 1fr); }
  .plat-art { grid-auto-flow: column; justify-content: center; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .q-btn { min-width: 96px; font-size: 10.5px; }
  .cal { grid-template-columns: repeat(6, 1fr); }
}
