/* =============================================
   SLOTA CASINO — DENMARK AFFILIATE SITE
   Design System v2.0 | da-dk
   ============================================= */

:root {
  --bg-primary:    #0d1330;
  --bg-secondary:  #141a3d;
  --bg-card:       #1a2050;
  --bg-burgundy:   #8b1a2e;
  --red-cta:       #e8192c;
  --red-cta-hover: #c0131f;
  --yellow:        #f5c518;
  --yellow-dark:   #d4a800;
  --white:         #ffffff;
  --grey:          #a0a8c0;
  --border:        rgba(255,255,255,0.08);
  --radius:        10px;
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER — FULL WIDTH ============ */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  height: 70px;
  gap: 0;
}

/* LOGO — прозорий фон через mix-blend-mode */
.site-logo {
  flex-shrink: 0;
  margin-right: 32px;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
  /* SVG logo — transparent background */
}

/* NAV — центр */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--yellow);
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ACTIONS — справа */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 32px;
}

/* ============ MOBILE MENU ============ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  text-decoration: none;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .1s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--red-cta); color: var(--white); }
.btn-primary:hover { background: var(--red-cta-hover); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { border-color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ============ HERO — BANNER ============ */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: url('../assets/hero-banner.jpg');
  background-size: cover;
  background-position: center top;
  width: 100%;
}

/* Для кореневих сторінок */
.hero-root {
  background-image: url('assets/hero-banner.jpg');
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(13,19,48,0.97) 0%,
    rgba(13,19,48,0.85) 40%,
    rgba(13,19,48,0.4) 70%,
    rgba(13,19,48,0.1) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ SECTIONS ============ */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-secondary); }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-icon { font-size: 1.6rem; }
.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}

/* ============ STATS ROW ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============ BONUS CARDS ============ */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.bonus-card {
  background: var(--bg-burgundy);
  border: 1px solid rgba(139,26,46,0.5);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.bonus-label {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.bonus-pct {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.bonus-amount {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.bonus-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: .82rem;
  color: var(--grey);
}

.bonus-promo code {
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--yellow);
  font-family: monospace;
  font-size: .85rem;
}

.btn-copy {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
.btn-copy:hover { background: rgba(255,255,255,0.2); }
.btn-copy.copied { color: var(--yellow); }

/* ============ INFO CARDS ============ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: border-color .2s, transform .2s;
}
.info-card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-2px);
}

.info-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.info-card p { font-size: .85rem; color: var(--grey); line-height: 1.5; }

/* ============ PROVIDER / PAYMENT GRID ============ */
.providers-grid, .payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.provider-card, .payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
  font-size: .8rem;
  color: var(--grey);
  transition: border-color .2s;
}
.provider-card:hover, .payment-card:hover {
  border-color: var(--yellow);
  color: var(--white);
}

.payment-icon { font-size: 1.4rem; margin-bottom: 4px; }

/* ============ ANCHOR NAV ============ */
.anchor-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.anchor-nav h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey);
  margin-bottom: 10px;
}
.anchor-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.anchor-nav-list a {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.anchor-nav-list a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ============ TABLE ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
thead { background: var(--bg-card); }
th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--grey);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:hover { background: rgba(255,255,255,0.03); }
tbody tr:last-child td { border-bottom: none; }

/* ============ HIGHLIGHT / DISCLAIMER ============ */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.highlight-box h2, .highlight-box h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.highlight-box p { color: var(--grey); font-size: .9rem; margin-bottom: 8px; }

.disclaimer {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .82rem;
  color: var(--grey);
}

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  font-size: .95rem;
  transition: background .2s;
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-icon {
  font-size: 1.2rem;
  color: var(--yellow);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 16px 20px;
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.6;
  background: var(--bg-secondary);
}
.faq-item.open .faq-answer { display: block; }

/* ============ RATING ============ */
.rating-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stars { color: var(--yellow); font-size: 1.2rem; letter-spacing: 2px; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding: 12px 0;
  font-size: .82rem;
  color: var(--grey);
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--yellow); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: .85rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-payments span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: .75rem;
  color: var(--grey);
}
.footer-legal { font-size: .78rem; color: var(--grey); line-height: 1.8; }
.footer-legal a { color: var(--grey); text-decoration: underline; }
.footer-legal a:hover { color: var(--yellow); }

/* ============ MOBILE CTA BAR ============ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
  z-index: 999;
}
.rg-bar {
  background: rgba(0,0,0,0.6);
  text-align: center;
  font-size: .7rem;
  color: var(--grey);
  padding: 6px 16px;
  position: fixed;
  bottom: 56px;
  left: 0; right: 0;
  z-index: 998;
  display: none;
}
.rg-bar a { color: var(--grey); text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 320px; }
  .hero h1 { font-size: 1.8rem; }
  .mobile-cta-bar { display: flex; }
  .rg-bar { display: block; }
  body { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .btn-lg { padding: 12px 22px; font-size: .9rem; }
}

/* ============ AFFILIATE DISCLAIMER ============ */
.affiliate-disclaimer {
  background: linear-gradient(135deg, #1a1a3e 0%, #6b1222 60%, #8b1a2e 100%);
  border: 1px solid rgba(139,26,46,0.4);
  border-radius: 12px;
  margin: 0 0 0 0;
  padding: 0;
  width: 100%;
}

.affiliate-disclaimer-inner {
  padding: 28px 32px;
}

.affiliate-badge {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.affiliate-disclaimer h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.affiliate-disclaimer p {
  font-size: .88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 900px;
}

.disclaimer-section {
  padding: 32px 0;
  background: var(--bg-primary);
}
