/* ================================================================
   GUARD KEY — koyu mavi / lacivert tema
   ================================================================ */
:root {
  --bg: #060b1c;
  --bg-2: #0a1230;
  --card: #0f1a3d;
  --card-2: #13224d;
  --border: #1d2f63;
  --primary: #3b82f6;
  --primary-2: #2563eb;
  --accent: #22d3ee;
  --text: #e8eeff;
  --muted: #8da0cf;
  --green: #16a34a;
  --green-2: #15803d;
  --warn: #f59e0b;
  --warn-bg: rgba(245, 158, 11, .10);
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 50% -10%, #12255c 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text); font-family: var(--font); line-height: 1.55;
}
body.no-scroll { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 11, 28, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--primary); }
.brand span { background: linear-gradient(90deg, #60a5fa, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav a.active { color: var(--text); background: var(--card-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip { color: var(--muted); font-size: .9rem; padding: 0 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border); transition: .2s;
}
.icon-btn:hover { border-color: var(--primary); }
.icon-btn.active { background: var(--primary-2); border-color: var(--primary); box-shadow: 0 0 16px rgba(59, 130, 246, .5); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; transition: .2s; text-decoration: none !important;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 6px 22px rgba(59, 130, 246, .35); }
.btn-ghost { background: var(--card); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-green { background: linear-gradient(135deg, #22c55e, var(--green)); color: #fff; }
.btn-green:hover:not(:disabled) { filter: brightness(1.1); box-shadow: 0 6px 22px rgba(34, 197, 94, .3); }
.btn-danger { background: transparent; border-color: var(--danger); color: #fca5a5; }
.btn-danger:hover { background: rgba(239, 68, 68, .12); }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.4); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; text-align: center; }
.hero .badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: var(--accent); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .3); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.1; margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: 1.1rem; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding-bottom: 30px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 130, 246, .15); color: var(--primary); margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

.section { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.6rem; }
.page-title { padding: 40px 0 8px; }
.page-title h1 { margin: 0 0 6px; font-size: 2rem; }

/* ---------- Oyun kartları ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.game-card {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.game-cover { position: relative; aspect-ratio: 2 / 3; background: linear-gradient(160deg, #162a63, #0a1230); }
.game-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-weight: 700; color: var(--muted); }
.game-meta { padding: 12px 14px 14px; }
.game-meta h3 { margin: 0 0 8px; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-meta .tag { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.game-lock {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6, 11, 28, .8); border: 1px solid var(--border); color: var(--warn);
}
.game-lock svg { width: 18px; height: 18px; }
.game-owned { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: rgba(22, 163, 74, .9); color: #fff; }
.game-card .btn { margin-top: 2px; }

/* Kütüphane kartı: yalnızca kapak + hover'da başlık */
.lib-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--card); padding: 0; transition: .2s; display: block; width: 100%; }
.lib-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.lib-card .game-cover { aspect-ratio: 2 / 3; }
.lib-overlay {
  position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; text-align: left;
  background: linear-gradient(to top, rgba(6, 11, 28, .95), transparent); opacity: 0; transition: .2s;
}
.lib-card:hover .lib-overlay, .lib-card:focus-visible .lib-overlay { opacity: 1; }
.lib-overlay b { display: block; font-size: .95rem; }
.lib-overlay small { color: var(--muted); }
.cd-pill { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(6, 11, 28, .85); border: 1px solid var(--border); color: var(--warn); }

