@charset "UTF-8";
/* ==========================================================================
   LifeStyle — UI theme v2
   Loaded AFTER style.min.css. Presentation only: every id, class and hook
   used by lifestyle.js / main.min.js is preserved.

   NOTE: style.min.css declares several classes lifestyle.js generates
   (.sidenav, .more, .footer, .video_poster) with position/width/!important
   rules. Resets marked LEGACY are load-bearing — do not remove them.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink:        #120A1B;
  --ink-2:      #1B1027;
  --panel:      #241634;
  --panel-hi:   #32204A;
  --line:       #3A2652;
  --line-soft:  rgba(247, 239, 230, .09);

  --cream:      #F8F1E9;
  --muted:      #AC99BC;
  --muted-dim:  #7C6A8E;

  --marigold:   #FFB427;
  --marigold-d: #E89A0C;
  --fuchsia:    #FF3D77;
  --violet:     #8B46FF;

  --grad-warm:  linear-gradient(115deg, #FFB427 0%, #FF7A3D 52%, #FF3D77 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --gut: 22px;
  --nav-h: 72px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Bricolage Grotesque", "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* 2. Base ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Ambient colour wash — stops the page reading as flat black */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 12% -6%,  rgba(255, 180, 39, .11), transparent 62%),
    radial-gradient(56vw 56vw at 92% 14%,  rgba(255, 61, 119, .10), transparent 60%),
    radial-gradient(70vw 70vw at 48% 108%, rgba(139, 70, 255, .13), transparent 64%);
}

/* Film grain — removes the flat-vector look */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("../../img/brand/grain.png");
  background-size: 200px 200px;
  opacity: .15;
  mix-blend-mode: overlay;
}

body > * { position: relative; z-index: 2; }
/* The nav is position:fixed inside this wrapper. Because `body > *` above puts
   every body child on z-index 2, the wrapper must sit higher or later siblings
   (hero, rails, footer) paint over the header and hide it completely.
   Do NOT add :first-of-type here — #splash is the first div in the body, so
   that selector silently stops matching and the header disappears. */
body > .d-flex {
  margin-bottom: 0 !important;
  height: 0;
  z-index: 900;
}

img { max-width: 100%; }

h1, h2, h3, h4, h5, .card-title, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--cream);
}

a { color: var(--cream); text-decoration: none; transition: color .18s var(--ease); }
a:hover, a:focus { color: var(--marigold); text-decoration: none; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marigold); color: var(--ink); }

* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { height: 6px; width: 6px; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-pill); }
*::-webkit-scrollbar-track { background: transparent; }

/* 3. Splash ---------------------------------------------------------------- */
#splash {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 22px;
  background: var(--ink);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#splash.is-done { opacity: 0; visibility: hidden; }
#splash img { width: 62px; height: 62px; animation: pulse 1.5s var(--ease) infinite; }
#splash .bar { width: 130px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
#splash .bar i { display: block; height: 100%; width: 40%; border-radius: 2px; background: var(--grad-warm); animation: slide 1.1s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.92); opacity: .72; } }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(340%); } }

/* 4. Header ---------------------------------------------------------------- */
#mainNav, #mainNav.absolute-top, #mainNav.fixed-top {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--nav-h);
  padding: 0 !important; background: transparent; border: 0;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
#mainNav.bg-primary { background: transparent; }
#mainNav::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 5, 16, .8), rgba(10, 5, 16, 0));
  transition: opacity .35s var(--ease); pointer-events: none;
}
#mainNav.is-solid {
  background: rgba(18, 10, 27, .82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
#mainNav.is-solid::before { opacity: 0; }

#mainNav > .container-fluid {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 var(--gut); max-width: 1480px; margin: 0 auto;
}
#mainNav hr, #mainNav .clearfix, #mainNav .navbar-toggler { display: none; }

