/* ==========================================================================
   SODAFOM WORLD UK — VIBRANT 3D COSMIC LAUNCH STYLESHEET (Build v68 / 1.0.68)
   Full Three.js WebGL 3D Rotating Planets + 3D Perspective UI + Arcade CTAs
   ========================================================================== */
:root {
  --bg-deep: #070f2e;
  --bg-mid: #0d1d56;
  --bg-indigo: #181a54;
  --card-glass: rgba(14, 30, 82, 0.80);
  --card-glass-strong: rgba(11, 24, 68, 0.90);
  --card-border: rgba(112, 214, 255, 0.36);
  --ink-dark: #0d1d4a;
  --text-bright: #ffffff;
  --text-soft: #dbeafe;
  --text-muted: #a5c4eb;
  --gold: #ffe055;
  --gold-lip: #b47b09;
  --cyan: #47e8ff;
  --cyan-lip: #0b7ea8;
  --magenta: #ff5ec4;
  --magenta-lip: #9d1768;
  --emerald: #4df2b5;
  --emerald-lip: #0c8558;
  --violet: #a97aff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 102, 241, 0.32), transparent 38%),
    radial-gradient(circle at 84% 22%, rgba(236, 72, 153, 0.25), transparent 40%),
    radial-gradient(circle at 50% 62%, rgba(14, 165, 233, 0.22), transparent 45%),
    linear-gradient(180deg, #060d29 0%, #0d1f5c 38%, #13194d 72%, #07102f 100%);
  color: var(--text-bright);
  font-family: 'Trebuchet MS', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fixed Full-Viewport 3D WebGL Rotating Planets Canvas */
#cosmos-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.site-shell {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -120px;
  left: 16px;
  background: var(--gold);
  color: var(--ink-dark);
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 14px;
  z-index: 999;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Top Launch Announcement Bar */
.announcement {
  background: linear-gradient(90deg, #ffe055 0%, #7ef7d4 48%, #7be3ff 100%);
  color: var(--ink-dark);
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 20px rgba(71, 232, 255, 0.25);
}
.announcement a {
  display: inline-block;
  margin-left: 10px;
  background: var(--ink-dark);
  color: var(--gold);
  padding: 3px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
}
.announcement a:hover {
  background: #1a337a;
}

/* Sticky Cosmic Glass Header */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 48, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(112, 214, 255, 0.26);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #102668, #1c2c7c);
  border: 2px solid var(--cyan);
  border-radius: 20px;
  padding: 9px 15px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.05;
  font-size: 22px;
  letter-spacing: -0.6px;
  box-shadow: 0 4px 0 #07133a, 0 0 20px rgba(71, 232, 255, 0.25);
  flex-shrink: 0;
}
.brand-star {
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 224, 85, 0.7);
}
.brand b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: #e0f7ff;
  margin-top: 4px;
}
.rainbow-word {
  background: linear-gradient(90deg, #ff786b 0 17%, #ffe055 17% 34%, #7df58a 34% 51%, #57e2ff 51% 68%, #c79cff 68% 84%, #ff7fd1 84%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.header nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  color: #e4f1ff;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.header nav a:hover {
  background: rgba(71, 232, 255, 0.16);
  color: var(--gold);
}

/* Tactile 3D Arcade Buttons */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
  transform: translateY(0);
  transition: transform 0.14s cubic-bezier(.2,.8,.2,1), box-shadow 0.14s, filter 0.14s;
  user-select: none;
}
.btn-3d.small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 13px;
}
.btn-3d.gold {
  background: linear-gradient(180deg, #ffec80 0%, #ffd426 100%);
  color: var(--ink-dark);
  border-color: #fff6b3;
  box-shadow: 0 6px 0 var(--gold-lip), 0 12px 26px rgba(255, 212, 38, 0.32), inset 0 2px 0 rgba(255,255,255,0.75);
}
.btn-3d.cyan {
  background: linear-gradient(180deg, #74f0ff 0%, #19c6eb 100%);
  color: var(--ink-dark);
  border-color: #c4f9ff;
  box-shadow: 0 6px 0 var(--cyan-lip), 0 12px 26px rgba(25, 198, 235, 0.32), inset 0 2px 0 rgba(255,255,255,0.7);
}
.btn-3d.magenta {
  background: linear-gradient(180deg, #ff7fd0 0%, #e12d99 100%);
  color: #ffffff;
  border-color: #ffb8e6;
  box-shadow: 0 6px 0 var(--magenta-lip), 0 12px 26px rgba(225, 45, 153, 0.34), inset 0 2px 0 rgba(255,255,255,0.45);
}
.btn-3d.emerald {
  background: linear-gradient(180deg, #6ef7c4 0%, #14b881 100%);
  color: var(--ink-dark);
  border-color: #bbfce3;
  box-shadow: 0 6px 0 var(--emerald-lip), 0 12px 24px rgba(20, 184, 129, 0.3), inset 0 2px 0 rgba(255,255,255,0.65);
}
.btn-3d.cosmic {
  background: linear-gradient(180deg, #2546a8 0%, #152b73 100%);
  color: #ffffff;
  border-color: rgba(116, 240, 255, 0.55);
  box-shadow: 0 5px 0 #091540, 0 10px 22px rgba(8, 18, 58, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.45), 0 4px 10px rgba(0,0,0,0.3);
}

/* 3D Perspective Cosmic Cards */
.card-3d {
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(4, 10, 34, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, border-color 0.2s, box-shadow 0.2s;
}
.card-3d:hover {
  border-color: rgba(255, 224, 85, 0.72);
  box-shadow: 0 22px 48px rgba(4, 10, 34, 0.65), 0 0 28px rgba(71, 232, 255, 0.2);
}

/* Eyebrow & Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(12, 32, 88, 0.72);
  border: 1px solid rgba(71, 232, 255, 0.42);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 6px 24px rgba(4, 10, 36, 0.65);
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffe055 0%, #7ef7d4 52%, #6ee7ff 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.3px;
  margin-bottom: 12px;
}
h2 em {
  font-style: normal;
  color: var(--gold);
}

/* ==========================================================================
   HERO SECTION + INTERACTIVE 3D WEBGL GALAXY STAGE
   ========================================================================== */
.hero {
  margin-top: 24px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(115deg, rgba(10, 24, 72, 0.90) 0%, rgba(19, 36, 98, 0.74) 52%, rgba(26, 22, 84, 0.80) 100%),
    url('../assets/world/nebula-colour-v1.webp') center / cover no-repeat;
  border: 2.5px solid rgba(125, 226, 255, 0.55);
  box-shadow: 0 26px 65px rgba(3, 9, 32, 0.65), 0 0 45px rgba(71, 232, 255, 0.18);
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 34px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-copy > p {
  font-size: 17.5px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(8, 20, 62, 0.82);
  border: 1px solid rgba(255, 224, 85, 0.48);
  color: #fff8d6;
  padding: 6px 13px;
  border-radius: 999px;
}

/* 3D Hero Galaxy Preview Card */
.world-preview {
  position: relative;
  border-radius: 26px;
  border: 2px solid rgba(116, 240, 255, 0.55);
  background: radial-gradient(ellipse at 50% 48%, rgba(56, 78, 178, 0.68) 0%, rgba(18, 34, 92, 0.86) 60%, rgba(8, 16, 48, 0.96) 100%);
  box-shadow: 0 18px 45px rgba(3, 8, 28, 0.65), inset 0 0 32px rgba(71, 232, 255, 0.16);
  overflow: hidden;
}
.world-preview__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 8px;
  position: relative;
  z-index: 3;
}
.world-preview__head strong {
  font-size: 17px;
  letter-spacing: 0.8px;
  color: var(--gold);
}
.world-preview__tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(71, 232, 255, 0.18);
  border: 1px solid rgba(71, 232, 255, 0.55);
  color: #dff9ff;
}
.world-preview__stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 430px);
  overflow: hidden;
  touch-action: none;
}
.hero-galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}
.world-preview__overlay-figs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.world-preview__station {
  position: absolute;
  width: 30%;
  max-width: 170px;
  left: 8%;
  top: 4%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  animation: floatSlow 6.5s ease-in-out infinite;
}
.world-preview__archie-badge {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 78px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6));
  animation: floatSlow 4.8s ease-in-out infinite reverse;
}
.planet-tooltip {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(9, 20, 58, 0.94);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.planet-tooltip[hidden] {
  display: none;
}
.world-preview__key {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #e4f1ff;
  padding: 4px 16px;
}
.world-preview__key i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 6px;
}
.world-preview__key span + span i {
  background: var(--cyan);
}
.world-preview__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px 6px;
  flex-wrap: wrap;
}
.world-preview__status {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 18px 14px;
  margin: 0;
}

