:root {
  --bg: #000000;
  --panel: #0f0f10;
  --panel-2: #171717;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --soft: rgba(255, 255, 255, 0.78);
  --primary: #e4473a;
  --primary-dark: #9f2019;
  --radius: 24px;
}

.eventplus-loading-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  margin: 0;
  background: #000;
}

.eventplus-loading-screen img {
  width: min(240px, 42vw);
  height: auto;
  display: block;
}

/* EventPlus marketplace home */
.marketplace-shell {
  --market-red: #b20710;
  --market-red-bright: #e50914;
  --market-surface: rgba(255, 255, 255, 0.055);
  --market-border: rgba(255, 255, 255, 0.12);
  --market-muted: #a3a3a3;
  min-height: 100vh;
  padding-bottom: 26px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 32% 12%, rgba(178, 7, 16, 0.11), transparent 24%),
    linear-gradient(180deg, #030303, #060708 54%, #030303);
  color: #fff;
  font-family: "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

.marketplace-shell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marketplace-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1460px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(20px);
}

.marketplace-nav .brand {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.marketplace-nav .brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.22);
}

.marketplace-nav > nav {
  display: flex;
  justify-content: center;
  align-self: stretch;
  gap: 30px;
}

.marketplace-nav > nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #c6c6c6;
  font-size: 0.8rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.marketplace-nav > nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--market-red-bright);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.marketplace-nav > nav a:hover,
.marketplace-nav > nav a.active {
  color: #fff;
}

.marketplace-nav > nav a.active::after {
  transform: scaleX(1);
}

.marketplace-nav-tools,
.marketplace-search {
  display: flex;
  align-items: center;
}

.marketplace-nav-tools {
  gap: 9px;
}

.marketplace-search {
  width: 260px;
  min-height: 38px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.marketplace-search:focus-within {
  border-color: rgba(178, 7, 16, 0.8);
  box-shadow: 0 0 0 3px rgba(178, 7, 16, 0.12);
}

.marketplace-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.76rem;
}

.marketplace-search input::placeholder {
  color: #777;
}

.marketplace-search button,
.nav-icon-button,
.nav-profile,
.marketplace-card-media > button,
.marketplace-feature-heart,
.marketplace-carousel-arrow,
.marketplace-carousel-dots button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

.marketplace-search button {
  display: grid;
  place-items: center;
  padding: 5px;
  background: transparent;
}

.nav-icon-button,
.nav-profile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-icon-button:hover,
.nav-profile:hover {
  border-color: var(--market-red);
  background: rgba(178, 7, 16, 0.1);
}

.nav-profile span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #303030, #101010);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.marketplace-main {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
}

.marketplace-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, 0.8fr) minmax(560px, 1.2fr);
  gap: 30px;
  min-height: 330px;
  padding: 14px 6px 0;
  animation: marketplaceSectionIn 540ms ease both;
}

.marketplace-wave {
  position: absolute;
  z-index: 0;
  top: 42px;
  left: 0;
  width: 48%;
  height: 240px;
  opacity: 0.42;
  background:
    repeating-radial-gradient(ellipse at 64% 54%, transparent 0 12px, rgba(229, 9, 20, 0.36) 13px 14px, transparent 15px 25px),
    radial-gradient(circle at 38% 40%, rgba(178, 7, 16, 0.18), transparent 32%);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent);
  animation: marketplaceWave 7s ease-in-out infinite alternate;
}

.marketplace-wave::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--market-red-bright);
  box-shadow: 70px 28px var(--market-red), 160px 96px var(--market-red-bright), 250px 34px var(--market-red), 360px 118px var(--market-red-bright), 470px 58px var(--market-red), 580px 148px var(--market-red-bright);
  filter: drop-shadow(0 0 6px var(--market-red));
  animation: sparkFloat 5s ease-in-out infinite alternate;
}

.marketplace-intro {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 560px;
  padding: 24px 18px;
}

.marketplace-intro h1,
.marketplace-event-copy h2,
.marketplace-card-body h3,
.marketplace-section-heading h2,
.marketplace-featured-copy h3 {
  font-family: Futura, "Avenir Next Condensed", "Avenir Next", sans-serif;
  letter-spacing: 0;
}

.marketplace-intro h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.04;
  font-weight: 800;
}

.marketplace-intro h1 span {
  color: var(--market-red-bright);
}

.marketplace-intro > p {
  max-width: 470px;
  margin: 16px 0 22px;
  color: var(--market-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.marketplace-stats {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.marketplace-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.marketplace-stat:last-child {
  border-right: 0;
}

.marketplace-stat > span,
.marketplace-benefits article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(178, 7, 16, 0.38);
  border-radius: 50%;
  background: rgba(178, 7, 16, 0.1);
  color: var(--market-red-bright);
}

.marketplace-stat div {
  display: grid;
}

.marketplace-stat strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.marketplace-stat small,
.marketplace-benefits small {
  color: var(--market-muted);
}

.marketplace-api-state {
  max-width: 480px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(178, 7, 16, 0.32);
  border-radius: 6px;
  background: rgba(178, 7, 16, 0.08);
  color: #d9a3a6;
  font-size: 0.76rem;
}

.marketplace-hero-carousel {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  height: 290px;
  overflow: hidden;
  border: 1px solid var(--market-border);
  border-radius: 8px;
  background: #0d0d0e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.marketplace-hero-slides,
.marketplace-hero-slide,
.marketplace-hero-slide > img,
.marketplace-hero-slide > .marketplace-media-fallback,
.marketplace-hero-overlay {
  position: absolute;
  inset: 0;
}

.marketplace-hero-slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.marketplace-hero-slide.active {
  visibility: visible;
  opacity: 1;
}

.marketplace-hero-slide > img {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: marketplaceHeroZoom 12s ease-in-out infinite alternate;
}

.marketplace-media-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(178, 7, 16, 0.24), transparent 44%),
    #111214;
  color: rgba(255, 255, 255, 0.16);
  font-size: 3rem;
  font-weight: 900;
}

.marketplace-hero-overlay {
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.12));
}

.marketplace-event-copy {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  max-width: 66%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 58px;
}

.marketplace-featured-badge {
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--market-red-bright);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(178, 7, 16, 0.38);
}

.marketplace-event-copy h2 {
  display: -webkit-box;
  max-width: 600px;
  margin: 16px 0 12px;
  overflow: hidden;
  font-size: 29px;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.marketplace-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #d2d2d2;
  font-size: 0.8rem;
}

.marketplace-event-meta span,
.marketplace-card-body p,
.marketplace-featured-copy p {
  display: flex;
  align-items: center;
  gap: 6px;
}

.marketplace-event-meta svg,
.marketplace-card-body svg,
.marketplace-featured-copy svg {
  width: 15px;
  height: 15px;
  color: var(--market-red-bright);
}

.marketplace-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #d80a14;
  border-radius: 6px;
  background: linear-gradient(180deg, #d80a14, #9f060e);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(178, 7, 16, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.marketplace-primary-button {
  margin-top: 20px;
  padding: 0 18px;
}

.marketplace-primary-button:hover {
  border-color: var(--market-red-bright);
  background: #c11119;
  box-shadow: 0 0 24px rgba(178, 7, 16, 0.34);
}

.marketplace-primary-button span,
.marketplace-primary-button > svg {
  display: grid;
  place-items: center;
}

.marketplace-primary-button svg {
  width: 17px;
  height: 17px;
}