.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px;
  border: 1px solid var(--line-soft); border-radius: 13px;
  background: rgba(247, 239, 230, .05); color: var(--cream); cursor: pointer;
  transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.nav-burger:hover { background: rgba(255, 180, 39, .14); border-color: rgba(255, 180, 39, .5); transform: translateY(-1px); }
.nav-burger span { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; height: 1.6px;
  background: currentColor; border-radius: 2px; transition: width .22s var(--ease);
}
.nav-burger span::before { top: -6px; width: 18px; }
.nav-burger span::after  { top: 6px;  width: 11px; }
.nav-burger:hover span::after { width: 18px; }

#mainNav .navbar-brand { padding: 0; margin: 0; display: flex; align-items: center; }
#mainNav .navbar-brand img { height: 38px; width: auto; display: block; }

#mainNav .navbar-collapse { display: flex !important; flex-basis: auto; margin-left: auto; }
#mainNav .navbar-nav { flex-direction: row; align-items: center; gap: 8px; margin-left: auto; }
#mainNav .nav-item { list-style: none; }
#mainNav .nav-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: rgba(247, 239, 230, .07); color: var(--cream);
  font-size: 13px; padding: 0;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
#mainNav .nav-link:hover { background: var(--grad-warm); color: var(--ink); transform: translateY(-2px); }

/* 5. Drawer ---------------------------------------------------------------- */
.sidenav-shell {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: min(86vw, 330px); z-index: 1100;
  background: var(--ink-2);
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transform: translateX(-102%);
  transition: transform .42s var(--ease-out);
  overscroll-behavior: contain;
}
.sidenav-shell.is-open { transform: translateX(0); }

.sidenav-scrim {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(8, 4, 12, .7);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.sidenav-scrim.is-open { opacity: 1; visibility: visible; }

.sidenav-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px var(--gut) 18px; border-bottom: 1px solid var(--line-soft);
}
.sidenav-head img.logo { height: 36px; width: auto; }

.closebtn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-soft); border-radius: 11px;
  background: transparent; color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.closebtn:hover { color: var(--cream); border-color: rgba(255, 61, 119, .6); background: rgba(255, 61, 119, .1); }

/* LEGACY: style.min.css declares .sidenav as position:fixed; width:0 */
.sidenav {
  position: static !important;
  width: auto !important; height: auto !important;
  top: auto !important; left: auto !important; z-index: auto !important;
  background-color: transparent !important; transition: none !important;
  padding: 16px 12px 30px !important;
  overflow-x: hidden; overflow-y: auto;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; gap: 3px;
}

.sidenav a {
  display: flex !important; align-items: center; gap: 13px;
  padding: 13px 15px !important; margin-bottom: 0 !important;
  border-radius: 13px; color: var(--cream) !important;
  font-family: var(--font-body); font-size: 15.5px !important;
  font-weight: 500; line-height: 1.4; letter-spacing: 0;
  cursor: pointer; position: relative;
  transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.sidenav a:hover, .sidenav a:focus-visible {
  background: rgba(247, 239, 230, .06);
  color: var(--cream) !important;
  padding-left: 20px !important;
}
.sidenav a img, .sidenav img {
  order: -1; float: none !important;
  width: 18px !important; height: 18px;
  padding-right: 0 !important; margin-top: 0 !important;
  object-fit: contain; filter: brightness(0) invert(1);
  opacity: .45; flex: 0 0 18px; transition: opacity .2s var(--ease);
}
.sidenav a:hover img { opacity: 1; }

.sidenav a.active {
  color: var(--marigold) !important;
  background: linear-gradient(90deg, rgba(255, 180, 39, .16), rgba(255, 180, 39, 0));
  font-weight: 600;
}
.sidenav a.active::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 3px; height: 20px;
  border-radius: 0 3px 3px 0; background: var(--grad-warm);
}
.sidenav a.active img { opacity: 1; }

.sidenav a:last-child {
  margin-top: 12px; border-top: 1px solid var(--line-soft);
  border-radius: 0; padding-top: 20px !important; color: var(--muted) !important;
}
.sidenav a:last-child:hover { color: var(--fuchsia) !important; background: transparent; }

