:root {
  color-scheme: dark;
  --bg: #08080b;
  --panel: #12131a;
  --panel-2: #191a23;
  --text: #f8fafc;
  --muted: #a8adbd;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #ffd45a;
  --red: #fa3434;
  --cyan: #38d4ff;
  --green: #37e69a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(250, 52, 52, 0.22), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(56, 212, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #08080b 0%, #111118 44%, #08080b 100%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(8, 8, 11, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.live-pill,
.primary-action,
.secondary-action,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.live-pill {
  min-width: 84px;
  background: linear-gradient(135deg, #ff1f1f, #b60000);
  border: 1px solid rgba(255, 75, 75, 0.82);
  color: #fff;
  box-shadow:
    0 0 18px rgba(250, 52, 52, 0.48),
    0 12px 30px rgba(250, 52, 52, 0.3);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    transform 0.22s ease;
}

.live-pill:hover,
.live-pill:focus-visible {
  border-color: rgba(255, 214, 214, 0.98);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.52),
    0 0 34px rgba(255, 31, 31, 0.9),
    0 0 66px rgba(255, 31, 31, 0.52),
    0 16px 42px rgba(250, 52, 52, 0.48);
  filter: saturate(1.18) brightness(1.08);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 104px) clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.86) 0%, rgba(8, 8, 11, 0.58) 44%, rgba(8, 8, 11, 0.32) 100%),
    linear-gradient(180deg, rgba(8, 8, 11, 0.36), rgba(8, 8, 11, 0.84)),
    url("casino-bg.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 42%, rgba(250, 52, 52, 0.2), transparent 34%);
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(4.6rem, 13vw, 10.2rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.casino-content p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.play-button {
  background: linear-gradient(135deg, var(--gold), #ff9a2c);
  color: #171006;
  border: 1px solid rgba(255, 232, 141, 0.46);
  box-shadow: 0 18px 42px rgba(255, 154, 44, 0.24);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    transform 0.22s ease;
}

.primary-action {
  min-width: 138px;
  padding: 0 22px;
}

.secondary-action {
  min-width: 138px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.stage-card {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(18, 19, 26, 0.92);
  box-shadow: var(--shadow);
}

.stage-card-main {
  inset: 4% 2% auto auto;
  width: min(470px, 88vw);
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(2deg);
}

.stage-card-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.stage-card-main div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
}

.stage-card-main span {
  color: var(--muted);
  font-weight: 800;
}

.stage-card-main strong {
  color: var(--gold);
  font-size: 1.12rem;
}

.stage-card-small {
  right: 0;
  bottom: 42px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  width: 250px;
  padding: 18px;
  border-radius: 8px;
}

.stage-card-small span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan);
  color: #061016;
  font-size: 1.7rem;
  font-weight: 900;
}

.stage-card-small p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.stage-chip {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 14px 36px rgba(250, 52, 52, 0.28);
  font-weight: 900;
}

.chip-one {
  left: 0;
  top: 22%;
}

.chip-two {
  right: 12%;
  top: 0;
  background: var(--green);
  color: #03130c;
}

.section-shell,
.video-section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.casino-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 26, 35, 0.98), rgba(13, 14, 19, 0.98));
  box-shadow: var(--shadow);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.casino-card.featured {
  border-color: rgba(255, 212, 90, 0.5);
}

.casino-card:hover,
.casino-card:focus-within {
  border-color: rgba(255, 212, 90, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 212, 90, 0.28),
    0 0 28px rgba(255, 212, 90, 0.46),
    0 0 64px rgba(250, 52, 52, 0.28),
    var(--shadow);
  transform: translateY(-4px);
}

.casino-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: #08080b;
  font-weight: 900;
}

.casino-image {
  background: #050507;
}

.casino-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.dragonia-image img {
  object-position: center 18%;
}

.casino-content {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.bonus-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bonus-row span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bonus-row strong {
  color: var(--text);
  font-size: 1.12rem;
}

.play-button {
  width: 100%;
  margin-top: 6px;
}

.play-button:hover,
.play-button:focus-visible {
  border-color: rgba(255, 247, 205, 0.95);
  box-shadow:
    0 0 16px rgba(255, 212, 90, 0.78),
    0 0 34px rgba(255, 154, 44, 0.58),
    0 18px 46px rgba(255, 154, 44, 0.34);
  filter: brightness(1.08) saturate(1.16);
  transform: translateY(-2px);
}

.provider-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #f5f7fb;
  color: #09090d;
}

.provider-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 18px 0;
  animation: marquee 22s linear infinite;
}

.provider-track span {
  min-width: 174px;
  padding: 14px 18px;
  border: 1px solid #d8dce6;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 900;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.video-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  background: #111118;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.schedule-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #08080b;
}

.schedule-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.table-row {
  display: grid;
  grid-template-columns: 1.45fr repeat(7, minmax(96px, 1fr));
  min-width: 880px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span {
  min-height: 58px;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.table-row span:last-child {
  border-right: 0;
}

.table-head span {
  background: rgba(255, 212, 90, 0.1);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050507;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 0;
}

.responsible-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .video-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 8, 11, 0.7), rgba(8, 8, 11, 0.9)),
      url("casino-bg.png") center top / cover no-repeat;
  }

  .hero-stage {
    min-height: 470px;
  }

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

  .casino-card {
    grid-template-columns: minmax(210px, 0.7fr) 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .hero {
    padding-top: 72px;
    background:
      linear-gradient(180deg, rgba(8, 8, 11, 0.62), rgba(8, 8, 11, 0.94)),
      url("casino-bg.png") center top / auto 100% no-repeat;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    flex: 1 1 140px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .stage-card-main {
    width: 82vw;
  }

  .stage-card-small {
    width: 220px;
    bottom: 18px;
  }

  .chip-one {
    top: 12%;
  }

  .chip-two {
    right: 0;
  }

  .casino-card {
    grid-template-columns: 1fr;
  }

  .bonus-row {
    grid-template-columns: 1fr;
  }

  .bonus-row span {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

}