.marketplace-carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(3, 3, 3, 0.74);
  transform: translateY(-50%);
}

.marketplace-carousel-arrow.previous { left: 10px; }
.marketplace-carousel-arrow.next { right: 10px; }

.marketplace-carousel-dots {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.marketplace-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.marketplace-carousel-dots button.active {
  width: 20px;
  border-radius: 5px;
  background: var(--market-red-bright);
}

.marketplace-hero-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 30px;
  text-align: center;
}

.marketplace-hero-empty > span {
  color: var(--market-red-bright);
}

.marketplace-hero-empty p,
.marketplace-compact-empty,
.marketplace-empty-state p {
  margin: 0;
  color: var(--market-muted);
}

.marketplace-section {
  margin-top: 20px;
  animation: marketplaceSectionIn 560ms 160ms ease both;
}

.marketplace-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  margin-bottom: 8px;
}

.marketplace-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 1.06rem;
}

.marketplace-section-heading h2 > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--market-red-bright);
  box-shadow: 0 0 8px var(--market-red);
}

.marketplace-section-heading > a {
  padding: 6px 10px;
  border-radius: 5px;
  background: rgba(178, 7, 16, 0.12);
  color: var(--market-red-bright);
  font-size: 0.7rem;
  font-weight: 750;
}

.marketplace-event-rail {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--market-red) transparent;
}

.marketplace-event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--market-border);
  border-radius: 8px;
  background: var(--market-surface);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.marketplace-event-card:hover {
  border-color: rgba(178, 7, 16, 0.8);
  box-shadow: 0 0 26px rgba(178, 7, 16, 0.2);
}

.marketplace-card-media {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: #111;
}

.marketplace-card-media > img,
.marketplace-card-media > .marketplace-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-card-media > .marketplace-media-fallback {
  font-size: 1.8rem;
}

.marketplace-date-badge {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  display: grid;
  min-width: 42px;
  padding: 5px 7px;
  border-radius: 5px;
  background: var(--market-red-bright);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.marketplace-date-badge strong {
  font-size: 1.05rem;
  line-height: 1;
}

.marketplace-date-badge span {
  margin-top: 2px;
  font-size: 0.6rem;
  font-weight: 800;
}

.marketplace-card-media > button,
.marketplace-feature-heart {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(3, 3, 3, 0.62);
}

.marketplace-card-media > button svg,
.marketplace-feature-heart svg {
  width: 17px;
  height: 17px;
}

.marketplace-card-body {
  padding: 11px 12px 12px;
}

.marketplace-card-body h3 {
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.3;
}

.marketplace-card-body p {
  min-width: 0;
  margin: 5px 0 10px;
  overflow: hidden;
  color: var(--market-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-card-body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.marketplace-card-body > div span {
  overflow: hidden;
  color: var(--market-red-bright);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-card-body > div strong {
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
}

.marketplace-empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-align: center;
}

.marketplace-empty-state > svg {
  color: var(--market-red-bright);
}

.marketplace-lower-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.marketplace-panel {
  min-width: 0;
  padding: 8px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  animation: marketplaceSectionIn 560ms 220ms ease both;
}

.marketplace-artist-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.marketplace-artist-card {
  display: grid;
  width: 82px;
  flex: 0 0 82px;
  justify-items: center;
  text-align: center;
}

.marketplace-artist-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  overflow: visible;
  border: 1px solid rgba(178, 7, 16, 0.75);
  border-radius: 50%;
  background: #141414;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 900;
  box-shadow: 0 0 15px rgba(178, 7, 16, 0.13);
}

.marketplace-artist-avatar img {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
}

.marketplace-artist-avatar i {
  position: absolute;
  z-index: 3;
  right: -2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 2px solid #050505;
  border-radius: 50%;
  background: var(--market-red-bright);
  color: #fff;
  font-size: 0.58rem;
  font-style: normal;
}

.marketplace-artist-card > strong {
  max-width: 82px;
  margin-top: 7px;
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-artist-card > small {
  max-width: 82px;
  overflow: hidden;
  color: var(--market-muted);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-compact-empty {
  display: grid;
  min-height: 90px;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.marketplace-trending ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketplace-trending li {
  display: grid;
  grid-template-columns: 24px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 45px;
}

.marketplace-rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(178, 7, 16, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
}

.marketplace-trending-thumb {
  position: relative;
  display: grid;
  width: 42px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #171717;
  color: #666;
  font-size: 0.6rem;
  font-weight: 800;
}

.marketplace-trending-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-trending li > div:nth-child(3) {
  display: grid;
  min-width: 0;
}

.marketplace-trending li > div:nth-child(3) strong,
.marketplace-trending li > div:nth-child(3) small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-trending li > div:nth-child(3) strong {
  font-size: 0.7rem;
}

.marketplace-trending li > div:nth-child(3) small {
  color: var(--market-muted);
  font-size: 0.6rem;
}

.marketplace-trending li > b {
  color: var(--market-red-bright);
  font-size: 0.66rem;
}

.marketplace-featured article {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid var(--market-border);
  border-radius: 7px;
  background: #111;
}

.marketplace-featured article > img,
.marketplace-featured article > .marketplace-media-fallback,
.marketplace-featured-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-featured article > .marketplace-media-fallback {
  font-size: 2rem;
}

.marketplace-featured-overlay {
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.92));
}

.marketplace-feature-heart {
  z-index: 4;
}

.marketplace-featured-copy {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  left: 12px;
}

.marketplace-featured-copy > span {
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(178, 7, 16, 0.78);
  font-size: 0.58rem;
  font-weight: 750;
}

.marketplace-featured-copy h3 {
  margin: 8px 0 4px;
  font-size: 1.15rem;
}

.marketplace-featured-copy p {
  flex-wrap: wrap;
  margin: 0;
  color: #d0d0d0;
  font-size: 0.64rem;
}

.marketplace-featured article > .marketplace-primary-button {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  font-size: 0.7rem;
}

.marketplace-featured article > .marketplace-primary-button + * {
  pointer-events: none;
}

.marketplace-featured-copy {
  padding-right: 104px;
}

.marketplace-footer {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.marketplace-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 16px 2px;
}

.marketplace-benefits article {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketplace-benefits article > span {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.marketplace-benefits article > div {
  display: grid;
}

.marketplace-benefits strong {
  font-size: 0.75rem;
}

.marketplace-benefits small {
  font-size: 0.66rem;
}

.marketplace-organizer-footer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  margin-top: 4px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(178, 7, 16, 0.18), rgba(255, 255, 255, 0.045) 44%, rgba(255, 255, 255, 0.025)),
    #0a0a0b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.marketplace-organizer-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--market-red-bright), var(--market-red));
}

.marketplace-organizer-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(229, 9, 20, 0.32);
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.12);
  color: #fff;
}

.marketplace-organizer-icon svg {
  width: 24px;
  height: 24px;
  color: var(--market-red-bright);
}

.marketplace-organizer-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.marketplace-organizer-kicker {
  color: var(--market-red-bright);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-organizer-footer strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
}

.marketplace-organizer-copy > span:not(.marketplace-organizer-kicker) {
  max-width: 620px;
  color: #b8bbc2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.marketplace-organizer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.marketplace-organizer-tags small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d5d6da;
  font-size: 0.68rem;
  font-weight: 750;
}

.marketplace-organizer-tags svg {
  width: 14px;
  height: 14px;
  color: var(--market-red-bright);
}

.marketplace-organizer-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(229, 9, 20, 0.72);
  border-radius: 6px;
  background: linear-gradient(180deg, #d80a14, #9f060e);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(178, 7, 16, 0.2);
}

.marketplace-organizer-footer a svg {
  width: 16px;
  height: 16px;
}

.marketplace-mobile-tabs {
  display: none;
}

.marketplace-event-card[hidden] {
  display: none;
}

@keyframes marketplaceSectionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marketplaceWave {
  from { transform: translate3d(-12px, -4px, 0) scaleY(0.94); }
  to { transform: translate3d(12px, 5px, 0) scaleY(1.06); }
}

@keyframes marketplaceHeroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes ctaShine {
  0%, 100% { box-shadow: 0 8px 22px rgba(178, 7, 16, 0.2); }
  50% { box-shadow: 0 8px 28px rgba(178, 7, 16, 0.36); }
}

@media (max-width: 1180px) {
  .marketplace-nav > nav {
    gap: 18px;
  }

  .marketplace-nav > nav a:nth-child(n + 4) {
    display: none;
  }

  .marketplace-search {
    width: 210px;
  }

  .marketplace-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .marketplace-intro {
    max-width: 760px;
  }

  .marketplace-hero-carousel {
    height: 360px;
  }

  .marketplace-lower-grid {
    grid-template-columns: 1fr 1fr;
  }

  .marketplace-artists {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .marketplace-shell {
    padding-bottom: 76px;
  }

  .marketplace-nav,
  .marketplace-main {
    width: calc(100% - 24px);
  }

  .marketplace-nav {
    grid-template-columns: auto 1fr;
  }

  .marketplace-nav > nav,
  .marketplace-nav-tools .nav-icon-button,
  .marketplace-nav-tools .nav-profile {
    display: none;
  }

  .marketplace-nav-tools {
    justify-content: end;
  }

  .marketplace-search {
    width: min(220px, 100%);
  }

  .marketplace-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 0;
  }

  .marketplace-wave {
    width: 100%;
  }

  .marketplace-intro {
    padding: 24px 4px 14px;
  }

  .marketplace-intro h1 {
    font-size: 36px;
  }

  .marketplace-intro > p {
    font-size: 0.9rem;
  }

  .marketplace-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .marketplace-stat {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 7px;
  }

  .marketplace-stat > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .marketplace-stat strong {
    font-size: 1.05rem;
  }

  .marketplace-stat small {
    font-size: 0.64rem;
  }

  .marketplace-hero-carousel {
    height: 390px;
  }

  .marketplace-event-copy {
    max-width: 100%;
    justify-content: flex-end;
    padding: 32px 48px 46px;
  }

  .marketplace-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.94));
  }

  .marketplace-event-copy h2 {
    font-size: 26px;
  }

  .marketplace-event-rail {
    grid-auto-columns: 78%;
  }

  .marketplace-lower-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-artists {
    grid-column: auto;
  }

  .marketplace-benefits {
    grid-template-columns: 1fr 1fr;
    padding: 14px 2px;
  }

  .marketplace-benefits article {
    align-items: flex-start;
  }

  .marketplace-organizer-footer {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px 14px 14px 18px;
  }

  .marketplace-organizer-footer a {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
  }

  .marketplace-mobile-tabs {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 54px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(18px);
  }

  .marketplace-mobile-tabs a {
    display: grid;
    place-items: center;
    color: var(--market-muted);
    font-size: 0.7rem;
    font-weight: 750;
  }

  .marketplace-mobile-tabs a.active {
    color: var(--market-red-bright);
  }
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