/* 6. Hero ------------------------------------------------------------------ */
.inner-wrapper, .hero { position: relative; }

.hero {
  min-height: clamp(520px, 88vh, 780px);
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero--compact { min-height: clamp(260px, 40vh, 380px); }

.hero > .carousel { position: absolute; inset: 0; height: auto; }
.hero .carousel-inner, .hero .carousel-item { height: 100%; }

.hero .carousel-item { background-size: cover; background-position: center; transform: scale(1.06); }
.hero .carousel-item.active { animation: kb 18s ease-out forwards; }
@keyframes kb {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("../../img/brand/mesh-1.svg");
  background-size: cover; background-position: center;
  mix-blend-mode: soft-light; opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, var(--ink) 1%, rgba(18, 10, 27, .34) 34%, transparent 62%),
    linear-gradient(to right, rgba(18, 10, 27, .42) 0%, rgba(18, 10, 27, .08) 46%, transparent 70%);
}

.hero__content {
  position: relative; z-index: 3; width: 100%;
  padding: calc(var(--nav-h) + 34px) var(--gut) clamp(42px, 7vh, 80px);
  max-width: 1480px; margin: 0 auto;
}
.hero__inner { max-width: 660px; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); padding: 8px 15px 8px 11px;
  border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  background: rgba(247, 239, 230, .06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin-bottom: 22px;
}
.hero__kicker i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fuchsia); flex: 0 0 7px;
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(255, 61, 119, .65); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 61, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 119, 0); }
}

.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 5rem);
  line-height: .94; margin: 0 0 20px; letter-spacing: -.04em;
}
.hero h1 .grad {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cream); opacity: .8;
  margin: 0 0 30px; max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; color: var(--cream); }
.hero__meta span { font-size: 11px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

.carousel-indicators {
  z-index: 4; bottom: 18px;
  margin: 0 0 0 var(--gut); justify-content: flex-start;
}
.carousel-indicators li {
  width: 42px; height: 3px; border-radius: 2px;
  background: rgba(247, 239, 230, .22); border: 0; opacity: 1;
  overflow: hidden; position: relative;
}
.carousel-indicators li.active::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-warm); transform-origin: left;
  animation: fill 5s linear forwards;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel-indicators li.active::after { animation-duration: 6.5s; }

.carousel-control-prev, .carousel-control-next {
  z-index: 4; width: 8%; opacity: 0; transition: opacity .25s var(--ease);
}
.hero:hover .carousel-control-prev, .hero:hover .carousel-control-next { opacity: .7; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }

