/* Nova — Aurora Night UI (nv-*)
   A bolder, geometry-driven design refresh. Angled frames, notched cards,
   floating cookie pill, and reflowed layouts deliver a strong visual break. */

:root {
  /* Canvas */
  --nv-canvas: #0a0c11; /* ink */
  --nv-panel: #0f1421; /* panels */
  --nv-layer: #141b2a; /* elevated */

  /* Text */
  --nv-text: #f0f4ff;
  --nv-muted: #9db0cb;

  /* Accents */
  --nv-primary: #76f2c5; /* mint */
  --nv-primary-2: #2fb0ff; /* azure */
  --nv-accent: #ffb347; /* amber */
  --nv-rose: #ff5cab; /* pink */

  /* Lines & radii */
  --nv-bd: rgba(255, 255, 255, 0.08);
  --nv-bd-soft: rgba(255, 255, 255, 0.05);
  --nv-r-sm: 12px;
  --nv-r: 16px;
  --nv-r-lg: 22px;

  /* Shadows & glows */
  --nv-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.6);
  --nv-shadow-2: 0 18px 46px rgba(0, 0, 0, 0.6);
  --nv-glow-mint: 0 0 0 1px rgba(118, 242, 197, 0.36),
    0 0 24px rgba(118, 242, 197, 0.2);
  --nv-glow-azure: 0 0 0 1px rgba(47, 176, 255, 0.38),
    0 0 26px rgba(47, 176, 255, 0.2);
  --nv-glow-amber: 0 0 0 1px rgba(255, 179, 71, 0.38),
    0 0 24px rgba(255, 179, 71, 0.18);

  /* Motion */
  --nv-tr-fast: 120ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --nv-tr: 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(rgba(6, 9, 14, 0.62), rgba(6, 9, 14, 0.62)),
    url("../img/bg-casino.webp") center / cover no-repeat fixed,
    radial-gradient(
      1200px 640px at 10% -10%,
      rgba(118, 242, 197, 0.08),
      transparent 60%
    ),
    radial-gradient(
      1000px 560px at 120% 0%,
      rgba(47, 176, 255, 0.08),
      transparent 60%
    ),
    conic-gradient(
      from 210deg at 120% 120%,
      rgba(255, 179, 71, 0.06),
      transparent 25%
    ),
    linear-gradient(180deg, #090b10 0%, #0a0c11 100%);
  color: var(--nv-text);
  font-family: "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global focus ring */
:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--nv-primary) 70%, #fff);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Container */
.nova-container {
  width: min(1180px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Typography */
.nova-title-xxl {
  font-family: "Sora", ui-sans-serif, system-ui;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(2.4rem, 1.1rem + 4.4vw, 4.3rem);
  line-height: 1.04;
  margin: 0.25rem 0 0.5rem;
}
.nova-title-xl {
  font-family: "Sora", ui-sans-serif, system-ui;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.4rem);
  margin: 0.2rem 0 0.45rem;
}
.nova-title-lg {
  font-family: "Sora", ui-sans-serif, system-ui;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0.2rem 0 0.4rem;
}
.nova-lead {
  color: #e1eaff;
  margin: 0 0 16px;
}
.nova-muted {
  color: var(--nv-muted);
}

/* Utilities */
.nv-mt-48 {
  margin-top: 48px;
}

/* Chips */
.nova-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: #12192a;
  border: 1px solid var(--nv-bd);
  color: var(--nv-text);
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: inset 0 0 0 1px rgba(118, 242, 197, 0.14);
}
.nova-chip--age {
  background: #221225;
  border-color: rgba(255, 92, 171, 0.55);
  color: #ffe6f5;
}
.nova-chip--age::before {
  content: none;
}
.nova-chip--age::after {
  /* ribbon */
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #ffb347, #ff5cab);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 1px;
  opacity: 0.9;
}

