/* =========================================
   Ligobet — styles.css
   Clean modern article layout
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent:        #f5c518;
  --accent-dark:   #d4a800;
  --accent-text:   #1a1a1a;
  --text:          #1a1a2e;
  --muted:         #555e6e;
  --border:        #e2e8f0;
  --bg:            #ffffff;
  --bg-soft:       #f8fafc;
  --warn-bg:       #fffbeb;
  --warn-border:   #f59e0b;
  --notice-bg:     #fffde7;
  --notice-border: #f5c518;
  --radius:        10px;
  --max-w:         760px;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-head:     'Merriweather', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 1px;
  white-space: nowrap;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color .2s, background .2s;
}

nav a:hover {
  color: var(--accent);
  background: rgba(245,197,24,0.1);
}

.btn-kayit {
  background: var(--accent) !important;
  color: var(--accent-text) !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: background .2s, transform .15s !important;
}

.btn-kayit:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 14px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 3px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-overlay h1 {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 780px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* --- Article --- */
.article-wrap { width: 100%; }

.article-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.3;
}

h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  margin: 52px 0 18px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}

h2:first-of-type { margin-top: 0; border-top: none; }

h3 {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  margin: 32px 0 12px;
}

p { margin-bottom: 20px; }

p.lead {
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 22px;
}

strong { font-weight: 600; }

/* --- Notices --- */
.notice {
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 15.5px;
  line-height: 1.65;
}

.notice.warning {
  background: var(--warn-bg);
  border-left-color: var(--warn-border);
}

/* --- Tables --- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

thead { background: var(--text); }

thead th {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-soft); }

tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  line-height: 1.55;
  font-size: 14.5px;
}

tbody tr:nth-child(even) td { background: #fafbfc; }
tbody tr:nth-child(even):hover td { background: var(--bg-soft); }

/* --- Figures --- */
.article-figure {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.article-figure figcaption {
  background: var(--bg-soft);
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* --- CTA --- */
.cta-block {
  margin: 44px 0 0;
  background: var(--text);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 3px solid var(--accent);
}

.cta-block p {
  color: #e2e8f0;
  font-size: 17px;
  margin-bottom: 22px;
}

.cta-block strong { color: var(--accent); }

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  padding: 14px 40px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}

.cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --- Legal Box --- */
.legal-box {
  margin-top: 32px;
  background: #fff8f0;
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.legal-box p { margin-bottom: 8px; }
.legal-box p:last-child { margin-bottom: 0; }

/* --- Footer --- */
.site-footer {
  background: var(--text);
  padding: 40px 24px 32px;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-inner strong { color: var(--accent); }
.footer-inner em { font-style: normal; color: rgba(255,255,255,0.5); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 6px 0;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.responsible {
  font-size: 13px !important;
  color: rgba(255,255,255,0.4) !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
  margin-top: 4px;
}

.copy {
  font-size: 12px !important;
  color: rgba(255,255,255,0.25) !important;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .article-body { padding: 36px 18px 60px; }
  .header-inner { padding: 0 16px; }

  nav a:not(.btn-kayit) { display: none; }

  .hero-img { height: 300px; }
  .hero-overlay h1 { font-size: 20px; }

  thead th { font-size: 11px; padding: 10px 10px; }
  tbody td  { padding: 10px 10px; font-size: 13px; }

  h2 { margin-top: 40px; }

  .cta-stats { gap: 24px; }
  .stat-num { font-size: 22px; }
}
