/* 4yonca.one — ortak stil dosyası */

:root {
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --bg-soft: #f3f5f0;
  --text: #1a2e1f;
  --text-soft: #4a5d4f;
  --text-mute: #7a8a7f;
  --border: #e2e7dc;
  --border-soft: #edf0e8;
  --primary: #2d7a3e;
  --primary-dark: #1f5a2c;
  --primary-light: #e8f3ea;
  --accent: #c9a227;
  --accent-soft: #f6efd4;
  --warn-bg: #fef5e7;
  --warn-border: #e8c97a;
  --warn-text: #6b4e0f;
  --shadow-sm: 0 1px 2px rgba(26, 46, 31, 0.04);
  --shadow: 0 2px 8px rgba(26, 46, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 46, 31, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }

p { margin-bottom: 1rem; color: var(--text-soft); }

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-dark); }

/* HEADER */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-mark svg { width: 22px; height: 22px; }

.logo span.brand-num { color: var(--accent); }
.logo span.brand-text { color: var(--primary-dark); }

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-soft);
  font-weight: 500;
}

.nav a:hover { color: var(--primary); }

/* MAIN */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
  flex: 1;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* HOMEPAGE HERO */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* GAME GRID */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.18s ease;
  position: relative;
}

.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}

.game-card .game-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}

.category-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 2.5rem 0 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-soft);
}

.category-header h2 { margin: 0; }
.category-header .count {
  color: var(--text-mute);
  font-size: 0.9rem;
  font-weight: 500;
}

/* GAME PAGE */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-mute);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

.game-header {
  margin-bottom: 1.5rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-soft);
  color: var(--text-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-size: 0.83rem;
  font-weight: 500;
  border: 1px solid var(--border-soft);
}

.meta-tag strong { color: var(--text); font-weight: 600; }

.intro-text {
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* AD CONTAINER */
.ad-slot {
  margin: 1.5rem 0;
  text-align: center;
  min-height: 50px;
}

.ad-slot.ad-content {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px dashed var(--border);
}

/* SITES BLOCK */
.sites-block {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.sites-block h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sites-block h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}

.sites-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.18s;
  text-decoration: none;
  color: var(--text);
}

.site-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  color: var(--text);
}

.site-item-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.site-desc {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-top: 0.15rem;
}

.site-cta {
  background: var(--primary);
  color: white;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s;
}

.site-item:hover .site-cta {
  background: var(--primary-dark);
  color: white;
}

/* SINGLE SITE CTA — FAQ üstü ikinci dönüşüm noktası */
.cta-single {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.cta-single h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.cta-single .cta-sub {
  color: var(--text-mute);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.cta-single-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  color: var(--text);
  transition: all 0.18s;
}

.cta-single-inner:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--text);
}

.cta-single-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cta-single-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.cta-single-tag {
  font-size: 0.85rem;
  color: var(--text-mute);
}

.cta-single-button {
  background: var(--primary);
  color: white;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s;
}

.cta-single-inner:hover .cta-single-button {
  background: var(--primary-dark);
}

@media (max-width: 760px) {
  .cta-single { padding: 1.25rem; }
  .cta-single-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
  }
  .cta-single-button { width: 100%; text-align: center; }
}

/* CONTENT SECTIONS */
.content-section {
  margin: 2rem 0;
}

.content-section ul, .content-section ol {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--text-soft);
}

.content-section li { margin-bottom: 0.4rem; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th, .info-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

.info-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
  width: 40%;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.callout {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
}

.callout strong { color: var(--primary-dark); }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 2.75rem;
  font-size: 0.97rem;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.18s;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item .faq-body {
  padding: 0 1.25rem 1rem;
  color: var(--text-soft);
}

/* RESPONSIBLE GAMBLING */
.responsible {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0 1.5rem;
}

.responsible h3 {
  color: var(--warn-text);
  margin-top: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.responsible p {
  color: var(--warn-text);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.responsible p:last-child { margin-bottom: 0; }

/* FOOTER */
.site-footer {
  background: var(--text);
  color: #c8d2c8;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col p { color: #a8b5a8; line-height: 1.6; }

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { margin-bottom: 0.4rem; }

.footer-col a {
  color: #c8d2c8;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #8a958a;
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #8a958a;
  font-size: 0.82rem;
  line-height: 1.6;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-weight: 600;
  color: #e8b34d;
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 760px) {
  h1 { font-size: 1.65rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 1.5rem 0.5rem 2rem; }
  main { padding: 1.5rem 1rem; }
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
  }
  .game-card {
    padding: 0.85rem 0.9rem;
    font-size: 0.88rem;
  }
  .game-card .game-icon { width: 26px; height: 26px; font-size: 0.7rem; }
  .nav { gap: 1rem; font-size: 0.88rem; }
  .nav a:nth-child(n+3) { display: none; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-cta { width: 100%; text-align: center; }
  .header-inner { padding: 0 1rem; }
  .logo { font-size: 1.15rem; }
}

@media (max-width: 420px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
