:root {
  --main-bg: #0a0a0a; /* Deep black for cyberpunk */
  --surface: #1e1e1e; /* Dark gray */
  --surface-2: #2a2a2a; /* Mid gray */
  --text: #ffffff; /* White */
  --muted: #a0a0a0; /* Gray muted */
  --muted-2: #00ff99; /* Neon teal */
  --accent: #ff00ff; /* Magenta neon */
  --accent2: #00ffff; /* Cyan neon */
  --danger: #ff0033; /* Red neon */
  --success: #00ff33; /* Green neon */
  --warning: #ffff00; /* Yellow neon */
  --gradient: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  --border-radius: 16px;
  --shadow: 0 0 14px rgba(255, 0, 255, 0.3), 0 4px 12px rgba(0, 255, 255, 0.2);
  --shadow-strong: 0 0 30px rgba(0, 255, 255, 0.4),
    0 8px 12px rgba(255, 0, 255, 0.3);
  /* --neon-glow: 0 0 10px currentColor; */
}
/* Base */
html {
  box-sizing: border-box;
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  background: var(--main-bg);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  margin: 0;
  line-height: 1.4;
  overflow-x: hidden;
}
h1,
h2,
h3,
.casino-card__brand,
.menu__item a,
.hero__title {
  font-family: "Orbitron", sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header--scrolled {
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.15);
}
.header__top-offer {
  width: 100%;
  background: var(--gradient);
  color: #000000;
  text-align: center;
  font-weight: 700;
  padding: 0.8em 0.5em;
  font-size: 1.02em;
  letter-spacing: 0.2px;
  text-shadow: var(--neon-glow);
}
.header__wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0.8em 1em 0.5em 1em;
  position: relative;
  gap: 1em;
}
.header__logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  filter: drop-shadow(var(--neon-glow));
}
.header__nav {
  flex: 1;
}
.menu {
  display: flex;
  gap: 1.2em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu__item a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7em 1.2em;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, text-shadow 0.2s;
}
.menu__item--active a,
.menu__item a[aria-current="page"],
.menu__item a:hover {
  background: var(--accent);
  color: #000000;
  text-shadow: var(--neon-glow);
}
.header__warn {
  display: flex;
  align-items: center;
  font-size: 1em;
  gap: 0.6em;
  background: rgba(255, 0, 51, 0.1);
  border-radius: 9px;
  padding: 0.2em 1em;
  margin-left: 1em;
  max-width: 100%;
  overflow-wrap: anywhere;
  box-shadow: var(--neon-glow);
}
.warn__age {
  background: var(--danger);
  color: #fff;
  border-radius: 7px;
  padding: 0.2em 0.8em;
  font-weight: bold;
  font-size: 1.03em;
  flex-shrink: 0;
  text-shadow: var(--neon-glow);
}
/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  margin-left: 1em;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  align-items: center;
}
.burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.burger__icon {
  position: relative;
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
}
.burger__icon::before,
.burger__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger__icon::before {
  transform: translateY(-8px);
}
.burger__icon::after {
  transform: translateY(8px);
}
/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: var(--main-bg);
  box-shadow: -12px 0 32px rgba(0, 255, 255, 0.2);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2em 1.2em;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.28s ease;
  opacity: 0;
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav__close {
  background: none;
  border: none;
  font-size: 2em;
  color: var(--accent2);
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 1em;
}
.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2em 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.mobile-nav__list a {
  color: var(--accent2);
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  padding: 0.4em 0.4em;
  border-radius: 8px;
  transition: background 0.18s, text-shadow 0.18s;
}
.mobile-nav__list a[aria-current="page"],
.mobile-nav__list a:hover {
  background: var(--accent);
  color: #000000;
  text-shadow: var(--neon-glow);
}
.mobile-nav__warn {
  margin-top: auto;
  font-size: 0.98em;
  color: var(--warning);
}
/* Hero */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-bg);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.7),
      rgba(10, 10, 10, 0.9)
    ),
    url("../images/neon-banner.webp") center/cover no-repeat;
  opacity: 0.85;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(30, 30, 30, 0.6);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.5em 2em;
}
.hero__title {
  font-size: 2.4em;
  font-weight: 700;
  margin-bottom: 0.4em;
  text-shadow: var(--neon-glow);
  color: var(--accent2);
}
.hero__subtitle {
  font-size: 1.1em;
  font-weight: 500;
  color: var(--muted-2);
  margin-bottom: 0.2em;
  text-shadow: 0 0 4px currentColor;
}
/* Casinos */
.casinos {
  max-width: 980px;
  margin: 2em auto;
  padding: 0 1em;
}
.casino-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 180px;
  margin-bottom: 2em;
  transition: transform 0.22s ease, box-shadow 0.24s ease;
}
/* Animated neon gradient border */
.casino-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px; /* border thickness */
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, #ff00ff, #00ffff, #ff00ff);
  background-size: 200% 200%;
  animation: borderGlow 3s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude; /* show only the border */
  pointer-events: none;
}
@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.casino-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.casino-card__left {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface) 50%, var(--accent) 100%);
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  padding: 1.2em 0.8em;
  min-width: 140px;
  box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.2);
}
.casino-card__index {
  background: var(--accent2);
  color: #000000;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4em;
  box-shadow: var(--neon-glow);
  border: 3px solid var(--accent);
  margin-bottom: 1.2em;
  flex-shrink: 0;
}
.casino-card__logo-wrap {
  align-self: center;
}
.casino-card__logo {
  height: 110px;
  width: 110px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: contain;
  border: 2px dashed var(--accent2);
  transition: transform 0.2s ease, filter 0.2s;
  padding: 6px;
}
.casino-card:hover .casino-card__logo {
  transform: scale(1.06) rotate(2deg);
  filter: brightness(1.1);
}
.casino-card__main {
  flex: 3;
  padding: 1.4em 1.8em 1.4em 1.2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.casino-card__brand {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--accent2);
  text-shadow: var(--neon-glow);
}
.casino-card__bonus {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--success);
  background: rgba(0, 255, 51, 0.15);
  border-radius: 10px;
  padding: 0.35em 0.8em;
  margin: 0.3em 0 0.9em 0;
  box-shadow: var(--neon-glow);
}
.casino-card__bonus b {
  color: var(--danger);
}
.casino-card__desc {
  margin-bottom: 0.7em;
  font-size: 0.98em;
  color: var(--muted-2);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 0 2px currentColor;
}
.casino-card__tag {
  display: inline-block;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0.25em 0.8em 0.25em 0;
  padding: 0.2em 0.8em;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  text-shadow: var(--neon-glow);
  box-shadow: inset 0 0 5px currentColor;
}
.casino-card__tag--safe {
  background: var(--success);
  color: #000000;
}
.casino-card__tag--fast {
  background: var(--accent2);
  color: #000000;
}
.casino-card__tag--verified {
  background: var(--accent);
  color: #000000;
}
.casino-card__tag--premium {
  background: var(--warning);
  color: #000000;
}
.casino-card__tag--support {
  background: var(--accent2);
  color: #000000;
}
.casino-card__payments {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.8em 0 0.2em 0;
}
.casino-card__payments img {
  height: 32px;
  width: auto;
  background: transparent;
  border-radius: 8px;
  padding: 3px 8px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}