/* Glowing Cosmic Stats Ribbon */
.stats-ribbon {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.stat-orb {
  text-align: center;
  padding: 18px 12px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(20, 42, 110, 0.86), rgba(11, 22, 64, 0.92));
  border: 2px solid rgba(116, 240, 255, 0.35);
  box-shadow: 0 10px 26px rgba(4, 10, 34, 0.45);
}
.stat-orb strong {
  display: block;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 224, 85, 0.35);
}
.stat-orb span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #e0f2fe;
}

/* Section Layout */
.section {
  padding: 72px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 30px;
}
.section-heading p {
  max-width: 440px;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-size: 16px;
}

/* ==========================================================================
   4K CAMPAIGN & FULL GAMEPLAY VIDEO SHOWCASE (#watch)
   ========================================================================== */
.cinema-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(12, 26, 76, 0.92), rgba(22, 19, 72, 0.92));
  border: 2.5px solid rgba(255, 224, 85, 0.55);
  box-shadow: 0 26px 65px rgba(2, 6, 24, 0.72), 0 0 42px rgba(255, 224, 85, 0.14);
}
.cinema-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.video-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(77, 242, 181, 0.16);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  font-size: 12.5px;
  font-weight: 900;
}
.live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.video-stage-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(116, 240, 255, 0.48);
  background: #04091e;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
}
.gameplay-player {
  width: 100%;
  max-height: 74vh;
  aspect-ratio: 16 / 9;
  display: block;
  background: radial-gradient(circle at center, #10235e 0%, #04091e 100%);
  object-fit: contain;
}
.video-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: rgba(9, 22, 64, 0.95);
  border-top: 1px solid rgba(116, 240, 255, 0.25);
  font-size: 13px;
  color: #d8f3ff;
}

