:root {
  --dark-navy: #06122b;
  --casino-blue: #063f96;
  --electric-blue: #00b7ff;
  --cyan-glow: #63eaff;
  --white: #ffffff;
  --gold: #ffd34d;
  --red: #ff2d2d;
  --panel: rgba(5, 34, 82, 0.86);
  --panel-light: rgba(6, 63, 150, 0.72);
  --line: rgba(99, 234, 255, 0.56);
  --shadow: 0 0 24px rgba(0, 183, 255, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 92px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(99, 234, 255, 0.34), transparent 28rem),
    radial-gradient(circle at top right, rgba(255, 211, 77, 0.22), transparent 24rem),
    linear-gradient(180deg, #d9f7ff 0, #8ddfff 12rem, #093f98 25rem, var(--dark-navy) 55rem);
  min-width: 320px;
}

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

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

.floating-icons {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 18;
}

.floating-icon {
  pointer-events: auto;
  position: absolute;
  width: clamp(74px, 7vw, 118px);
  filter: drop-shadow(0 0 16px rgba(99, 234, 255, 0.86));
  animation: floatBonus 3.8s ease-in-out infinite;
}

.floating-icon img {
  width: 100%;
  height: auto;
}

.floating-icon-left {
  left: max(0.4rem, calc((100vw - 1500px) / 2 - 5.5rem));
  top: 28vh;
}

.floating-icon-right {
  right: max(0.4rem, calc((100vw - 1500px) / 2 - 5.5rem));
  top: 23vh;
}

.floating-icon-low {
  top: 56vh;
}

.floating-delay-1 {
  animation-delay: 0.1s;
}

.floating-delay-2 {
  animation-delay: 0.85s;
}

.floating-delay-3 {
  animation-delay: 1.6s;
}

@keyframes floatBonus {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-24px) scale(1.04);
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--dark-navy);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 18, 43, 0.94), rgba(6, 63, 150, 0.92));
  box-shadow: var(--shadow);
}

.top-shell {
  max-width: 1500px;
  margin: 0 auto;
  min-height: 92px;
  padding: 0.85rem 1rem 0.55rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  grid-column: 2;
}

.brand img {
  width: min(420px, 62vw);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(99, 234, 255, 0.75));
}

.quick-actions {
  justify-self: end;
  display: flex;
  gap: 0.55rem;
}

.quick-actions a,
.cta-row a,
.mobile-auth a,
.mini-cta,
.wallet-actions a,
.provider-heading a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: var(--dark-navy);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8b8, var(--gold) 45%, #f79811);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), 0 0 18px rgba(255, 211, 77, 0.45);
}

.quick-actions a:first-child,
.cta-row a:nth-child(2),
.wallet-actions a:nth-child(2) {
  color: var(--white);
  background: linear-gradient(180deg, #4ee8ff, var(--electric-blue) 45%, #0645a3);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.announcement {
  overflow: hidden;
  border-top: 1px solid rgba(99, 234, 255, 0.32);
  background: linear-gradient(90deg, #041332, #0656bc, #041332);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 2rem;
  padding: 0.38rem 1rem;
  color: var(--cyan-glow);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

.marquee-track span::before {
  content: "◆";
  margin-right: 0.55rem;
  color: var(--gold);
}

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

.lobby-shell {
  max-width: 1500px;
  margin: 1rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(560px, 2.1fr) minmax(230px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.side-column,
.centre-stage {
  min-width: 0;
}

.panel,
.promo-strip,
.checkin-card,
.ranking-card,
.bonus-stack a,
.promo-grid a,
.provider-tile,
.hero-lobby {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 105, 208, 0.86), rgba(4, 25, 68, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--shadow);
}

.panel {
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
}

.panel-title {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-panel {
  border-color: rgba(255, 45, 45, 0.8);
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.2), rgba(6, 18, 43, 0.92));
}

.alert-panel p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.transaction-table {
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(99, 234, 255, 0.25);
  background: rgba(6, 18, 43, 0.54);
}

.transaction-head,
.transaction-list div {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.8fr;
  gap: 0.35rem;
  padding: 0.48rem 0.55rem;
  font-size: 0.8rem;
}

.transaction-head {
  color: var(--cyan-glow);
  font-weight: 900;
  background: rgba(0, 183, 255, 0.18);
}

.transaction-list div {
  border-top: 1px solid rgba(99, 234, 255, 0.16);
}

.transaction-list strong {
  color: var(--gold);
}

.transaction-list div.is-new {
  animation: flashRow 0.8s ease;
}

@keyframes flashRow {
  0% { background: rgba(99, 234, 255, 0.38); }
  100% { background: transparent; }
}

.stacked-promos,
.bonus-stack,
.login-art {
  display: grid;
  gap: 0.85rem;
}

.promo-strip {
  position: relative;
  overflow: hidden;
  min-height: 82px;
  border-radius: 8px;
}

.promo-strip img {
  width: 100%;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
}

.promo-strip span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.55rem;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 2px 4px #000;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 43, 0.9));
}

.hero-lobby {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 10px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lobby::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 43, 0.78), rgba(6, 63, 150, 0.2) 55%, rgba(6, 18, 43, 0.75)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 12px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
  padding: clamp(1.3rem, 4vw, 2.4rem);
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  text-shadow: 0 0 14px rgba(99, 234, 255, 0.82), 0 4px 0 rgba(6, 18, 43, 0.85);
}

.hero-copy p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0 0 1.15rem;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 700;
}

