/* ============================================
   155 GAMES — style.css
   Faithful recreation of 155.io styling
   ============================================ */

/* ---------- CSS Variables (from original) ---------- */
:root {
  --text-color:      rgba(255, 255, 255, 0.75);
  --primary-yellow:  #E5A000;
  --primary-green:   #14AE5C;
  --primary-blue:    #36C7EC;
  --bg:              #000;
  --surface:         rgba(255,255,255,0.04);
  --border:          rgba(255,255,255,0.1);
  --border-bright:   rgba(255,255,255,0.25);

  --font-display:    'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --font-body:       'Inter', system-ui, sans-serif;

  --radius-card:     24px;
  --radius-pill:     999em;
  --radius-sm:       8px;
  --radius-md:       12px;

  --max-w:           1280px;
  --section-pad:     90px 40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 40px;
}

/* ---------- Section shared ---------- */
.section { padding: var(--section-pad); }

.section-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 48px;
}

/* ---------- Placeholders ---------- */
.placeholder {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  height: 100%;
}
.placeholder--videobg { height: 100%; border-radius: 0; border: none; font-size: 16px; }
.placeholder--herocard { height: 130px; border-radius: 16px 16px 0 0; }
.placeholder--trackbg  { height: 100%; border-radius: 0; border: none; }
.placeholder--phone    { height: 460px; border-radius: 32px; }
.placeholder--marble   { width: 100%; height: 100%; border-radius: 50%; }
.placeholder--icon     { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; font-size: 20px; }
.placeholder--partnerlogo { height: 52px; border-radius: var(--radius-sm); font-size: 13px; }
.placeholder--presslogo { height: 36px; padding-inline: 12px; border-radius: 6px; font-size: 12px; }
.placeholder--company  { height: 440px; border-radius: var(--radius-card); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
}
.btn-primary:hover {
  background: #000;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ---------- Dotted texture overlay ---------- */
.dotted-overlay {
  position: absolute;
  inset: 0;
  background: url('/images/dotted_pattern.png') repeat top;
  background-size: 300px 300px;
  background-attachment: fixed;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}


/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */

/* Hero entrance: scale(0.85) translateY(40px) → scale(1) translateY(0) */
@keyframes fadeInHero {
  from { transform: scale(0.85) translateY(40px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

/* Pulsing badge dot */
@keyframes launchPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Tag text perpetual bounce */
@keyframes bounceTagText {
  0%, 100% { transform: translateY(0)   rotate(0deg); }
  25%       { transform: translateY(-2px) rotate(-2deg); }
  50%       { transform: translateY(2px)  rotate(2deg) scale(1.1); }
  75%       { transform: translateY(2px)  rotate(-2deg); }
}

/* Tag "+" bounce */
@keyframes bouncePlus {
  0%, 100% { transform: translateY(0)   translateX(-50%); }
  25%       { transform: translateY(-2px) translateX(-50%); }
  50%       { transform: translateY(2px)  translateX(-50%) scale(1.1); }
  75%       { transform: translateY(2px)  translateX(-50%); }
}

/* Marble float 1 */
@keyframes float1 {
  0%, 100% { transform: translate(0,0)         rotate(0deg); }
  25%       { transform: translate(10px,-15px)  rotate(5deg); }
  50%       { transform: translate(-5px,-10px)  rotate(-3deg); }
  75%       { transform: translate(8px,5px)     rotate(2deg); }
}

/* Marble float 2 */
@keyframes float2 {
  0%, 100% { transform: translate(0,0)          rotate(0deg); }
  25%       { transform: translate(-12px,10px)   rotate(-4deg); }
  50%       { transform: translate(8px,-8px)     rotate(6deg); }
  75%       { transform: translate(-6px,-12px)   rotate(-2deg); }
}

/* Marble float 3 */
@keyframes float3 {
  0%, 100% { transform: translate(0,0)         rotate(0deg); }
  25%       { transform: translate(15px,8px)    rotate(3deg); }
  50%       { transform: translate(-8px,12px)   rotate(-5deg); }
  75%       { transform: translate(10px,-6px)   rotate(4deg); }
}

/* Connection line pulse */
@keyframes linePulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 0.2; }
}

/* Partner vertical marquee */
@keyframes marqueeScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-66.67% - 20px)); }
}

/* Partner random fade */
@keyframes randomFade {
  0%    { opacity: 0.65; }
  50%   { opacity: 1; }
  100%  { opacity: 0.65; }
}

