/*
Theme Name: Viewercon Landing
Theme URI: https://viewercon.com/
Author: Popviewers
Description: A WordPress conversion of the ViewerCon Lovable landing page.
Version: 2.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: viewercon-landing
*/

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #09070f;
}

.vc-root {
  --black: #09070f;
  --purple: #834699;
  --violet: #6254a2;
  --rose: #ea3490;
  --orchid: #f45ccf;
  --plum: #2a0b59;
  --cream: #fff4f8;
  min-height: 100vh;
  padding-top: 2.4rem;
  overflow-x: hidden;
  background: var(--black);
  color: #fff;
  font-family: "Raleway", sans-serif;
  scroll-behavior: smooth;
}

.vc-root *,
.vc-root *::before,
.vc-root *::after {
  box-sizing: border-box;
}

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.announce-bar__logo {
  display: block;
  width: auto;
  height: 1.25rem;
  max-width: 7.5rem;
  object-fit: contain;
}

.announce-bar__fallback {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.vc-nav {
  position: sticky;
  top: 2.4rem;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 7, 15, 0.88);
  backdrop-filter: blur(18px);
}

.vc-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.vc-nav__brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.vc-nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vc-nav__links a:not(.vc-button) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.vc-nav__links a:not(.vc-button):hover {
  color: #fff;
}

.vc-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 1rem 1.55rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.vc-button:hover {
  transform: translateY(-2px);
}

.vc-button--small {
  min-height: 38px;
  padding: 0.75rem 1rem;
  font-size: 0.68rem;
}

.vc-button--orange {
  background: #f05a00;
  box-shadow: 0 12px 35px rgba(240, 90, 0, 0.32);
}

.vc-button--orange:hover {
  background: #ff701f;
}

.vc-button--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.vc-button--ghost:hover {
  border-color: var(--orchid);
  color: var(--orchid);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 2.4rem);
  min-height: calc(100dvh - 2.4rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 2rem;
}

