/* Casinopera — koyu orman yeşili, altın vurgu, teal ikincil (referans arayüz) */
:root {
  --bg-deep: #0a1410;
  --bg-panel: #0f1c17;
  --bg-card: #122219;
  --bg-teal: #1a3d34;
  --bg-teal-hover: #234d42;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #a8bfb5;
  --gold: #f5d10a;
  --gold-bright: #ffe433;
  --gold-dark: #c9a908;
  --teal-btn: #1e4d42;
  --teal-btn-hover: #2a6658;
  --glow-gold: rgba(245, 209, 10, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: "Rubik", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #0a1410;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: #c8e6d9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1180px, 94vw);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
  color: var(--gold);
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  height: 2px;
  background: rgba(10, 20, 16, 0.35);
  border-radius: 1px;
  left: -6px;
}

.logo-mark::before {
  width: 10px;
  top: 8px;
  transform: rotate(-12deg);
}

.logo-mark::after {
  width: 8px;
  top: 14px;
  transform: rotate(-18deg);
}

.logo-text {
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lang-select {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8bfb5' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.nav-row {
  padding-bottom: 0.65rem;
}

.cat-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-btn) transparent;
}

.cat-nav::-webkit-scrollbar {
  height: 4px;
}

.cat-nav::-webkit-scrollbar-thumb {
  background: var(--teal-btn);
  border-radius: 4px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  text-decoration: none;
}

.cat-link:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--gold);
}

.cat-ico {
  font-size: 1rem;
  opacity: 0.95;
}

.cat-link-more .cat-ico {
  font-size: 0.65rem;
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem min(1180px, 94vw);
  padding-top: 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
}

.mobile-nav-extra {
  font-weight: 600;
  color: var(--gold);
}

.mobile-nav-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (min-width: 901px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-teal,
  .header-actions .btn-yellow,
  .header-actions .lang-select {
    display: none;
  }

  .cat-nav {
    display: none;
  }
}

body.menu-open {
  overflow: hidden;
}

.mobile-lang {
  margin-bottom: 0.25rem;
}

.lang-select-full {
  width: 100%;
  max-width: 220px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.48rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.88rem 1.6rem;
  font-size: 1rem;
}

.btn-teal {
  background: var(--teal-btn);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-teal:hover {
  background: var(--teal-btn-hover);
  color: var(--text);
}

.btn-yellow {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: #0a1410;
  font-weight: 700;
  box-shadow: 0 6px 24px var(--glow-gold);
}

.btn-yellow:hover {
  box-shadow: 0 8px 28px rgba(245, 209, 10, 0.35);
  color: #0a1410;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(245, 209, 10, 0.45);
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.25rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30% -15% auto;
  height: 65%;
  background: radial-gradient(ellipse 55% 45% at 30% 0%, var(--glow-gold), transparent 55%),
    radial-gradient(ellipse 40% 35% at 85% 15%, rgba(30, 77, 66, 0.35), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 0.65rem;
}

.hero h1 {
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Promos row */
.promos {
  padding-top: 0.5rem;
}

.promos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.promos-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 700;
}

.promo-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.promo-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.75rem;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.promo-card-sport {
  background: linear-gradient(145deg, #0d0d0d 0%, #1a1a12 40%, #0f1c17 100%);
  box-shadow: var(--shadow);
}

.promo-card-sport::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.promo-card-slot {
  background: linear-gradient(155deg, #0c1814 0%, #143028 50%, #0a1410 100%);
  box-shadow: var(--shadow);
}

.promo-card-slot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-btn), var(--gold));
}

.promo-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-card-lead {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.promo-highlight {
  color: var(--gold);
}

.promo-card-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 22rem;
  position: relative;
  z-index: 1;
}

.promo-deco {
  position: absolute;
  right: 0.75rem;
  bottom: 0.65rem;
  font-size: 1.5rem;
  opacity: 0.35;
  z-index: 0;
  letter-spacing: 0.15em;
}

.promo-card-slot .slot-deco {
  font-size: 3.5rem;
  opacity: 0.2;
  right: 1rem;
  bottom: 0.5rem;
}

/* Sections */
.section {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 28, 23, 0.85) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-btn), var(--gold));
  opacity: 0.9;
}

.card:hover {
  border-color: rgba(245, 209, 10, 0.2);
  transform: translateY(-2px);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(30, 77, 66, 0.5);
  color: #c8e6d9;
  margin-bottom: 0.75rem;
}

.card-badge.accent {
  background: rgba(245, 209, 10, 0.15);
  color: var(--gold);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card > p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-list li {
  margin-bottom: 0.3rem;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  padding: 0 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding-bottom: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA */
.cta-band {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  background: linear-gradient(120deg, rgba(30, 77, 66, 0.45) 0%, rgba(10, 20, 16, 0.98) 45%, rgba(245, 209, 10, 0.08) 100%);
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.cta-inner h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 1.2rem;
  background: #060d0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.35rem;
  align-items: start;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.84rem;
}

.infra strong {
  color: #c8e6d9;
  font-weight: 600;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: rgba(180, 40, 40, 0.25);
  color: #ff8a8a;
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.copyright {
  margin: 1.35rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