/* 7. Category chips -------------------------------------------------------- */
.chips {
  position: relative; z-index: 4;
  max-width: 1480px; margin: 0 auto;
  padding: 26px var(--gut) 2px;
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: 0 0 auto; padding: 10px 18px;
  border-radius: var(--r-pill); border: 1px solid var(--line-soft);
  background: rgba(247, 239, 230, .04);
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.chips a:hover { color: #2A1503; background: var(--grad-warm); border-color: transparent; transform: translateY(-2px); }
.chips a.on {
  color: var(--marigold);
  border-color: rgba(255, 180, 39, .55);
  background: rgba(255, 180, 39, .1);
}

/* Home reads as the anchor of the strip, not just another category */
.chips a.chip-home {
  color: var(--cream);
  border-color: rgba(247, 239, 230, .2);
  background: rgba(247, 239, 230, .08);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.chips a.chip-home::before {
  content: "";
  width: 14px; height: 14px; flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5M5.5 9.5V20h13V9.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5M5.5 9.5V20h13V9.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.chips a.chip-home:hover { color: #2A1503; }

/* 8. Buttons --------------------------------------------------------------- */
.btn, .db-button-color-square, .btn.db-button-color-square.btn-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px !important;
  font-weight: 600; line-height: 1; padding: 16px 28px !important;
  border: 0; border-radius: var(--r-pill) !important;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brand, .db-button-color-square, .btn.db-button-color-square.btn-lg {
  background: var(--grad-warm); color: #2A1503 !important;
  box-shadow: 0 10px 30px -10px rgba(255, 122, 61, .6);
}
.btn-brand:hover, .db-button-color-square:hover {
  color: #2A1503 !important; box-shadow: 0 16px 40px -10px rgba(255, 122, 61, .75);
}
.btn-brand::after, .db-button-color-square::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transition: left .6s var(--ease);
}
.btn-brand:hover::after, .db-button-color-square:hover::after { left: 130%; }

.btn-ghost {
  background: rgba(247, 239, 230, .07); color: var(--cream);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(247, 239, 230, .13); color: var(--cream); border-color: rgba(247, 239, 230, .3); }
.btn-block-w { width: 100%; }

#unsubbtn {
  display: none; align-items: center; gap: 7px;
  width: -moz-fit-content; width: fit-content;
  margin: 0 0 22px !important; padding: 10px 18px !important;
  border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  color: var(--muted) !important; font-size: 13.5px; font-weight: 500 !important;
}
#unsubbtn:hover { color: var(--fuchsia) !important; border-color: rgba(255, 61, 119, .5); }

/* 9. Rails ----------------------------------------------------------------- */
#homeid { position: relative; z-index: 4; }

.section-invert { background: transparent; padding: clamp(30px, 4.2vw, 52px) 0 0; }
.section-invert .container, .section-invert .container-fluid {
  max-width: 1480px; padding-left: var(--gut); padding-right: var(--gut);
}
.section-invert .row:first-child .col-md-12 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
  position: relative; padding-top: 18px;
}
.section-invert .row:first-child .col-md-12::before {
  content: ""; position: absolute; top: 0; left: 15px;
  width: 42px; height: 4px; border-radius: 3px;
  background: var(--grad-warm); box-shadow: 0 0 18px rgba(255, 122, 61, .55);
}
.section-invert h2, .section-invert .display-4 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem) !important;
  line-height: 1.12; margin: 0 !important;
  font-weight: 700 !important; letter-spacing: -.03em;
}

/* LEGACY: style.min.css sets .more absolute, red, underlined, !important */
.section-invert a.more, a.more {
  position: static !important; right: auto !important; top: auto !important;
  flex: 0 0 auto; font-size: 13px !important; font-weight: 600;
  text-decoration: none !important; color: var(--muted) !important;
  padding: 9px 18px; border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.section-invert a.more:hover, a.more:hover {
  color: #2A1503 !important; background: var(--grad-warm);
  border-color: transparent; transform: translateX(3px);
}

.scrolling-container { position: relative; }
.scrolling-wrapper {
  display: flex; flex-wrap: nowrap !important;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 10px; scrollbar-width: none;
}
.scrolling-wrapper::-webkit-scrollbar { display: none; }
.scrolling-wrapper > [class*="col-"] {
  flex: 0 0 auto !important; width: 70vw; max-width: 330px !important;
  scroll-snap-align: start; margin-bottom: 0 !important;
}
@media (min-width: 576px) { .scrolling-wrapper > [class*="col-"] { width: 42vw; } }
@media (min-width: 992px) { .scrolling-wrapper > [class*="col-"] { width: 26vw; } }

.horizon-prev, .horizon-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 46px; height: 46px;
  display: flex !important; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: rgba(18, 10, 27, .78) !important;
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 0 !important; opacity: 0;
  transition: opacity .25s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.horizon-prev { left: 2px !important; }
.horizon-next { right: 2px !important; }
.scrolling-container:hover .horizon-prev, .scrolling-container:hover .horizon-next { opacity: 1; }
.horizon-prev:hover, .horizon-next:hover { background: var(--grad-warm) !important; transform: translateY(-50%) scale(1.08); }
.horizon-prev:hover .carousel-control-prev-icon, .horizon-next:hover .carousel-control-next-icon { filter: brightness(0); }
.horizon-prev .carousel-control-prev-icon, .horizon-next .carousel-control-next-icon { width: 15px; height: 15px; }
@media (hover: none) { .horizon-prev, .horizon-next { display: none !important; } }

/* 10. Cards — poster tiles ------------------------------------------------- */
/* LEGACY: style.min.css declares `.card { background:#ce2626; padding:5px }`.
   The padding is what shows the red around every poster — both resets below
   are required, and the !important guards against load-order surprises. */
.card {
  background: var(--panel) !important;
  padding: 0 !important;
  border: 1px solid var(--line-soft);
  border-radius: 20px; overflow: hidden; height: 100%; position: relative;
  transition: transform .34s var(--ease-out), border-color .34s var(--ease), box-shadow .34s var(--ease);
}
.card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(255, 180, 39, .45);
  box-shadow: 0 26px 54px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 180, 39, .18);
}

