/* 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; }
.seo-content a { color: var(--primary); font-weight: 500; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.seo-content a:hover { text-decoration: underline; color: #ff2d40; transform: translateY(-1px); }
.seo-content h2 { font-size: 1.75rem; margin: 1.5rem 0 1rem; line-height: 1.3; }
.seo-content h3 { font-size: 1.25rem; margin: 1.25rem 0 0.75rem; }
.seo-content p { margin-bottom: 1rem; line-height: 1.6; }
.seo-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.seo-content li { margin-bottom: 0.5rem; line-height: 1.6; }

.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,.95); border-bottom: 1px solid var(--outline); backdrop-filter: saturate(180%) blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .85rem 0; }
.brand { transition: transform 0.3s ease, filter 0.3s ease; }
.brand:hover { transform: translateY(-2px); }
.brand img { filter: drop-shadow(0 0 0 transparent); transition: filter 0.3s ease; }
.brand:hover img { filter: drop-shadow(0 0 5px rgba(225,29,46,0.5)); }
.primary-nav ul { display: flex; list-style: none; gap: .75rem; padding: 0; margin: 0; }
.primary-nav a { color: var(--muted); padding: .5rem .75rem; border-radius: .5rem; font-size: 0.9rem; white-space: nowrap; transition: all 0.2s ease; position: relative; }
.primary-nav a:hover { color: var(--text); background: rgba(255,255,255,0.08); text-decoration: none; transform: translateY(-2px); }
.primary-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary); transition: all 0.2s ease; opacity: 0; transform: translateX(-50%); }
.primary-nav a:hover::after { width: 70%; opacity: 1; }
.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; transition: background 0.2s ease; }
.nav-toggle-label:hover { background: rgba(255,255,255,0.05); }
.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; }

/* Animated hamburger */
#nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
#nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
#nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn { display: inline-block; padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; border: 1px solid transparent; transition: all 0.3s ease; font-size: 0.9rem; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(-1px); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: rgba(0,0,0,0.3); box-shadow: 0 4px 12px rgba(225,29,46,.3), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 7px 20px rgba(225,29,46,.4), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-outline { background: transparent; border-color: var(--outline); color: var(--text); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
.btn-lg { padding: .85rem 1.25rem; font-size: 1.05rem; letter-spacing: 0.5px; }