/* Waveform bars */
@keyframes waveform {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

/* Shimmer text sweep */
@keyframes shimmerSweep {
  to { background-position: 200%; }
}

/* Track content fade-slide */
@keyframes fadeInSlide {
  from { opacity: 0.2; transform: translateY(10px) scale(0.92); }
  to   { opacity: 1;   transform: translateY(0)    scale(1); }
}

/* Track bg crossfade */
@keyframes bgFade {
  from { opacity: 0.3; }
  to   { opacity: 0.65; }
}

/* Track phone slide in */
@keyframes phoneSlide {
  from { opacity: 0.3; transform: translateX(-45px) scale(0.92); }
  to   { opacity: 1;   transform: translateX(0)     scale(1); }
}

/* Hero card entrance */
.anim-hero {
  animation: fadeInHero 0.65s ease-in-out var(--delay, 0s) backwards;
}


/* =============================================
   IMAGES & VIDEOS (real asset rules)
   ============================================= */

/* Nav logo */
.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Hero background videos — two-layer crossfade */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}
.hero-video-a { opacity: 1; z-index: 1; }
.hero-video-b { opacity: 0; z-index: 2; }

/* Hero card thumbnails */
.hero-card-inner img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* Track bg images */
.track-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Track phone mockup images */
.track-phone img,
.track-phone video {
  display: block;
  max-height: 460px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Marble images */
.marble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Partner logo images */
.partner-item img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}
.partner-item img:hover { opacity: 1; }

/* Company video */
.company-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.company-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
}

/* Footer CTA background video */
.footer-cta {
  position: relative;
}
.footer-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.footer-cta-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(1turn, #000, transparent 60%),
    rgba(0,0,0,0.55);
}

/* Footer brand logo */
.footer-brand img {
  height: 24px;
  width: auto;
}


/* =============================================
   HEADER (floating pill)
   ============================================= */
.site-header {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 200;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px 38px 38px 8px;
  transition: all 0.25s ease-in-out;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding-inline: 20px 8px;
}

.nav-logo { flex-shrink: 0; }

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 13px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}
.nav-toggle:hover { transform: rotate(90deg); }
.nav-toggle:hover span { /* rotate handled by JS */ }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px 40px 40px;
  transition: all 0.25s ease-in-out;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.mobile-links a {
  font-size: 18px;
  color: var(--text-color);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-links a:hover { color: #fff; }
.mobile-links .btn-primary {
  color: #000;
  background: #fff;
  border-color: #fff;
  border-bottom: none;
}
.mobile-links .btn { margin-top: 16px; border-bottom: none; }

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}
.menu-backdrop.is-open { display: block; }


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 820px;
  max-height: 980px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg video,
.hero-bg .placeholder--videobg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dual gradient vignette (original) */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(1turn, #000, transparent 59.35%),
    radial-gradient(60.28% 121.83% at 72.21% 40.78%, transparent 0, #000 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 120px;
  padding-bottom: 32px;
}

.hero-text {
  max-width: 600px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 20px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--primary-yellow);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-color);
  max-width: 380px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Game cards at bottom of hero */
.hero-cards {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.hero-cards::-webkit-scrollbar { display: none; }

.hero-card {
  flex-shrink: 0;
  width: 140px;
  cursor: pointer;
  border-radius: 18px;
  /* 1px gradient border shimmer */
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,1) 50%, rgba(255,255,255,0.25));
  padding: 1px;
}