/* LEGACY: style.min.css sets
     .card-img-wrapper { background:#ce2626; padding-top:112.25% }
   The padding forces a portrait box that crops 16:9 clips, and the red shows
   through. Both resets are required; aspect-ratio alone cannot win because
   padding-top adds height on top of it. */
.card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--ink-2) !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}
@supports not (aspect-ratio: 1) {
  .card-img-wrapper { height: 0; padding-bottom: 56.25% !important; }
}
.rail-feature .card-img-wrapper { aspect-ratio: 16 / 9; }

/* Posters and clips fill the frame without the legacy grey flash */
.card-img-wrapper .video_poster {
  background: var(--ink-2) !important;
  min-height: 0 !important;
}

.card-img-wrapper video, .card-img-wrapper .video_poster,
.card-img-wrapper img, .card-img-top {
  position: absolute !important; inset: 0; top: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; background: var(--ink-2);
  transition: transform .6s var(--ease-out);
}
.card:hover .card-img-wrapper video, .card:hover .card-img-wrapper img { transform: scale(1.07); }

.card-img-wrapper::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 5, 16, .9) 0%, rgba(10, 5, 16, .18) 42%, transparent 68%);
  opacity: .85; transition: opacity .3s var(--ease);
}
.card:hover .card-img-wrapper::after { opacity: 1; }

