/* ==========================================================
   Vezir Bonus | Sade Tek Sayfa Tasarımı
   Premium lacivert/siyah + altin/amber vurgulu, cam efektli tema
   ========================================================== */

:root {
  --color-bg: #070b14;
  --color-bg-alt: #0c1120;
  --color-surface: #0f1626;
  --color-surface-2: #131b2e;
  --color-border: rgba(216, 165, 75, 0.16);
  --color-border-strong: rgba(216, 165, 75, 0.35);
  --color-text: #f3ede0;
  --color-text-muted: #a9b0c3;
  --color-text-dim: #6f7791;
  --color-gold: #d8a54b;
  --color-gold-light: #f5d78e;
  --color-gold-dark: #a9772c;
  --gradient-gold: linear-gradient(135deg, #f5d78e 0%, #d8a54b 50%, #a9772c 100%);
  --gradient-bg: radial-gradient(80% 60% at 50% 0%, rgba(216, 165, 75, 0.08), transparent 60%);
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  position: relative;
  margin: 0;
  background: var(--color-bg) var(--gradient-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Arka plan filigrani */
:root { --wm-size: min(75vw, 780px); --wm-radius: calc(var(--wm-size) * 0.41); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../img/vezir-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--wm-size);
  opacity: 0.35;
  mix-blend-mode: screen;
  filter: saturate(1.3);
}

.site-header, main, .site-footer, .modal-overlay { position: relative; z-index: 1; }

/* Filigranin cevresinde nefes alir gibi yumusakca buyuyup kuculen yuvarlak isik */
@keyframes glow-breathe {
  0%, 100% { opacity: 0.22; transform: translate(-50%, -50%) scale(0.92); }
  50%      { opacity: 0.5;  transform: translate(-50%, -50%) scale(1.06); }
}
.watermark-orbit {
  position: fixed; top: 50%; left: 50%; z-index: 0; pointer-events: none;
  width: calc(var(--wm-radius) * 2.5); height: calc(var(--wm-radius) * 2.5);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(245, 215, 142, 0.3) 38%,
    rgba(245, 215, 142, 0.08) 65%,
    transparent 78%);
  filter: blur(3px);
  animation: glow-breathe 6s ease-in-out infinite;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; margin: 0 0 10px; color: var(--color-text); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.03em; }
h3 { font-size: 1.08rem; }
p { color: var(--color-text-muted); margin: 0 0 12px; }

.text-gold { color: var(--color-gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-gold); font-weight: 600; margin-bottom: 8px;
}
.eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--color-gold); }

:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-gold); color: #1a1204;
  box-shadow: 0 8px 24px -10px rgba(216, 165, 75, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(216, 165, 75, 0.7); }
.btn-outline {
  background: transparent; color: var(--color-text); border-color: var(--color-border-strong);
}
.btn-outline:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: 42px; object-fit: contain; }
.brand-name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em; color: var(--color-text); }
.brand-name em { font-style: normal; color: var(--color-gold); }

/* ---------------- Sections ---------------- */
.section { padding: 32px 0; flex: 1; }
.section-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.section-head.center { text-align: center; align-items: center; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------- Bonus Cards ---------------- */
.bonus-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .bonus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bonus-grid { grid-template-columns: repeat(3, 1fr); } }

.bonus-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 2px;
  overflow: hidden;
  background: var(--color-border-strong);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bonus-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(216,165,75,0.3); }

/* Kart kenarinda daire cizerek dolasan, kuyruklu yumusak isik */
@keyframes card-glow-spin { to { transform: rotate(360deg); } }
.bonus-card::before {
  content: '';
  position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    transparent 260deg,
    rgba(245, 215, 142, 0.12) 300deg,
    rgba(245, 227, 178, 0.65) 335deg,
    rgba(255, 240, 200, 1) 352deg,
    rgba(245, 215, 142, 0.65) 359deg,
    transparent 360deg);
  filter: blur(0.6px);
  animation: card-glow-spin 6s linear infinite;
}

.bcard-link {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  border-radius: inherit;
  overflow: hidden;
}

.bcard-logo {
  background: var(--color-surface);
  height: 92px;
  padding: 12px 18px;
}
.bcard-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }

.bcard-amount {
  background: var(--gradient-gold);
  color: #1a1204;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  padding: 11px 12px;
  letter-spacing: 0.01em;
}

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--color-border-strong);
  color: var(--color-gold-light); background: rgba(7,11,20,0.7); white-space: nowrap;
  backdrop-filter: blur(4px);
}
.badge.badge-yeni { color: #8fd6a8; border-color: rgba(76,175,130,0.4); }
.badge.badge-sinirli { color: #e58a8a; border-color: rgba(224,98,98,0.4); }

.bcard-info {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(7,11,20,0.65); border: 1px solid var(--color-border-strong);
  color: var(--color-gold-light); font-family: var(--font-sans); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.bcard-info:hover { background: var(--color-gold); color: #1a1204; border-color: transparent; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--color-text-dim); }
.empty-state svg { margin-bottom: 14px; color: var(--color-gold); }

/* ---------------- Modal (bonus details) ---------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(4,6,11,0.85); backdrop-filter: blur(4px); z-index: 150; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: 22px 22px 0 0;
  max-width: 540px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 28px; box-shadow: 0 20px 60px -25px rgba(0,0,0,0.65);
}
@media (min-width: 720px) {
  .modal-overlay { align-items: center; padding: 20px; }
  .modal-card { border-radius: var(--radius-lg); }
}
.modal-close { float: right; background: none; border: 1px solid var(--color-border-strong); border-radius: 8px; color: var(--color-text); padding: 6px 10px; }
.modal-terms { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 9px; }
.modal-terms li { display: flex; justify-content: space-between; font-size: 0.88rem; border-bottom: 1px dashed var(--color-border); padding-bottom: 9px; }
.modal-terms li strong { color: var(--color-text); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--color-border); padding: 22px 0; }
.footer-simple { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--color-text-muted); }
.footer-simple a:hover { color: var(--color-gold-light); }
.footer-simple span { margin-left: auto; color: var(--color-text-dim); font-size: 0.78rem; }
.legal-note { font-size: 0.7rem; color: var(--color-text-dim); margin: 12px 0 0; line-height: 1.6; }

/* ---------------- Utility ---------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-gold); color: #1a1204; padding: 12px 18px;
  border-radius: 0 0 8px 0; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
