/* Diceoravibe — distinct palette & UI overrides (loads after base/style/inner) */

:root {
  --ink-0: #070b14;
  --ink-1: #0f1628;
  --ink-2: #161f35;
  --wine: #24304a;
  --wine-2: #2d3d5c;
  --rasp: #f0a830;
  --rasp-2: #d4891a;
  --coral: #a78bfa;
  --cream: #f5e6c8;
  --text: #eef2fb;
  --text-soft: #b8c4dc;
  --text-mut: #7a8aa8;
  --ink-text: #0c1220;

  --grad-accent: linear-gradient(135deg, #f5c842 0%, #e89b1f 45%, #c97812 100%);
  --grad-hero: radial-gradient(120% 100% at 70% -10%, #1a2550 0%, #0f1628 45%, #070b14 100%);
  --glass: linear-gradient(165deg, rgba(45, 61, 92, 0.45), rgba(15, 22, 40, 0.72));
  --glass-soft: rgba(167, 139, 250, 0.08);
  --field: rgba(238, 242, 251, 0.06);

  --sh-1: 0 4px 18px rgba(0, 0, 0, 0.45);
  --sh-2: 0 22px 52px rgba(0, 0, 0, 0.55);
  --glow: 0 18px 44px rgba(167, 139, 250, 0.22);

  --r-s: 0.5rem;
  --r-m: 0.85rem;
  --r-l: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;
}

::selection {
  background: #7c3aed;
  color: var(--white);
}

:focus-visible {
  box-shadow: 0 0 0 3px rgba(240, 168, 48, 0.55);
}

/* Header & nav — flat bar, underline active state */
.df-rgbar {
  background: #050810;
  border-bottom: 1px solid rgba(240, 168, 48, 0.22);
}

.df-rgbar__link {
  color: var(--coral);
}

.site-head.is-stuck {
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
}

html body .nav__list {
  background: transparent;
  padding: 0;
  gap: 0.15rem;
  border-radius: 0;
}

html body .nav__link {
  border-radius: var(--r-s);
  border-bottom: 2px solid transparent;
}

html body .nav__link.is-active {
  color: var(--rasp);
  background: rgba(240, 168, 48, 0.12);
  border-bottom-color: var(--rasp);
}

.nav__link:hover {
  color: var(--cream);
  background: rgba(167, 139, 250, 0.1);
}

.brand__name {
  background: linear-gradient(90deg, var(--cream), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards — bordered panels */
.card,
.faq__item,
.plate,
.df-rv-aside__card,
.cf-form {
  border: 1px solid rgba(167, 139, 250, 0.14);
}

.card:hover {
  border-color: rgba(240, 168, 48, 0.35);
}

/* —— Brand cards (.dv-offer) —— */
html body .offers {
  gap: 0.65rem;
}

/* Reset legacy .offer grid from style.css */
html body .offer.dv-offer {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  grid-template-columns: unset !important;
  grid-template-areas: unset !important;
  grid-template-rows: unset !important;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: var(--r-l);
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: linear-gradient(168deg, rgba(18, 26, 46, 0.98), rgba(8, 12, 22, 1));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

html body .offer.dv-offer > * {
  grid-area: unset !important;
  min-width: 0;
}

html body .offer.dv-offer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--rasp), rgba(167, 139, 250, 0.85));
  z-index: 1;
}

html body .offers .offer.dv-offer:nth-child(1)::before {
  background: linear-gradient(90deg, #f5c842, var(--rasp), var(--coral));
}

html body .offer.dv-offer:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(240, 168, 48, 0.36);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

html body .dv-offer__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
  background: rgba(4, 7, 14, 0.35);
}

html body .dv-offer__brand {
  display: grid;
  grid-template-columns: 7.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

html body .offer.dv-offer .offer__logo {
  flex: none;
  width: 7.1rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.52rem;
  border-radius: var(--r-m);
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid rgba(238, 242, 251, 0.1);
  line-height: 0;
}

html body .offer.dv-offer .offer__logo a {
  display: block;
  width: 100%;
  text-align: center;
}

html body .offer.dv-offer .offer__logo img {
  display: inline-block !important;
  height: 2.85rem !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html body .offer.dv-offer .df-offer__name {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

html body .offer.dv-offer .offer__score.dv-offer__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.85rem;
  padding: 0.28rem 0.3rem;
  border-radius: var(--r-s);
  text-align: center;
  line-height: 1.05;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(240, 168, 48, 0.28);
}

html body .offer.dv-offer .offer__score b {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--cream);
}

html body .offer.dv-offer .offer__score b span {
  font-size: 0.68rem;
  color: var(--text-mut);
  margin-left: 0.05rem;
}

html body .offer.dv-offer .offer__score small {
  display: block;
  margin-top: 0.06rem;
  font-size: 0.48rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coral);
  max-width: 4.2rem;
}

html body section.dv-offer__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem 0.45rem;
  margin: 0;
}

html body section.dv-offer__body .offer__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
  color: var(--text-soft);
}

html body .dv-offer__details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

html body .offer.dv-offer .offer__bonus {
  display: block;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border-radius: var(--r-s);
  background: rgba(167, 139, 250, 0.08) !important;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-left: 3px solid var(--rasp);
}