.casino-card__right {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 1.4em 1.2em 1.4em 0.4em;
  min-width: 140px;
  background: linear-gradient(
    135deg,
    var(--surface-2) 70%,
    var(--accent2) 100%
  );
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
}
.casino-card__eval {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
}
.casino-card__eval-label {
  font-size: 1em;
  color: var(--muted-2);
  opacity: 0.85;
  font-weight: 600;
  margin-bottom: 0.15em;
  text-shadow: var(--neon-glow);
}
.casino-card__score-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rating-circle {
  width: 58px;
  height: 58px;
  transform: rotate(-90deg);
}
.rating-circle__bg {
  stroke: var(--surface-2);
  stroke-width: 4;
  fill: none;
}
.rating-circle__fill {
  stroke: var(--success);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 2s cubic-bezier(0.89, -0.1, 0.47, 1.21);
}
.casino-card__score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
  color: var(--success);
  font-size: 1.15em;
  text-shadow: var(--neon-glow);
}
.casino-card__cta {
  background: var(--gradient);
  color: #000000;
  border: none;
  padding: 0.85em 2em;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.17s, box-shadow 0.22s, background 0.29s;
  margin-top: 0.8em;
  margin-bottom: 0.3em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-shadow: var(--neon-glow);
}
.casino-card__cta:hover {
  animation: btn-vibrate 0.22s linear;
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
}
/* Info block */
.casino-info {
  max-width: 980px;
  margin: 2.5em auto;
  font-size: 1.08em;
  color: var(--muted-2);
  background: rgba(42, 42, 42, 0.6);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 2em 1.3em;
}
.casino-info h2,
.casino-info h3 {
  color: var(--accent);
  text-shadow: var(--neon-glow);
}
/* Footer */
.footer {
  background: var(--surface);
  padding: 2em 2em;
  margin-top: 2em;
  box-shadow: 0 -2px 24px rgba(0, 255, 255, 0.15);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}
.footer__nav img {
  margin-right: 1em;
  border-radius: 8px;
  padding: 4px;
  filter: drop-shadow(var(--neon-glow));
}
.footer__about {
  max-width: 360px;
  color: var(--muted);
}
.footer__legal {
  font-size: 1.07em;
  margin-top: 1em;
}
.footer__legal a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.22s, text-shadow 0.22s;
  font-weight: 600;
  margin-right: 1em;
  white-space: nowrap;
}
.footer__legal a:hover {
  color: var(--accent);
  text-shadow: var(--neon-glow);
}
.footer__copy {
  max-width: 1200px;
  margin: 1em auto 0 auto;
  padding-top: 1em;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  text-align: center;
  color: var(--muted);
  font-size: 0.95em;
  line-height: 1.5;
}
/* Responsive */
@media (max-width: 1024px) {
  .header__wrap,
  .casinos,
  .footer,
  .casino-info {
    max-width: 99vw;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .menu {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .header__warn {
    flex: 1 1 100%;
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .header__top-offer {
    font-size: 0.8em;
  }
  .hero__title {
    font-size: 1.8em;
  }
  .hero {
    min-height: 200px;
  }
  .hero__subtitle {
    display: none;
  }
  .header__wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .header__logo {
    margin-bottom: 0;
    order: 1;
  }
  .burger {
    order: 2;
    margin-left: 0;
  }
  .header__warn {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 0.6em;
    font-size: 0.7em;
  }
  .casino-card {
    flex-direction: column;
    min-height: 0;
    margin-bottom: 2em;
  }
  .casino-card__left {
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
  }
  .casino-card__left,
  .casino-card__right {
    border-radius: 0;
    padding: 1em;
  }
  .casino-card__main {
    padding: 1em;
  }
  .footer__inner {
    flex-direction: column;
    gap: 1.2em;
  }
  .footer__about {
    margin-right: 0;
  }
  .casino-card__logo {
    width: auto;
  }
}
.reg {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}
.footer__nav.reg a {
  display: block;
  width: 100px;
  height: 60px;
}
.footer__nav.reg a:first-child {
  width: 60px;
  height: 60px;
}
.footer__nav.reg a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