.chapter-panel {
  margin-top: 22px;
}
.chapter-panel-title {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.chapter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chapter-btn {
  border: 1.5px solid rgba(116, 240, 255, 0.45);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.85), rgba(15, 30, 84, 0.92));
  color: #ffffff;
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 0 #08133b;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}
.chapter-btn:hover,
.chapter-btn.active {
  background: linear-gradient(180deg, #ffe566, #ffca28);
  color: var(--ink-dark);
  border-color: #fff6b3;
  transform: translateY(-2px);
}
.chapter-btn .ch-time {
  opacity: 0.78;
  font-size: 11.5px;
  margin-left: 6px;
}
.chapter-sub-details {
  margin-top: 14px;
  background: rgba(8, 18, 54, 0.65);
  border: 1px solid rgba(116, 240, 255, 0.28);
  border-radius: 16px;
  padding: 12px 16px;
}
.chapter-sub-details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--cyan);
}
.chapter-sub-details .chapter-grid {
  margin-top: 12px;
}

/* ==========================================================================
   ALL 19 WORLDS & PLANETS INTERACTIVE SHOWCASE (#explore)
   ========================================================================== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.filter-btn {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid rgba(116, 240, 255, 0.42);
  background: rgba(13, 29, 82, 0.82);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 0 #071238;
  transition: transform 0.14s, background 0.16s;
}
.filter-btn.selected {
  background: linear-gradient(180deg, #ffe566, #ffd026);
  color: var(--ink-dark);
  border-color: #fff5b0;
}
.filter-btn span {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
}

.catalogue {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.world-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.world-card[hidden] {
  display: none;
}
.world-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(99, 102, 241, 0.5), #09153e);
  border-bottom: 2px solid rgba(116, 240, 255, 0.28);
}
.world-card__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.32s ease;
}
.world-card:hover .world-card__shot {
  transform: scale(1.06);
}
.world-card__emblem {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(9, 20, 58, 0.88);
  border: 2px solid var(--world-accent, var(--gold));
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
  transform: translateZ(20px);
}
.world-card__ring-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(8, 18, 54, 0.88);
  border: 1px solid var(--world-accent, var(--cyan));
  color: #ffffff;
}
.world-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.world-card__badge {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.world-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}
.world-card p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 14px;
  flex: 1;
}
.world-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.world-card__meta img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  background: #13286b;
}
.world-card__actions {
  display: flex;
  gap: 8px;
}
.world-card__actions button {
  flex: 1;
  min-height: 40px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 900;
  padding: 8px 10px;
}

/* ==========================================================================
   42 ILLUSTRATED STORYBOOKS SHELF (6 PER PAGE ACROSS REC–Y6) (#storybooks)
   ========================================================================== */
.books-showcase {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(22, 28, 88, 0.90), rgba(12, 26, 74, 0.92));
  border: 2.5px solid rgba(255, 110, 199, 0.48);
  box-shadow: 0 22px 55px rgba(4, 9, 32, 0.6);
}
.year-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.year-tab {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 14px;
  border: 2px solid rgba(255, 138, 216, 0.4);
  background: rgba(15, 28, 78, 0.85);
  color: #ffffff;
  font-weight: 900;
  font-size: 13.5px;
  box-shadow: 0 4px 0 #081236;
}
.year-tab.selected {
  background: linear-gradient(180deg, #ff8ad8, #ec38a8);
  border-color: #ffd1f0;
  color: #ffffff;
}
.books-shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.book-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(9, 20, 58, 0.92);
  border: 2px solid rgba(125, 226, 255, 0.36);
  padding: 0;
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s, border-color 0.16s;
}
.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.book-card__cover-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: #10205a;
}
.book-card__cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff9db;
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 17px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}
.book-card__kind {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(8, 18, 54, 0.88);
  border: 1px solid rgba(255, 224, 85, 0.6);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.book-card__info {
  padding: 14px 16px 16px;
}
.book-card__info h4 {
  font-size: 17px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.book-card__cast {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 700;
}

/* ==========================================================================
   2,101 UK SPELLING WORDS & 23 ORIGINAL GAME SONGS JUKEBOX
   ========================================================================== */
.dual-cosmic-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  align-items: start;
}
.spelling-panel,
.songs-panel {
  padding: 30px;
}
.spell-year-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.spell-year-row {
  background: rgba(8, 19, 56, 0.78);
  border: 1.5px solid rgba(169, 122, 255, 0.38);
  border-radius: 16px;
  padding: 12px 16px;
}
.spell-year-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.spell-year-head strong {
  color: var(--gold);
  font-size: 15.5px;
}
.spell-year-count {
  font-size: 12px;
  font-weight: 800;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.26);
  padding: 3px 10px;
  border-radius: 999px;
}
.spell-year-focus {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.word-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.word-tile {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: #fffbeb;
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 0 #d97706;
}

/* 24-Track Playable Audio Jukebox */
.jukebox-now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(77, 242, 181, 0.14);
  border: 1.5px solid rgba(77, 242, 181, 0.5);
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 800;
}
.songs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 590px;
  overflow-y: auto;
  padding-right: 4px;
}
.song-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 19, 56, 0.85);
  border: 1.5px solid rgba(71, 232, 255, 0.32);
  color: #ffffff;
  text-align: left;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.song-btn:hover,