html body .offer.dv-offer .offer__bonus-lab {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
}

html body .offer.dv-offer .offer__bonus-val {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
}

html body .offer.dv-offer .offer__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .offer.dv-offer .offer__feats li {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-pill);
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid rgba(167, 139, 250, 0.22);
}

html body .dv-offer__actions {
  padding: 0.45rem 0.85rem;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  background: rgba(4, 7, 14, 0.28);
}

html body .dv-offer__actions .offer__cta-wrap.df-cta {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.4rem 0.5rem;
  width: 100%;
}

html body .dv-offer__actions .offer__cta-wrap .offer__cta {
  width: 100%;
  min-width: 0;
  font-size: 0.82rem;
  padding: 0.52rem 0.7rem;
  white-space: nowrap;
  text-align: center;
}

html body .dv-offer__actions .offer__cta-wrap .df-more {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-pill);
  color: var(--coral);
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

html body .dv-offer__actions .offer__cta-wrap .df-more:hover {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(240, 168, 48, 0.32);
}

html body .offer.dv-offer .offer__tc {
  margin: 0;
  padding: 0.45rem 0.85rem 0.55rem;
  border-top: 1px dashed rgba(167, 139, 250, 0.16);
  font-size: 0.7rem;
  line-height: 1.38;
  color: var(--text-mut);
}

/* Footer brand mini-cards */
html body .df-ops__list {
  gap: 1rem;
}

html body .df-ops__item {
  padding: 1rem;
  border-radius: var(--r-l);
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(160deg, rgba(22, 31, 53, 0.85), rgba(11, 17, 32, 0.95));
  transition: border-color 0.2s, transform 0.2s;
}

html body .df-ops__item:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 168, 48, 0.35);
}

html body .df-ops__logo {
  padding: 0.55rem;
  border-radius: var(--r-s);
  background: #0a0f1c;
  border: 1px solid rgba(238, 242, 251, 0.06);
}

html body .df-ops__lic {
  color: var(--coral);
  font-weight: 600;
}

html body .df-ops__more {
  color: var(--rasp);
  font-weight: 700;
}

@media (max-width: 640px) {
  html body .dv-offer__head {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
  }

  html body .offer.dv-offer .offer__score.dv-offer__score {
    flex-direction: row;
    width: auto;
    align-self: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    padding: 0.35rem 0.55rem;
  }

  html body .offer.dv-offer .offer__score small {
    flex: 1 1 100%;
    max-width: none;
    text-align: center;
  }

  html body .dv-offer__brand {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  html body .offer.dv-offer .offer__logo {
    width: 6.5rem;
  }

  html body section.dv-offer__body {
    padding: 0.7rem 0.9rem 0.65rem;
  }

  html body .dv-offer__actions {
    padding: 0.55rem 0.9rem;
  }

  html body .dv-offer__actions .offer__cta-wrap.df-cta {
    grid-template-columns: 1fr;
  }

  html body .offer.dv-offer .offer__tc {
    padding: 0.55rem 0.9rem 0.7rem;
  }
}

.btn--accent {
  background: var(--grad-accent);
  color: var(--ink-text);
  box-shadow: 0 10px 28px rgba(240, 168, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--ghost {
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.chip {
  border: 1px solid rgba(240, 168, 48, 0.25);
}

.chip::before {
  background: var(--rasp);
}

/* hero overrides → vibe-hero.css */

.depth-lines {
  opacity: 0.35;
  background: repeating-radial-gradient(
    125% 95% at 85% -8%,
    transparent 0 37px,
    rgba(167, 139, 250, 0.04) 37px 39px
  );
}

.rail::before {
  opacity: 0.55;
  filter: hue-rotate(180deg);
}

.sec-head__link:hover,
.df-more,
.foot__nav a:hover {
  color: var(--rasp);
}

html body .df-adnote {
  border-left-color: var(--rasp);
  background: rgba(240, 168, 48, 0.08);
}

html body .agemodal__card.glass {
  background: linear-gradient(165deg, #1a2550, #0f1628);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.cc-banner {
  border-color: rgba(240, 168, 48, 0.4);
  background: #0f1628;
}

.cc-btn {
  border-color: var(--rasp);
}

.cc-btn:hover,
.cc-btn:focus-visible {
  background: var(--rasp);
  color: var(--ink-text);
}

.foot__mark {
  color: rgba(167, 139, 250, 0.06);
}

html body .donut {
  background: conic-gradient(
    var(--rasp) 0 30%,
    var(--coral) 30% 55%,
    var(--wine-2) 55% 80%,
    var(--cream) 80% 100%
  ) !important;
}

html body .df-donut {
  background: conic-gradient(
    var(--rasp) 0 30%,
    var(--coral) 30% 55%,
    #5b6b8f 55% 80%,
    var(--cream) 80% 100%
  ) !important;
}

.edit__img img,
.prin__img img {
  filter: saturate(1.06) contrast(1.04) brightness(1.02)
    drop-shadow(0 22px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(167, 139, 250, 0.16));
}

.cta-band__scene img {
  filter: blur(3px) brightness(0.65) saturate(1.05) hue-rotate(-8deg);
  opacity: 0.45;
}
