:root {
  --bg: #0f1021;
  --bg-soft: #181a34;
  --panel: #1f2244;
  --text: #f3f5ff;
  --muted: #b8bedb;
  --neon: #44f3ff;
  --neon-pink: #ff4fd8;
  --accent: #8a7dff;
  --ok: #61d88b;
  --danger: #ff6e86;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(68, 243, 255, 0.08), transparent 20%),
    radial-gradient(circle at 90% 10%, rgba(255, 79, 216, 0.1), transparent 24%),
    linear-gradient(180deg, #0d0e1a 0%, #131533 100%);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
}

main,
.site-header,
.site-footer,
.cookie-banner,
.modal {
  position: relative;
  z-index: 2;
}

.interactive-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 200;
  background: #121533;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(68, 243, 255, 0.6);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

a:hover {
  text-decoration: underline;
}

a[href="mailto:support@10bestukonlinecasinos.com"] {
  word-break: break-all;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
  background: rgba(12, 13, 28, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.logo {
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  font-weight: 900;
  letter-spacing: 0.9px;
  background: linear-gradient(90deg, #ffffff 0%, #44f3ff 45%, #ff4fd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 16px rgba(68, 243, 255, 0.35),
    0 0 22px rgba(255, 79, 216, 0.22);
  white-space: nowrap;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

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

.mobile-auth-item {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--neon-pink));
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(138, 125, 255, 0.35);
  text-decoration: none;
}

.btn::before {
  content: "";
  position: absolute;
  top: -125%;
  left: -36%;
  width: 34%;
  height: 330%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, 0.22);
  transition: left 0.35s ease;
}

.btn:hover::before {
  left: 120%;
}

.hero {
  padding: 78px 0 52px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 3.1rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 24px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

section {
  padding: 48px 0;
}

h2 {
  margin: 0 auto 14px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  text-shadow: 0 0 12px rgba(68, 243, 255, 0.25);
  position: relative;
  display: table;
  padding-bottom: 8px;
}

h3 {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 79, 216, 0.2);
  position: relative;
  display: table;
  padding-bottom: 6px;
}

h1 {
  text-align: center;
  text-shadow:
    0 0 14px rgba(68, 243, 255, 0.25),
    0 0 18px rgba(255, 79, 216, 0.16);
}

h2::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(68, 243, 255, 0.14), rgba(255, 79, 216, 0.95), rgba(68, 243, 255, 0.14));
  box-shadow: 0 0 10px rgba(255, 79, 216, 0.35);
}

h3::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(68, 243, 255, 0.08), rgba(68, 243, 255, 0.75), rgba(68, 243, 255, 0.08));
}

.lead {
  color: var(--muted);
  max-width: 860px;
}

.panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(120, 237, 255, 0.48);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 79, 216, 0.2) inset,
    0 0 34px rgba(68, 243, 255, 0.24);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 216, 0.64);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 79, 216, 0.32) inset,
    0 0 40px rgba(68, 243, 255, 0.34);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature {
  height: 100%;
}

.feature p,
.card p,
.review p {
  color: var(--muted);
}

.panel p,
.panel ul,
.panel ol {
  margin-left: auto;
  margin-right: auto;
}

.panel ul,
.panel ol {
  display: inline-block;
  text-align: left;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card .tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(68, 243, 255, 0.12);
  color: var(--neon);
  margin-bottom: 10px;
}

.inline-cta {
  margin-top: 12px;
}

.btn.inline-cta {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.btn.inline-cta::before {
  display: none;
}

.btn.inline-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 24px rgba(138, 125, 255, 0.4),
    0 0 18px rgba(68, 243, 255, 0.28);
  filter: saturate(1.06);
}

.steps li {
  margin-bottom: 8px;
}

.how-play-panel {
  padding: 30px;
}

.how-play-subtitle {
  max-width: 700px;
  margin: 0 auto 20px;
  color: #d5dcff;
}

.how-play-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.how-step {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(68, 243, 255, 0.34);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  box-shadow: 0 0 14px rgba(255, 79, 216, 0.35);
}

.how-step h3 {
  margin-bottom: 8px;
}

.how-step p {
  margin: 0;
  color: #c5cceb;
}

.how-play-cta {
  display: inline-flex;
  margin-top: 28px;
}

.points-grid {
  align-items: stretch;
}

.points-card {
  padding: 26px 24px;
}