.song-btn.playing {
  border-color: var(--gold);
  background: rgba(28, 56, 138, 0.92);
  transform: translateY(-1px);
}
.song-btn img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.song-btn__meta {
  flex: 1;
  min-width: 0;
}
.song-btn__meta strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-btn__meta span {
  font-size: 11px;
  color: var(--text-muted);
}
.song-btn__play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   MEET ARCHIE & THE 6 OFFICIAL WORLD GUIDES (#meet-archie)
   ========================================================================== */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.friend-card {
  padding: 18px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.friend-portrait-stage {
  width: 100%;
  height: 195px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(255, 224, 85, 0.32), rgba(56, 189, 248, 0.18) 60%, rgba(8, 18, 54, 0.6));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.friend-portrait-stage img {
  height: 182px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.45));
}
.friend-card h3 {
  font-size: 19px;
  margin-bottom: 2px;
}
.friend-role {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.friend-worlds {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex: 1;
}
.voice-btn {
  width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(116, 240, 255, 0.5);
  background: rgba(18, 42, 112, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.voice-btn:hover,
.voice-btn.playing {
  background: var(--gold);
  color: var(--ink-dark);
  border-color: #fff;
}

/* ==========================================================================
   STORE DOWNLOAD & £4.99 ONE-OFF UNLOCK SECTION (#get-the-world)
   ========================================================================== */
.offer-banner {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffe359 0%, #fff3a8 52%, #a7f3d0 100%);
  color: var(--ink-dark);
  border: 3px solid #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 224, 85, 0.28);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
}
.offer-banner h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.offer-price-box {
  background: var(--ink-dark);
  color: #ffffff;
  padding: 26px;
  border-radius: 24px;
  border: 2px solid var(--cyan);
  text-align: center;
  box-shadow: 0 14px 32px rgba(9, 20, 58, 0.45);
}
.offer-price-big {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -2px;
}
.offer-price-big small {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #d8f3ff;
  letter-spacing: 0;
  margin-top: 8px;
}
.promise-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.promise-pills span {
  background: rgba(13, 29, 74, 0.12);
  border: 1.5px solid rgba(13, 29, 74, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.store-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.store-card.featured-play {
  border-color: var(--emerald);
  box-shadow: 0 18px 44px rgba(4, 10, 34, 0.6), 0 0 32px rgba(77, 242, 181, 0.22);
}
.store-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 6px;
}
.store-card h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.store-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
}
.tester-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(71, 232, 255, 0.12);
  border: 1px dashed rgba(71, 232, 255, 0.6);
  font-size: 12.5px;
}
.tester-box a {
  display: inline-block;
  margin-top: 4px;
  color: var(--gold);
  font-weight: 900;
  word-break: break-word;
}

/* ==========================================================================
   ONE-TAP SOCIAL MEDIA SHARING BAR & LAUNCH PACK PREVIEW (#share)
   ========================================================================== */
.social-hub {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16, 34, 96, 0.92), rgba(38, 20, 88, 0.90));
  border: 2.5px solid rgba(71, 232, 255, 0.52);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}