.page-shell {
  min-height: 100vh;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 14% 4%, rgba(228, 71, 58, 0.28), transparent 22%),
    linear-gradient(180deg, #050505 0%, #000 42%);
}

.desktop-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav nav,
.nav-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 56px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.22);
}

.desktop-nav nav {
  justify-content: center;
  gap: 24px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-action {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

.mobile-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 48px));
  min-height: 560px;
  margin: 26px auto 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #171717;
}

.hero-slider,
.hero-slide,
.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 480ms ease, transform 2000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback,
.empty-slide {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #2a0d0d, #080808 72%);
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(4rem, 18vw, 12rem);
  font-weight: 950;
}

.hero-gradient {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 55%, rgba(0, 0, 0, 0.32));
}

.hero-topbar {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hello {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.prompt {
  margin: 4px 0 0;
  color: var(--soft);
  font-weight: 700;
}

.profile-button {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.78) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.7) 0 22%, transparent 23%),
    #1e1e1e;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.hero-search {
  position: absolute;
  top: 128px;
  left: 28px;
  right: 28px;
  z-index: 4;
  display: grid;
  grid-template-columns: 20px 1fr 32px;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.search-icon {
  width: 15px;
  height: 15px;
  border: 2px solid white;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  display: block;
  width: 7px;
  height: 2px;
  margin: 10px 0 0 10px;
  background: white;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-weight: 800;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.search-clear {
  display: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  cursor: pointer;
}

.search-clear.visible {
  display: block;
}

.hero-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 42px;
  z-index: 3;
  max-width: 740px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span,
.feature-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 12px 0 8px;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.event-location {
  margin: 0;
  color: var(--soft);
  font-weight: 800;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.hero-meta span,
.hero-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-meta a {
  background: rgba(255, 255, 255, 0.18);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots span.active {
  width: 22px;
  background: var(--primary);
}

.api-notice {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 6;
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  text-align: right;
}

.content-panel,
.search-results {
  position: relative;
  z-index: 6;
  width: min(1180px, calc(100% - 48px));
  margin: -24px auto 0;
  padding: 34px 0 0;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
}

.search-results {
  margin-top: 18px;
  padding: 22px 0;
}

.section {
  padding: 0 0 34px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title.compact {
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  letter-spacing: -0.04em;
}

.section-title a,
.section-title span {
  color: var(--primary);
  font-weight: 900;
}

.artist-rail,
.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.artist-rail::-webkit-scrollbar,
.featured-rail::-webkit-scrollbar {
  display: none;
}

.artist-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 96px;
  text-align: center;
}

.artist-avatar {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(228, 71, 58, 0.55);
  border-radius: 50%;
  background: #171717;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-avatar span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
}

.artist-card strong {
  font-size: 0.78rem;
  line-height: 1.18;
}

.feature-card {
  width: min(270px, 72vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.feature-image {
  position: relative;
  display: grid;
  height: 190px;
  place-items: center;
  overflow: hidden;
  background: #171717;
  color: rgba(255, 255, 255, 0.22);
  font-size: 2rem;
  font-weight: 950;
}

.feature-image img,
.list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-badges span {
  min-height: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.feature-body {
  padding: 14px;
}

.feature-body h3,
.list-body h3 {
  margin: 0;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feature-body p,
.list-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.card-footer span,
.list-body strong {
  color: white;
  font-weight: 950;
}

.card-footer button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: #111;
  font-weight: 950;
}

.upcoming-list,
.results-list {
  display: grid;
  gap: 12px;
}

.list-card,
.result-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.list-image {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 950;
}

.list-kicker {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.list-body strong {
  display: block;
  margin-top: 10px;
}

.package-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
  padding: 24px;
  border: 1px solid rgba(228, 71, 58, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(228, 71, 58, 0.28), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.package-band span {
  color: var(--primary);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-band h2 {
  margin: 8px 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.package-band p {
  max-width: 650px;
  margin: 0;
  color: var(--soft);
  font-weight: 700;
  line-height: 1.6;
}

.package-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: white;
  color: #111;
  font-weight: 950;
}

.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
}

.mobile-tabs {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  width: min(360px, calc(100% - 28px));
  min-height: 62px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.46);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.mobile-tabs a {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-tabs a.active {
  color: var(--primary);
}

@media (max-width: 760px) {
  .page-shell {
    padding-bottom: 92px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-hero {
    width: 100%;
    min-height: 326px;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .hero-topbar {
    top: max(16px, env(safe-area-inset-top));
    left: 20px;
    right: 20px;
  }

  .hello {
    font-size: 1.45rem;
  }

  .prompt {
    font-size: 0.78rem;
  }

  .profile-button {
    width: 42px;
    height: 42px;
  }

  .hero-search {
    top: 86px;
    left: 20px;
    right: 20px;
    min-height: 50px;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .hero-meta {
    margin-top: 12px;
  }

  .hero-meta span,
  .hero-meta a {
    min-height: 32px;
    font-size: 0.78rem;
  }

  .api-notice {
    display: none;
  }

  .content-panel,
  .search-results {
    width: 100%;
    margin-top: -18px;
    padding: 28px 20px 0;
  }

  .section {
    padding-bottom: 28px;
  }

  .package-band {
    grid-template-columns: 1fr;
  }

  .mobile-tabs {
    display: grid;
  }
}

/* Modern EventPlus subscription page */
.subscription-shell {
  --sub-bg: #030303;
  --sub-card: rgba(255, 255, 255, 0.06);
  --sub-border: rgba(255, 255, 255, 0.12);
  --sub-red: #b20710;
  --sub-red-hover: #c11119;
  --sub-glow: rgba(178, 7, 16, 0.24);
  --sub-text: #ffffff;
  --sub-muted: #a3a3a3;
  --sub-green: #22c55e;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(229, 9, 20, 0.09), transparent 38%),
    linear-gradient(180deg, #030303 0%, #060708 50%, #030303 100%);
  color: var(--sub-text);
}

.subscription-hero-copy h1,
.modern-plan-card h2,
.modern-plan-price strong,
.subscription-section-title h2,
.feature-highlight-card h3 {
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
}

.subscription-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1440px, calc(100% - 56px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 3, 3, 0.76);
  backdrop-filter: blur(18px);
}

.subscription-nav nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 38px;
}

.subscription-nav nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #a3a3a3;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.subscription-nav nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--sub-red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.subscription-nav nav a:hover,
.subscription-nav nav a.active {
  color: #fff;
}

.subscription-nav nav a.active::after {
  transform: scaleX(1);
}

.subscription-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(229, 9, 20, 0.44);
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.1);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.subscription-nav-action:hover {
  border-color: var(--sub-red-hover);
  background: rgba(255, 30, 45, 0.18);
  transform: translateY(-2px);
}
.color-sub-red {
  color: #e50914;
}
.subscription-modern-page {
  position: relative;
  z-index: 1;
  padding: 0 0 76px;
}

.subscription-hero-modern {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1440px, calc(100% - 56px));
  min-height: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
}

.subscription-red-wave {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at 18% 54%, transparent 0 13px, rgba(229, 9, 20, 0.24) 14px 15px, transparent 16px 28px),
    repeating-radial-gradient(ellipse at 82% 54%, transparent 0 13px, rgba(229, 9, 20, 0.2) 14px 15px, transparent 16px 28px),
    radial-gradient(circle at 50% 42%, rgba(178, 7, 16, 0.1), transparent 28%);
  mask-image: linear-gradient(90deg, #000, transparent 42%, transparent 58%, #000);
  opacity: 0.75;
  animation: subscriptionWave 7s ease-in-out infinite alternate;
}

.subscription-red-wave::before,
.subscription-red-wave::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sub-red-hover);
  box-shadow: 90px 68px var(--sub-red-hover), 190px 18px var(--sub-red), 300px 104px var(--sub-red-hover), 420px 46px var(--sub-red), 555px 126px var(--sub-red-hover), 690px 20px var(--sub-red), 805px 92px var(--sub-red-hover), 930px 42px var(--sub-red), 1060px 118px var(--sub-red-hover), 1180px 26px var(--sub-red), 1330px 82px var(--sub-red-hover);
  filter: drop-shadow(0 0 7px var(--sub-red-hover));
  animation: sparkFloat 4.6s ease-in-out infinite alternate;
}

.subscription-red-wave::before {
  top: 28px;
  left: 3%;
}

.subscription-red-wave::after {
  right: 5%;
  bottom: 74px;
  opacity: 0.88;
  animation-delay: -2s;
}

.subscription-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  max-width: 900px;
  padding: 44px 22px 72px;
  text-align: center;
}

.subscription-hero-copy h1 {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--sub-text);
  font-size: clamp(2.65rem, 4.7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 780;
}

.subscription-hero-copy h1 span {
  color: var(--sub-red-hover);
}

.subscription-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--sub-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.billing-toggle-wrap {
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 12px;
  width: 410px;
  max-width: calc(100vw - 32px);
  margin-top: 20px;
}

.billing-toggle {
  width: 410px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(42, 35, 37, 0.96);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 760;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.billing-toggle button.active,
.billing-toggle button:hover {
  background: linear-gradient(135deg, #8d0912 0%, #b80d18 48%, #e50914 100%);
  color: #fff;
  box-shadow:
    0 5px 18px rgba(229, 9, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.billing-toggle button.active {
  color: #fff;
}

.billing-toggle button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 2px;
}

.billing-toggle button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(80, 0, 7, 0.28);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.72;
  transition: background 240ms ease, border-color 240ms ease, opacity 240ms ease;
}

.billing-toggle button.active strong,
.billing-toggle button:hover strong {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(80, 0, 7, 0.38);
  opacity: 1;
}

.billing-helper {
  width: max-content;
  max-width: calc(100vw - 32px);
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.billing-helper span {
  color: var(--sub-red-hover);
  font-weight: 720;
}

.subscription-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1210px, calc(100% - 56px));
  margin: -42px auto 0;
}

.modern-plan-card {
  position: relative;
  display: flex;
  min-height: 438px;
  flex-direction: column;
  padding: 24px 26px 22px;
  border: 1px solid var(--sub-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%),
    var(--sub-card);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  animation: subscriptionCardIn 620ms ease both;
  animation-delay: calc(var(--card-index, 0) * 90ms);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.modern-plan-card:hover {
  border-color: var(--sub-red);
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.12), transparent 52%),
    var(--sub-card);
  box-shadow: 0 24px 70px var(--sub-glow);
  transform: translateY(-8px);
}

.modern-plan-card.popular {
  z-index: 2;
  border-color: var(--sub-red);
  box-shadow: 0 0 0 1px rgba(178, 7, 16, 0.36), 0 24px 64px var(--sub-glow);
  transform: translateY(-10px) scale(1.025);
  animation: subscriptionCardIn 620ms ease both, popularPulse 2.8s ease-in-out infinite;
}

.modern-plan-card.popular:hover {
  transform: translateY(-16px) scale(1.035);
}

.modern-plan-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #78040a, #b20710, #78040a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  justify-content: center;
}

.modern-plan-card.popular .modern-plan-icon {
  margin-top: 22px;
}

.modern-plan-icon,
.feature-highlight-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(229, 9, 20, 0.54);
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.1);
  color: var(--sub-red-hover);
  box-shadow: 0 12px 28px rgba(178, 7, 16, 0.12);
}

.modern-plan-icon svg,
.feature-highlight-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modern-plan-card h2 {
  margin: 18px 0 4px;
  color: var(--sub-text);
  font-size: 1.65rem;
  letter-spacing: 0;
  font-weight: 760;
}

.modern-plan-description {
  min-height: 20px;
  margin: 0 0 18px;
  color: #b7b7b7;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 450;
}

.modern-plan-price {
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 58px;
  margin-bottom: 18px;
}

.modern-plan-price strong {
  color: #fff;
  font-size: clamp(2.35rem, 3vw, 3rem);
  line-height: 0.95;
  font-weight: 780;
}

.modern-plan-price span {
  padding-bottom: 6px;
  color: var(--sub-muted);
  font-weight: 850;
}

.modern-plan-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 14px;
}

.modern-plan-fee,
.modern-plan-includes {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 680;
  line-height: 1.2;
}

.modern-plan-fee {
  border: 1px solid rgba(229, 9, 20, 0.28);
  background: rgba(229, 9, 20, 0.12);
}

.modern-plan-includes {
  border: 1px solid rgba(168, 85, 247, 0.42);
  background: linear-gradient(90deg, rgba(126, 34, 206, 0.36), rgba(88, 28, 135, 0.2));
  color: #f5e8ff;
  box-shadow: 0 0 20px rgba(126, 34, 206, 0.16);
}

.modern-plan-card ul {
  display: grid;
  flex: 1;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-plan-card li {
  position: relative;
  padding-left: 28px;
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 460;
}

.modern-plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--sub-red-hover);
  background: radial-gradient(circle, var(--sub-red-hover) 0 2px, transparent 3px);
}

.modern-plan-support {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.modern-plan-support p {
  margin: 0 0 2px;
  color: #d7d7d7;
  font-size: 0.78rem;
  line-height: 1.45;
}

.modern-plan-support span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--sub-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.modern-plan-support b {
  flex: 0 0 auto;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modern-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  border: 1px solid var(--sub-red);
  border-radius: 7px;
  background: transparent;
  color: var(--sub-red-hover);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(178, 7, 16, 0.16);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.modern-plan-button:hover {
  background: var(--sub-red-hover);
  color: #fff;
  box-shadow: 0 20px 48px var(--sub-glow);
  transform: translateY(-2px);
}

.modern-plan-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  background: var(--sub-red-hover);
  color: #fff;
}

.modern-plan-card.popular .modern-plan-button {
  border-color: var(--sub-red-hover);
  background: var(--sub-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(178, 7, 16, 0.3);
}

.subscription-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 270px;
  padding: 42px 22px;
  border: 1px solid var(--sub-border);
  border-radius: 18px;
  background: var(--sub-card);
  color: var(--sub-muted);
  text-align: center;
}

.subscription-empty-state strong {
  color: #fff;
  font-size: 1.15rem;
}

.subscription-empty-state p {
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.subscription-feature-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  width: min(1240px, calc(100% - 56px));
  margin: 62px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.subscription-section-title {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  margin: 0;
  text-align: left;
}

.subscription-section-title span {
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(229, 9, 20, 0.16);
  color: var(--sub-red-hover);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.subscription-section-title h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.subscription-section-title h2 em {
  color: var(--sub-red-hover);
  font-style: normal;
}

.subscription-section-title p {
  margin: 2px 0 0;
  color: var(--sub-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.subscription-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.feature-highlight-card {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  padding: 18px 16px 24px;
  border: 1px solid var(--sub-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-highlight-card:hover {
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 16px 38px rgba(178, 7, 16, 0.16);
  transform: translateY(-6px);
}

.feature-highlight-card h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 720;
}

.feature-highlight-card p {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 430;
}

.feature-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.feature-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 44%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--sub-red-hover), transparent);
  animation: progressSweep 2.2s ease-in-out infinite;
}

.checkout-page {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 54px 0 82px;
}

.checkout-shell {
  position: relative;
  overflow: hidden;
}

.checkout-red-wave {
  position: fixed;
  inset: 78px 0 auto;
  height: 360px;
  overflow: hidden;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 18% 54%, transparent 0 13px, rgba(229, 9, 20, 0.22) 14px 15px, transparent 16px 28px),
    repeating-radial-gradient(ellipse at 82% 54%, transparent 0 13px, rgba(229, 9, 20, 0.18) 14px 15px, transparent 16px 28px),
    radial-gradient(circle at 50% 42%, rgba(178, 7, 16, 0.12), transparent 30%);
  mask-image: linear-gradient(90deg, #000, transparent 42%, transparent 58%, #000);
  opacity: 0.72;
  animation: subscriptionWave 7s ease-in-out infinite alternate;
}

.checkout-red-wave::before,
.checkout-red-wave::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sub-red-hover);
  box-shadow: 90px 68px var(--sub-red-hover), 190px 18px var(--sub-red), 300px 104px var(--sub-red-hover), 420px 46px var(--sub-red), 555px 126px var(--sub-red-hover), 690px 20px var(--sub-red), 805px 92px var(--sub-red-hover), 930px 42px var(--sub-red), 1060px 118px var(--sub-red-hover), 1180px 26px var(--sub-red), 1330px 82px var(--sub-red-hover);
  filter: drop-shadow(0 0 7px var(--sub-red-hover));
  animation: sparkFloat 4.6s ease-in-out infinite alternate;
}

.checkout-red-wave::before {
  top: 28px;
  left: 3%;
}

.checkout-red-wave::after {
  right: 5%;
  bottom: 74px;
  opacity: 0.88;
  animation-delay: -2s;
}

.checkout-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 0 34px;
  text-align: center;
}

.checkout-hero::before {
  content: "";
  position: absolute;
  inset: -60px 10% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(178, 7, 16, 0.24), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.checkout-hero span,
.checkout-success > span {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.14);
  color: var(--sub-red-hover);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-hero h1,
.checkout-success h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 780;
}

.checkout-hero p,
.checkout-success p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: var(--sub-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.checkout-summary,
.checkout-form,
.checkout-success {
  border: 1px solid var(--sub-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--sub-card);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.checkout-summary {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.checkout-summary h2 {
  margin: 18px 0 6px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 760;
}

.checkout-summary p {
  margin: 0 0 16px;
  color: #b7b7b7;
  line-height: 1.6;
  font-weight: 430;
}

.checkout-summary-price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin-bottom: 14px;
}

.checkout-summary-price strong {
  color: #fff;
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.8rem;
  line-height: 0.95;
  font-weight: 780;
}

.checkout-summary-price span {
  padding-bottom: 6px;
  color: var(--sub-muted);
  font-weight: 850;
}

.checkout-summary ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-summary li {
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 460;
}

.checkout-form {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.checkout-form section {
  display: grid;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-form section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-account-section {
  gap: 18px;
}

.checkout-step {
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkout-step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sub-red);
  color: #fff;
  box-shadow: 0 0 24px var(--sub-glow);
}

.checkout-step h2 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 740;
}

.checkout-step p {
  margin: 2px 0 0;
  color: var(--sub-muted);
  font-size: 0.85rem;
}

.checkout-auth-grid,
.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-account-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 9, 20, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.checkout-account-card-head {
  display: grid;
  gap: 4px;
}

.checkout-account-card-head strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 720;
}

.checkout-account-card-head span {
  color: var(--sub-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checkout-form label {
  display: grid;
  gap: 10px;
  color: #d8d8d8;
  font-size: 0.82rem;
  font-weight: 620;
}

.checkout-form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkout-form input:focus {
  border-color: rgba(229, 9, 20, 0.76);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.14);
  outline: 0;
}

.checkout-form input::placeholder {
  color: #777;
}

.checkout-fields .wide {
  grid-column: 1 / -1;
}

.checkout-google,
.checkout-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 720;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.checkout-google {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055));
  color: #fff;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.checkout-google span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #101010;
  font-size: 0.78rem;
  font-weight: 850;
}

.google-signin-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.checkout-google:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.075));
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.74rem;
  font-weight: 680;
  text-transform: uppercase;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.checkout-email-field input {
  min-height: 50px;
  border-radius: 10px;
}