/* Buttons with angled caps */
.nova-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--nv-bd);
  background: #121a2b;
  color: #f2f7ff;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--nv-tr-fast), background var(--nv-tr-fast),
    border-color var(--nv-tr-fast), box-shadow var(--nv-tr-fast);
  font-weight: 800;
}
.nova-btn::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 179, 71, 0.6);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
  opacity: 0.9;
}
.nova-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(118, 242, 197, 0.6);
  box-shadow: var(--nv-glow-mint);
}
.nova-btn:active {
  transform: translateY(0);
}
.nova-btn--primary {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-2));
  border-color: transparent;
  color: #041015;
  box-shadow: var(--nv-glow-azure);
}
.nova-btn--primary:hover {
  filter: brightness(1.03);
  box-shadow: var(--nv-glow-mint);
}
.nova-btn--ghost {
  background: transparent;
  border-color: rgba(47, 176, 255, 0.5);
}
.nova-btn--ghost:hover {
  box-shadow: var(--nv-glow-azure);
}
.nova-btn--accent {
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-rose));
  color: #1a0a0a;
  border: 0;
  box-shadow: var(--nv-glow-amber);
}

/* Hero — asymmetrical geometry */
.nova-hero {
  padding: 72px 0 34px;
  position: relative;
  overflow: hidden;
}
.nova-hero::before {
  /* large angled band */
  content: "";
  position: absolute;
  right: -20%;
  top: -10%;
  width: 70%;
  height: 70%;
  transform: rotate(-8deg);
  background: radial-gradient(
      600px 260px at 70% 40%,
      rgba(47, 176, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      560px 240px at 40% 60%,
      rgba(118, 242, 197, 0.16),
      transparent 60%
    );
  filter: blur(4px);
  opacity: 0.9;
  pointer-events: none;
}
.nova-hero::after {
  /* corner cut */
  content: "";
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: 220px;
  height: 220px;
  background: conic-gradient(
    from 20deg,
    rgba(255, 179, 71, 0.24),
    transparent 50%
  );
  filter: blur(18px);
}
.nova-hero__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr;
  align-items: start;
}

.nova-badges {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nova-badges__item {
  background: #10192c;
  border: 1px solid var(--nv-bd);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.54rem;
  color: #e8f0ff;
  box-shadow: inset 0 0 0 1px rgba(47, 176, 255, 0.1);
}

/* Offer (operator) — now explicit 3-column grid with visible logo */
.nova-offer-wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.nova-offer {
  position: relative;
  background: linear-gradient(180deg, #0d1324 0%, #0f1421 100%);
  border: 1px solid var(--nv-bd);
  border-radius: 18px;
  box-shadow: var(--nv-shadow-2);
  padding: 18px 18px 22px;
  overflow: hidden;
}
.nova-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(47, 176, 255, 0.18), transparent 40%),
    linear-gradient(315deg, rgba(255, 179, 71, 0.14), transparent 50%);
}
.nova-offer::after {
  /* top angled bar */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--nv-rose),
    var(--nv-accent),
    var(--nv-primary-2)
  );
  box-shadow: var(--nv-glow-amber);
}
.nova-offer__grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  grid-template-areas: "left middle right";
  gap: 16px;
  align-items: center;
}
.nova-offer__left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.nova-offer__logo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #0e1b33;
  border: 1px solid rgba(47, 176, 255, 0.55);
  box-shadow: var(--nv-glow-azure);
}
.nova-offer__brand {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  z-index: 1;
}
.nova-offer__score-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: #0f203a;
  border: 1px solid rgba(118, 242, 197, 0.55);
  color: #e8fff7;
  font-weight: 900;
  box-shadow: var(--nv-glow-mint);
}
.nova-offer__middle {
  grid-area: middle;
  display: grid;
  text-align: left;
  gap: 8px;
}
.nova-offer__right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}
.nova-offer__right .nova-btn {
  min-width: 240px;
  padding: 1rem 1.35rem;
}
.nova-offer__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
}
.nova-offer__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.46rem 0.72rem;
  border: 1px dashed rgba(255, 179, 71, 0.5);
  border-radius: 12px;
  background: #101a2e;
  color: #d8e8ff;
}
.nova-offer__meta {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.nova-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.44rem 0.68rem;
  border-radius: 12px;
  background: #0f233e;
  color: #e8f6ff;
  border: 1px solid rgba(118, 242, 197, 0.36);
  box-shadow: var(--nv-glow-mint);
  font-weight: 800;
}
.nova-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.nova-payments__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: transparent;
  color: #cfe1ff;
  border: 1px dashed rgba(47, 176, 255, 0.5);
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .nova-offer__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "middle" "right";
  }
  .nova-offer__right {
    align-items: center;
  }
}

/* Section backgrounds alternate for strong visual break */
.nova-section {
  position: relative;
  padding: 46px 0 22px;
}