.hero-card-inner {
  background: linear-gradient(160.99deg, #f3f3f3 2.56%, #000 72.32%);
  border-radius: 17px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 hsla(0,0%,100%,0.25);
}

.hero-card:hover .hero-card-inner,
.hero-card.is-active .hero-card-inner {
  background: linear-gradient(160.99deg, var(--primary-yellow) 2.56%, #000 72.32%);
  transform: scale(1.05);
}

.hero-card-label {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-card-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--primary-green);
  font-weight: 500;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
  animation: launchPulse 2s ease-in-out infinite;
}


/* =============================================
   CHAOS SECTION (stats + marbles + tags)
   ============================================= */
.chaos-section {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
  background: #000;
}

.chaos-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

/* Floating marble decorations */
.marble {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  overflow: hidden;
}
.marble-1 {
  width: 160px; height: 160px;
  left: 5%; top: 10%;
  animation: float1 6s ease-in-out 0s infinite;
}
.marble-2 {
  width: 120px; height: 120px;
  right: 8%; top: 5%;
  animation: float2 6s ease-in-out 2s infinite;
}
.marble-3 {
  width: 100px; height: 100px;
  right: 12%; bottom: 10%;
  animation: float3 6s ease-in-out 4s infinite;
}

/* Connection lines */
.marble-line {
  position: absolute;
  height: 2px;
  z-index: 0;
  border-radius: 2px;
  animation: linePulse 3s ease-in-out infinite;
}
.marble-line-1 {
  width: 200px;
  background: linear-gradient(45deg, rgba(74,222,128,0.6), rgba(34,197,94,0.3));
  left: 12%; top: 22%;
  transform: rotate(-20deg);
}
.marble-line-2 {
  width: 150px;
  background: linear-gradient(45deg, rgba(74,222,128,0.3), rgba(34,197,94,0.1));
  right: 15%; top: 30%;
  transform: rotate(15deg);
  animation-delay: 1.5s;
}

/* Stat counters */
.chaos-stats {
  display: flex;
  gap: 80px;
  justify-content: center;
}

.chaos-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chaos-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.chaos-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Bouncing tags */
.chaos-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.chaos-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.tag-text {
  animation: bounceTagText 1.5s ease-in-out var(--stagger, 0s) infinite alternate;
}

.tag-plus {
  position: relative;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-yellow);
  animation: bouncePlus 1.5s ease-in-out var(--stagger, 0s) infinite alternate;
}

.chaos-desc {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.8;
  max-width: 520px;
}


/* =============================================
   OUR TRACKS / GAMES
   ============================================= */
.tracks-section {
  background: #000;
}

/* Tab navigation */
.tracks-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.track-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.3s ease;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.track-tab:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.track-tab.is-active {
  background: linear-gradient(90deg, rgba(229,160,0,0.25), rgba(229,160,0,1) 50%, rgba(229,160,0,0.25));
  color: #000;
  border-color: transparent;
}

/* Content panels */
.tracks-content {
  position: relative;
  min-height: 500px;
}

.track-panel {
  display: none;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 480px;
}

.track-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "left phone";
  animation: fadeInSlide 0.5s ease-in-out forwards;
}

.track-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.track-bg .placeholder--trackbg {
  animation: bgFade 0.5s ease-in-out forwards;
}

.track-left {
  grid-area: left;
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 60%, transparent 100%);
}

.track-phone {
  grid-area: phone;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: phoneSlide 0.5s ease-in-out forwards;
}
.track-phone .placeholder--phone { max-width: 220px; }

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.track-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.track-desc {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
  max-width: 380px;
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.track-meta li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-color);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  max-width: 260px;
}
.track-meta li span:last-child { color: #fff; font-weight: 600; }

.track-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.track-tags span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-color);
}


/* =============================================
   FEATURES
   ============================================= */
.features-section {
  background: #000;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); }

/* Gradient borders — reliable padding-box/border-box pattern */
.feature-card--yellow {
  border: 1px solid transparent;
  background:
    rgba(229,160,0,0.06) padding-box,
    linear-gradient(90deg, rgba(229,160,0,0.25), rgba(229,160,0,1) 50%, rgba(229,160,0,0.25)) border-box;
}

.feature-card--green {
  border: 1px solid transparent;
  background:
    rgba(20,174,92,0.06) padding-box,
    linear-gradient(135deg, var(--primary-green), rgba(34,197,94,0.4)) border-box;
}

.feature-card--purple {
  border: 1px solid transparent;
  background:
    rgba(167,139,250,0.08) padding-box,
    linear-gradient(90deg, rgba(167,139,250,0.15), rgba(167,139,250,0.7) 50%, rgba(167,139,250,0.15)) border-box;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
}


/* =============================================
   PARTNERS / LIVE OPERATORS
   ============================================= */
.partners-section {
  background: #000;
  overflow: hidden;
}

.partners-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}

.partners-counter-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.partners-counter {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.partners-counter-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
  padding-top: 12px;
}