.checkout-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.checkout-mode label {
  position: relative;
  display: grid;
  min-height: 40px;
  align-items: center;
  justify-items: center;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 720;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkout-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-mode label:has(input:checked) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-mode label:has(input:focus-visible) {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 2px;
}

.checkout-payment-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.08);
}

.checkout-payment-card strong {
  color: #fff;
}

.checkout-payment-card span {
  color: var(--sub-muted);
}

.checkout-submit {
  width: 100%;
  border: 1px solid var(--sub-red-hover);
  background: linear-gradient(180deg, var(--sub-red-hover), var(--sub-red));
  color: #fff;
  box-shadow: 0 18px 48px var(--sub-glow);
}

.checkout-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px var(--sub-glow);
}

.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.checkout-alert {
  padding: 12px 14px;
  border: 1px solid rgba(229, 9, 20, 0.32);
  border-radius: 10px;
  background: rgba(229, 9, 20, 0.12);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.45;
}

.checkout-flow-nav {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.checkout-back-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  transition: background 180ms ease, color 180ms ease;
}

.checkout-back-link:hover {
  background: rgba(229, 9, 20, 0.16);
  color: var(--sub-red-hover);
}

.checkout-back-link svg,
.checkout-payment-tabs svg,
.checkout-secure-note svg,
.checkout-success-mark svg,
.checkout-plan-check svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: center;
  color: #e50914;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.checkout-mini-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.22);
}