/* Grid — shift to 3-column layout at desktop */
.nova-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

/* Notched cards with corner accents */
.nova-card {
  position: relative;
  background: var(--nv-panel);
  border: 1px solid var(--nv-bd);
  border-radius: 16px;
  padding: 18px;
  transition: transform var(--nv-tr), box-shadow var(--nv-tr),
    border-color var(--nv-tr);
  box-shadow: var(--nv-shadow-1);
  overflow: hidden;
}
.nova-card::before,
.nova-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 2px solid rgba(255, 179, 71, 0.6);
}
.nova-card::before {
  right: 6px;
  top: 6px;
  transform: rotate(45deg);
  border-radius: 4px;
}
.nova-card::after {
  left: 6px;
  bottom: 6px;
  transform: rotate(45deg);
  border-radius: 4px;
  border-color: rgba(47, 176, 255, 0.6);
}
.nova-card:hover {
  box-shadow: var(--nv-shadow-2), var(--nv-glow-azure);
  border-color: rgba(47, 176, 255, 0.4);
}
.nova-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #0f203a;
  color: #c7e9ff;
  box-shadow: inset 0 0 0 1px rgba(47, 176, 255, 0.2);
  transform: skew(-6deg) rotate(4deg);
}

/* Accordion — left border and inner frame */
.nova-accordion {
  background: var(--nv-panel);
  border: 1px solid var(--nv-bd);
  border-left: 4px solid rgba(255, 179, 71, 0.6);
  border-radius: 14px;
  margin: 12px 0;
  overflow: hidden;
  box-shadow: var(--nv-shadow-1);
}
.nova-accordion__head {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  color: inherit;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  border: 0;
}
.nova-accordion__icon {
  transition: transform var(--nv-tr);
  color: #a8c2de;
}
.nova-accordion.is-open {
  box-shadow: var(--nv-shadow-2), var(--nv-glow-amber);
  border-color: rgba(255, 179, 71, 0.5);
}
.nova-accordion.is-open .nova-accordion__icon {
  transform: rotate(180deg);
  color: #ffd7a6;
}
.nova-accordion__body {
  padding: 0 18px;
  color: var(--nv-muted);
  overflow: hidden;
  transition: max-height var(--nv-tr);
  border-top: 1px dashed var(--nv-bd-soft);
  background: #0e1a30;
}
.nova-accordion.is-open .nova-accordion__body {
  padding: 12px 18px 18px;
}

/* Footer — change blocks appearance */
.nova-footer {
  padding: 46px 0;
  background: radial-gradient(
      600px 300px at -10% 0%,
      rgba(118, 242, 197, 0.06),
      transparent 60%
    ),
    radial-gradient(
      580px 280px at 110% -10%,
      rgba(47, 176, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #0a111d 0%, #0a0c11 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nova-footer__grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
@media (max-width: 900px) {
  .nova-footer__grid {
    grid-template-columns: 1fr;
  }
}
.nova-footer__title {
  font-family: "Sora", ui-sans-serif, system-ui;
  font-weight: 800;
  font-size: 1.2rem;
  text-align: left;
}
.nova-footer__text {
  color: #cfe0ff;
  margin: 0 0 10px;
}
.nova-footer__grid > div {
  position: relative;
  background: #0c1526;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 16px 10px 22px;
  box-shadow: var(--nv-shadow-1);
}
.nova-footer__grid > div::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 6px;
  height: calc(100% - 20px);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--nv-accent), var(--nv-primary-2));
  box-shadow: var(--nv-glow-amber);
}
.nova-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nova-footer__link {
  color: #ecf2ff;
  text-decoration: none;
  padding: 0.5rem 0.78rem;
  border: 1px dashed rgba(47, 176, 255, 0.5);
  border-radius: 12px;
  display: inline-block;
  background: #0b1426;
  box-shadow: var(--nv-glow-azure);
  font-weight: 800;
}
.nova-footer__link:hover {
  border-color: rgba(255, 179, 71, 0.5);
  box-shadow: var(--nv-glow-amber);
}
.nova-footer__muted {
  color: var(--nv-muted);
  margin: 6px 0 0;
  text-align: center;
}
.nova-footer__bar {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--nv-bd);
}