/* play affordance, injected by ui.js */
.card-play {
  position: absolute; z-index: 4; top: 44%; left: 50%;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 10, 27, .55);
  border: 1.5px solid rgba(248, 241, 233, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.82); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), background .3s var(--ease);
}
.card-play::before {
  content: ""; margin-left: 3px;
  border-left: 15px solid var(--cream);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.card:hover .card-play { opacity: 1; transform: scale(1); background: var(--grad-warm); border-color: transparent; }
.card:hover .card-play::before { border-left-color: #2A1503; }

/* category badge, injected by ui.js */
.card-badge {
  position: absolute; z-index: 4; top: 10px; left: 10px;
  max-width: calc(100% - 78px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 6px 11px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--cream); background: rgba(18, 10, 27, .62);
  border: 1px solid rgba(248, 241, 233, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* The Download control sits TOP-RIGHT, not across the bottom. The bottom strip
   belongs to the browser's native video controls (play, mute, speed, fullscreen)
   and anything overlaying it swallows taps — on touch devices that makes the
   clip unplayable, because the tap lands on this element instead of Play. */
.card-body {
  position: absolute; z-index: 5;
  top: 10px; right: 10px;
  left: auto; bottom: auto;
  width: auto; max-width: calc(100% - 20px);
  padding: 0 !important;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  background: transparent !important; border: 0;
  pointer-events: none;              /* let taps fall through to the video */
}
.card-body a, .card-body .card-text { pointer-events: auto; }
.card-title { font-size: 14.5px; margin: 0; line-height: 1.3; }
.card-title:empty { display: none; }

.card-text {
  margin: 0 !important; font-size: 11.5px; font-weight: 600;
  font-family: var(--font-body); color: var(--cream);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill);
  line-height: 1;
  background: rgba(18, 10, 27, .66);
  border: 1px solid rgba(248, 241, 233, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color .2s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.card-text::before {
  content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-4.5-4.5M12 15l4.5-4.5M4 19h16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-4.5-4.5M12 15l4.5-4.5M4 19h16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.card-text.download { color: var(--marigold); }

/* Small tiles: icon only, so the pill stays clear of the poster */
@media (max-width: 767.98px) {
  .card-body .card-text {
    font-size: 0 !important;
    gap: 0; padding: 8px;
  }
  .card-body .card-text::before { width: 15px; height: 15px; flex-basis: 15px; }
}
.card:hover .card-text { background: var(--grad-warm); color: #2A1503; border-color: transparent; transform: translateY(-2px); }

/* Wallpaper tiles */
.thumb {
  position: relative; display: block;
  border-radius: 20px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  aspect-ratio: 3 / 4;
  transition: transform .34s var(--ease-out), border-color .3s var(--ease), box-shadow .34s var(--ease);
}
@supports not (aspect-ratio: 1) { .thumb { height: 0; padding-bottom: 133%; } }
.thumb:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(255, 61, 119, .5);
  box-shadow: 0 26px 54px -20px rgba(0, 0, 0, .85);
}
.thumb > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .6s var(--ease-out);
}
.thumb:hover > img { transform: scale(1.07); }
.thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 5, 16, .85), transparent 55%);
}
.thumb > a { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; }
.thumb > a:first-of-type { inset: 0; left: 0; right: 0; bottom: 0; z-index: 2; }
.thumb > a:last-of-type {
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out);
}
.thumb:hover > a:last-of-type, .thumb:focus-within > a:last-of-type { opacity: 1; transform: translateY(0); }
.thumb img.player {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; z-index: 3; opacity: .92; pointer-events: none;
}
@media (hover: none) { .thumb > a:last-of-type { opacity: 1; transform: none; } }

/* Entrance animation, triggered by ui.js */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* 11. Category page -------------------------------------------------------- */
.page-head { position: relative; z-index: 4; max-width: 1480px; margin: 0 auto; padding: 0 var(--gut); }
.section-title, h2#titleId {
  font-size: clamp(2rem, 5.6vw, 3.3rem) !important;
  line-height: 1.02; margin: 0 0 12px !important; letter-spacing: -.035em;
}
.page-head p { color: var(--muted); font-size: 15px; margin: 0 0 26px; max-width: 54ch; }
#homeid.row { max-width: 1480px; margin: 0 auto; padding: 0 calc(var(--gut) - 15px) 10px; }
#homeid.row > [class*="col-"] { margin-bottom: 26px !important; }
@media (min-width: 992px) { #homeid.row > .col-md-2 { flex: 0 0 20%; max-width: 20%; } }

/* 12. Modals --------------------------------------------------------------- */
.modal {
  display: none; position: fixed; inset: 0; z-index: 1200; overflow-y: auto;
  background: rgba(8, 4, 12, .84) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 20px;
}
.modal-dialog { position: relative; max-width: 440px; width: 100%; margin: 8vh auto; }
.modal-content, .modal > .modal-content {
  background: linear-gradient(165deg, var(--panel) 0%, var(--ink-2) 62%);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 0; color: var(--cream); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.modal > .modal-content { max-width: 440px; margin: 8vh auto; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--line-soft);
}
.modal-title { font-size: 17.5px; margin: 0; }
.modal-header .close, .modal .close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--line-soft); border-radius: 11px;
  background: transparent; color: var(--muted);
  font-size: 20px; font-weight: 400; line-height: 1;
  opacity: 1; text-shadow: none; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.modal .close:hover { color: var(--cream); border-color: rgba(255, 180, 39, .5); opacity: 1; }
.modal .close img { width: 13px; height: 13px; margin: 0 !important; filter: brightness(0) invert(1); }
.modal-body { padding: 26px 24px 28px; }