.checkout-mini-brand span span {
  color: #fff;
}

.checkout-step-dots {
  display: flex;
  gap: 6px;
}

.checkout-step-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 180ms ease, background 180ms ease;
}

.checkout-step-dots span.active {
  width: 20px;
  border-radius: 999px;
  background: var(--sub-red-hover);
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.34);
}

.checkout-flow-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.checkout-flow-form {
  display: grid;
}

.checkout-slider-shell {
  position: relative;
  min-height: calc(100vh - 126px);
  overflow: hidden;
  border-radius: 20px;
}

.checkout-slider-track {
  position: relative;
  min-height: calc(100vh - 126px);
}

.checkout-flow-step {
  animation: none;
}

.checkout-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  width: 100%;
  min-height: calc(100vh - 126px);
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  padding: 4px 2px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(108%);
  transition:
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease;
}

.checkout-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.checkout-slide.before {
  transform: translateX(-108%);
}

.checkout-slide.after {
  transform: translateX(108%);
}

.auth-shell {
  display: grid;
  align-content: center;
  justify-items: center;
}

.checkout-step-header {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 8px auto 24px;
  text-align: center;
}

.checkout-step-header span {
  color: var(--sub-muted);
  font-size: 0.78rem;
}

.checkout-step-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.05;
  font-weight: 780;
}