.points-list {
  width: min(460px, 100%);
  list-style: none;
  padding: 0;
  margin: 8px auto 0;
  display: grid;
  gap: 10px;
}

.points-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.points-list li span {
  color: #dce1ff;
}

.points-list li strong {
  min-width: 56px;
  text-align: right;
  letter-spacing: 0.4px;
}

.points-list.positive li strong {
  color: #9bffbe;
  text-shadow: 0 0 10px rgba(97, 216, 139, 0.3);
}

.points-list.neutral li strong {
  color: #b6c8ff;
}

.points-cta {
  margin-top: 14px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.points-cta::before {
  display: none;
}

.points-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(68, 243, 255, 0.64);
  background: rgba(68, 243, 255, 0.1);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(68, 243, 255, 0.26);
}

.tips-grid {
  align-items: stretch;
}

.tip-card {
  padding: 24px 22px;
}

.tip-card-good {
  border-color: rgba(97, 216, 139, 0.52);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(97, 216, 139, 0.16) inset,
    0 0 30px rgba(97, 216, 139, 0.16);
}

.tip-card-alert {
  border-color: rgba(255, 170, 112, 0.52);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 170, 112, 0.16) inset,
    0 0 30px rgba(255, 170, 112, 0.15);
}

.tip-list {
  list-style: none;
  padding: 0;
  margin: 6px auto 0;
  width: min(520px, 100%);
  display: grid;
  gap: 10px;
}

.tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.tip-mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  box-shadow: 0 0 10px rgba(138, 125, 255, 0.3);
}

.game-grid {
  align-items: stretch;
}

.game-block {
  padding: 24px 22px;
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 8px auto 0;
  width: min(520px, 100%);
  display: grid;
  gap: 10px;
}

.game-list li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.game-hero-panel {
  padding: 30px 26px;
}

.game-back-btn {
  margin-top: 16px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.game-back-btn::before {
  display: none;
}

.game-back-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 79, 216, 0.58);
  background: rgba(255, 79, 216, 0.08);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(255, 79, 216, 0.24);
}

.reviews-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review strong {
  color: #fff;
}

.aside-box {
  background: rgba(97, 216, 139, 0.09);
  border: 1px solid rgba(97, 216, 139, 0.46);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: 0 0 22px rgba(97, 216, 139, 0.16);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  padding: 36px 0 18px;
  background: #0c0d1c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer-grid section {
  text-align: center;
}

.site-footer h2,
.site-footer h3 {
  text-align: center;
  text-shadow: none;
  font-size: 1.08rem;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.site-footer h2::after,
.site-footer h3::after {
  display: none;
}

.footer-links,
.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.legal-links li {
  margin-bottom: 8px;
}

.partner-logos {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.partner-logos img {
  width: 132px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

.disclaimer {
  font-size: 0.92rem;
  color: var(--muted);
}

.copyright {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #9aa1c6;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 12, 0.78);
  z-index: 120;
  padding: 14px;
}

.modal.active {
  display: flex;
}

.notice-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 18, 0.76);
  z-index: 130;
  padding: 14px;
}

.notice-modal.active {
  display: flex;
}

.notice-box {
  width: min(420px, 100%);
  background: #131731;
  border: 1px solid rgba(68, 243, 255, 0.34);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(68, 243, 255, 0.2);
}

.notice-box h3 {
  margin-top: 0;
}

.notice-box p {
  margin-bottom: 16px;
  color: #d6dcfa;
}

.modal-box {
  width: min(460px, 100%);
  background: #141732;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.close-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0d1028;
  color: #fff;
  padding: 10px 12px;
}

textarea {
  min-height: 140px;
}

.form-status {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(97, 216, 139, 0.36);
  background: rgba(97, 216, 139, 0.12);
  color: #c6ffdc;
  display: none;
}

.form-status.visible {
  display: block;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-btn {
  flex: 1;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 9px 12px;
  cursor: pointer;
}

.tab-btn.active {
  border-color: rgba(68, 243, 255, 0.8);
  color: var(--neon);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 140;
  background: #141732;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  text-align: center;
}

.page-intro {
  padding: 56px 0 18px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 991px) {
  section {
    padding: 34px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(12, 13, 28, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 4%;
  }

  .mobile-auth-item {
    display: block;
    width: 100%;
    margin-top: 6px;
  }

  .mobile-auth-btn {
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .grid-3,
  .reviews-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .how-play-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 26px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .panel {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

  .hero-cta .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