.gate-lede { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.col-form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--cream); margin-bottom: 9px; padding: 0; }
#resultOtp { color: var(--fuchsia); font-size: 13.5px; font-weight: 500; margin-bottom: 14px; }
.form-group { margin-bottom: 20px; }

.input-shell {
  display: flex; align-items: stretch;
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  background: rgba(10, 5, 16, .55); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.input-shell:focus-within { border-color: rgba(255, 180, 39, .6); box-shadow: 0 0 0 4px rgba(255, 180, 39, .1); }
.input-shell .prefix {
  display: flex; align-items: center; padding: 0 15px;
  font-size: 15px; font-weight: 600; color: var(--muted);
  background: rgba(247, 239, 230, .05); border-right: 1px solid var(--line-soft);
}
.form-control, #mobile {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px;
  background: transparent !important; border: 0 !important; border-radius: 0;
  color: var(--cream) !important; font-family: var(--font-body);
  font-size: 16px; box-shadow: none !important; outline: none;
}
.form-control::placeholder { color: var(--muted-dim); }
.form-control:focus { background: transparent !important; color: var(--cream) !important; }
.gate-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted-dim); line-height: 1.5; }

.plan {
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 22px; margin-bottom: 22px;
  background: linear-gradient(150deg, rgba(255, 180, 39, .1), rgba(255, 61, 119, .06));
  position: relative; overflow: hidden;
}
.plan .type { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--marigold); margin-bottom: 8px; }
.plan .price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; letter-spacing: -.035em; margin-bottom: 4px; }
.plan .price span { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { position: relative; padding-left: 26px; font-size: 14px; color: var(--cream); opacity: .86; margin-bottom: 9px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 2px solid var(--marigold); border-bottom: 2px solid var(--marigold);
  transform: rotate(-45deg);
}
.plan li:last-child { margin-bottom: 0; }

#submsg {
  display: flex !important; width: 100%; cursor: pointer;
  background: var(--grad-warm); color: #2A1503 !important;
  font-weight: 600; padding: 17px 22px !important;
  border-radius: var(--r-pill); justify-content: center; margin: 0 !important;
  box-shadow: 0 10px 30px -10px rgba(255, 122, 61, .6);
}
#submsg:hover { color: #2A1503 !important; box-shadow: 0 16px 40px -10px rgba(255, 122, 61, .8); }
.modal-fine { margin: 16px 0 0; font-size: 12.5px; color: var(--muted-dim); text-align: center; }

/* 13. Footer — LEGACY: style.min.css pins it absolute, 30px, light grey ---- */
.footer {
  position: relative !important; bottom: auto !important;
  height: auto !important; line-height: inherit !important;
  background-color: transparent !important;
  z-index: 4; margin-top: clamp(46px, 7vw, 84px);
}
.footer .navbar {
  background: linear-gradient(to bottom, transparent, rgba(27, 16, 39, .9)) !important;
  border-top: 1px solid var(--line-soft); padding: 34px 0 !important;
}
.footer .container-fluid {
  max-width: 1480px; margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer .navbar-brand img { height: 34px; opacity: .8; }
.footer .navbar-text { color: var(--muted-dim); font-size: 12.5px; }

/* 14. Skeletons + states --------------------------------------------------- */
.skeleton-rail { max-width: 1480px; margin: 0 auto; padding: 38px var(--gut) 0; }
.skeleton-rail .sk-title { width: 200px; height: 28px; border-radius: var(--r-sm); margin-bottom: 22px; }
.skeleton-row { display: flex; gap: 22px; overflow: hidden; }
.skeleton-card { flex: 0 0 auto; width: 70vw; max-width: 330px; height: 220px; border-radius: 20px; }
@media (min-width: 576px) { .skeleton-card { width: 42vw; } }
@media (min-width: 992px) { .skeleton-card { width: 26vw; } }
.sk-title, .skeleton-card {
  background: linear-gradient(100deg, var(--ink-2) 20%, var(--panel-hi) 42%, var(--ink-2) 64%);
  background-size: 260% 100%; animation: sk 1.5s var(--ease) infinite;
}
@keyframes sk { to { background-position: -160% 0; } }

.redirect-note {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: var(--gut);
}
.redirect-note img { opacity: .9; margin-bottom: 10px; }
.redirect-note h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); margin: 0; letter-spacing: -.03em; }
.redirect-note p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }

.empty-state { max-width: 460px; margin: 60px auto; padding: 0 var(--gut); text-align: center; }
.empty-state p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }

/* 15. Misc ----------------------------------------------------------------- */
.text-white { color: var(--cream) !important; }
.bg-primary { background-color: transparent !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body.is-locked { overflow: hidden; }

@media (max-width: 575.98px) {
  :root { --gut: 16px; --nav-h: 64px; }
  #mainNav .nav-link { width: 32px; height: 32px; }
  .hero__meta { gap: 10px 18px; }
}

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

/* ==========================================================================
   16. v3 — live hero, featured rail, app chrome
   ========================================================================== */

/* Live video hero: a real clip playing behind the headline. Injected by ui.js
   only on wide screens, only when the connection isn't metered. */
.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  pointer-events: none;
}
.hero-video.in { opacity: .92; }
.hero.has-video .carousel { opacity: 0; transition: opacity 1.4s var(--ease-out); }

/* Scroll progress */
#scrollbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 1000; background: var(--grad-warm);
  box-shadow: 0 0 14px rgba(255, 122, 61, .8);
  transition: width .1s linear;
}

/* Featured rail — the first section reads larger than the rest */
.rail-feature .scrolling-wrapper > [class*="col-"] { width: 86vw; max-width: 560px !important; }
@media (min-width: 576px) { .rail-feature .scrolling-wrapper > [class*="col-"] { width: 58vw; } }
@media (min-width: 992px) { .rail-feature .scrolling-wrapper > [class*="col-"] { width: 38vw; } }
.rail-feature .card { border-radius: 24px; }
.rail-feature .card-badge { font-size: 11px; padding: 7px 14px; }
.rail-feature .card-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
.rail-feature .card-play::before { border-left-width: 19px; border-top-width: 11px; border-bottom-width: 11px; }

/* Animated gradient edge on the featured tiles */
.rail-feature .card::before {
  content: ""; position: absolute; inset: -1px; z-index: 0;
  border-radius: 25px; padding: 1px;
  background: linear-gradient(120deg, rgba(255,180,39,.9), rgba(255,61,119,.75), rgba(139,70,255,.7), rgba(255,180,39,.9));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
  animation: edge 7s linear infinite;
}
.rail-feature .card:hover::before { opacity: 1; }
@keyframes edge { to { background-position: 300% 50%; } }

/* Subtle 3D tilt, desktop pointers only */
@media (hover: hover) and (min-width: 992px) {
  .card, .thumb { transform-style: preserve-3d; will-change: transform; }
}

/* App-style bottom bar on phones */
#tabbar { display: none; }
@media (max-width: 767.98px) {
  #tabbar {
    display: flex; position: fixed; z-index: 950;
    left: 0; right: 0; bottom: 0;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 10, 27, .9);
    border-top: 1px solid var(--line-soft);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
  }
  #tabbar a {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 4px; padding: 6px 2px;
    font-size: 10.5px; font-weight: 500; color: var(--muted);
    border-radius: 12px;
  }
  #tabbar a i { font-size: 17px; line-height: 1; font-style: normal; }
  #tabbar a.on { color: var(--marigold); }
  body { padding-bottom: 66px; }
  .footer { margin-bottom: 10px; }
}

/* Denser hero on phones so the fold shows content, not just the headline */
@media (max-width: 575.98px) {
  .hero { min-height: clamp(430px, 72vh, 560px); }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero__meta { margin-top: 22px; padding-top: 16px; }
  .hero__meta b { font-size: 1.05rem; }
}