.checkout-step-header p {
  max-width: 560px;
  margin: 0;
  color: var(--sub-muted);
  line-height: 1.6;
}

.checkout-auth-card,
.checkout-panel,
.checkout-order-summary,
.checkout-success-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.checkout-auth-card {
  display: grid;
  gap: 16px;
  width: min(430px, 100%);
  padding: 24px;
}

.checkout-fields.single {
  grid-template-columns: 1fr;
}

.checkout-flow-form label {
  display: grid;
  gap: 10px;
  color: #d8d8d8;
  font-size: 0.82rem;
  font-weight: 620;
}

.checkout-form select,
.checkout-flow-form select,
.checkout-flow-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.checkout-flow-form select:focus,
.checkout-flow-form input:focus {
  border-color: rgba(229, 9, 20, 0.78);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.14);
  outline: 0;
}

.checkout-flow-form select option {
  color: #111;
}

.checkout-terms,
.checkout-save-card {
  display: flex !important;
  align-items: center;
  gap: 9px;
  color: var(--sub-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.checkout-terms {
  width: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.checkout-terms input,
.checkout-save-card input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  min-height: auto;
  margin: 0;
  accent-color: var(--sub-red-hover);
}

.checkout-terms span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-terms a,
.checkout-card-footer a,
.checkout-secondary-link {
  color: var(--sub-red-hover);
}

.checkout-card-footer,
.checkout-muted {
  margin: 0;
  color: var(--sub-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

.checkout-muted.centered {
  margin-top: 8px;
}

.checkout-period-row {
  display: grid;
  justify-items: center;
  margin: -6px 0 24px;
}

.checkout-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.checkout-plan-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.055);
  animation: checkoutFadeIn 360ms ease both;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkout-plan-card:hover {
  border-color: rgba(229, 9, 20, 0.65);
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.06);
}

.checkout-plan-card.selected {
  border-color: var(--sub-red-hover);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.35), 0 0 38px rgba(229, 9, 20, 0.23);
  animation: checkoutBreath 2.8s ease-in-out infinite;
}

.checkout-plan-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  padding: 5px 11px;
  border-radius: 0 0 999px 999px;
  background: var(--sub-red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 850;
}

.checkout-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-plan-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sub-red-hover);
  color: #fff;
  opacity: 0;
}

.checkout-plan-card.selected .checkout-plan-check {
  opacity: 1;
}

.checkout-plan-card h2 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
}

.checkout-plan-card p {
  min-height: 38px;
  margin: 0;
  color: var(--sub-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-plan-price {
  display: flex;
  align-items: end;
  gap: 6px;
}

.checkout-plan-price strong {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
}

.checkout-plan-price span {
  padding-bottom: 4px;
  color: var(--sub-muted);
}

.checkout-plan-card ul,
.checkout-order-summary ul,
.checkout-whats-next ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-plan-card li,
.checkout-order-summary li,
.checkout-whats-next li {
  position: relative;
  padding-left: 20px;
  color: #d6d6d6;
  font-size: 0.82rem;
  line-height: 1.45;
}

.checkout-plan-card li::before,
.checkout-order-summary li::before,
.checkout-whats-next li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sub-red-hover);
}