/* Trust strip — grayscale -> color on hover */
.nova-trust {
  padding: 10px 0 4px;
}
.nova-trust__title {
  font-family: "Sora", ui-sans-serif, system-ui;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #e7f0ff;
  text-align: center;
}
.nova-trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.nova-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1524;
  border: 1px dashed var(--nv-bd);
  border-radius: 14px;
  padding: 8px 12px;
  height: 60px;
  width: 126px;
  transition: border-color var(--nv-tr), transform var(--nv-tr),
    background var(--nv-tr), box-shadow var(--nv-tr), filter var(--nv-tr);
  box-shadow: var(--nv-shadow-1);
  filter: saturate(0);
}
.nova-trust__item:hover {
  border-color: rgba(255, 179, 71, 0.5);
  background: #101a2b;
  transform: translateY(-1px) rotate(-0.5deg);
  box-shadow: var(--nv-glow-amber);
  filter: saturate(1);
}
.nova-trust__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Cookie banner — floating pill bottom-right */
.nova-cookie {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  padding: 12px 14px;
  background: #0e1729;
  border: 1px solid var(--nv-bd);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), var(--nv-glow-azure);
  width: min(560px, calc(100% - 40px));
}
.nova-cookie__wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.nova-cookie__text {
  margin: 0;
  color: #e1ecff;
}
.nova-cookie__actions {
  display: flex;
  gap: 8px;
}

/* Age gate — framed panel with subtle ribbons */
.nova-age {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(8, 12, 20, 0.78);
  z-index: 9999;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.nova-age__box {
  position: relative;
  background: var(--nv-layer);
  border: 1px solid var(--nv-bd);
  box-shadow: var(--nv-shadow-2), var(--nv-glow-azure);
  width: min(640px, 100%);
  padding: 28px;
  border-radius: 18px;
  text-align: center;
}
.nova-age__box::before,
.nova-age__box::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 179, 71, 0.5);
  transform: rotate(45deg);
}
.nova-age__box::before {
  left: 14px;
  top: 14px;
}
.nova-age__box::after {
  right: 14px;
  bottom: 14px;
  border-color: rgba(47, 176, 255, 0.5);
}
.nova-age__badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: #20141f;
  color: #ffe6f6;
  font-weight: 900;
  border: 2px solid rgba(255, 92, 171, 0.55);
  box-shadow: var(--nv-glow-amber);
}

/* Lists */
.nova-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 0.68rem;
}
.nova-list i {
  color: var(--nv-primary-2);
  margin-right: 0.55rem;
}

/* Forms */
.nova-field {
  padding: 0.84rem 0.95rem;
  border: 1px solid var(--nv-bd);
  border-radius: 14px;
  background: #0f1828;
  color: var(--nv-text);
  box-shadow: inset 0 0 0 1px rgba(47, 176, 255, 0.14);
}
.nova-field::placeholder {
  color: #9ab1cf;
}
.nova-field--error {
  border-color: rgba(255, 92, 171, 0.7) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 171, 0.3);
}
.nova-errortext {
  color: #ff9ec9;
  font-size: 0.875rem;
  margin-top: 6px;
}
textarea.nova-field {
  resize: none;
}

/* Modal (success) */
.nova-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(5, 8, 14, 0.6);
  z-index: 10000;
  padding: 16px;
  backdrop-filter: blur(2px);
}
.nova-modal.show {
  display: grid;
}
.nova-modal__box {
  background: var(--nv-layer);
  border: 1px solid var(--nv-bd);
  box-shadow: var(--nv-shadow-2), var(--nv-glow-mint);
  width: min(520px, 100%);
  padding: 22px;
  border-radius: 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .nova-hero {
    padding: 32px 0 32px;
  }
  .nova-title-xxl {
    font-size: 30px;
  }
  .nova-lead {
    font-size: 0.95rem;
    margin: 0 0 10px;
  }
  .nova-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .nova-grid {
    grid-template-columns: 1fr;
  }
  .nova-offer__meta {
    grid-auto-flow: unset;
  }
  .nova-offer__feature {
    width: 100%;
  }
  .nova-badges__item {
    gap: 0.2rem;
    font-size: 0.75rem;
  }
  .nova-offer__logo {
    width: 100%;
    height: 100%;
    padding: 1rem;
  }
  .nova-offer__brand {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nova-btn,
  .nova-card,
  .nova-accordion__icon,
  .nova-trust__item,
  .nova-offer {
    transition: none !important;
  }
}
