/* ============================================================
   CRAZY COURIERS — DESIGN SYSTEM CRAZY COURIERS: ABBEY CWM HIR EDITION — DESIGN SYSTEM & STYLES STYLES
   Features:
     - Welsh slate dark mode palette with emerald valley accents
     - High-converting crowdfunding landing page layout
     - Embedded tabletop canvas board game UI & HUD
     - 3D coin flip animation, glowing badges, glassmorphic modals
     - Responsive mobile / desktop layouts
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg-primary: #070c12;
  --bg-secondary: #0d1620;
  --bg-card: rgba(15, 25, 38, 0.82);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-blue: #38bdf8;
  --accent-red: #ef4444;
  --accent-purple: #a855f7;

  --tile-depot: #6366f1;
  --tile-house: #10b981;
  --tile-large: #f59e0b;
  --tile-apartment: #06b6d4;
  --tile-subdepot: #eab308;
  --tile-crazy: #a855f7;
  --tile-fuel: #ef4444;
  --tile-garage: #64748b;
  --tile-roundabout: #ec4899;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- GLASSMORPHISM CARD UTILITY ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
  filter: brightness(1.1);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-glow {
  position: relative;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

.btn-full {
  width: 100%;
}

/* ---------- FARIA-STYLE FLOATING PILL NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-container {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px !important;
  padding: 10px 18px 10px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-dragon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 6px rgba(255, 107, 74, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: #37023c !important;
  font-family: 'Nunito Sans', 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-title span {
  color: #ff6b4a !important;
  margin-left: 2px;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #832729;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: #37023c !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: rgba(55, 2, 60, 0.06);
  color: #e63988 !important;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost-faria {
  background: rgba(55, 2, 60, 0.05);
  border: 1px solid rgba(55, 2, 60, 0.12);
  color: #37023c;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost-faria:hover {
  background: rgba(55, 2, 60, 0.1);
}

.faria-cta-pill {
  background: #37023c !important;
  color: #ffffff !important;
  font-family: 'Nunito Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: 9999px !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(55, 2, 60, 0.35) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.faria-cta-pill:hover {
  background: #200424 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(55, 2, 60, 0.5) !important;
}

.faria-cta-pill .faria-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.faria-cta-pill:hover .faria-arrow {
  transform: translateX(4px);
}

/* ---------- FARIA HERO SECTION ---------- */
.hero-section {
  position: relative;
  padding: 50px 24px 90px;
  overflow: hidden;
  background: linear-gradient(180deg, #120516 0%, #200424 45%, #37023c 100%);
  color: #f8fafc;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 15%, rgba(247, 211, 95, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 15% 50%, rgba(255, 107, 74, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(230, 57, 136, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

.hero-visual {
  min-width: 0;
  max-width: 100%;
}

.campaign-pill,
.faria-campaign-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f7d35f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #f7d35f;
  border-radius: 50%;
  box-shadow: 0 0 10px #f7d35f;
  animation: pulse 1.8s infinite;
}

.hero-title,
.faria-hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 20px;
}