.checkout-plan-button,
.checkout-secondary-button {
  min-height: 44px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 760;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.checkout-plan-button,
.checkout-secondary-button {
  border: 1px solid rgba(229, 9, 20, 0.58);
  background: transparent;
  color: #fff;
}

.checkout-plan-button:hover,
.checkout-secondary-button:hover {
  border-color: var(--sub-red-hover);
  background: rgba(229, 9, 20, 0.12);
}

.checkout-plan-card.selected .checkout-plan-button {
  background: linear-gradient(180deg, var(--sub-red-hover), var(--sub-red));
  box-shadow: 0 14px 36px rgba(229, 9, 20, 0.26);
}

.checkout-plan-note {
  margin: 22px 0 0;
  color: var(--sub-muted);
  text-align: center;
}

.checkout-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.checkout-panel,
.checkout-order-summary {
  padding: 24px;
}

.checkout-panel .checkout-step-header {
  justify-items: start;
  margin: 0 0 22px;
  text-align: left;
}

.checkout-panel .checkout-step-header h1 {
  font-size: 1.45rem;
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 12px;
  margin-top: 20px;
}

.checkout-order-summary {
  position: relative;
  top: 0;
  align-self: start;
  display: grid;
  gap: 18px;
}

.checkout-order-summary h2 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}

.checkout-summary-plan-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}

.checkout-summary-plan-row .modern-plan-icon {
  width: 38px;
  height: 38px;
}

.checkout-summary-plan-row strong,
.checkout-summary-plan-row span {
  color: #fff;
  font-size: 0.86rem;
}

.checkout-order-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.checkout-order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--sub-muted);
  font-size: 0.88rem;
}

.checkout-order-summary dd {
  margin: 0;
  color: #fff;
}

.checkout-order-summary .total {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 760;
}

.checkout-order-summary small {
  color: var(--sub-muted);
}

.checkout-order-summary p {
  margin: 0;
  color: var(--sub-muted);
  font-size: 0.78rem;
}

.checkout-payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.checkout-payment-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--sub-muted);
  cursor: pointer;
}

.checkout-payment-tabs button:last-child {
  border-right: 0;
}

.checkout-payment-tabs button.active {
  background: rgba(229, 9, 20, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0.55);
}

.checkout-payment-panel {
  display: grid;
  gap: 14px;
}

.checkout-stripe-panel {
  align-self: center;
}

.checkout-stripe-notice {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 24px 20px;
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.18), transparent 46%),
    rgba(255, 255, 255, 0.04);
  text-align: center;
}

.checkout-stripe-notice > div {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(229, 9, 20, 0.45);
  border-radius: 50%;
  color: var(--sub-red-hover);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.18);
}

.checkout-stripe-notice svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-stripe-notice strong {
  color: #fff;
  font-size: 1.1rem;
}

.checkout-stripe-notice p {
  max-width: 470px;
  margin: 0;
  color: var(--sub-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.checkout-stripe-inline-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(229, 9, 20, 0.18);
  border-radius: 10px;
  background: rgba(229, 9, 20, 0.07);
  color: var(--sub-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.checkout-stripe-inline-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sub-red-hover);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-secure-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--sub-muted);
  font-size: 0.82rem;
}

.checkout-success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.checkout-success-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(560px, 100%);
  padding: 34px;
  text-align: center;
  overflow: hidden;
}

.checkout-success-card::before {
  content: "";
  position: absolute;
  inset: 50px 0 auto;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 58%);
  pointer-events: none;
}

.checkout-success-card > * {
  position: relative;
  z-index: 1;
}

.checkout-success-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-top: 14px;
  border: 1px solid rgba(34, 197, 94, 0.65);
  border-radius: 50%;
  color: #22c55e;
  box-shadow: 0 0 38px rgba(34, 197, 94, 0.38);
}

.checkout-success-mark svg {
  width: 44px;
  height: 44px;
}

.checkout-success-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.checkout-success-subtitle,
.checkout-success-copy {
  margin: 0;
  color: #fff;
}

.checkout-success-copy {
  max-width: 430px;
  color: var(--sub-muted);
  line-height: 1.65;
}

.checkout-whats-next {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.checkout-whats-next strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.checkout-secondary-link {
  font-size: 0.88rem;
  font-weight: 720;
}

.checkout-success {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(720px, calc(100% - 36px));
  margin: 80px auto;
  padding: 44px 28px;
  text-align: center;
}

.checkout-success-mark {
  color: var(--sub-red-hover);
}

.checkout-success-mark svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.checkout-success-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  width: min(520px, 100%);
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.checkout-success-meta strong {
  color: #fff;
}

.checkout-success-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--sub-muted);
}

@keyframes subscriptionCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popularPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(178, 7, 16, 0.3), 0 22px 58px rgba(178, 7, 16, 0.2);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(178, 7, 16, 0.48), 0 24px 68px rgba(178, 7, 16, 0.28);
  }
}

@keyframes subscriptionWave {
  from {
    transform: translate3d(-18px, -4px, 0) scaleY(0.92);
  }
  to {
    transform: translate3d(18px, 5px, 0) scaleY(1.08);
  }
}

@keyframes sparkFloat {
  from {
    transform: translate3d(-18px, -10px, 0) scale(0.86);
  }
  to {
    transform: translate3d(22px, 14px, 0) scale(1.14);
  }
}