.viewercon-home .hero {
  min-height: calc(100vh - 6.5rem);
  min-height: calc(100dvh - 6.5rem);
  padding: clamp(4rem, 8vh, 7rem) 1.25rem 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.hero-strip-row {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  height: calc(33.333vh);
  gap: 5px;
}

.viewercon-home .hero-grid {
  gap: 7px;
  background: #08020e;
}

.viewercon-home .hero-strip-row {
  gap: 7px;
}

.hero-strip-row:nth-child(1) {
  animation: hero-l 30s linear infinite;
}

.hero-strip-row:nth-child(2) {
  animation: hero-r 36s linear infinite;
}

.hero-strip-row:nth-child(3) {
  animation: hero-l 33s linear infinite;
}

@keyframes hero-l {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-r {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.hero-strip-card {
  width: 220px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--purple), var(--plum));
}

.viewercon-home .hero-strip-card {
  width: clamp(190px, 18vw, 340px);
  border-radius: 7px;
}

.hero-strip-card .cell-fill {
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}

.viewercon-home .hero-strip-card .cell-fill {
  background-position: center;
  background-size: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.hero-strip-card:nth-child(8n+1) {
  background: linear-gradient(160deg, #834699, #2a0b59);
}

.hero-strip-card:nth-child(8n+2) {
  background: linear-gradient(160deg, #ea3490, #6254a2);
}

.hero-strip-card:nth-child(8n+3) {
  background: linear-gradient(160deg, #6254a2, #f45ccf);
}

.hero-strip-card:nth-child(8n+4) {
  background: linear-gradient(160deg, #2a0b59, #834699);
}

.hero-strip-card:nth-child(8n+5) {
  background: linear-gradient(160deg, #09070f, #6254a2);
}

.hero-strip-card:nth-child(8n+6) {
  background: linear-gradient(160deg, #f45ccf, #ea3490);
}

.hero-strip-card:nth-child(8n+7) {
  background: linear-gradient(160deg, #834699, #ea3490);
}

.hero-strip-card:nth-child(8n+8) {
  background: linear-gradient(160deg, #2a0b59, #f45ccf);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(9, 7, 15, 0.72);
}

.viewercon-home .hero-overlay {
  background:
    linear-gradient(180deg, rgba(24, 2, 34, 0.6), rgba(36, 7, 42, 0.72) 52%, rgba(28, 4, 33, 0.72)),
    rgba(31, 4, 42, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 860px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.viewercon-home .hero-content {
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(244, 92, 207, 0.5);
  border-radius: 3px;
  color: var(--orchid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewercon-home .hero-eyebrow {
  margin-bottom: 1.8rem;
  padding: 0.7rem 1.55rem;
  border-color: rgba(244, 92, 207, 0.55);
  background: rgba(27, 5, 37, 0.38);
  box-shadow: 0 0 35px rgba(244, 92, 207, 0.12);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
}

.hero-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewercon-home .hero-powered {
  gap: 0.75rem;
  margin-bottom: 1.45rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.pv-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.pv-logo {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.viewercon-home .pv-logo {
  width: 31px !important;
  height: 31px !important;
  max-width: 31px !important;
  flex: 0 0 31px;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: min(560px, 85vw);
  height: auto;
  margin: 0 auto 1.2rem;
}

.viewercon-home .hero-logo {
  max-width: min(720px, 78vw);
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

.hero-date {
  margin: 0 0 0.5rem;
  color: var(--orchid);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.viewercon-home .hero-date {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-date span {
  color: rgba(255, 255, 255, 0.5);
}

.hero-tagline {
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewercon-home .hero-tagline {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: -1rem;
}

.viewercon-home .hero-actions {
  margin-top: 0;
}

.viewercon-home .hero .hero-actions a.hero-ticket,
.hero-ticket {
  display: inline-flex;
  min-width: min(480px, calc(100vw - 2rem));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.55rem 2rem 1.4rem;
  border: 3px solid rgba(255, 178, 91, 0.45);
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8f18, #ff5b00);
  box-shadow:
    0 0 0 9px rgba(240, 90, 0, 0.22),
    0 24px 55px rgba(0, 0, 0, 0.42);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}

.viewercon-home .hero .hero-actions a.hero-ticket {
  display: inline-flex !important;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #ff8f18, #ff5b00) !important;
}

.viewercon-home .hero .hero-actions a.hero-ticket:visited {
  color: #fff !important;
}

.viewercon-home .hero .hero-actions a.hero-ticket:hover,
.hero-ticket:hover {
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow:
    0 0 0 9px rgba(240, 90, 0, 0.3),
    0 28px 65px rgba(0, 0, 0, 0.48);
}

.viewercon-home .hero-ticket__main,
.hero-ticket__main {
  display: block;
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.viewercon-home .hero-ticket__meta,
.hero-ticket__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.hero-seat-note {
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-seat-note span {
  margin: 0 0.55rem;
}

.countdown-bar {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 860px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.viewercon-home .countdown-bar {
  width: 100vw;
  max-width: none;
  margin: clamp(3.5rem, 6vh, 5rem) calc(50% - 50vw) 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(42, 17, 49, 0.82);
  box-shadow: 0 -24px 70px rgba(244, 92, 207, 0.08);
}

.cd-item {
  flex: 1;
  min-width: 0;
  padding: 1.4rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.viewercon-home .cd-item {
  padding: 2rem 2rem 1.75rem;
}

.cd-item:last-child {
  border-right: none;
}

.cd-num {
  color: var(--orchid);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.viewercon-home .cd-num {
  font-size: clamp(2.7rem, 5vw, 4rem);
}

.cd-label {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewercon-home .cd-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.ticker-wrap {
  overflow: hidden;
  padding: 0.9rem 0;
  background: var(--purple);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  padding: 0 2rem;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticker-dot {
  margin-right: 2rem;
  color: var(--orchid);
}

.home-lineup {
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  background: #0c0a14;
  text-align: center;
}

.home-lineup h2 {
  max-width: 920px;
  margin: 0 auto 1.3rem;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-kicker,
.section-label {
  margin: 0 0 1rem;
  color: var(--orchid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vc-text-link {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration-color: var(--orchid);
  text-decoration-thickness: 2px;
  text-transform: uppercase;
  text-underline-offset: 0.45em;
}

.vc-ticket-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 1.5rem;
  background: #09070f;
  text-align: center;
}

.vc-ticket-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(240, 90, 0, 0.12), transparent 32%, rgba(244, 92, 207, 0.13)),
    radial-gradient(ellipse 55% 75% at 50% 50%, rgba(131, 70, 153, 0.28), transparent 68%);
  pointer-events: none;
}

.vc-ticket-cta > * {
  position: relative;
  z-index: 1;
}

.vc-ticket-cta h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.vc-ticket-cta p:not(.section-label) {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 1.5rem clamp(3.5rem, 7vw, 5.25rem);
  background: #09070f;
  text-align: center;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 48%),
    radial-gradient(ellipse 42% 62% at 50% 28%, rgba(244, 92, 207, 0.18), transparent 72%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 960px;
  margin: 0 auto 1rem;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.page-hero h1 em {
  color: var(--orchid);
  font-style: normal;
}

.page-hero p:not(.section-kicker) {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 1.75;
}

.speaker-list {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
  background: #09070f;
}

.speaker-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto clamp(4rem, 8vw, 6rem);
}

.speaker-feature:last-child {
  margin-bottom: 0;
}

.speaker-feature--reverse {
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
}

.speaker-feature--reverse .speaker-feature__image {
  order: 2;
}

.speaker-feature--reverse .speaker-feature__content {
  order: 1;
}

.speaker-feature__image {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--purple), var(--plum));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.speaker-feature__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.speaker-feature__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.speaker-feature__content {
  color: rgba(255, 255, 255, 0.58);
}

.speaker-feature__role {
  margin: 0 0 0.85rem;
  color: var(--orchid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.speaker-feature h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.speaker-feature p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

.styled-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

.styled-page-content h2,
.styled-page-content h3 {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .vc-nav {
    align-items: flex-start;
  }

  .vc-nav__brand span {
    display: none;
  }

  .vc-nav__links {
    gap: 0.65rem;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .viewercon-home .hero {
    padding-top: 3rem;
  }

  .hero-strip-card {
    width: 155px;
  }

  .viewercon-home .hero-strip-card {
    width: 150px;
  }

  .hero-eyebrow,
  .hero-powered,
  .hero-tagline {
    letter-spacing: 0.1em;
  }

  .countdown-bar {
    margin-top: 2rem;
  }

  .viewercon-home .countdown-bar {
    flex-wrap: wrap;
  }

  .cd-item {
    padding: 1rem 0.5rem;
  }

  .viewercon-home .cd-item {
    flex: 0 0 50%;
    padding: 1.3rem 0.5rem;
  }

  .cd-label {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero-ticket {
    padding: 1.2rem 1rem;
  }

  .hero-ticket__meta {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .speaker-feature,
  .speaker-feature--reverse {
    grid-template-columns: 1fr;
  }

  .speaker-feature--reverse .speaker-feature__image,
  .speaker-feature--reverse .speaker-feature__content {
    order: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip-row,
  .ticker-track {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