.cta-row,
.mobile-auth,
.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.roo-placeholder {
  position: absolute;
  right: 1.3rem;
  bottom: 1.1rem;
  z-index: 2;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 211, 77, 0.8);
  border-radius: 50%;
  color: var(--dark-navy);
  background: radial-gradient(circle at 35% 25%, #fff, var(--gold) 38%, #d87a00);
  box-shadow: 0 0 32px rgba(255, 211, 77, 0.55);
  font-weight: 1000;
}

.roo-placeholder span {
  font-size: 2rem;
}

.roo-placeholder small {
  position: absolute;
  bottom: 1.45rem;
  font-weight: 900;
}

.mobile-auth {
  display: none;
  margin: 0.8rem 0;
}

.mobile-auth a {
  flex: 1;
}

.provider-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0.65rem;
}

.provider-heading h2 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(99, 234, 255, 0.7);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.provider-tile {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 0.6rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.provider-tile::before,
.promo-grid a::before,
.bonus-stack a::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transition: transform 0.5s ease;
}

.provider-tile:hover,
.promo-grid a:hover,
.bonus-stack a:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--cyan-glow);
  box-shadow: 0 0 26px rgba(99, 234, 255, 0.65);
}

.provider-tile:hover::before,
.promo-grid a:hover::before,
.bonus-stack a:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.provider-tile img {
  width: min(86px, 75%);
  height: auto;
  margin: 0 auto 0.25rem;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.32));
}

.provider-tile span {
  display: block;
  min-height: 2.2em;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0 2px 2px #000;
}

.slot-grid {
  margin-bottom: 1rem;
}

.slot-tile {
  min-height: auto;
  padding: 0.45rem;
}

.slot-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.checkin-card,
.bonus-stack a,
.promo-grid a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.18rem;
  padding: 1rem;
  border-radius: 8px;
}

.checkin-card {
  margin-bottom: 0.85rem;
}

.grandlaunch-card {
  margin-bottom: 0.85rem;
}

.image-card {
  overflow: hidden;
  min-height: auto;
  padding: 0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 26px rgba(99, 234, 255, 0.65);
}

.image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.checkin-card span,
.bonus-stack span,
.promo-grid span {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.checkin-card strong,
.bonus-stack strong,
.promo-grid strong {
  color: var(--gold);
  font-size: 0.92rem;
}

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

.login-art img {
  width: 100%;
  height: auto;
}

.balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border-radius: 8px;
  color: var(--cyan-glow);
  background: rgba(6, 18, 43, 0.72);
}

.balance strong {
  color: var(--gold);
  font-size: 1.8rem;
}

.wallet-actions a {
  flex: 1 1 80px;
  padding-inline: 0.55rem;
  font-size: 0.78rem;
}

.ranking-card {
  margin-bottom: 0.85rem;
}

.bonus-stack a {
  min-height: 82px;
  background: linear-gradient(135deg, rgba(6, 63, 150, 0.96), rgba(0, 183, 255, 0.48));
}