.partners-sub {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Vertical marquee */
.partners-marquee-wrap {
  position: relative;
  height: 440px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.partners-marquee {
  display: flex;
  gap: 20px;
  height: 100%;
}

.partners-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: marqueeScroll 40s linear infinite;
}

.partners-col--offset {
  animation-delay: -20s;
  /* slightly different speed for visual depth */
  animation-duration: 38s;
}

.partner-item {
  flex-shrink: 0;
}

.partner-item .placeholder--partnerlogo {
  width: 180px;
  height: 52px;
  /* random fade effect via inline custom property */
  animation: randomFade var(--fade-duration, 3s) ease-in-out var(--fade-delay, 0s) infinite;
}


/* =============================================
   COMPANY
   ============================================= */
.company-section {
  background: #000;
  position: relative;
}

.company-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.company-text p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 16px;
}
.company-text strong { color: #fff; }


/* =============================================
   PRESS
   ============================================= */
.press-section { background: #000; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.press-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.press-card:hover { transform: scale(1.035); }

.press-card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Podcast card */
.press-card--podcast {
  border: 1px solid transparent;
  background:
    rgba(15,15,15,1) padding-box,
    linear-gradient(135deg, var(--primary-yellow) 0%, rgba(229,160,0,0.4) 40%, rgba(255,255,255,0.15) 100%) border-box;
}
.press-card--podcast .press-card-inner {
  background: transparent;
  position: relative;
}

.press-podcast-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}

.press-podcast-sub {
  font-size: 13px;
  color: var(--text-color);
}

/* Waveform bars */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  margin-block: 8px;
}

.waveform span {
  display: block;
  width: 3px;
  background: var(--primary-yellow);
  border-radius: 2px;
  height: 100%;
  transform-origin: bottom;
  transform: scaleY(0.4);
  animation: waveform 1.2s ease-in-out var(--d, 0s) infinite alternate;
  animation-play-state: paused;
}

.press-card--podcast:hover .waveform span {
  animation-play-state: running;
}

/* Listen button */
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary-yellow);
  color: var(--primary-yellow);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
}
.press-card--podcast:hover .listen-btn {
  background: var(--primary-yellow);
  color: #000;
}

/* Article cards */
.press-card--article .press-card-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.press-card--article:hover .press-card-inner {
  background: rgba(255,255,255,0.06);
}

.press-card--article blockquote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-color);
  line-height: 1.7;
  flex: 1;
}

.press-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.press-category {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}


/* =============================================
   FOOTER CTA
   ============================================= */
.footer-cta {
  position: relative;
  text-align: center;
  padding: 120px 40px;
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
}

/* Shimmer heading */
.shimmer-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 20px;

  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSweep 5s linear infinite reverse;
}
.shimmer-heading em {
  font-style: italic;
  color: inherit;
}

.footer-cta-sub {
  font-size: 18px;
  color: var(--text-color);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.7;
}

.footer-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand .logo-text { font-size: 20px; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.footer-nav {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-social-link {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: color 0.35s ease;
}
.footer-social-link:hover { color: var(--primary-yellow); }

.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 72px 32px; }

  .partners-inner {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .company-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Tablet small */
@media (max-width: 860px) {
  .track-panel.is-active {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "phone";
  }

  .track-left {
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 60%, transparent 100%);
    padding: 32px;
  }

  .partners-inner {
    grid-template-columns: 1fr;
  }

  .partners-marquee-wrap {
    height: 260px;
  }

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

  .chaos-stats {
    gap: 48px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }

  .container { padding-inline: 20px; }

  /* Header becomes simpler pill */
  .site-header {
    top: 8px;
    left: 8px;
    right: 8px;
    border-radius: 8px 24px 24px 8px;
  }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { max-height: none; height: auto; min-height: 100svh; }
  .hero-content { padding-top: 100px; }

  .hero-text h1 { font-size: clamp(44px, 12vw, 64px); }

  .hero-cards { gap: 8px; }
  .hero-card  { width: 112px; }

  .marble-1 { width: 80px; height: 80px; }
  .marble-2 { width: 60px; height: 60px; }
  .marble-3 { width: 50px; height: 50px; }
  .marble-line { display: none; }

  .chaos-stats { flex-direction: column; gap: 32px; }

  .chaos-tags { gap: 8px; }

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

  .footer-cta-actions { flex-direction: column; align-items: center; }
  .footer-cta-actions .btn { width: 100%; max-width: 280px; }

  .section-title { margin-bottom: 28px; }

  .tracks-tabs { gap: 6px; }
  .track-tab { font-size: 12px; padding: 8px 14px; }
}