.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.share-btn {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 900;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.38);
  transition: transform 0.12s, filter 0.15s;
}
.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.share-btn:active {
  transform: translateY(3px);
}
.share-btn.whatsapp { background: linear-gradient(180deg, #25d366, #128c7e); }
.share-btn.facebook { background: linear-gradient(180deg, #1877f2, #0d52b8); }
.share-btn.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af); }
.share-btn.tiktok { background: linear-gradient(135deg, #111827, #ec4899 95%); border-color: #22d3ee; }
.share-btn.youtube { background: linear-gradient(180deg, #ff3333, #b91c1c); }
.share-btn.x-twitter { background: linear-gradient(180deg, #1f2937, #030712); }
.share-btn.native-share { background: linear-gradient(180deg, #38bdf8, #0284c7); color: #04132c; }
.share-btn.copy-link { background: linear-gradient(180deg, #ffe055, #f59e0b); color: var(--ink-dark); }

.share-toast {
  margin-top: 14px;
  min-height: 26px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold);
}

.og-preview-card {
  border-radius: 20px;
  overflow: hidden;
  background: #08143c;
  border: 2px solid rgba(255, 224, 85, 0.55);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}
.og-preview-card img {
  width: 100%;
  height: auto;
}
.og-preview-card__caption {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.og-preview-card__caption img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.og-preview-card__caption div {
  font-size: 12.5px;
  color: var(--text-soft);
}
.og-preview-card__caption strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
}

/* ==========================================================================
   PARENTS FAQ & NETLIFY-READY CONTACT SECTION (#families & #contact)
   ========================================================================== */
.family-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.faq-card,
.contact-card {
  padding: 32px;
}
.faq-card details {
  border-bottom: 1px solid rgba(116, 240, 255, 0.22);
  padding: 14px 0;
}
.faq-card details:first-of-type {
  padding-top: 0;
}
.faq-card summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 16.5px;
  color: var(--gold);
}
.faq-card details p {
  margin: 10px 0 4px;
  font-size: 14px;
  color: var(--text-soft);
}

.contact-channels {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 16, 48, 0.78);
  border: 1px solid rgba(71, 232, 255, 0.35);
  font-size: 13.5px;
}
.contact-channels a {
  color: var(--cyan);
  font-weight: 900;
}

.netlify-form {
  display: grid;
  gap: 12px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.netlify-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #e0f2fe;
  margin-bottom: 5px;
}
.netlify-form input,
.netlify-form select,
.netlify-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(116, 240, 255, 0.4);
  background: rgba(6, 15, 46, 0.9);
  color: #ffffff;
  font-size: 14px;
}
.netlify-form textarea {
  resize: vertical;
  min-height: 92px;
}
.form-status {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--emerald);
  min-height: 22px;
  margin: 4px 0 0;
}

/* Footer */
.footer {
  margin-top: 30px;
  padding: 36px 0 48px;
  border-top: 1px solid rgba(116, 240, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  font-weight: 800;
  color: #e0f2fe;
}
.footer-links a:hover {
  color: var(--gold);
}

/* Modal Dialogs */
dialog.cosmic-dialog {
  border: 2.5px solid var(--cyan);
  border-radius: 26px;
  background: linear-gradient(155deg, #0f2364, #181752);
  color: #ffffff;
  width: min(680px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}
dialog.cosmic-dialog::backdrop {
  background: rgba(3, 8, 28, 0.78);
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #0a1848;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.dialog-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  align-items: start;
  clear: both;
}
.dialog-shot {
  width: 100%;
  border-radius: 18px;
  border: 2px solid rgba(255, 224, 85, 0.55);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}
.dialog-highlights {
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
}
.dialog-highlights li {
  margin-bottom: 6px;
}

/* Document Page (privacy.html) */
.document-card {
  max-width: 860px;
  margin: 40px auto 70px;
  padding: 42px;
}
.document-card h2 {
  font-size: 25px;
  color: var(--gold);
  margin-top: 28px;
}
.document-card p,
.document-card li {
  color: var(--text-soft);
  font-size: 15.5px;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding: 32px; }
  .stats-ribbon { grid-template-columns: repeat(3, 1fr); }
  .catalogue { grid-template-columns: repeat(3, 1fr); }
  .friends-grid { grid-template-columns: repeat(3, 1fr); }
  .dual-cosmic-grid,
  .offer-banner,
  .social-hub,
  .family-contact-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 28px); }
  .header { justify-content: center; flex-wrap: wrap; }
  .header nav { width: 100%; justify-content: center; gap: 10px; }
  .header > .btn-3d { display: none; }
  .hero { padding: 24px 18px; }
  .stats-ribbon { grid-template-columns: repeat(2, 1fr); }
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .books-shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .books-showcase, .cinema-card, .social-hub, .offer-banner, .faq-card, .contact-card { padding: 22px 18px; }
  .songs-grid { grid-template-columns: 1fr; }
  .friends-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .share-buttons-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2, .dialog-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================================
   HERO TOP SHOWCASE + PANORAMIC 3D 19-PLANET GALAXY EXPLORER + MODAL PLAYER
   ========================================================================== */
.hero-top-showcase {
  margin-top: 22px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(125deg, rgba(10, 22, 68, 0.90) 0%, rgba(28, 22, 88, 0.82) 52%, rgba(14, 34, 92, 0.88) 100%),
    url('../assets/world/nebula-colour-v1.webp') center / cover no-repeat;
  border: 2.5px solid rgba(255, 224, 85, 0.62);
  box-shadow: 0 28px 70px rgba(3, 8, 30, 0.72), 0 0 50px rgba(71, 232, 255, 0.2);
}

.hero-top-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 26px;
}
.hero-top-header h1 {
  margin-bottom: 14px;
}
.hero-top-header p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 760px;
  margin: 0 auto 20px;
}
.hero-unlock-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-crew-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px auto 24px;
}
.crew-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 6px;
  border-radius: 999px;
  background: rgba(11, 24, 68, 0.88);
  border: 2px solid var(--chip-accent, var(--gold));
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.14s, filter 0.14s;
}
.crew-chip:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}
.crew-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: radial-gradient(circle, #2a48a8, #0c1846);
  border: 1.5px solid #ffffff;
}

/* Panoramic 3D 19-Planet Galaxy Space Stage */
.galaxy-space-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 52%, rgba(255, 196, 70, 0.16) 0%, rgba(168, 85, 247, 0.24) 36%, rgba(14, 30, 86, 0.92) 78%),
    url('../assets/world/nebula-colour-v1.webp') center / cover no-repeat;
  border: 2.5px solid rgba(116, 240, 255, 0.62);
  box-shadow: 0 26px 65px rgba(3, 8, 28, 0.72), 0 0 48px rgba(236, 72, 153, 0.18);
}

.world-preview--panoramic .world-preview__stage {
  height: clamp(410px, 52vw, 590px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 210, 75, 0.18) 0%, rgba(192, 64, 180, 0.18) 34%, rgba(15, 28, 82, 0.62) 72%, rgba(6, 12, 38, 0.88) 100%),
    url('../assets/world/nebula-colour-v1.webp') center / cover no-repeat;
}