.text-gradient,
.faria-text-gradient {
  background: linear-gradient(135deg, #f7d35f 0%, #ff6b4a 50%, #e63988 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle,
.faria-hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-subtitle strong,
.faria-hero-subtitle strong {
  color: #f7d35f;
}

/* Funding Card */
.funding-card,
.faria-funding-card {
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  color: #37023c;
}

.funding-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.funding-amount {
  font-size: 2.1rem;
  font-weight: 900;
  color: #37023c;
}

.funding-goal {
  font-size: 0.88rem;
  color: #64748b;
  margin-left: 8px;
}

.funding-percent,
.faria-percent-pill {
  font-size: 0.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a 0%, #e63988 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
}

.progress-bar,
.faria-progress-bar {
  height: 10px;
  background: rgba(55, 2, 60, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-fill,
.faria-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f7d35f 0%, #ff6b4a 60%, #e63988 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(255, 107, 74, 0.5);
  transition: width 1s ease-out;
}

.funding-stats,
.faria-funding-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(55, 2, 60, 0.06);
  padding-top: 14px;
  color: #37023c;
}

.funding-stats .stat-val,
.faria-funding-stats .stat-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #37023c;
}

.funding-stats .stat-lbl,
.faria-funding-stats .stat-lbl {
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-gallery-card,
.faria-gallery-card {
  padding: 16px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-display-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  height: 380px;
  width: 100%;
}

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

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Box Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.box-mockup-wrapper {
  position: relative;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease;
}

.box-mockup-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-box-img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ---------- SECTIONS COMMON ---------- */
.section {
  padding: 80px 24px;
  position: relative;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ---------- 1. BOARD DESIGN SECTION ---------- */
.design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.design-card {
  overflow: hidden;
  padding: 16px;
}

.design-img-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.design-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.design-card-body {
  padding: 20px 8px 8px;
}

.design-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.design-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.design-details-card {
  padding: 32px;
}

.design-details-card h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.landmarks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.landmarks-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lm-icon {
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landmarks-list strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.landmarks-list p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---------- 2. INTERACTIVE BROWSER GAME ---------- */
.game-play-section {
  background: #060a0f;
}

.game-wrapper {
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: #0a1118;
  min-height: 720px;
  position: relative;
}

.screen {
  display: none;
  width: 100%;
}

.screen.active {
  display: block;
}

/* Setup Screen */
.setup-container {
  max-width: 540px;
  margin: 60px auto;
  padding: 24px;
}

.logo-area {
  text-align: center;
  margin-bottom: 28px;
}

.logo-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.logo-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-title span {
  color: var(--accent-gold);
}

.logo-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.setup-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px;
}

.setup-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.setup-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.player-count-selector {
  margin-bottom: 22px;
}

.player-count-selector label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.count-buttons {
  display: flex;
  gap: 10px;
}

.count-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.count-btn.active {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
}

.player-names-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.player-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.van-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.player-name-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.player-name-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.bot-toggle {
  margin-bottom: 22px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.toggle-label input {
  display: none;
}

.toggle-switch {
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-label input:checked + .toggle-switch {
  background: var(--accent-emerald);
}

.toggle-label input:checked + .toggle-switch::after {
  transform: translateX(18px);
}

.rules-quick-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Main Game Screen */
.top-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.turn-badge {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.current-player-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.van-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.game-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 720px;
}

.board-column {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #091219;
  position: relative;
}

.canvas-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.canvas-container.hidden {
  display: none;
}

.board-art-container {
  display: none;
  max-width: 720px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.board-art-container.active {
  display: block;
}

.board-art-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar Column */
.sidebar-column {
  background: rgba(10, 16, 26, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.all-players-panel {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.player-mini.active-turn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.pm-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pm-name {
  font-weight: 600;
  flex: 1;
}

.pm-parcels {
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.pm-space {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.active-player-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ap-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.status-tags {
  display: flex;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.tag-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.tag-warning { background: rgba(245, 158, 11, 0.2); color: #fde68a; }
.tag-success { background: rgba(16, 185, 129, 0.2); color: #86efac; }
.tag-info { background: rgba(56, 189, 248, 0.2); color: #bae6fd; }

.cargo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cargo-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cargo-icon {
  font-size: 1.5rem;
}

.cargo-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.cargo-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.equipment-section label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.equipment-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.equip-slot {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.equip-slot.filled {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  font-weight: 600;
}

.action-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* ---------- 3. PHYSICAL COMPONENTS SECTION ---------- */
.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.comp-card {
  padding: 28px;
  transition: var(--transition);
}

.comp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
}

.comp-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.comp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.comp-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- 4. RULES SECTION ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.rule-card {
  padding: 26px;
}

.rule-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.rule-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.rule-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- 5. CROWDFUNDING PRE-ORDER TIERS ---------- */
.crowdfunding-section {
  background: #060b10;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.tier-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.tier-card:hover {
  transform: translateY(-5px);
}

.featured-tier {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.15);
  background: rgba(18, 28, 42, 0.92);
}

.tier-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.tier-badge.popular {
  background: var(--accent-gold);
  color: #000000;
}

.tier-badge.vip {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
}

.tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tier-price {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.tier-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.tier-perks li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px;
  background: #04080c;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 6px;
}

.footer-copy p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- MODALS ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  max-width: 500px;
  width: 100%;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.text-center { text-align: center; }

.modal-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.modal-actions-row button {
  flex: 1;
}

/* Roll-Off Modal */
.rolloff-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}

.rolloff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.ro-rank {
  color: var(--accent-gold);
  font-family: var(--font-mono);
  width: 30px;
}

.ro-name { flex: 1; }
.ro-dice { font-size: 1.1rem; }

.rolloff-winner-info {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

.rolloff-winner-info h3 {
  color: #34d399;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.rolloff-winner-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Dice Modal */
.dice-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.die-face {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-gold);
}

.dice-sum-text {
  font-size: 1.2rem;
  margin-bottom: 22px;
}

/* Coin Modal */
.coin-wrapper {
  margin: 24px auto;
  width: 90px;
  height: 90px;
  perspective: 1000px;
}

.animated-coin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a 0%, #d97706 100%);
  border: 4px solid #b45309;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.6s cubic-bezier(0.4, 2, 0.6, 1);
}

.animated-coin.flipping {
  animation: flip3d 0.7s infinite linear;
}

@keyframes flip3d {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.15); }
  100% { transform: rotateY(360deg) scale(1); }
}

.coin-result-text {
  font-size: 1.1rem;
  margin-bottom: 22px;
  min-height: 30px;
}

/* Crazy Card Modal */
.card-modal-card {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(22, 16, 36, 0.94);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent-purple);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.card-flavor {
  font-style: italic;
  color: #c084fc;
  font-size: 0.95rem;
  margin: 10px 0 16px;
  line-height: 1.5;
}

.card-effect-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 22px;
}

.card-effect-box strong {
  color: var(--accent-gold);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 4px;
}

.card-effect-box p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

/* Junction Modal */
.junction-options-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.junction-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.junction-btn strong {
  font-size: 1.05rem;
  color: var(--accent-gold);
}

.junction-btn small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.junction-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

/* Target Modal */
.target-players-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.target-player-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition);
}

.target-player-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Pre-Order Checkout Modal */
.preorder-modal-card {
  max-width: 560px;
}

.preorder-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .half {
  flex: 1;
}

.addon-row {
  margin-bottom: 8px;
}

.addon-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-transform: none;
  font-weight: 500;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
}

.sum-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 1.15rem;
  color: var(--accent-gold);
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.backer-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin: 16px 0;
  font-family: var(--font-mono);
}

.success-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Game Log Sidebar */
.game-log-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  background: rgba(10, 16, 26, 0.96);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 150;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.game-log-sidebar.open {
  right: 0;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-log-list {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
}

.log-entry {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.log-entry.highlight {
  background: rgba(245, 158, 11, 0.15);
  border-left: 3px solid var(--accent-gold);
  color: #fde68a;
  font-weight: 600;
}

/* Rules Modal */
.rules-modal-card {
  max-width: 600px;
}

.rules-modal-content {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rules-modal-content ul {
  margin: 12px 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hidden { display: none !important; }

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .campaign-pill {
    margin: 0 auto 20px;
  }
  .funding-card {
    text-align: left;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .design-grid {
    grid-template-columns: 1fr;
  }
  .game-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .funding-amount {
    font-size: 1.6rem;
  }
  .top-hud {
    flex-wrap: wrap;
    gap: 10px;
  }
}


/* ============================================================
   CRAZY COURIERS — CROWDFUNDING CONVERSION & DESIGN ENHANCEMENTS
   ============================================================ */

/* ---------- 1. TOP ANNOUNCEMENT BAR ---------- */
.announcement-bar {
  background: linear-gradient(90deg, #0b131d 0%, #152232 50%, #0b131d 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding: 8px 16px;
  position: relative;
  z-index: 101;
}

.announcement-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.announcement-pill {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.announcement-text {
  color: #e2e8f0;
}

.announcement-text strong {
  color: var(--accent-gold);
}

.announcement-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timer-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 6px #34d399;
  animation: pulse 1.5s infinite;
}

.announcement-cta {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  transition: var(--transition);
}

.announcement-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* ---------- BRAND DRAGON & NAV UPGRADES ---------- */
.brand-dragon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
  animation: floatDragon 4s ease-in-out infinite;
}

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

/* ---------- HERO ENHANCEMENTS ---------- */
.text-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #ff8c00 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.progress-bar-wrapper {
  margin-bottom: 20px;
}

.progress-glow-tip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px #ffffff;
  filter: blur(1px);
}

.progress-milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.progress-milestones .milestone.achieved {
  color: #34d399;
  font-weight: 700;
}

.progress-milestones .milestone.next {
  color: var(--accent-gold);
  font-weight: 800;
}

.countdown-mini {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.countdown-mini .time-block {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-mono);
}

.countdown-mini .time-block strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.countdown-mini .time-block small {
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 700;
}

.stat-item.highlight .stat-val {
  color: var(--accent-gold);
}

.stretch-teaser-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 0.84rem;
}

.stretch-teaser-banner .teaser-icon {
  font-size: 1.3rem;
  animation: bounceBox 2s infinite;
}

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

.stretch-teaser-banner em {
  color: #34d399;
  font-style: normal;
  font-weight: 700;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-trust-bar .stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1rem;
}

/* ---------- HERO GALLERY SHOWCASE ---------- */
.hero-gallery-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 21, 32, 0.88);
}

.gallery-display-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
}

.gallery-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.gallery-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 19, 29, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.gallery-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 12, 18, 0.92) 50%, rgba(7, 12, 18, 0.98) 100%);
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
}

.gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.gallery-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-thumb-btn span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.gallery-thumb-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.gallery-thumb-btn.active {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.gallery-thumb-btn.active span {
  color: var(--accent-gold);
}

/* ---------- SOCIAL PROOF RIBBON ---------- */
.social-proof-ribbon {
  background: #090f17;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 16px;
}

.ribbon-container {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.ribbon-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}

.accolade-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.accolade-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.accolade-icon {
  font-size: 1.8rem;
}

.accolade-text strong {
  display: block;
  font-size: 0.92rem;
  color: #f8fafc;
}

.accolade-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ---------- CHAOS SECTION ---------- */
.chaos-section {
  background: #070c12;
}

.chaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.chaos-card {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.chaos-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.chaos-icon-box {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.chaos-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.chaos-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.chaos-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- COMPONENTS HERO FRAME & SPECS ---------- */
.components-hero-frame {
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}

.components-hero-frame {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Show the whole "what's in the box" picture: every labelled piece matters */
.components-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.components-hero-caption {
  padding: 16px 20px;
  background: rgba(11, 18, 28, 0.92);
  color: #cbd5e1;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.components-hero-caption strong {
  color: var(--accent-gold);
}

.comp-spec {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 14px;
  letter-spacing: 0.3px;
}

/* ---------- STRETCH GOALS ROADMAP ---------- */
.stretch-goals-section {
  background: #090e16;
}

.stretch-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 32px 24px;
}

.stretch-item {
  padding: 24px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.stretch-item.unlocked {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.stretch-item.current-target {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
  transform: translateY(-4px);
}

.stretch-item.locked {
  opacity: 0.65;
}

.stretch-status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.stretch-item.unlocked .stretch-status-badge {
  color: #34d399;
}

.stretch-item.current-target .stretch-status-badge {
  color: var(--accent-gold);
}

.stretch-status-badge.pulse {
  animation: pulse 1.8s infinite;
}

.stretch-val {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 8px;
}

.stretch-item.current-target .stretch-val {
  color: var(--accent-gold);
}

.stretch-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.stretch-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stretch-item p strong {
  color: #34d399;
}

/* ---------- REVIEWS SECTION ---------- */
.reviews-section {
  background: #070c12;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.review-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.review-card.featured {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(18, 28, 42, 0.9);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.1);
}

.review-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--accent-gold);
  color: #000;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 22px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.reviewer-avatar {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
}

.reviewer-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
  background: #090f17;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: #f8fafc;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-gold);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 26px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- STICKY PRE-ORDER ACTION BAR ---------- */
.sticky-preorder-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(11, 19, 29, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 24px;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-preorder-bar.visible {
  transform: translateY(0);
}

.sticky-bar-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sticky-bar-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-title {
  display: block;
  font-size: 1rem;
  color: #f8fafc;
}

.sticky-badge {
  display: block;
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- RECENT BACKERS TOAST ---------- */
.backer-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 98;
  pointer-events: none;
}

.backer-toast {
  pointer-events: auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 36, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  max-width: 380px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.animate-slide-in {
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast-icon {
  font-size: 1.6rem;
}

.toast-msg {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.toast-msg span {
  color: var(--accent-gold);
  font-weight: 700;
}

.toast-time {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.toast-close:hover {
  color: #ffffff;
}

/* ---------- RESPONSIVE REFINEMENTS ---------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gallery-main-img {
    height: 300px;
  }
  .sticky-title {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .announcement-timer {
    display: none;
  }
  .gallery-thumbs-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .accolade-badges {
    gap: 20px;
  }
  .sticky-bar-thumb {
    display: none;
  }
}


/* ============================================================
   ANXIETY, EXCITEMENT & ANGER GAMEPLAY MECHANICS STYLES
   - Turbo Nitro Button & Blowout FX
   - Bumper Duel Van Collision Modal
   - Double-or-Nothing High-Stakes Gamble Modal
   - Tactical Sheep Roadblock Deployer
   - Screen Shake & Panic Red Flash Animations
   ============================================================ */

/* ---------- SCREEN SHAKE & RED FLASH ---------- */
.shake-screen {
  animation: screenShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.flash-red {
  animation: redFlash 0.5s ease-out;
}

@keyframes redFlash {
  0% { box-shadow: inset 0 0 80px rgba(239, 68, 68, 0.8), 0 0 40px rgba(239, 68, 68, 0.6); }
  100% { box-shadow: inset 0 0 0 transparent; }
}

/* ---------- COCKPIT ACTION BUTTONS ---------- */
.roll-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.tactical-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-turbo {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #eab308 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.92rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  animation: turboPulse 2s infinite;
}

@keyframes turboPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.45); transform: scale(1); }
  50% { box-shadow: 0 6px 26px rgba(249, 115, 22, 0.7); transform: scale(1.02); }
}

.btn-turbo:hover:not(:disabled) {
  filter: brightness(1.15);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.75);
}

.btn-turbo:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  animation: none;
  box-shadow: none;
}

.btn-sheep {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-sheep:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.btn-sheep:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- BUMPER DUEL COLLISION MODAL ---------- */
.collision-modal-card {
  max-width: 520px;
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.35);
}

.collision-icon {
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: bounce 0.8s infinite alternate;
}

.collision-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 20px;
}

.duel-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.duel-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.van-avatar {
  font-size: 2.5rem;
}

.duel-player strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

.duel-die {
  font-size: 2.2rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 6px;
}

.duel-vs {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ef4444;
  letter-spacing: 1px;
  padding: 0 14px;
}

.duel-stakes {
  font-size: 0.85rem;
  color: #fbbf24;
  margin-bottom: 20px;
  background: rgba(245, 158, 11, 0.1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(245, 158, 11, 0.3);
}

/* ---------- DOUBLE-OR-NOTHING MODAL ---------- */
.double-nothing-card {
  max-width: 540px;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.25);
}

.flame-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  color: #000000;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.dn-subtitle {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.dn-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.dn-opt {
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.dn-opt.safe {
  border-color: rgba(16, 185, 129, 0.4);
}

.dn-opt.gamble {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
}

.dn-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

.dn-opt strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.dn-opt p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.dn-warn {
  color: #f87171;
  font-weight: 700;
}

.dn-vs {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---------- SHEEP ROADBLOCK MODAL ---------- */
.sheep-modal-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 8px;
}

.sheep-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  margin: 18px 0;
  padding: 4px;
}

.sheep-tile-btn {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sheep-tile-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: translateY(-2px);
}

.sheep-tile-btn strong {
  font-size: 0.9rem;
  color: #fbbf24;
}

.sheep-tile-btn span {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
}



/* ============================================================
   FARIA.ORG REPLICATED DESIGN SYSTEM FOR CRAZY COURIERS
   - Floating Pill Navigation Bar
   - Full-Bleed Hero with Warm Gradient Overlay
   - Organic Curved Wave Ribbon & Big Message
   - 50/50 Narrative Layout with Staggered ImageStrip
   - Horizontal Capsule CounterStrip Statistics
   - Interactive Solutions Tabs / Bento Swiper
   - Modern Bento Cards for Components, Stretch Goals & Tiers
   ============================================================ */

/* ---------- FARIA COLOR TOKENS & TYPOGRAPHY ---------- */
:root {
  --faria-plum: #37023c;
  --faria-deep: #220025;
  --faria-gold: #f7d35f;
  --faria-amber: #ffae33;
  --faria-coral: #ff6b4a;
  --faria-pink: #e63988;
  --faria-magenta: #c026d3;
  --faria-cream: #fdfaf6;
  --faria-surface: #ffffff;
  --faria-surface-muted: #f7f4f0;
  --faria-pill-radius: 9999px;
  --faria-card-radius: 28px;
  --faria-font: 'Nunito Sans', 'Outfit', sans-serif;
}

body {
  font-family: var(--faria-font);
}

/* Highlight typography spans */
.highlight-plum {
  color: var(--faria-plum);
  font-weight: 900;
}

.highlight-coral {
  color: var(--faria-coral);
  font-weight: 900;
}

.highlight-gold {
  color: var(--faria-amber);
  font-weight: 900;
}

/* ---------- 1. FLOATING PILL NAVBAR (FARIA STYLE) ---------- */
.faria-header {
  position: sticky;
  top: 18px;
  z-index: 1000;
  max-width: 1260px;
  margin: 0 auto 12px auto;
  padding: 0 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.faria-nav-container {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--faria-pill-radius);
  padding: 8px 14px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 40px rgba(55, 2, 60, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faria-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.faria-brand .brand-dragon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 6px rgba(255, 107, 74, 0.35));
}

.faria-brand .brand-title {
  color: var(--faria-plum);
  font-family: var(--faria-font);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.faria-brand .brand-title span {
  color: var(--faria-coral);
  margin-left: 2px;
}

.faria-brand .brand-sub {
  color: #832729;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.faria-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.faria-nav-links a {
  color: var(--faria-plum);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--faria-pill-radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.faria-nav-links a:hover {
  background: rgba(55, 2, 60, 0.06);
  color: var(--faria-pink);
  transform: translateY(-1px);
}

.faria-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost-faria {
  background: rgba(55, 2, 60, 0.05);
  border: 1px solid rgba(55, 2, 60, 0.1);
  color: var(--faria-plum);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--faria-pill-radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost-faria:hover {
  background: rgba(55, 2, 60, 0.1);
}

/* Faria Signature Pill CTA Button */
.faria-cta-pill {
  background: var(--faria-plum);
  color: #ffffff !important;
  font-family: var(--faria-font);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: var(--faria-pill-radius);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(55, 2, 60, 0.3);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.faria-cta-pill:hover {
  background: var(--faria-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(55, 2, 60, 0.45);
}

.faria-cta-pill .faria-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.faria-cta-pill:hover .faria-arrow {
  transform: translateX(4px);
}

.faria-cta-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.faria-secondary-pill {
  background: rgba(255, 255, 255, 0.95);
  color: var(--faria-plum) !important;
  font-family: var(--faria-font);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-radius: var(--faria-pill-radius);
  border: 1px solid rgba(55, 2, 60, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.faria-secondary-pill:hover {
  background: #ffffff;
  border-color: var(--faria-coral);
  color: var(--faria-coral) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.15);
}

/* ---------- 2. HERO SECTION ENHANCEMENTS ---------- */
.faria-hero-section {
  position: relative;
  padding: 40px 0 80px 0;
  overflow: hidden;
}

.faria-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 15%, rgba(247, 211, 95, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 15% 50%, rgba(255, 107, 74, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(230, 57, 136, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.faria-hero-container {
  position: relative;
  z-index: 1;
}

.faria-campaign-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.3);
  color: var(--faria-plum);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: var(--faria-pill-radius);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.12);
}

.faria-hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #f8fafc;
  margin-bottom: 20px;
}

.faria-text-gradient {
  background: linear-gradient(135deg, var(--faria-gold) 0%, var(--faria-coral) 50%, var(--faria-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faria-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 28px;
}

.faria-funding-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 16px 45px rgba(55, 2, 60, 0.14);
}

.faria-funding-card .funding-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--faria-plum);
}

.faria-funding-card .funding-goal {
  font-size: 0.88rem;
  color: #64748b;
  margin-left: 8px;
}

.faria-percent-pill {
  background: linear-gradient(135deg, var(--faria-coral) 0%, var(--faria-pink) 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--faria-pill-radius);
}

.faria-progress-bar {
  background: rgba(55, 2, 60, 0.08);
  height: 10px;
  border-radius: var(--faria-pill-radius);
  overflow: hidden;
  margin: 14px 0 10px 0;
}

.faria-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--faria-gold) 0%, var(--faria-coral) 60%, var(--faria-pink) 100%);
  border-radius: var(--faria-pill-radius);
}

.faria-funding-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(55, 2, 60, 0.06);
}

.faria-funding-stats .stat-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--faria-plum);
}

.faria-funding-stats .stat-lbl {
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.faria-teaser {
  background: rgba(255, 107, 74, 0.08);
  border: 1px dashed rgba(255, 107, 74, 0.35);
  border-radius: 14px;
  color: var(--faria-plum);
}

.faria-hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.faria-gallery-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(55, 2, 60, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* ---------- 3. FARIA CURVED WAVE & BIG MESSAGE SECTION ---------- */
.faria-big-message-section {
  position: relative;
  background: linear-gradient(180deg, #fdfaf6 0%, #ffffff 50%, #f9f5f0 100%);
  color: var(--faria-plum);
  padding: 100px 0 90px 0;
  overflow: hidden;
}

.faria-curve-wrapper {
  max-width: 1240px;
  margin: 0 auto 70px auto;
  padding: 0 24px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
}

.faria-curve-inner {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

.faria-wave-svg {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 480px;
  height: 480px;
  pointer-events: none;
}

.faria-leader-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(55, 2, 60, 0.28);
  border: 8px solid #ffffff;
}

.faria-leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.faria-leader-badge:hover .faria-leader-img {
  transform: scale(1.08);
}

.faria-big-message-content {
  flex: 1;
}

.faria-big-heading {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
  color: #1e1122;
}

/* ---------- 4. FARIA 50/50 NARRATIVE & IMAGE STRIP ---------- */
.faria-5050-section {
  max-width: 1240px;
  margin: 0 auto 70px auto;
  padding: 0 24px;
}

.faria-5050-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.faria-5050-heading {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #1e1122;
  margin-bottom: 20px;
}

.faria-5050-desc {
  font-size: 1.18rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 32px;
}

.faria-5050-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* The Faria ImageStrip */
.faria-image-strip {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faria-stripe-card {
  position: relative;
  height: 90px;
  border-radius: var(--faria-pill-radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(55, 2, 60, 0.12);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.faria-stripe-card:hover {
  transform: translateX(-12px);
  box-shadow: 0 12px 40px rgba(55, 2, 60, 0.22);
}

.faria-stripe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.faria-stripe-card .stripe-label {
  position: absolute;
  right: 28px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--faria-plum);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: var(--faria-pill-radius);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.stripe-1 { width: 92%; margin-left: auto; }
.stripe-2 { width: 100%; }
.stripe-3 { width: 88%; margin-left: auto; }

/* ---------- 5. FARIA STATS COUNTER STRIP ---------- */
.faria-counter-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.faria-counter-pill {
  background: #ffffff;
  border: 1px solid rgba(55, 2, 60, 0.08);
  border-radius: var(--faria-pill-radius);
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(55, 2, 60, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faria-counter-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(55, 2, 60, 0.12);
  border-color: rgba(255, 107, 74, 0.3);
}

.faria-counter-pill .counter-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--faria-plum);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--faria-plum) 0%, var(--faria-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faria-counter-pill .counter-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- 6. FARIA SOLUTIONS TABS / BENTO SWIPER ---------- */
.faria-solutions-section {
  background: #ffffff;
  padding: 100px 0 110px 0;
  position: relative;
}

.faria-tag {
  display: inline-block;
  background: rgba(255, 107, 74, 0.1);
  color: var(--faria-coral);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  padding: 6px 18px;
  border-radius: var(--faria-pill-radius);
  margin-bottom: 16px;
}

.faria-section-heading {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #1e1122;
  margin-bottom: 14px;
}

.faria-section-sub {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Horizontal Pill Tabs */
.faria-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto 50px auto;
}

.solution-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(55, 2, 60, 0.12);
  color: var(--faria-plum);
  font-family: var(--faria-font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--faria-pill-radius);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-tab-btn:hover {
  background: rgba(55, 2, 60, 0.04);
  border-color: var(--faria-coral);
  transform: translateY(-2px);
}

.solution-tab-btn.active {
  background: var(--faria-plum);
  color: #ffffff;
  border-color: var(--faria-plum);
  box-shadow: 0 8px 25px rgba(55, 2, 60, 0.28);
  transform: translateY(-2px);
}

/* Bento Card Showcase */
.faria-bento-solution-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.faria-bento-card {
  background: #fdfaf6;
  border: 1px solid rgba(55, 2, 60, 0.08);
  border-radius: 36px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(55, 2, 60, 0.08);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.faria-bento-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--faria-coral) 0%, var(--faria-pink) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 6px 16px;
  border-radius: var(--faria-pill-radius);
  margin-bottom: 16px;
}

.faria-bento-left h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--faria-plum);
  line-height: 1.2;
  margin-bottom: 8px;
}

.faria-bento-left h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--faria-coral);
  margin-bottom: 18px;
}

.faria-bento-left p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
}

.faria-bento-quote {
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--faria-coral);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.faria-bento-quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--faria-plum);
  margin-bottom: 6px;
}

