/* ============================================
   STYLE-13 — NORDIC MINIMAL (IKEA Grid Style)
   Font: Inter only | Colors: #0058A3 / #FFDA1A / #111111 / #FFFFFF
   ============================================ */

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

:root {
  --blue: #0058A3;
  --yellow: #FFDA1A;
  --dark: #111111;
  --mid: #555555;
  --light: #f5f5f5;
  --white: #FFFFFF;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
  --radius: 4px;
  --max-w: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--light);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--blue);
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color 200ms;
}

.main-nav a:hover {
  color: var(--blue);
  text-decoration: none;
}

.nav-rg {
  color: var(--blue) !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: var(--blue);
  padding: 8px 0;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 13px;
}

.breadcrumb li {
  color: rgba(255,255,255,0.7);
}

.breadcrumb li::after {
  content: ' /';
  margin-left: 8px;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--yellow);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 18px;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hero-sub {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}

.btn-casino {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms;
  letter-spacing: 0.02em;
}

.btn-casino:hover {
  background: transparent;
  color: var(--blue);
  text-decoration: none;
}

/* ===== AUTHOR BAR ===== */
.author-bar {
  background: var(--blue);
  padding: 24px 0;
}

.author-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  color: var(--white);
  font-size: 14px;
}

.author-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-info p {
  margin-bottom: 0;
  opacity: 0.85;
  font-size: 13px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
}

.section-intro {
  font-size: 16px;
  color: var(--mid);
  margin-bottom: 32px;
  max-width: 760px;
}

/* ===== CASINO CARDS (IKEA Style) ===== */
.casino-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: box-shadow 200ms;
}

.casino-card:hover {
  box-shadow: var(--shadow-hover);
}

.casino-rank {
  background: var(--blue);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: -0.1em;
}

.casino-body {
  padding: 24px 28px;
  flex: 1;
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.casino-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.casino-tagline {
  font-size: 13px;
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 8px;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.filled { background: var(--yellow); border: 2px solid var(--dark); }
.dot.half { background: linear-gradient(90deg, var(--yellow) 50%, var(--white) 50%); border: 2px solid var(--dark); }
.dot.empty { background: var(--white); border: 2px solid var(--border); }

.rating-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-left: 6px;
}

/* IKEA Price-Tag Style Bonus */
.casino-bonus-tag {
  background: var(--yellow);
  padding: 12px 16px;
  text-align: center;
  flex-shrink: 0;
  min-width: 140px;
  position: relative;
}

.casino-bonus-tag::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border: 14px solid transparent;
  border-right: 14px solid var(--yellow);
}

.bonus-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.bonus-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.casino-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-item {
  font-size: 13px;
  color: var(--mid);
}

.feature-item strong {
  color: var(--dark);
}

.feature-icon {
  margin-right: 4px;
}

.casino-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 16px;
}

.casino-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
}

.pros, .cons {
  padding: 12px;
  background: var(--light);
}

.pros strong { color: #2a7a2a; display: block; margin-bottom: 8px; }
.cons strong { color: #c0392b; display: block; margin-bottom: 8px; }

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
}

.pros ul li::before { content: '✓ '; color: #2a7a2a; font-weight: 700; }
.cons ul li::before { content: '✗ '; color: #c0392b; font-weight: 700; }

.pros li, .cons li {
  margin-bottom: 4px;
  color: var(--dark);
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  padding: 28px;
  margin-top: 32px;
}

.highlight-box h3 {
  margin-bottom: 20px;
  color: var(--blue);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.criterion {
  text-align: center;
  padding: 16px 8px;
  background: var(--light);
}

.criterion-score {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.criterion-label {
  font-size: 11px;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== SECTION MEDIA GRID ===== */
.section-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.section-media-grid.reverse {
  direction: rtl;
}

.section-media-grid.reverse > * {
  direction: ltr;
}

.section-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* ===== COMPARISON TABLES ===== */
.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  text-align: left;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.comparison-table th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr.row-highlight td {
  background: #fff8e0;
  font-weight: 600;
}

.comparison-table tr:hover td {
  background: #f0f4ff;
}

/* ===== CALCULATOR WIDGET ===== */
.calculator-widget {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 680px;
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-btn {
  grid-column: span 2;
}

.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-input, .calc-select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 200ms;
  appearance: none;
}

.calc-input:focus, .calc-select:focus {
  outline: none;
  border-color: var(--blue);
}

.calc-result {
  margin-top: 24px;
  border-top: 2px solid var(--blue);
  padding-top: 24px;
}

.result-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 8px;
}

.result-time {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.result-method {
  font-size: 14px;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.result-note {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 16px;
}

/* ===== RESPONSIBLE GAMBLING ===== */
.section-rg {
  background: #f0f4ff;
  border-top: 4px solid var(--blue);
}

.rg-helplines {
  margin: 28px 0;
}

.rg-helplines h3 {
  margin-bottom: 16px;
  color: var(--blue);
}

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.helpline-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  font-size: 14px;
}

.helpline-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--dark);
}

.helpline-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.helpline-card a {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.rg-disclaimer {
  font-size: 13px;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px;
  margin-top: 20px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}

.faq-answer {
  padding: 0 0 20px 0;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
}

.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== AUTHOR BIO FULL ===== */
.author-bio-full {
  background: var(--light);
  border-top: 3px solid var(--yellow);
  padding: 48px 0;
}

.author-bio-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.author-bio-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-bio-title {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.author-bio-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.expertise-tag {
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: var(--yellow);
  margin-bottom: 16px;
  font-size: 11px;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms;
}

.footer-col a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.7;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .hero-h1 { font-size: 38px; }

  .criteria-grid { grid-template-columns: repeat(3, 1fr); }
  .section-media-grid { grid-template-columns: 1fr; }
  .section-media-grid.reverse { direction: ltr; }
  .casino-header { flex-direction: column; }
  .casino-bonus-tag::before { display: none; }
  .helpline-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .calc-form { grid-template-columns: 1fr; }
  .calc-btn { grid-column: span 1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  h1 { font-size: 28px; }
  .hero { padding: 48px 0; }
  .hero-h1 { font-size: 30px; }
  .main-nav ul { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .casino-card { flex-direction: column; }
  .casino-rank { writing-mode: horizontal-tb; text-orientation: mixed; min-width: unset; padding: 12px 24px; }
  .casino-features { grid-template-columns: 1fr; }
  .casino-pros-cons { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: 1fr; }
  .author-bio-inner { flex-direction: column; align-items: center; text-align: center; }
  .author-bar-inner { flex-direction: column; text-align: center; }
  .hero-trust { flex-direction: column; gap: 8px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .breadcrumb-bar { position: static; }
  .casino-card { page-break-inside: avoid; }
}