.promo-grid {
  max-width: 1500px;
  margin: 1rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.promo-grid a {
  min-height: 108px;
  background:
    linear-gradient(135deg, rgba(0, 183, 255, 0.8), rgba(6, 18, 43, 0.92)),
    var(--casino-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-area {
  max-width: 1120px;
  margin: 1.25rem auto 6rem;
  padding: clamp(1rem, 4vw, 2rem);
  color: #ecfbff;
  border-top: 1px solid rgba(99, 234, 255, 0.36);
}

.content-area h2 {
  margin: 2rem 0 0.75rem;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-shadow: 0 0 10px rgba(99, 234, 255, 0.55);
}

.content-area p {
  margin: 0 0 1rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(6, 18, 43, 0.72);
}

caption {
  padding: 0.85rem;
  color: var(--gold);
  font-weight: 900;
  text-align: left;
  background: rgba(0, 183, 255, 0.16);
}

th,
td {
  padding: 0.85rem;
  border-top: 1px solid rgba(99, 234, 255, 0.22);
  text-align: left;
}

th {
  color: var(--cyan-glow);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid rgba(99, 234, 255, 0.36);
  border-radius: 8px;
  background: rgba(6, 63, 150, 0.36);
}

summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  color: var(--gold);
  font-weight: 900;
}

details p {
  padding: 0 1rem 1rem;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(84px, 1fr));
  gap: 0.35rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 0.48rem 0.65rem max(0.48rem, env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(6, 63, 150, 0.98), rgba(6, 18, 43, 0.98));
  box-shadow: 0 -8px 24px rgba(0, 183, 255, 0.34);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 10px;
}

.bottom-nav img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(99, 234, 255, 0.62));
}

.bottom-nav a:nth-child(3) img {
  width: 72px;
  height: 48px;
}

@media (max-width: 1180px) {
  .lobby-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .left-rail,
  .right-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .panel,
  .checkin-card {
    margin-bottom: 0;
  }

  .bonus-stack,
  .stacked-promos,
  .login-art {
    grid-column: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: 96px;
  }

  .top-shell {
    min-height: 72px;
    grid-template-columns: 1fr;
    padding: 0.65rem 0.8rem 0.45rem;
  }

  .brand {
    grid-column: auto;
    justify-self: center;
  }

  .brand img {
    width: min(330px, 86vw);
  }

  .quick-actions {
    display: none;
  }

  .marquee-track {
    gap: 1.25rem;
    font-size: 0.78rem;
    animation-duration: 18s;
  }

  .lobby-shell,
  .promo-grid {
    padding: 0 0.65rem;
  }

  .hero-lobby {
    min-height: 430px;
  }

  .hero-copy {
    padding: 1.1rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .cta-row a {
    flex: 1 1 130px;
    padding-inline: 0.7rem;
    font-size: 0.82rem;
  }

  .roo-placeholder {
    width: 86px;
    height: 86px;
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .mobile-auth {
    display: flex;
  }

  .provider-heading h2 {
    font-size: 1.08rem;
  }

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

  .provider-tile {
    min-height: 112px;
    padding: 0.45rem;
  }

  .provider-tile img {
    width: min(68px, 74%);
  }

  .provider-tile span {
    font-size: 0.72rem;
  }

  .left-rail,
  .right-rail,
  .bonus-stack,
  .stacked-promos,
  .login-art,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .bonus-stack,
  .stacked-promos,
  .login-art {
    grid-column: auto;
  }

  .right-rail {
    order: 3;
  }

  .left-rail {
    order: 2;
  }

  .centre-stage {
    order: 1;
  }

  .promo-grid {
    gap: 0.65rem;
  }

  .promo-grid a {
    min-height: 86px;
  }

  .content-area {
    margin-bottom: 5rem;
    padding-inline: 0.85rem;
  }

  .floating-icon {
    width: 66px;
  }

  .floating-icon-left {
    left: -0.6rem;
    top: 34vh;
  }

  .floating-icon-right {
    right: -0.6rem;
    top: 30vh;
  }

  .floating-icon-low {
    top: 62vh;
  }

  .bottom-nav {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.12rem;
    max-width: none;
    padding: 0.38rem 0.35rem max(0.38rem, env(safe-area-inset-bottom));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .bottom-nav a {
    min-height: 68px;
  }

  .bottom-nav img {
    width: 54px;
    height: 54px;
  }

  .bottom-nav a:nth-child(3) img {
    width: 68px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-lobby {
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