@keyframes progressSweep {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(260%);
  }
}

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

  .checkout-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-two-column {
    grid-template-columns: 1fr;
  }

  .checkout-order-summary {
    position: static;
  }

  .modern-plan-card.popular {
    transform: none;
  }

  .modern-plan-card.popular:hover {
    transform: translateY(-8px);
  }

  .subscription-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscription-feature-section {
    grid-template-columns: 1fr;
  }

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

  .checkout-summary {
    position: relative;
    top: auto;
  }

  .subscription-section-title {
    justify-items: center;
    text-align: center;
  }

  .subscription-section-title p {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .subscription-nav {
    width: calc(100% - 28px);
  }

  .subscription-nav .brand span {
    display: none;
  }

  .subscription-nav nav {
    gap: 18px;
  }

  .subscription-nav nav a:not(.active) {
    display: none;
  }

  .subscription-modern-page {
    padding-top: 0;
  }

  .subscription-hero-modern,
  .subscription-plan-grid,
  .subscription-feature-section {
    width: calc(100% - 28px);
  }

  .subscription-hero-modern {
    min-height: 350px;
    border-radius: 0;
  }

  .subscription-hero-copy {
    padding: 48px 10px 78px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    min-width: 0;
  }

  .subscription-plan-grid,
  .subscription-feature-grid {
    grid-template-columns: 1fr;
  }

  .subscription-plan-grid {
    margin-top: -30px;
  }

  .modern-plan-card,
  .feature-highlight-card {
    min-height: 0;
  }

  .checkout-page {
    width: calc(100% - 28px);
    padding-top: 34px;
  }

  .checkout-auth-grid,
  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-form,
  .checkout-summary {
    padding: 20px;
  }

  .checkout-step {
    align-items: flex-start;
  }

  .checkout-flow-nav {
    grid-template-columns: 38px 1fr;
    width: calc(100% - 28px);
    padding: 0 12px;
  }

  .checkout-step-dots {
    grid-column: 1 / -1;
    justify-self: center;
    padding-bottom: 10px;
  }

  .checkout-flow-page {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .checkout-auth-card,
  .checkout-panel,
  .checkout-order-summary,
  .checkout-success-card {
    padding: 20px;
  }

  .checkout-plan-grid {
    grid-template-columns: 1fr;
  }

  .checkout-plan-card {
    min-height: 0;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .checkout-summary-plan-row {
    grid-template-columns: 38px 1fr;
  }

  .checkout-summary-plan-row span {
    grid-column: 2;
  }
}

/* EventPlus organiser landing page */
.landing-shell {
  --landing-red: #e50914;
  --landing-red-dark: #9f060e;
  --landing-surface: rgba(255, 255, 255, 0.06);
  --landing-border: rgba(255, 255, 255, 0.12);
  --landing-muted: #a3a3a3;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 72% 8%, rgba(229, 9, 20, 0.18), transparent 34%),
    radial-gradient(ellipse at 16% 32%, rgba(229, 9, 20, 0.12), transparent 30%),
    linear-gradient(180deg, #030303 0%, #070707 48%, #020202 100%);
  color: #fff;
}

.landing-nav,
.subscription-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 3, 3, 0.78);
  backdrop-filter: blur(18px);
}

.landing-nav > div,
.subscription-nav nav {
  display: flex;
  justify-content: right;
  gap: 28px;
  color: var(--landing-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-nav > div a,
.subscription-nav nav a {
  transition: color 180ms ease;
}

.landing-nav a.active,
.landing-nav > div a:hover,
.subscription-nav nav a:hover,
.subscription-nav nav a.active {
  color: #fff;
}

.landing-nav-cta,
.subscription-nav-action,
.landing-primary-button,
.landing-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-nav-cta,
.subscription-nav-action {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(229, 9, 20, 0.46);
  background: rgba(229, 9, 20, 0.1);
  color: #fff;
  font-size: 0.86rem;
  display: none;
}

.landing-nav-cta:hover,
.subscription-nav-action:hover,
.landing-primary-button:hover,
.landing-secondary-button:hover {
  transform: translateY(-2px);
}

.subscription-nav nav a::after {
  display: none;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 70px 0 76px;
}

.landing-hero-copy {
  max-width: 690px;
}

.landing-eyebrow {
  margin: 0 0 14px;
  color: var(--landing-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section-heading h2,
.landing-workflow h2,
.landing-final-cta h2 {
  margin: 0;
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 7vw, 4rem);
  line-height: 0.94;
}

.landing-hero-copy > p:not(.landing-eyebrow),
.landing-workflow > div > p,
.landing-final-cta > p {
  max-width: 620px;
  color: #c7c7c7;
  font-size: 1.08rem;
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.landing-primary-button {
  min-width: 184px;
  padding: 0 22px;
  border: 1px solid #d80a14;
  background: linear-gradient(180deg, var(--landing-red), var(--landing-red-dark));
  box-shadow: 0 16px 34px rgba(178, 7, 16, 0.28);
}

.landing-secondary-button {
  min-width: 164px;
  padding: 0 20px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.landing-primary-button:hover {
  background: #c11119;
  box-shadow: 0 20px 40px rgba(178, 7, 16, 0.36);
}

.landing-secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.landing-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.landing-outcomes div,
.landing-preview-card,
.landing-feature-grid article {
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: var(--landing-surface);
}

.landing-outcomes div {
  padding: 16px;
}

.landing-outcomes strong {
  display: block;
  font-size: 1.72rem;
  line-height: 1;
}

.landing-outcomes span,
.landing-preview-card span,
.landing-channel-list p,
.landing-feature-grid p,
.landing-workflow p,
.landing-final-cta p {
  color: var(--landing-muted);
}

.landing-product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(229, 9, 20, 0.18), transparent 38%),
    rgba(12, 12, 13, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.landing-product-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 62%);
  transform: translateX(-72%);
  animation: landingPreviewSweep 6s ease-in-out infinite;
}

.landing-product-preview > * {
  position: relative;
  z-index: 1;
}

.landing-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.landing-preview-header span,
.landing-preview-card span {
  color: #bdbdbd;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.landing-preview-header strong {
  text-align: right;
}

.landing-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-preview-card {
  min-height: 138px;
  padding: 16px;
}

.landing-preview-card-large {
  grid-column: 1 / -1;
}

.landing-preview-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2.2rem;
  line-height: 1;
}

.landing-preview-card h3 {
  margin: 12px 0 0;
  font-size: 1.38rem;
  line-height: 1.16;
}

.landing-preview-card p {
  margin: 14px 0 0;
  color: #b7b7b7;
  font-size: 0.9rem;
  line-height: 1.5;
}

.landing-progress {
  overflow: hidden;
  height: 9px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.landing-progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--landing-red-dark), var(--landing-red));
}

.landing-channel-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.landing-channel-list div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.landing-channel-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.13);
  color: var(--landing-red);
  font-size: 0.78rem;
  font-weight: 900;
}

.landing-channel-list p {
  margin: 0;
}

.landing-trust-band,
.landing-section,
.landing-workflow,
.landing-final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-trust-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 0 70px;
}

.landing-trust-band span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #cfcfcf;
  font-size: 0.86rem;
  font-weight: 750;
}

.landing-section,
.landing-workflow,
.landing-final-cta {
  padding: 86px 0;
}

.landing-section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.landing-section-heading h2,
.landing-workflow h2,
.landing-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-feature-grid article {
  min-height: 260px;
  padding: 22px;
}

.landing-feature-grid article > span {
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: var(--landing-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.46);
}

.landing-feature-grid h3 {
  margin: 0 0 12px;
  font-size: 1.14rem;
}

.landing-feature-grid p {
  margin: 0;
  line-height: 1.62;
}

.landing-workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-workflow .landing-primary-button {
  margin-top: 18px;
}

.landing-workflow ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.landing-workflow li {
  counter-increment: workflow;
  min-height: 74px;
  padding: 18px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.landing-workflow li::before {
  content: "0" counter(workflow);
  display: inline-flex;
  margin-right: 16px;
  color: var(--landing-red);
  font-size: 0.84rem;
  font-weight: 950;
}

.landing-workflow li span {
  font-weight: 850;
}

.landing-final-cta {
  display: grid;
  justify-items: center;
  padding-bottom: 110px;
  text-align: center;
}

.landing-final-cta p {
  max-width: 560px;
}

.landing-final-cta .landing-primary-button {
  margin-top: 12px;
}

@keyframes landingPreviewSweep {
  0%,
  42% {
    transform: translateX(-78%);
  }
  72%,
  100% {
    transform: translateX(78%);
  }
}

@media (max-width: 980px) {
  .landing-hero,
  .landing-workflow {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: 0;
    padding-top: 54px;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-nav,
  .subscription-nav,
  .landing-hero,
  .landing-trust-band,
  .landing-section,
  .landing-workflow,
  .landing-final-cta {
    width: calc(100% - 28px);
  }

  .landing-nav,
  .subscription-nav {
    min-height: 68px;
    gap: 12px;
  }

  .landing-nav .brand span,
  .subscription-nav .brand span {
    display: none;
  }

  .landing-nav > div,
  .subscription-nav nav {
    gap: 14px;
    font-size: 1rem;
  }

  .subscription-nav nav a:not(.active) {
    display: grid;
  }

  .landing-nav-cta,
  .subscription-nav-action {
    min-height: 40px;
    padding: 0 12px;
  }

  .landing-hero {
    gap: 34px;
    padding: 42px 0 56px;
  }

  .landing-hero h1 {
    font-size: 3rem;
  }

  .landing-actions,
  .landing-outcomes {
    grid-template-columns: 1fr;
  }

  .landing-actions {
    display: grid;
  }

  .landing-outcomes,
  .landing-preview-grid,
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-product-preview {
    padding: 16px;
  }

  .landing-preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-preview-header strong {
    text-align: left;
  }

  .landing-section,
  .landing-workflow,
  .landing-final-cta {
    padding: 62px 0;
  }

  .landing-feature-grid article {
    min-height: 0;
  }
}