/* ---------- İstatistik kutuları ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 22px 0 8px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.stat small { color: var(--muted); font-weight: 600; }
.stat strong { display: block; font-size: 1.9rem; margin-top: 4px; }
.stat strong.sm { font-size: 1.15rem; padding-top: 10px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---------- Nasıl çalışır ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--primary-2); }
.step .ico { width: 64px; height: 64px; margin: 6px auto 14px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(34, 211, 238, .15)); color: var(--accent); }
.step .ico svg { width: 32px; height: 32px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--primary); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Formlar ---------- */
.auth-wrap { display: grid; place-items: center; padding: 60px 20px; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font-size: 1.6rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin: 0 0 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; font: inherit; outline: none; transition: .15s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.strength { height: 4px; background: var(--border); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.strength > i { display: block; height: 100%; width: 0; background: var(--danger); transition: .25s; }
.auth-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: .92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 60px; background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding: 40px 0 26px; }
.footer-grid h4 { margin: 0 0 12px; font-size: .95rem; }
.footer-grid a { display: block; color: var(--muted); padding: 3px 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-grid p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; max-width: 340px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- Toast ---------- */
#toasts { position: fixed; top: 80px; right: 16px; z-index: 300; display: grid; gap: 8px; }
.toast { padding: 11px 16px; border-radius: 10px; color: #fff; box-shadow: var(--shadow); font-size: .92rem; max-width: 360px; opacity: 0; transform: translateY(-6px); transition: .25s; }
.toast.show { opacity: 1; transform: none; }
.toast.success { background: #15803d; } .toast.error { background: #b91c1c; } .toast.info { background: #1d4ed8; }

/* ---------- Modal (oyun popup) ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 5, 16, .78); backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { width: 100%; max-width: 1020px; max-height: 92vh; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); position: relative; animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border); font-size: 1.3rem; line-height: 1; }
.modal-close:hover { border-color: var(--danger); }
.modal-cols { display: grid; grid-template-columns: 1fr 1.15fr; }
.modal-left { padding: 28px; border-right: 1px solid var(--border); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.modal-right { padding: 28px; }
.modal-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-right: 30px; }
.modal-title .steam-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #1b2838; color: #c7d5e0; }
.modal-title .steam-ico svg { width: 26px; height: 26px; }
.modal-title h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.modal-title small { color: var(--muted); }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { font-family: Consolas, "Courier New", monospace; letter-spacing: .02em; }
.copy-field .icon-btn { flex: none; }
.guard-note { margin: 20px 0 12px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; color: #bbf7d0; background: rgba(22, 163, 74, .10); border: 1px solid rgba(34, 197, 94, .35); }
.code-box { margin-top: 14px; text-align: center; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--accent); }
.code-box .code { font-family: Consolas, monospace; font-size: 2.4rem; font-weight: 800; letter-spacing: .3em; color: var(--accent); user-select: all; padding-left: .3em; }
.code-box small { color: var(--muted); display: block; margin-bottom: 8px; }
.cd-msg { margin-top: 12px; font-size: .88rem; color: var(--warn); text-align: center; }

.instr h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--accent); }
.instr p { margin: 0 0 18px; color: #c4d1f5; font-size: .93rem; }
.instr h2.sec { font-size: 1.15rem; margin: 0 0 16px; }
.warn-list { display: grid; gap: 10px; margin-top: 8px; }
.warn-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; color: #fde7bb; background: var(--warn-bg); border: 1px solid rgba(245, 158, 11, .5); border-left-width: 4px; }
.warn-box svg { width: 18px; height: 18px; flex: none; color: var(--warn); margin-top: 2px; }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 18px 0 22px; }
.tab { background: none; border: none; padding: 10px 18px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; }
.tab.active { color: var(--text); border-color: var(--primary); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; padding: 12px 14px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-2); }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: middle; }
.tbl tr:hover td { background: rgba(59, 130, 246, .04); }
.pill { padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.pill.ok { background: rgba(22, 163, 74, .2); color: #86efac; } .pill.off { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.grant-box { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.form-modal { max-width: 640px; padding: 26px; }
.form-modal h2 { margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.help { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ---------- Kar efekti ---------- */
#snow-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 150; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; padding: 10px 20px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .user-chip { display: none; }
  .modal-cols { grid-template-columns: 1fr; }
  .modal-left { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grant-box { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding: 60px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .header-actions .btn-ghost.hide-sm { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Oyun Kodu / Token Ekleme Modalı (Site Temasına Uyarlanmış) ---------- */
.redeem-modal {
  max-width: 480px; width: 100%; border-radius: 20px;
  background: radial-gradient(ellipse at top, #11255e 0%, var(--card) 65%, var(--bg) 100%) fixed, var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(34, 211, 238, 0.15);
  padding: 34px 28px 26px; position: relative;
}
.redeem-ico-badge {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(34, 211, 238, 0.4);
  display: grid; place-items: center; color: var(--accent);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.2);
}
.redeem-ico-badge svg { width: 36px; height: 36px; }
.redeem-heading {
  text-align: center; font-size: 1.65rem; font-weight: 800; margin: 0 0 6px;
  background: linear-gradient(90deg, #93c5fd, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.redeem-subtitle {
  text-align: center; color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; line-height: 1.4;
}
.redeem-box {
  background: var(--card-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px; margin-bottom: 18px;
}
.redeem-label {
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px;
}
.redeem-label span.req { color: var(--danger); margin-left: 2px; }
.redeem-input-wrap {
  display: flex; align-items: center; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; transition: .2s;
}
.redeem-input-wrap:focus-within {
  border-color: var(--accent); box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}
.redeem-input-icon {
  padding: 0 14px; color: var(--muted); font-family: var(--font-mono); font-size: 1.1rem;
}
.redeem-input {
  flex: 1; background: transparent; border: none; outline: none; padding: 13px 14px 13px 0;
  color: var(--text); font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.redeem-info-box {
  background: rgba(15, 26, 61, 0.7); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 24px; display: flex; gap: 14px; align-items: flex-start;
}
.redeem-info-ico {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(34, 211, 238, 0.15);
  color: var(--accent); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.redeem-info-ico svg { width: 20px; height: 20px; }
.redeem-info-title {
  font-weight: 700; color: var(--accent); font-size: 0.95rem; margin: 0 0 4px;
}
.redeem-info-desc {
  color: var(--muted); font-size: 0.83rem; line-height: 1.45; margin: 0;
}
.redeem-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.btn-redeem-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
  border: none; padding: 11px 24px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4); transition: .2s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.btn-redeem-submit:hover:not(:disabled) {
  filter: brightness(1.15); box-shadow: 0 6px 22px rgba(59, 130, 246, 0.55);
}
.btn-redeem-cancel {
  background: transparent; border: none; color: var(--muted); font-weight: 700; font-size: 0.95rem;
  padding: 10px 18px; cursor: pointer; transition: .2s;
}
.btn-redeem-cancel:hover { color: var(--text); text-decoration: underline; }
.shake-anim {
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* ---------- Canlı Destek Butonu (Floating Support) ---------- */
.floating-support-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.4), 0 0 16px rgba(37, 99, 235, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}
.floating-support-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.55), 0 0 25px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}
.floating-support-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.floating-support-btn span.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}
@media (max-width: 640px) {
  .floating-support-btn {
    bottom: 16px;
    right: 16px;
    padding: 9px 15px;
    font-size: 0.82rem;
  }
}

#featured { grid-template-columns: repeat(5,minmax(0,1fr)); }
.support-menu { position:fixed; right:24px; bottom:24px; z-index:1000; }
.support-menu .floating-support-btn { position:static; list-style:none; cursor:pointer; }
.support-menu summary::-webkit-details-marker { display:none; }
.support-links { position:absolute; right:0; bottom:calc(100% + 12px); width:230px; padding:18px; background:var(--card,#101c38); border:1px solid var(--border,#263959); border-radius:14px; box-shadow:0 12px 40px #0008; }
.support-links a { display:block; margin-top:12px; padding:10px; color:#fff; background:#193257; border-radius:8px; }
.support-menu summary:focus-visible,.support-links a:focus-visible { outline:3px solid #60a5fa; outline-offset:3px; }
@media(max-width:1024px) { #featured { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { #featured { grid-template-columns:repeat(2,minmax(0,1fr)); } .support-menu { right:12px; bottom:12px; } .header-inner { flex-wrap:wrap; } .header-actions { flex-wrap:wrap; gap:8px; } }

/* v3: responsive navigation, media and catalog summary */
.desktop-account-actions {display:flex;align-items:center;gap:10px}
.mobile-account-actions {display:none}
.game-cover video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.catalog-intro {margin:30px 0 32px}
.game-suggestion {max-width:800px;margin:0 auto 36px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--card);border:1px solid var(--border);border-radius:14px}
.game-suggestion h2 {font-size:1.15rem;margin:0 0 8px}.game-suggestion p {margin:0;color:var(--muted)}
.game-suggestion .btn {flex-shrink:0}
.catalog-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:16px;background:var(--card);padding:24px 0;text-align:center}
.catalog-stats>div+div {border-left:1px solid var(--border)}
.catalog-stats strong {font-size:1.8rem;display:block;line-height:1.2}.catalog-stats small {display:block;margin-top:8px;font-size:.75rem;color:var(--muted);letter-spacing:1px}
.active-dot {display:inline-block;width:15px;height:15px;border-radius:50%;background:#22c55e;animation:catalog-pulse 1.6s ease-in-out infinite}
@keyframes catalog-pulse {50%{opacity:.35;box-shadow:0 0 12px #22c55e80}}
.suggestion-dialog {width:min(92vw,520px);border:1px solid var(--border);border-radius:16px;padding:26px;background:var(--card);color:var(--text);margin:auto}
.suggestion-dialog::backdrop {background:#000a}.suggestion-dialog form {display:grid;gap:16px}.suggestion-dialog textarea {resize:vertical}.suggestion-dialog .dialog-actions{display:flex;gap:10px;justify-content:flex-end}
@media(max-width:860px){
 .header-inner {flex-wrap:nowrap;gap:12px}.header-inner>.brand{min-width:0;white-space:nowrap}.header-actions{flex-wrap:nowrap;gap:8px;flex-shrink:0}
 .desktop-account-actions{display:none}.mobile-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px 0;border-top:1px solid var(--border)}
 .mobile-account-actions .hide-sm{display:inline-flex}.mobile-account-actions .user-chip{max-width:100%;overflow-wrap:anywhere}
 .site-footer .footer-grid {padding:32px 20px 24px;gap:26px}.footer-grid>div{min-width:0;overflow-wrap:anywhere}.site-footer .brand{display:flex}.site-footer .footer-bottom{padding:18px 20px 80px}
}
@media(max-width:520px){.game-suggestion{align-items:flex-start;flex-direction:column;padding:20px}.catalog-stats strong{font-size:1.5rem}.catalog-stats small{font-size:.65rem;letter-spacing:.3px}.header-inner .brand{font-size:1.05rem;gap:6px}.header-inner .brand svg{width:25px;flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.active-dot{animation:none}}