.world-preview__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.planet-3d-label {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--pill-accent, var(--gold));
  background: rgba(8, 17, 52, 0.90);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), 0 0 10px rgba(71, 232, 255, 0.2);
  will-change: transform, opacity;
  transition: background 0.14s, color 0.14s;
}
.planet-3d-label:hover {
  background: var(--gold);
  color: var(--ink-dark);
  border-color: #ffffff;
}

.world-preview__sun-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  pointer-events: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.world-preview__sun-badge img {
  width: 74px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65));
}
.world-preview__sun-badge span {
  background: rgba(9, 18, 54, 0.92);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 2px 9px;
  border-radius: 999px;
}

/* Accessible 19-Planet Quick-Tap Pills Bar */
.planet-pills-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(116, 240, 255, 0.26);
}
.planet-pills-bar__label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold);
  margin-bottom: 10px;
  text-align: center;
}
.planet-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.planet-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(116, 240, 255, 0.45);
  background: rgba(11, 25, 72, 0.88);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 3px 0 #071238;
  transition: transform 0.12s, background 0.14s;
}
.planet-quick-pill:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--ink-dark);
  border-color: #ffffff;
}
.planet-quick-pill img {
  width: 20px;
  height: 20px;
}

/* Per-Planet Gameplay Video Showcase Modal */
dialog.planet-video-modal {
  width: min(880px, calc(100% - 28px));
  padding: 26px 28px 28px;
}
.planet-modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 24px;
  align-items: start;
  clear: both;
}
.planet-modal-player-box {
  border-radius: 20px;
  overflow: hidden;
  border: 2.5px solid var(--gold);
  background: #050b24;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}
.planet-modal-video {
  width: 100%;
  aspect-ratio: 5 / 8;
  max-height: 62vh;
  display: block;
  object-fit: contain;
  background: #050b24;
}
.planet-modal-clip-bar {
  padding: 9px 12px;
  background: rgba(11, 24, 68, 0.96);
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

@media (max-width: 760px) {
  .hero-top-showcase, .galaxy-space-card { padding: 20px 15px; }
  .world-preview--panoramic .world-preview__stage { height: 390px; }
  .planet-3d-label { font-size: 10px; padding: 3px 8px; }
  .planet-modal-layout { grid-template-columns: 1fr; }
  .planet-modal-video { max-height: 48vh; }
}


/* ==========================================================================
   3D POP-OUT S-O-D-A-F-O-M LETTERS + ONE-TAP VIDEO WHATSAPP SHARE BAR
   ========================================================================== */
.hero-3d-letters {
  width: min(920px, 100%);
  height: clamp(120px, 16vw, 175px);
  margin: 2px auto 8px;
  position: relative;
  overflow: visible;
}
.letters-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.video-whatsapp-bar {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 56, 48, 0.88), rgba(11, 28, 72, 0.92));
  border: 2px solid #25d366;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(37, 211, 102, 0.22);
}
.video-whatsapp-bar__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn-3d.whatsapp-hero {
  background: linear-gradient(180deg, #3df27e 0%, #16a34a 100%);
  color: #041f10;
  border-color: #bbf7d0;
  font-size: 15.5px;
  box-shadow: 0 6px 0 #0d6832, 0 12px 26px rgba(37, 211, 102, 0.36), inset 0 2px 0 rgba(255, 255, 255, 0.65);
}
.video-share-toast {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #86efac;
  min-height: 18px;
}
.video-share-toast:empty {
  display: none;
}


/* ==========================================================================
   VIBRANT MULTI-COLOUR MOVING 3D SODAFOM TYPOGRAPHY + COLOURFUL PLANET LABELS
   + INTERACTIVE 3D SPACE STATION (OUTSIDE & WALK-INSIDE EXPLORER)
   ========================================================================== */
@keyframes cosmicFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gentleBob3D {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.sodafom-multicolour-text,
.hero-top-header h1,
.section-heading h2 {
  background: linear-gradient(
    90deg,
    #ff6b6b 0%,
    #ffe055 20%,
    #5ef38c 40%,
    #47e8ff 60%,
    #c084fc 80%,
    #ff70c8 100%
  );
  background-size: 220% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 4px 0 rgba(7, 15, 48, 0.92)) drop-shadow(0 8px 18px rgba(71, 232, 255, 0.25));
  animation: cosmicFlow 7s linear infinite;
}

.hero-rainbow-eyebrow {
  border: 2px solid #ffe055 !important;
  background: linear-gradient(90deg, rgba(25, 42, 112, 0.92), rgba(58, 22, 104, 0.92)) !important;
  box-shadow: 0 4px 0 #071238, 0 0 18px rgba(255, 224, 85, 0.32);
  animation: gentleBob3D 4.2s ease-in-out infinite;
}
.hero-rainbow-eyebrow b {
  background: linear-gradient(90deg, #ffe055, #5ef38c, #47e8ff, #ff70c8, #ffe055);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: cosmicFlow 5.5s linear infinite;
}

.hero-showcase-lead {
  font-weight: 800;
  font-size: 18.5px !important;
  background: linear-gradient(90deg, #fffbeb 0%, #a5f3fc 35%, #fde047 68%, #fbcfe8 100%);
  background-size: 200% auto;
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  animation: cosmicFlow 8s linear infinite;
}

/* Vivid Multi-Coloured Planet Writing & Glowing Borders on All 19 Planets */
.planet-3d-label {
  border: 2px solid var(--pill-accent, #ffe055) !important;
  background: linear-gradient(135deg, rgba(10, 20, 62, 0.94), rgba(28, 16, 74, 0.94)) !important;
  color: var(--pill-accent, #ffe055) !important;
  text-shadow: 0 1px 2px #000000, 0 0 10px rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 0 #050d2c, 0 0 14px var(--pill-accent, rgba(255, 224, 85, 0.45)) !important;
  padding: 4px 12px !important;
}
.planet-3d-label:hover {
  background: var(--pill-accent, #ffe055) !important;
  color: #081238 !important;
  text-shadow: none;
}

/* Dedicated Interactive 3D Space Station Explorer (#space-station-3d) */
.iss-explorer-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(11, 25, 74, 0.92), rgba(28, 18, 82, 0.92));
  border: 2.5px solid #47e8ff;
  box-shadow: 0 26px 65px rgba(3, 8, 28, 0.75), 0 0 44px rgba(71, 232, 255, 0.22);
}
.iss-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.iss-stage-wrap {
  position: relative;
  width: 100%;
  height: clamp(390px, 48vw, 540px);
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 224, 85, 0.58);
  background: #04091e;
  cursor: grab;
  touch-action: none;
}
.iss-stage-wrap:active {
  cursor: grabbing;
}
.iss-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.iss-hud-bar {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.iss-status-note {
  text-align: center;
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #bae6fd;
}

/* Ensure HTML [hidden] always wins over display:flex / inline-flex */
[hidden] {
  display: none !important;
}

/* ==========================================================================
   BOUNCING MULTI-COLOUR 3D SODAFOM HERO HEADING LETTERS
   ========================================================================== */
.sodafom-bouncing-heading {
  background: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: initial !important;
  line-height: 1.12;
}
.sodafom-bounce-word {
  display: inline-block;
  white-space: nowrap;
}
.sodafom-bounce-char {
  display: inline-block;
  color: var(--char-col, #ffe055);
  -webkit-text-fill-color: var(--char-col, #ffe055);
  text-shadow:
    0 3px 0 #071238,
    0 6px 0 #040a24,
    0 10px 22px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 255, 255, 0.22);
  animation: sodafomLetterWave 2.8s ease-in-out infinite;
  animation-delay: var(--char-delay, 0s);
  will-change: transform;
}
@keyframes sodafomLetterWave {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  28% {
    transform: translateY(-9px) rotate(-2.5deg) scale(1.06);
  }
  56% {
    transform: translateY(2px) rotate(1.8deg) scale(0.99);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sodafom-bounce-char {
    animation: none;
  }
}

/* ==========================================================================
   ASK ARCHIE AI — 2-WAY VOICE + POP-OUT ARCHIE + MULTI-TURN MEMORY GUIDE
   ========================================================================== */
.archie-ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 960;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: inherit;
}

.archie-ai-launcher-row {
  display: flex;
  align-items: center;
}

.archie-ai-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 11px 22px 11px 12px;
  border-radius: 999px;
  border: 3px solid #ffe055;
  background: linear-gradient(135deg, #122b84 0%, #31177a 52%, #0c4a6e 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow:
    0 8px 0 #061033,
    0 18px 40px rgba(0, 0, 0, 0.72),
    0 0 34px rgba(71, 232, 255, 0.58),
    0 0 18px rgba(255, 224, 85, 0.45);
  transition: transform 0.16s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-align: left;
  animation: archieFabGlow 3.2s ease-in-out infinite;
}
@keyframes archieFabGlow {
  0%, 100% {
    box-shadow: 0 8px 0 #061033, 0 18px 40px rgba(0,0,0,0.72), 0 0 28px rgba(71, 232, 255, 0.52);
  }
  50% {
    box-shadow: 0 8px 0 #061033, 0 20px 44px rgba(0,0,0,0.76), 0 0 42px rgba(255, 224, 85, 0.75);
  }
}
.archie-ai-fab:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
}
.archie-ai-fab:active {
  transform: translateY(3px);
}

.archie-ai-pop-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  margin-top: -12px;
  margin-bottom: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #38bdf8, #0f172a 78%);
  border: 3px solid #47e8ff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55), 0 0 18px rgba(71, 232, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: floatSlow 3.4s ease-in-out infinite;
}
.archie-ai-pop-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateY(-2px) scale(1.06);
}
.archie-ai-online-dot {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #4df2b5;
  border: 2px solid #081238;
  box-shadow: 0 0 10px #4df2b5;
}
.archie-ai-widget.is-speaking .archie-ai-pop-avatar,
.archie-ai-widget.is-speaking .archie-ai-head__avatar-wrap img {
  border-color: #ffe055;
  box-shadow: 0 0 0 4px rgba(255, 224, 85, 0.35), 0 0 24px #ffe055;
}

.archie-ai-fab__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.archie-ai-fab__copy strong {
  font-size: 16px;
  font-weight: 900;
  color: #ffe055;
  display: flex;
  align-items: center;
  gap: 7px;
}
.archie-ai-mic-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #47e8ff, #06b6d4);
  color: #04132c;
  font-weight: 900;
}
.archie-ai-fab__copy small {
  font-size: 12px;
  font-weight: 800;
  color: #e0f2fe;
}

.archie-ai-drawer {
  width: min(412px, calc(100vw - 26px));
  max-height: min(640px, calc(100vh - 118px));
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  border: 2.5px solid #47e8ff;
  background: linear-gradient(160deg, rgba(11, 25, 76, 0.98), rgba(24, 16, 68, 0.98));
  box-shadow: 0 28px 74px rgba(2, 6, 23, 0.9), 0 0 44px rgba(71, 232, 255, 0.36);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.archie-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  background: linear-gradient(90deg, rgba(16, 39, 108, 0.96), rgba(43, 22, 98, 0.96));
  border-bottom: 1.5px solid rgba(71, 232, 255, 0.38);
}
.archie-ai-head__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.archie-ai-head__avatar-wrap {
  position: relative;
  display: inline-flex;
}
.archie-ai-head__avatar-wrap img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid #ffe055;
  background: #08143c;
  object-fit: cover;
}
.archie-ai-eq {
  position: absolute;
  bottom: -2px;
  right: -3px;
  display: none;
  align-items: flex-end;
  gap: 2px;
  background: #08143c;
  padding: 3px 4px;
  border-radius: 8px;
  border: 1px solid #ffe055;
}
.archie-ai-widget.is-speaking .archie-ai-eq {
  display: inline-flex;
}
.archie-ai-eq i {
  width: 3px;
  height: 9px;
  background: #4df2b5;
  border-radius: 2px;
  animation: archieEqBounce 0.55s ease-in-out infinite alternate;
}
.archie-ai-eq i:nth-child(2) { animation-delay: 0.16s; background: #ffe055; }
.archie-ai-eq i:nth-child(3) { animation-delay: 0.32s; background: #47e8ff; }
@keyframes archieEqBounce {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1.15); }
}

