/* 1Red UK Casino - Styles */
:root {
  --bg: #0c0c0f;
  --bg-soft: #121217;
  --text: #f3f4f6;
  --muted: #c9cbd1;
  --primary: #e11d2e;
  --primary-600: #c8102e;
  --outline: #ffffff22;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #fff; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 3rem 0; }
.section-header { margin-bottom: 1.5rem; }
.section-header h2 { margin: 0 0 .5rem; font-size: 1.75rem; }
.section-header p { margin: 0; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12,12,15,.9); border-bottom: 1px solid var(--outline); backdrop-filter: saturate(150%) blur(6px); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .75rem 0; }
.brand img { filter: drop-shadow(0 0 0 transparent); }
.primary-nav ul { display: flex; list-style: none; gap: .5rem; padding: 0; margin: 0; }
.primary-nav a { color: var(--muted); padding: .5rem .5rem; border-radius: .5rem; font-size: 0.85rem; white-space: nowrap; }
.primary-nav a:hover { color: var(--text); background: #ffffff14; text-decoration: none; }
.header-cta { display: none; padding: .4rem .65rem; font-size: 0.85rem; }

/* Mobile nav toggle */
.nav-toggle { position: absolute; left: -9999px; }
.nav-toggle-label { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--outline); border-radius: .5rem; cursor: pointer; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .2s ease; }
.nav-toggle-label span::before { position: absolute; top: -6px; }
.nav-toggle-label span::after { position: absolute; top: 6px; }

/* Hide nav on mobile by default */
.primary-nav { display: none; }
#nav-toggle:checked ~ .primary-nav { display: block; grid-column: 1 / -1; }
#nav-toggle:checked ~ .primary-nav ul { flex-direction: column; padding: .75rem 0; }
#nav-toggle:checked ~ .primary-nav a { display: block; }

/* Buttons */
.btn { display: inline-block; padding: .5rem .75rem; border-radius: .5rem; font-weight: 600; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, transform .05s ease; font-size: 0.9rem; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: #000; box-shadow: 0 3px 10px rgba(225,29,46,.25); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; border-color: var(--outline); color: var(--text); }
.btn-lg { padding: .75rem 1rem; font-size: 1rem; }

/* Hero */
.hero { padding-top: 1rem; }
.hero-grid { display: grid; gap: 1rem; align-items: center; }
.hero-copy h1 { font-size: 1.75rem; margin: .5rem 0; }
.hero-copy p { color: var(--muted); }
.hero-benefits { list-style: none; padding: 0; margin: .5rem 0 1rem; color: var(--muted); }
.hero-benefits li { padding-left: 1.25rem; position: relative; }
.hero-benefits li::before { content: "•"; position: absolute; left: 0; color: var(--primary); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* About features */
.features { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.feature { background: var(--bg-soft); border: 1px solid var(--outline); padding: 1rem; border-radius: .75rem; }
.feature h3 { margin: .75rem 0 .25rem; font-size: 1.125rem; }
.feature p { margin: 0; color: var(--muted); }

/* Slots */
.slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.slot { display: block; border-radius: .5rem; overflow: hidden; border: 1px solid var(--outline); background: #0f0f12; }
.slot img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* Bonuses */
.bonus-grid { display: grid; gap: 1rem; }
.bonus { background: var(--bg-soft); border: 1px solid var(--outline); border-radius: .75rem; overflow: hidden; display: grid; }
.bonus-content { padding: 1rem; }
.bonus h3 { margin: .25rem 0 .25rem; }
.bonus p { margin: 0 0 .75rem; color: var(--muted); }

/* Payments */
.payment-logos { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 1rem; align-items: center; }
.payment-logos img { filter: grayscale(100%) brightness(1.2); opacity: .9; height: 28px; width: auto; justify-self: center; }
.payment-crypto p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
/* Final CTA */
.final-cta .cta-wrap { display: grid; gap: 1rem; background: linear-gradient(180deg, #15151a, #0f0f12); border: 1px solid var(--outline); border-radius: .75rem; padding: 1.25rem; }
.final-cta .benefits { list-style: none; padding: 0; margin: .5rem 0 0; color: var(--muted); }
.final-cta .benefits li { padding-left: 1.25rem; position: relative; }
.final-cta .benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); }

/* Footer */
.site-footer, .footer { border-top: 1px solid var(--outline); padding: 1rem 0; background: #0a0a0d; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin: 0; font-size: 0.8rem; white-space: nowrap; }
.footer-nav { width: 100%; margin: 0.5rem 0; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; font-size: 0.8rem; }
.footer-nav a { color: var(--muted); padding: 0.25rem; display: block; white-space: nowrap; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-legal { color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.8rem; text-align: center; width: 100%; }
.footer-legal img { height: 20px; width: auto; margin-bottom: 0.25rem; }
.footer-legal p { margin: 0; }

/* Copyright line */
.site-footer .copyright, .footer .copyright {
  text-align: center;
  color: var(--muted);
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--outline);
  width: 100%;
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem; background: #000; }

/* Responsive */
@media (min-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 1rem; }
  .nav-toggle-label { display: none; }
  .primary-nav { display: block !important; }
  .primary-nav ul { justify-content: center; gap: .75rem; }
  .primary-nav a { font-size: 0.9rem; padding: .5rem .65rem; }
  .header-cta { display: inline-block; }

  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .hero-copy h1 { font-size: 2.25rem; }

  .features { grid-template-columns: repeat(3, 1fr); }
  .slots-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .bonus-grid { grid-template-columns: repeat(3, 1fr); }
  .final-cta .cta-wrap { grid-template-columns: 1.2fr .8fr; align-items: center; }
  
  /* Footer desktop improvements */
  .footer-inner, .site-footer .footer-inner { 
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-brand { 
    width: 100%;
    justify-content: center;
  }
  .footer-brand img { 
    height: 28px;
  }
  .footer-nav { 
    width: 100%;
  }
  .footer-nav ul { 
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    row-gap: 0.5rem;
    column-gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-legal { 
    width: 100%;
    text-align: center;
  }
  
  .payment-logos { grid-template-columns: repeat(8, 1fr); }
}

@media (min-width: 1024px) {
  .hero-copy h1 { font-size: 2.5rem; }
}