@import url('modern-normalize.css');

:root {
  --color-primary: hsl(125, 60%, 50%);
  --color-primary-light: hsl(125, 60%, 70%);
  --color-primary-dark: hsl(125, 60%, 20%);
  --color-accent: hsl(155, 70%, 55%);
  --color-accent-hover: hsl(155, 70%, 45%);
  --color-bg: hsl(125, 15%, calc(8% * 1.19));
  --color-surface: hsl(125, 10%, calc(14% * 1.19));
  --color-text: hsl(125, 5%, calc(90% * 1.19));
  --space-unit: 31px;
  --space-xs: calc(var(--space-unit) * 0.5);
  --space-sm: var(--space-unit);
  --space-md: calc(var(--space-unit) * 2);
  --space-lg: calc(var(--space-unit) * 3);
  --space-xl: calc(var(--space-unit) * 5);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-main: 0 4px 24px hsla(125, 30%, 10%, 0.31);
  --glow-main: 0 0 calc(20px * 0.86) hsla(155, 70%, 55%, calc(0.4 * 0.86));
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
  background-image:
          radial-gradient(circle at 15% 10%, hsla(155, 70%, 55%, 0.18), transparent 35%),
          radial-gradient(circle at 80% 18%, hsla(125, 60%, 50%, 0.2), transparent 40%),
          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='rgba(128,255,196,0.08)' stroke-width='1'%3E%3Cpath d='M0 0H220V220H0z'/%3E%3Cpath d='M0 55H220M0 110H220M0 165H220M55 0V220M110 0V220M165 0V220'/%3E%3C/g%3E%3C/svg%3E");
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding: clamp(56px, 6svw, 90px) 0;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 2.8svw, 2.5rem);
}

.section-text {
  margin-bottom: 22px;
  max-width: 760px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: hsla(125, 15%, 10%, 0.78);
  border-bottom: 1px solid hsla(155, 70%, 55%, 0.3);
}

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

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  color: var(--color-text);
}

.hero {
  min-height: 84svh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  background-image: url("hero-bg.png");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
          to bottom,
          hsla(160, 30%, 6%, 0.5) 0%,
          hsla(160, 40%, 4%, 0.65) 40%,
          hsla(160, 50%, 3%, 0.85) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.hero__badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  background: hsla(155, 70%, 55%, 0.25);
  border: 1px solid hsla(155, 70%, 55%, 0.5);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.3);
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5.2svw, 4.1rem);
  text-shadow: 0 2px 20px hsla(0, 0%, 0%, 0.5);
}

.hero__subtitle {
  max-width: 70ch;
  font-size: 1.08rem;
  text-shadow: 0 1px 8px hsla(0, 0%, 0%, 0.4);
}

.hero__spotlight {
  width: min(620px, 100%);
  margin-top: 8px;
  padding: clamp(18px, 3svw, 28px);
  border-radius: var(--radius-lg);
  background: hsla(160, 20%, 8%, 0.75);
  border: 1px solid hsla(155, 70%, 55%, 0.4);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-main), var(--glow-main), 0 8px 32px hsla(0, 0%, 0%, 0.4);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.hero__spotlight-label {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
}

.hero__age {
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 0 1px 6px hsla(0, 0%, 0%, 0.4);
}

.banner-18-top,
.banner-18-bottom {
  padding: 14px 0;
  background: hsla(125, 8%, 16%, 0.84);
  border-top: 1px solid hsla(155, 70%, 55%, 0.24);
  border-bottom: 1px solid hsla(155, 70%, 55%, 0.24);
}

.banner-18-top p,
.banner-18-bottom p {
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
}

.btn--neon {
  color: #041109;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: var(--glow-main);
}

.btn--outline {
  color: var(--color-text);
  background: transparent;
  border: 1px solid hsla(155, 70%, 55%, 0.65);
}

.ranking {
  background-image: linear-gradient(180deg, hsla(125, 25%, 15%, 0.4), transparent);
}

.ranking__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.casino-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid hsla(155, 70%, 55%, 0.3);
  background: hsla(125, 8%, 22%, 0.56);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-main);
  display: grid;
  gap: 14px;
}

.casino-card__rank {
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.casino-card__rank span {
  color: var(--color-accent);
}

.trust__grid,
.guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item,
.guide__step,
.cta-banner__inner,
.faq__list details {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid hsla(155, 70%, 55%, 0.26);
  background: hsla(125, 8%, 21%, 0.54);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-main);
}

.trust__item,
.guide__step {
  display: grid;
  gap: 12px;
}

.guide__number {
  font-weight: 800;
  color: var(--color-accent);
}