/* Hero */
.hero { padding-top: 1rem; }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.hero-media { border-radius: 0.75rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.hero-media img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.hero-copy h1 { font-size: 1.75rem; margin: .5rem 0; line-height: 1.3; }
.hero-copy p { color: var(--muted); margin-bottom: 1rem; }
.hero-benefits { list-style: none; padding: 0; margin: .75rem 0 1.25rem; color: var(--muted); }
.hero-benefits li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.hero-benefits li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-size: 1.2em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* About features */
.features { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.feature { background: var(--bg-soft); border: 1px solid var(--outline); padding: 1.25rem; border-radius: .75rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: rgba(225,29,46,0.3); }
.feature img { margin-bottom: 0.5rem; }
.feature h3 { margin: .75rem 0 .5rem; font-size: 1.125rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Slots */
.slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.slot { display: block; border-radius: .75rem; overflow: hidden; border: 1px solid var(--outline); background: #0f0f12; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.slot:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 8px 20px rgba(225,29,46,0.15); }
.slot img { transition: transform 0.3s ease; }
.slot:hover img { transform: scale(1.05); }
.slot img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* Bonuses */
.bonus-grid { display: grid; gap: 1.5rem; }
.bonus { background: var(--bg-soft); border: 1px solid var(--outline); border-radius: .75rem; overflow: hidden; display: grid; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bonus:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-color: rgba(225,29,46,0.3); }
.bonus img { width: 100%; transition: transform 0.3s ease; }
.bonus:hover img { transform: scale(1.03); }
.bonus-content { padding: 1.25rem; }
.bonus h3 { margin: .25rem 0 .5rem; font-size: 1.25rem; }
.bonus p { margin: 0 0 1rem; color: var(--muted); line-height: 1.5; }
.bonus .btn { width: 100%; text-align: center; }

/* Game Categories */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.category { background: var(--bg-soft); border: 1px solid var(--outline); padding: 1.5rem; border-radius: .75rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.category:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-color: rgba(225,29,46,0.4); }
.category img { width: 60px; height: 60px; margin-bottom: 1rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); transition: transform 0.3s ease, filter 0.3s ease; }
.category:hover img { transform: scale(1.1); filter: drop-shadow(0 6px 12px rgba(225,29,46,0.3)); }
.category h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.category p { color: var(--muted); margin: 0 0 1.25rem; flex-grow: 1; }
.category .btn { width: 100%; }

/* Mobile Gaming */
.mobile-gaming { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.mobile-grid { display: grid; gap: 2rem; }
.mobile-media { border-radius: 1rem; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.2); border: 1px solid var(--outline); }
.mobile-media img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.mobile-content h2 { margin-top: 0; font-size: 1.75rem; margin-bottom: 1rem; }
.mobile-content p { color: var(--muted); margin-bottom: 1.25rem; }
.mobile-features { list-style: none; padding: 0; margin: 1.25rem 0; }
.mobile-features li { padding-left: 1.75rem; position: relative; margin-bottom: 0.75rem; }
.mobile-features li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.mobile-content .btn { margin-top: 0.5rem; }

/* Payments */
.payment-logos { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 1rem; align-items: center; }
.payment-logos a { display: flex; justify-content: center; align-items: center; padding: 0.75rem; border-radius: 0.5rem; transition: all 0.2s ease; background: var(--bg-soft); border: 1px solid var(--outline); }
.payment-logos a:hover { transform: translateY(-3px); border-color: var(--primary); background: rgba(225,29,46,0.05); text-decoration: none; }
.payment-logos img { filter: grayscale(100%) brightness(1.2); opacity: .9; height: 28px; width: auto; transition: all 0.2s ease; }
.payment-logos a:hover img { filter: grayscale(0%) brightness(1); opacity: 1; }
.payment-crypto p { margin-top: 1rem; color: var(--muted); font-size: .95rem; text-align: center; }
.payment-crypto a { transition: color 0.2s ease; }
.payment-crypto a:hover { color: var(--primary); }
/* Final CTA */
.final-cta .cta-wrap { display: grid; gap: 1.5rem; background: linear-gradient(180deg, #15151a, #0f0f12); border: 1px solid var(--outline); border-radius: .75rem; padding: 1.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.final-cta .cta-text h2 { margin-top: 0; margin-bottom: 0.75rem; font-size: 1.5rem; line-height: 1.3; }
.final-cta .cta-text p { margin-bottom: 1rem; }
.final-cta .benefits { list-style: none; padding: 0; margin: 1rem 0 0; color: var(--muted); }
.final-cta .benefits li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.final-cta .benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.final-cta .cta-actions { display: flex; justify-content: center; align-items: center; }
.final-cta .btn-lg { padding: 0.85rem 1.5rem; font-size: 1.1rem; animation: pulse 2s infinite; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225,29,46,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(225,29,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,46,0); }
}

/* Footer */
.site-footer, .footer { border-top: 1px solid var(--outline); padding: 1.5rem 0; background: #0a0a0d; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 28px; width: auto; transition: filter 0.3s ease; }
.footer-brand:hover img { filter: drop-shadow(0 0 5px rgba(225,29,46,0.5)); }
.footer-brand p { margin: 0; font-size: 0.85rem; white-space: nowrap; }
.footer-nav { width: 100%; margin: 0.75rem 0; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; font-size: 0.85rem; }
.footer-nav a { color: var(--muted); padding: 0.5rem; display: block; white-space: nowrap; transition: color 0.2s ease, transform 0.2s ease; }
.footer-nav a:hover { color: var(--text); text-decoration: none; transform: translateY(-2px); }
.footer-legal { color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.85rem; text-align: center; width: 100%; }
.footer-legal img { height: 24px; width: auto; margin-bottom: 0.5rem; }
.footer-legal p { margin: 0; line-height: 1.6; }

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

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 2rem; margin-bottom: 0.75rem; }

  .hero { padding-top: 2.5rem; padding-bottom: 1rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
  .hero-copy h1 { font-size: 2.25rem; }
  .hero-copy p { font-size: 1.05rem; }
  .hero-benefits li { font-size: 1rem; }

  .features { grid-template-columns: repeat(3, 1fr); }
  .slots-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .bonus-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .final-cta .cta-wrap { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .final-cta .cta-text h2 { font-size: 1.75rem; }
  
  /* Footer tablet improvements */
  .footer-inner, .site-footer .footer-inner { 
    flex-direction: column;
    gap: 1.75rem;
  }
  .footer-brand { 
    width: 100%;
    justify-content: center;
  }
  .footer-brand img { 
    height: 32px;
  }
  .footer-nav { 
    width: 100%;
  }
  .footer-nav ul { 
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    row-gap: 0.75rem;
    column-gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-legal { 
    width: 100%;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .payment-logos { grid-template-columns: repeat(4, 1fr); }
  
  /* SEO content improvements */
  .seo-content h2 { font-size: 2rem; }
  .seo-content h3 { font-size: 1.5rem; }
  .seo-content p, .seo-content li { font-size: 1.05rem; }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  .section { padding: 5rem 0; }
  .section-header h2 { font-size: 2.25rem; }
  
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-copy p { font-size: 1.1rem; }
  
  .slots-grid { grid-template-columns: repeat(7, 1fr); }
  .payment-logos { grid-template-columns: repeat(8, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .mobile-grid { gap: 4rem; }
  .mobile-content h2 { font-size: 2rem; }
  
  .final-cta .cta-wrap { padding: 2.5rem; }
  .final-cta .cta-text h2 { font-size: 2rem; }
  
  /* SEO content desktop improvements */
  .seo-content h2 { font-size: 2.25rem; }
  .seo-content h3 { font-size: 1.75rem; }
}

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