.archie-ai-head strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #ffe055;
}
.archie-ai-head small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #a5f3fc;
}

.archie-ai-mute {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 224, 85, 0.65);
  background: rgba(8, 20, 60, 0.85);
  color: #ffe055;
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
}
.archie-ai-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 20, 60, 0.9);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.archie-ai-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 290px;
}

.ai-msg {
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.48;
  word-break: break-word;
}
.ai-msg--archie {
  align-self: flex-start;
  background: rgba(16, 38, 102, 0.92);
  border: 1.5px solid rgba(71, 232, 255, 0.45);
  color: #f0f9ff;
  border-bottom-left-radius: 5px;
}
.ai-msg--archie strong {
  color: #ffe055;
}
.ai-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #ffe055, #fbbf24);
  color: #081238;
  font-weight: 800;
  border-bottom-right-radius: 5px;
  max-width: 86%;
}

.archie-ai-link {
  color: #4df2b5;
  font-weight: 900;
  text-decoration: underline;
}
.archie-ai-inline-btn {
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #ffe055;
  background: linear-gradient(180deg, #47e8ff, #0ea5e9);
  color: #061539;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}

.archie-ai-mic-banner {
  padding: 7px 12px;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.28), rgba(56, 189, 248, 0.28));
  border-top: 1px solid rgba(255, 224, 85, 0.45);
  color: #fef08a;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.archie-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(116, 240, 255, 0.2);
  background: rgba(7, 16, 48, 0.65);
  max-height: 110px;
  overflow-y: auto;
}
.archie-ai-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(71, 232, 255, 0.5);
  background: rgba(15, 34, 96, 0.9);
  color: #e0f2fe;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.archie-ai-chip:hover {
  background: #ffe055;
  color: #081238;
  border-color: #ffe055;
}

.archie-ai-form {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px 12px;
  background: rgba(5, 12, 38, 0.94);
  border-top: 1px solid rgba(71, 232, 255, 0.28);
}
.archie-ai-mic-btn {
  padding: 9px 11px;
  border-radius: 12px;
  border: 2px solid #47e8ff;
  background: linear-gradient(180deg, #102a78, #081848);
  color: #47e8ff;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, background 0.15s;
}
.archie-ai-mic-btn:hover {
  background: #47e8ff;
  color: #061336;
}
.archie-ai-mic-btn.is-listening {
  border-color: #ff6b6b;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.75);
}
.archie-ai-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(116, 240, 255, 0.48);
  background: rgba(11, 25, 74, 0.92);
  color: #ffffff;
  font-size: 13.5px;
}
.archie-ai-form input::placeholder {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .archie-ai-widget {
    right: 12px;
    bottom: 12px;
  }
  .archie-ai-fab {
    padding: 8px 14px 8px 8px;
  }
  .archie-ai-fab__copy small {
    display: none;
  }
}