.faq__list {
  width: 100%;
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.faq__list summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-banner__inner {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  background-image:
          linear-gradient(160deg, hsla(155, 70%, 55%, 0.16), hsla(125, 60%, 50%, 0.08));
}

.footer {
  border-top: 1px solid hsla(155, 70%, 55%, 0.3);
  padding-bottom: 120px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer__bottom {
  margin-top: 24px;
  border-top: 1px solid hsla(155, 70%, 55%, 0.18);
  padding-top: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  padding: 12px 0;
  background: hsla(125, 20%, 8%, 0.96);
  border-top: 1px solid hsla(155, 70%, 55%, 0.35);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__content {
  display: grid;
  gap: 8px;
}

.cookie-banner__title {
  font-size: 1rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__actions label {
  cursor: pointer;
}

#cookie-consent:checked ~ .cookie-banner {
  display: none;
}

.page .header {
  position: relative;
}

.legal-content {
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4svw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid hsla(155, 70%, 55%, 0.28);
  background: hsla(125, 8%, 21%, 0.56);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-main);
  display: grid;
  gap: 22px;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3.4svw, 2.6rem);
}

.legal-content h2 {
  font-size: clamp(1.2rem, 2.4svw, 1.55rem);
  margin-bottom: 8px;
}

.page .footer {
  padding-bottom: 20px;
}

/* Enhanced Legal Pages */
.legal-hero {
  text-align: center;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid hsla(155, 70%, 55%, 0.2);
}

.legal-hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  padding: 18px;
  border-radius: 50%;
  background: hsla(155, 70%, 55%, 0.12);
  border: 2px solid hsla(155, 70%, 55%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-hero__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.legal-hero h1 {
  margin-bottom: 12px;
}

.legal-hero__subtitle {
  color: hsla(125, 5%, 75%, 1);
  max-width: 50ch;
  margin: 0 auto;
}

.legal-cards {
  display: grid;
  gap: 20px;
}

.legal-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid hsla(155, 70%, 55%, 0.2);
  background: hsla(125, 8%, 18%, 0.5);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.legal-card:hover {
  border-color: hsla(155, 70%, 55%, 0.4);
  transform: translateY(-2px);
}

.legal-card__icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: var(--radius);
  background: hsla(155, 70%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.legal-card__content h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.legal-card__content p {
  color: hsla(125, 5%, 80%, 1);
  line-height: 1.7;
}

.legal-card__content a {
  font-weight: 600;
}

/* Contact specific */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: var(--space-sm);
}

.contact-method {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid hsla(155, 70%, 55%, 0.25);
  background: linear-gradient(135deg, hsla(155, 70%, 55%, 0.08), hsla(125, 60%, 50%, 0.04));
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-main);
}

.contact-method__icon {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: 50%;
  background: hsla(155, 70%, 55%, 0.15);
}

.contact-method__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-method h3 {
  font-size: 1.1rem;
}

.contact-method p {
  color: hsla(125, 5%, 75%, 1);
  font-size: 0.95rem;
}

.contact-method .btn {
  margin-top: 4px;
}

/* Responsible Gaming specific */
.warning-banner {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, hsla(45, 90%, 50%, 0.12), hsla(30, 90%, 50%, 0.08));
  border: 1px solid hsla(45, 80%, 50%, 0.35);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-sm);
}

.warning-banner__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.warning-banner__icon svg {
  width: 100%;
  height: 100%;
  stroke: hsl(45, 90%, 60%);
  fill: none;
  stroke-width: 1.5;
}

.warning-banner p {
  font-weight: 500;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: var(--space-sm);
}

.support-link {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid hsla(155, 70%, 55%, 0.2);
  background: hsla(125, 8%, 16%, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-link:hover {
  border-color: hsla(155, 70%, 55%, 0.45);
  background: hsla(125, 8%, 20%, 0.7);
}

.support-link__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.support-link__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.support-link span {
  font-weight: 600;
}

/* About page specific */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: var(--space-sm) 0;
  padding: var(--space-sm) 0;
  border-top: 1px solid hsla(155, 70%, 55%, 0.15);
  border-bottom: 1px solid hsla(155, 70%, 55%, 0.15);
}

.about-stat {
  text-align: center;
}

.about-stat__number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat__label {
  font-size: 0.9rem;
  color: hsla(125, 5%, 70%, 1);
}

/* Decorative elements */
.deco-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.4;
  pointer-events: none;
}

.legal-content {
  position: relative;
  overflow: hidden;
}

.legal-content::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, hsla(155, 70%, 55%, 0.08), transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-methods,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .legal-card__icon {
    margin: 0 auto;
  }

  .warning-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .ranking__grid {
    grid-template-columns: 1fr;
  }

  .guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .trust__grid,
  .guide__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero {
    min-height: 82svh;
  }
}