.faria-bento-quote span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #94a3b8;
}

.faria-bento-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.faria-bento-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(55, 2, 60, 0.16);
  border: 4px solid #ffffff;
  height: 380px;
}

.faria-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.faria-bento-image-wrapper:hover .faria-bento-img {
  transform: scale(1.04);
}

.faria-bento-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(55, 2, 60, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--faria-pill-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- 7. SOCIAL PROOF RIBBON (FARIA STYLE) ---------- */
.faria-social-ribbon {
  background: linear-gradient(90deg, #fdfaf6 0%, #ffffff 50%, #fdfaf6 100%);
  border-top: 1px solid rgba(55, 2, 60, 0.06);
  border-bottom: 1px solid rgba(55, 2, 60, 0.06);
  padding: 30px 0;
}

.faria-social-ribbon .ribbon-heading {
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.faria-social-ribbon .accolade-text strong {
  color: var(--faria-plum);
}

.faria-social-ribbon .accolade-text span {
  color: #64748b;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .faria-curve-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .faria-5050-container {
    grid-template-columns: 1fr;
  }
  .faria-bento-card {
    grid-template-columns: 1fr;
  }
  .faria-counter-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .faria-nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .faria-hero-title {
    font-size: 2.3rem;
  }
  .faria-big-heading {
    font-size: 2rem;
  }
  .faria-counter-strip {
    grid-template-columns: 1fr;
  }
  .faria-bento-card {
    padding: 28px;
  }
}


/* ---------- CRITICAL RESPONSIVE & GRID CONTAINMENT FIXES ---------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-container,
.faria-hero-container,
.faria-5050-container,
.faria-bento-card,
.chaos-grid,
.components-grid {
  min-width: 0;
}

.hero-content,
.hero-visual,
.faria-hero-content,
.faria-hero-visual,
.faria-5050-text,
.faria-image-strip,
.faria-bento-left,
.faria-bento-right {
  min-width: 0;
  max-width: 100%;
}

/* Ensure Faria Hero 2-column balance */
.faria-hero-section {
  background: linear-gradient(180deg, #120516 0%, #200424 45%, #37023c 100%);
  color: #f8fafc;
  padding: 40px 24px 80px 24px;
}

.faria-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.faria-gallery-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.faria-gallery-card .gallery-display-frame {
  height: 380px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.faria-gallery-card .gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make Faria Floating Navbar Crisp and Distinct */
.site-header.faria-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.faria-nav-container {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px !important;
  padding: 10px 16px 10px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.faria-brand .brand-title {
  color: #37023c !important;
}

.faria-nav-links a {
  color: #37023c !important;
  font-weight: 700 !important;
}

.faria-nav-links a:hover {
  color: #e63988 !important;
  background: rgba(55, 2, 60, 0.08) !important;
}

.faria-cta-pill {
  background: #37023c !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  padding: 10px 24px !important;
  box-shadow: 0 6px 20px rgba(55, 2, 60, 0.35) !important;
}

.faria-cta-pill:hover {
  background: #200424 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(55, 2, 60, 0.5) !important;
}

/* Faria Solutions Bento Card Responsive & Sizing */
.faria-bento-card {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-width: 0;
}

.faria-bento-image-wrapper {
  height: 380px;
  width: 100%;
}

.faria-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- LAUNCH LIST FORM MESSAGES ---------- */
.form-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0 0 14px 0;
}

.form-privacy-note {
  font-size: 0.78rem;
  opacity: 0.7;
  text-align: center;
  margin-top: 12px;
}

#preorder-success-step .btn-secondary {
  display: inline-flex;
  margin-top: 16px;
  text-decoration: none;
}

#preorder-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}


/* ---------- FINAL RESPONSIVE OVERRIDES ----------
   Keep this block last: the "containment fixes" above redeclare the
   hero/bento grids without media queries, which overrode the earlier
   breakpoints and broke the mobile layout. */
.faria-nav-links a,
.faria-brand .brand-sub,
.btn-ghost-faria,
.faria-nav-actions .faria-cta-pill {
  white-space: nowrap;
}

.faria-nav-container {
  gap: 12px;
}

.faria-nav-links a {
  padding: 8px 10px;
}

@media (max-width: 1360px) {
  .faria-nav-links {
    gap: 0;
  }
  .faria-nav-links a {
    padding: 8px 8px;
    font-size: 0.86rem;
  }
  .faria-brand .brand-sub {
    display: none;
  }
}

@media (max-width: 1180px) {
  .faria-nav-links {
    display: none;
  }
}

@media (max-width: 1024px) {
  .faria-hero-container,
  .faria-bento-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .faria-hero-section {
    padding: 24px 16px 56px 16px;
  }
  .site-header.faria-header {
    top: 8px;
    padding: 0 12px;
  }
  .faria-nav-container {
    padding: 6px 6px 6px 14px !important;
    gap: 8px;
  }
  .faria-brand .brand-dragon {
    display: none;
  }
  .faria-brand .brand-title {
    font-size: 1.05rem;
  }
  .faria-nav-actions {
    gap: 6px;
  }
  .btn-ghost-faria {
    padding: 6px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .faria-nav-actions .faria-cta-pill {
    padding: 8px 14px !important;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .faria-nav-actions .faria-arrow {
    display: none;
  }
  .faria-hero-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }
  .faria-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .faria-hero-cta-group .faria-cta-lg {
    justify-content: center;
    text-align: center;
  }
  .faria-gallery-card .gallery-display-frame,
  .faria-bento-image-wrapper {
    height: 240px;
  }
  .faria-funding-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .faria-brand .brand-title {
    font-size: 0.95rem;
  }
  .btn-ghost-faria {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
  .faria-nav-actions .faria-cta-pill {
    padding: 7px 10px !important;
    font-size: 0.76rem;
  }
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
}

/* Sign-up form honeypot: off-screen so only bots fill it in */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-privacy-note a {
  color: inherit;
  text-decoration: underline;
}
