:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --card-bg: rgba(255, 255, 255, 0.03);
  --accent-primary: #7dd3fc;
  --accent-secondary: #b8e2f2;
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --border-glow: rgba(125, 211, 252, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(125, 211, 252, 0.25), 0 12px 40px rgba(125, 211, 252, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --container: 1400px;
  --space-section-desktop: 100px;
  --space-section-tablet: 70px;
  --space-section-mobile: 50px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 80% 5%, rgba(125, 211, 252, 0.12), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(184, 226, 242, 0.08), transparent 35%),
    var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: min(var(--container), 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: var(--space-section-mobile) 0;
}

.section + .section {
  border-top: 1px solid rgba(184, 226, 242, 0.08);
}

.page-main {
  padding-top: calc(var(--header-height) + 16px);
}

.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  display: grid;
  gap: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  backdrop-filter: blur(14px);
  background: rgba(20, 20, 23, 0.68);
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand span {
  color: var(--accent-primary);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--accent-secondary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: rgba(20, 20, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(125, 211, 252, 0.18);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 1rem 18px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-top: 6px;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  color: #03131d;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.25);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 30px rgba(125, 211, 252, 0.35), 0 0 0 1px rgba(184, 226, 242, 0.35);
}

.btn.ghost {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(125, 211, 252, 0.4);
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(184, 226, 242, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(10, 10, 13, 0.5), rgba(10, 10, 13, 0.85)),
    url("images/hero-casino-neon-sky-blue-bg.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-glow);
  padding: 34px 18px;
}

.hero-content {
  max-width: 860px;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 20px;
}

.legal-inline {
  margin: 0 auto 24px;
  max-width: 740px;
  font-size: 0.95rem;
  color: var(--accent-secondary);
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
}

.section-title {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  margin-bottom: 14px;
  text-align: center;
}

.section-text {
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.game-shell {
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(184, 226, 242, 0.08));
  box-shadow: var(--shadow-glow);
}

.game-frame {
  width: 100%;
  height: clamp(560px, 70vh, 900px);
  border: 0;
  border-radius: 16px;
  background: #0f1115;
}

.banner-image {
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 226, 242, 0.14);
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.icon-item {
  text-align: center;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(184, 226, 242, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.icon-item img {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 0;
}

/* Footer */
.site-footer {
  margin-top: 18px;
  border-top: 1px solid rgba(184, 226, 242, 0.12);
  background: rgba(20, 20, 23, 0.7);
}

.footer-inner {
  padding: 30px 0;
  display: grid;
  gap: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-secondary);
}

/* Utilities */
.fade-in {
  animation: fadeInUp 0.7s ease both;
}

.center {
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (min-width: 768px) {
  .section {
    padding: var(--space-section-tablet) 0;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

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

  .game-wrap {
    width: 95%;
    margin: 0 auto;
  }

  .nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 16px;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 8px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-section-desktop) 0;
  }

  .game-wrap {
    width: 88%;
  }
}