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

:root {
  /* Vice City neon — lighter, cyan + coral + pastel */
  --bg: #120a14;
  --bg-card: #1c101c;
  --bg-elevated: #2a1826;
  --border: rgba(0, 245, 255, 0.18);
  --border-hover: rgba(0, 245, 255, 0.45);
  --purple: #c084fc;
  --purple-bright: #e9d5ff;
  --cyan: #00F5FF;
  --cyan-soft: #67e8f9;
  --pink: #FF7A9A;
  --salmon: #FF8A7A;
  --orange: #FFB86B;
  --text: #fff5f8;
  --text-muted: #ffd6e0;
  --text-dim: #c4a8b4;
  --gradient: linear-gradient(135deg, #00F5FF 0%, #FF7A9A 50%, #FFB86B 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0,245,255,0.25), rgba(255,122,154,0.25));
  --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.35), 0 0 40px rgba(255, 122, 154, 0.2);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 15% 85%, rgba(255, 122, 154, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(0, 245, 255, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 184, 107, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #120a14 0%, #1a0f1c 40%, #0e1520 100%);
  background-attachment: fixed;
}

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

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

/* ===== BACKGROUND EFFECTS ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 154, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 70vh;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 245, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(255, 122, 154, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 184, 107, 0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 10, 20, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.35), 0 0 36px rgba(255, 122, 154, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px 10px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s, text-shadow 0.2s;
  white-space: nowrap;
  padding: 6px 3px;
  position: relative;
  flex-shrink: 0;
}

.nav-links a:hover {
  color: #e9d5ff;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.7), 0 0 24px rgba(244, 114, 182, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(0, 245, 255, 0.14);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-bright);
  transition: all 0.2s;
}

.btn-discord:hover {
  background: rgba(0, 245, 255, 0.28);
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.18);
}

/* Install App button — compact so nav links stay aligned */
.btn-install-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  font-family: var(--font-display), Orbitron, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #120a14;
  background: linear-gradient(135deg, #a5f3fc 0%, #00F5FF 100%);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.22);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-install-app:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.btn-install-app:active {
  transform: translateY(0);
}

.btn-install-app svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.btn-install-app[hidden] {
  display: none !important;
}

.btn-install-app-mobile {
  width: 100%;
  justify-content: center;
  margin: 8px 0 4px;
  padding: 12px 16px;
  font-size: 12px;
  gap: 8px;
}

.btn-install-app-mobile svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 12px 0;
  color: var(--text-muted);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--purple-bright);
  margin-bottom: 28px;
}

.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  background: #67e8f9;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow:
    0 0 6px 1px rgba(167, 139, 250, 0.95),
    0 0 14px 3px rgba(0, 245, 255, 0.45);
  animation: pulse-core 1.4s ease-in-out infinite;
}

/* Outer expanding rings — feels like a live signal */
.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(167, 139, 250, 0.85);
  animation: pulse-ring 1.8s cubic-bezier(0.15, 0.6, 0.3, 1) infinite;
  pointer-events: none;
}
.pulse::after {
  animation-delay: 0.9s;
}

@keyframes pulse-core {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow:
      0 0 6px 1px rgba(167, 139, 250, 0.95),
      0 0 14px 3px rgba(0, 245, 255, 0.45);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.92;
    box-shadow:
      0 0 10px 2px rgba(196, 181, 253, 1),
      0 0 22px 6px rgba(167, 139, 250, 0.7);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 .line1 {
  display: block;
  font-size: clamp(42px, 7vw, 72px);
  color: white;
  letter-spacing: 0.04em;
}

.hero h1 .line2 {
  display: block;
  font-size: clamp(28px, 4.5vw, 48px);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
}

.hero-tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 480px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--purple-bright);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--gradient);
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(0, 245, 255, 0.08);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 14px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.car-card.featured {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 255, 0.1);
}

.car-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  z-index: 2;
}

.car-image {
  position: relative;
  height: 220px;
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 50%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.car-image img[src=""] {
  display: none;
}

.car-placeholder {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(0, 245, 255, 0.28);
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.18);
  z-index: 0;
}

.car-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.car-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.car-info p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-header h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== MEETS ===== */
.meets-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.meet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.meet-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.featured-meet {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.meet-banner {
  background: linear-gradient(135deg, #1a0a2e 0%, #0f0f1a 60%, #1a1a2e 100%);
  padding: 40px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.meet-live {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 122, 154, 0.2);
  border: 1px solid rgba(244, 114, 182, 0.4);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #FF7A9A;
  margin-bottom: 16px;
}

.meet-banner h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #fff, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.meet-subtitle {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.meet-details {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meet-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.meta-icon {
  font-size: 20px;
}

.meta-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.meta-item span {
  font-size: 14px;
  color: var(--text);
}

.meet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meet-tags span {
  padding: 6px 12px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--purple-bright);
}

.meet-rules-mini {
  padding: 12px 16px;
  background: rgba(244, 114, 182, 0.08);
  border: 1px solid rgba(255, 122, 154, 0.2);
  border-radius: 8px;
}

.meet-rules-mini p {
  font-size: 12px;
  color: #f9a8d4;
  letter-spacing: 0.04em;
}

.meet-type {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.meet-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.meet-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.meet-time {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ===== GARAGE ===== */
.garage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.garage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}

.garage-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 245, 255, 0.14);
}

.garage-img {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
  overflow: hidden;
}

.garage-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.garage-img img[src=""] {
  display: none;
}

.garage-fallback {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

.garage-info {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.garage-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.garage-info p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== MEMBERS ===== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s;
}

.member-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.member-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
  color: var(--purple-bright);
  overflow: hidden;
}

.member-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.member-avatar img[src=""] {
  display: none;
}

.avatar-fallback {
  z-index: 0;
}

.member-card.rank-host .member-avatar {
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.28);
}

.member-card.rank-comm .member-avatar {
  border-color: var(--cyan);
}

.member-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.rank {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ===== ABOUT ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.about-content h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-lead {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 16px;
}

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

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.feature-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.feature h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== RULES ===== */
.rules-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 0.2s;
}

.rule:hover {
  border-color: var(--border-hover);
}

.rule-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  min-width: 36px;
}

.rule h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.rule p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
  padding-top: 40px;
  padding-bottom: 100px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.14), rgba(244, 114, 182, 0.1));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 24px !important;
  font-size: 12px !important;
}

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

@media (max-width: 1280px) {
  /* Keep install button text visible, slightly tighter */
  .nav-actions .btn-install-app {
    padding: 7px 9px;
    gap: 4px;
    font-size: 8px;
  }
  .nav-actions .btn-install-app svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 6px 12px;
  }
  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 6px 3px;
  }
  .logo span {
    font-size: 12px;
  }
  .btn-discord {
    padding: 8px 12px;
    font-size: 12px;
  }
  .btn-discord svg {
    width: 16px;
    height: 16px;
  }
  .nav-actions {
    gap: 6px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
    margin-right: 8px;
  }
  /* App buttons live in the hamburger menu on tablet/phone to avoid overflow */
  .nav-actions .btn-install-app {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .car-card.featured {
    max-width: 320px;
  }

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

  .featured-meet {
    grid-row: auto;
  }

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

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

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

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

  .menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: flex;
    margin-left: auto;
    margin-right: 4px;
  }

  .btn-discord span,
  .btn-discord {
    font-size: 0;
    padding: 9px 12px;
    gap: 0;
  }
  .btn-discord svg {
    width: 18px;
    height: 18px;
  }
  .btn-discord {
    font-size: 0;
  }

  /* On small phones hide header app buttons — available in mobile menu */
  .nav-actions .btn-install-app {
    display: none;
  }
  .nav-actions .btn-discord {
    display: inline-flex;
  }


  .hero-stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 24px;
  }

  .garage-grid,
  .members-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CREW PHOTO (Hero) ===== */
.crew-photo-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 255, 0.1);
}

.crew-photo {
  position: relative;
  height: 320px;
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 50%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.crew-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  padding: 12px;
}

.crew-photo img[src=""] {
  display: none;
}

.crew-photo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 0;
}

.crew-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35);
}

.crew-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.crew-photo-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.crew-photo-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.crew-photo-info p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== FIVEM MEETS ===== */
.fivem-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.fivem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.fivem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.featured-fivem {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.fivem-banner {
  background: linear-gradient(135deg, #0a1a2e 0%, #0f0f1a 60%, #1a1a2e 100%);
  padding: 40px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.fivem-banner h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #fff, #00F5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.fivem-details {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== HOSTS GRID ===== */
.hosts-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  max-width: 960px;
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}
.fivem-hosts-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}

/* ===== TIMEZONES ===== */
.tz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  transition: all 0.25s;
}

.tz-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.tz-flag {
  font-size: 28px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tz-flag img {
  width: 32px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  object-fit: cover;
}

.tz-card h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}

.tz-code {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--purple-bright);
  margin-bottom: 4px;
}

.tz-desc {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.3;
}

.tz-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.tz-note strong {
  color: var(--purple-bright);
}

/* ===== RESPONSIVE extras ===== */
@media (max-width: 1100px) {
  .tz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .fivem-grid {
    grid-template-columns: 1fr;
  }
  .featured-fivem {
    grid-row: auto;
  }
  .tz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hosts-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .tz-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hosts-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

/* ===== LARGER HOST AVATARS ===== */
.host-large .member-avatar {
  width: 120px;
  height: 120px;
  font-size: 36px;
  border-width: 3px;
}

.host-large {
  padding: 36px 24px;
}

.host-large h4 {
  font-size: 18px;
  margin-top: 8px;
}

.host-large .rank {
  font-size: 13px;
}

@media (max-width: 720px) {
  .host-large .member-avatar {
    width: 96px;
    height: 96px;
    font-size: 28px;
  }
}

/* FiveM Hosts — 6 cards, 3 columns */
.fivem-hosts-grid {
  max-width: 960px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .fivem-hosts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .fivem-hosts-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ===== CREWS ===== */
.crews-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  justify-items: stretch;
  align-items: stretch;
}

.crew-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 18px 20px;
  min-height: 360px;
  height: auto;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.crew-link-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 245, 255, 0.18);
}

.crew-link-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.35);
  overflow: hidden;
}

.crew-link-icon img,
.crew-link-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.crew-link-info {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crew-link-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.25;
}

.crew-link-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.crew-link-url {
  font-size: 11px;
  color: var(--purple-bright);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 12px;
  word-break: break-all;
}

.crew-link-arrow {
  font-size: 22px;
  color: var(--purple-bright);
  flex-shrink: 0;
}

.crew-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

.crew-details-btn,
.crew-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  transition: all 0.2s ease;
  min-width: 100px;
  flex: 1 1 auto;
}

.crew-details-btn {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.3), rgba(192, 38, 211, 0.28));
  border: 1px solid rgba(167, 139, 250, 0.55);
  color: #e9d5ff;
}

.crew-details-btn:hover {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.45), rgba(192, 38, 211, 0.42));
  border-color: rgba(192, 132, 252, 0.8);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.35), 0 0 36px rgba(255, 122, 154, 0.25);
  transform: translateY(-1px);
}

.crew-visit-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}


.crew-gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(126, 200, 255, 0.35);
  background: rgba(40, 80, 130, 0.25);
  color: #a8d4ff;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  text-decoration: none;
}
.crew-gallery-btn:hover {
  background: rgba(60, 120, 180, 0.4);
  border-color: rgba(126, 200, 255, 0.65);
  color: #e8f4ff;
  box-shadow: 0 0 14px rgba(80, 160, 255, 0.3);
}

.crew-visit-btn:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
  background: rgba(0, 245, 255, 0.12);
}

.crew-welcome-btn {
  min-width: 140px;
  padding: 14px 22px;
  font-size: 13px;
  width: 100%;
  display: inline-flex;
  pointer-events: none; /* card itself is the link */
}

a.crew-join-card {
  border-color: rgba(192, 132, 252, 0.35);
  background: linear-gradient(160deg, rgba(0, 245, 255, 0.12), rgba(8, 10, 18, 0.9));
}

a.crew-join-card:hover .crew-welcome-btn {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.45), rgba(192, 38, 211, 0.42));
  color: #fff;
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.35), 0 0 36px rgba(255, 122, 154, 0.25);
}

@media (max-width: 560px) {
  .crews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .crew-link-card {
    min-height: 300px;
    padding: 18px 12px 16px;
  }
  .crew-link-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .crew-details-btn,
  .crew-visit-btn {
    padding: 10px 12px;
    font-size: 11px;
    min-width: 0;
  }
}

/* Crews subheader */
.section-subheader {
  text-align: center;
  margin: 56px 0 32px;
}

.section-subheader h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-subheader h3 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subheader p {
  color: var(--text-muted);
  font-size: 14px;
}

.crew-icon-alt {
  background: linear-gradient(135deg, #00F5FF, #8b5cf6) !important;
}

/* Timezone flags larger + main highlight */
.tz-flag {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.tz-main {
  border-color: rgba(0, 245, 255, 0.4);
  background: linear-gradient(160deg, rgba(0, 245, 255, 0.12), var(--bg-card));
}

.tz-main .tz-desc {
  color: var(--purple-bright);
  font-weight: 500;
}

/* ===== HERO WALLPAPER (large emblem background) ===== */
.hero-with-wallpaper {
  position: relative;
  display: block !important;
  grid-template-columns: none !important;
  min-height: 100vh;
  overflow: hidden;
}

.hero-with-wallpaper .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 40px;
}

.hero-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-wallpaper img {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(70vw, 720px);
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  opacity: 0.45;
  filter: drop-shadow(0 0 60px rgba(0, 245, 255, 0.3));
}

.hero-wallpaper-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,10,0.92) 0%, rgba(5,5,10,0.75) 40%, rgba(5,5,10,0.35) 70%, rgba(5,5,10,0.5) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 245, 255, 0.14) 0%, transparent 60%);
  z-index: 1;
}

.hero-wallpaper.no-img img {
  display: none;
}

@media (max-width: 960px) {
  .hero-with-wallpaper .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-wallpaper img {
    right: 50%;
    transform: translate(50%, -50%);
    width: min(90vw, 480px);
    opacity: 0.25;
  }

  .hero-wallpaper-overlay {
    background:
      linear-gradient(180deg, rgba(5,5,10,0.7) 0%, rgba(5,5,10,0.9) 50%, rgba(5,5,10,0.95) 100%);
  }

  .hero-with-wallpaper .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-with-wallpaper .hero-actions {
    justify-content: center;
  }

  .hero-with-wallpaper .hero-stats {
    justify-content: center;
  }
}


/* ===== HERO WALLPAPER v2 — full emblem, not cropped ===== */
.hero-with-wallpaper {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.hero-with-wallpaper .hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  flex-shrink: 0;
}

.hero-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-wallpaper-img {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 560px);
  height: min(70vh, 560px);
  max-height: calc(100% - 48px);
  background-image: var(--crew-logo);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  filter: drop-shadow(0 0 80px rgba(0, 245, 255, 0.35));
  animation: wallpaperFloat 14s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-wallpaper-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 10, 0.95) 0%,
    rgba(5, 5, 10, 0.85) 35%,
    rgba(5, 5, 10, 0.4) 55%,
    rgba(5, 5, 10, 0.25) 75%,
    rgba(5, 5, 10, 0.5) 100%
  );
}

@media (max-width: 960px) {
  .hero-with-wallpaper {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .hero-with-wallpaper .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-wallpaper-img {
    right: 50%;
    transform: translate(50%, -50%);
    width: min(85vw, 420px);
    opacity: 0.3;
  }
  .hero-wallpaper-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 10, 0.75) 0%,
      rgba(5, 5, 10, 0.9) 45%,
      rgba(5, 5, 10, 0.97) 100%
    );
  }
  .hero-with-wallpaper .hero-badge,
  .hero-with-wallpaper .hero-actions,
  .hero-with-wallpaper .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hosts grid — auto-fit so few hosts stay centered */
.hosts-grid {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px)) !important;
  justify-content: center !important;
  justify-items: center !important;
}

@media (min-width: 900px) {
  .hosts-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px)) !important;
  }
}

/* Crew emblems instead of letters */
.crew-link-emblem {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0;
}

.crew-link-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.crew-icon-img {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0;
}

.crew-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* ===== BOOT SCREEN ===== */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #120a14;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.85s ease, visibility 0.85s ease, filter 0.85s ease, transform 0.85s ease;
}

.boot-screen.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-inner {
  text-align: center;
  position: relative;
}

.boot-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 255, 0.22);
  position: relative;
  animation: bootSpin 3s linear infinite;
}

.boot-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #8b5cf6;
  border-right-color: #ec4899;
  animation: bootSpin 1.2s linear infinite reverse;
}

.boot-ring-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 245, 255, 0.35);
  animation: bootSpin 8s linear infinite;
}

.boot-logo {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.4);
  animation: bootPulse 1.6s ease-in-out infinite;
}

.boot-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.boot-status {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--purple-bright);
  margin-bottom: 20px;
  min-height: 16px;
}

.boot-bar {
  width: 220px;
  height: 3px;
  margin: 0 auto 16px;
  background: rgba(0, 245, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.boot-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.25s ease;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.45);
}

.boot-hint {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  font-family: var(--font-display);
  opacity: 0.6;
}

@keyframes bootSpin {
  to { transform: rotate(360deg); }
}

@keyframes bootPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 245, 255, 0.35), 0 0 36px rgba(255, 122, 154, 0.25); }
  50% { box-shadow: 0 0 50px rgba(244, 114, 182, 0.6); }
}

/* ===== CUSTOM CURSOR ===== */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor {
    cursor: none;
  }

  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor .btn-primary,
  body.custom-cursor .btn-secondary,
  body.custom-cursor .crew-link-card,
  body.custom-cursor .member-card,
  body.custom-cursor .tz-card {
    cursor: none;
  }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
}

body.custom-cursor .cursor-dot,
body.custom-cursor .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #67e8f9;
  box-shadow: 0 0 10px #8b5cf6, 0 0 20px rgba(244, 114, 182, 0.4);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(167, 139, 250, 0.55);
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: rgba(244, 114, 182, 0.7);
  background: rgba(0, 245, 255, 0.08);
}

/* Cursor trail particles */
.cursor-trail {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: trailFade 0.5s forwards;
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

/* ===== IMAGE / CARD HOVER EFFECTS ===== */
.member-card,
.crew-link-card,
.tz-card,
.meet-card,
.fivem-card,
.feature,
.rule {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s,
              box-shadow 0.35s;
}

.member-card:hover,
.crew-link-card:hover,
.tz-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 245, 255, 0.18),
              0 0 0 1px rgba(0, 245, 255, 0.25);
}

.member-avatar,
.crew-link-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s;
}

.member-card:hover .member-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.4);
}

.crew-link-card:hover .crew-link-icon {
  transform: scale(1.1) rotate(-3deg);
}

.hero-wallpaper img {
  transition: opacity 0.8s ease, transform 8s ease;
  animation: wallpaperFloat 12s ease-in-out infinite alternate;
}

@keyframes wallpaperFloat {
  from { transform: translate(var(--px, 0px), calc(-50% + var(--py, 0px))) scale(1); }
  to { transform: translate(var(--px, 0px), calc(-50% - 10px + var(--py, 0px))) scale(1.03); }
}

/* Magnetic glow on buttons */
.btn-primary,
.btn-secondary,
.btn-discord {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  opacity: 1;
}

/* Scanline subtle overlay */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* Page reveal after boot */
body.booting {
  overflow: hidden;
}

body.booting .navbar,
body.booting .hero,
body.booting .section,
body.booting .footer {
  opacity: 1; /* keep content ready under boot overlay */
}

body:not(.booting) .navbar,
body:not(.booting) .hero,
body:not(.booting) .section,
body:not(.booting) .footer {
  animation: pageIn 0.7s ease forwards;
}

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

/* ===== FLOATING ORBS ===== */
.fx-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.fx-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.45), transparent 70%);
  top: -10%;
  left: -5%;
  animation-duration: 22s;
}

.fx-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.4), transparent 70%);
  bottom: 10%;
  right: -8%;
  animation-duration: 26s;
  animation-delay: -4s;
}

.fx-orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  top: 45%;
  left: 40%;
  animation-duration: 20s;
  animation-delay: -8s;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -50px) scale(1.15); }
}

/* ===== CARD MOTION / TILT ===== */
.member-card,
.crew-link-card,
.tz-card,
.meet-card,
.fivem-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.member-card.is-tilting,
.crew-link-card.is-tilting,
.tz-card.is-tilting {
  transition: transform 0.08s ease-out, box-shadow 0.2s;
}

.member-avatar img,
.crew-link-icon img,
.crew-icon-img img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.member-card:hover .member-avatar img {
  transform: scale(1.12);
}

/* Staggered float on host cards */
.hosts-grid .member-card:nth-child(1) { animation: cardFloat 6s ease-in-out infinite; }
.hosts-grid .member-card:nth-child(2) { animation: cardFloat 6s ease-in-out infinite 0.4s; }
.hosts-grid .member-card:nth-child(3) { animation: cardFloat 6s ease-in-out infinite 0.8s; }
.hosts-grid .member-card:nth-child(4) { animation: cardFloat 6s ease-in-out infinite 1.2s; }
.fivem-hosts-grid .member-card:nth-child(odd) { animation: cardFloat 7s ease-in-out infinite; }
.fivem-hosts-grid .member-card:nth-child(even) { animation: cardFloat 7s ease-in-out infinite 0.6s; }

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

.hosts-grid .member-card:hover,
.fivem-hosts-grid .member-card:hover {
  animation: none;
}

/* Section title shimmer */
.section-header h2 {
  position: relative;
}

.section-header h2 span {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Pulse ring on featured meet live badge */
.meet-live {
  position: relative;
  overflow: visible;
}

.meet-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(244, 114, 182, 0.5);
  animation: liveRing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes liveRing {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* Grid ambient motion */
.bg-grid {
  animation: gridShift 40s linear infinite;
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

/* Hero content fade-up */
.hero-with-wallpaper .hero-content > * {
  animation: heroRise 0.9s ease backwards;
}
.hero-with-wallpaper .hero-badge { animation-delay: 0.1s; }
.hero-with-wallpaper h1 { animation-delay: 0.2s; }
.hero-with-wallpaper .hero-tagline { animation-delay: 0.35s; }
.hero-with-wallpaper .hero-sub { animation-delay: 0.45s; }
.hero-with-wallpaper .hero-actions { animation-delay: 0.55s; }
.hero-with-wallpaper .hero-stats { animation-delay: 0.65s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Image glow border on avatars with photos */
.member-avatar:has(img[src]:not([src=""])) {
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.3), 0 0 24px rgba(0, 245, 255, 0.18);
}

/* Parallax layer helper */
.parallax-slow {
  transition: transform 0.15s linear;
}

/* ===== CUSTOM POINTER + TRAIL ===== */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor * {
    cursor: none !important;
  }
}

.cursor-dot {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-left: 10px solid #a5f3fc !important;
  border-top: 7px solid transparent !important;
  border-bottom: 7px solid transparent !important;
  border-radius: 0 !important;
  transform: translate(0, 0) rotate(-20deg) !important;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.9))
          drop-shadow(0 0 12px rgba(244, 114, 182, 0.45));
}

.cursor-ring {
  width: 28px !important;
  height: 28px !important;
  border: 1.5px solid rgba(196, 181, 253, 0.45) !important;
  background: rgba(0, 245, 255, 0.06) !important;
  transition: width 0.15s, height 0.15s, border-color 0.15s, background 0.15s !important;
}

.cursor-ring.hover {
  width: 40px !important;
  height: 40px !important;
  border-color: rgba(244, 114, 182, 0.7) !important;
  background: rgba(244, 114, 182, 0.1) !important;
}

.cursor-trail {
  position: fixed !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 9998 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: blur(22px) saturate(1.15) !important;
  mix-blend-mode: screen !important;
  animation: trailSmoke 1.35s ease-out forwards !important;
  box-shadow: none !important;
}

@keyframes trailSmoke {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.5);
    filter: blur(16px) saturate(1.2);
  }
  35% {
    opacity: 0.32;
    transform: translate(-50%, -58%) scale(1.05);
    filter: blur(24px) saturate(1.15);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(1.65);
    filter: blur(32px) saturate(1);
  }
}

/* Keep emblem fully visible with parallax */
.hero-with-wallpaper {
  overflow: visible !important;
}

/* ===== GLOBAL TYPOGRAPHY UPGRADE ===== */
html {
  font-size: 16.5px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .logo, .stat-num, .btn-primary, .btn-secondary,
.section-header h2, .meet-banner h3, .fivem-banner h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.22);
}

.section-header h2 span {
  background: linear-gradient(120deg, #a5f3fc, #FF7A9A, #67e8f9, #a5f3fc);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

.section-header p {
  font-size: 1.05rem !important;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero h1 .line1 {
  font-size: clamp(2.8rem, 7vw, 4.4rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

.hero h1 .line2 {
  font-size: clamp(2.4rem, 6vw, 3.8rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(100deg, #67e8f9 0%, #FF7A9A 45%, #a5f3fc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease infinite;
  filter: drop-shadow(0 0 24px rgba(0, 245, 255, 0.35));
}

.hero-tagline {
  font-size: 1.15rem !important;
  line-height: 1.55 !important;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-style: italic;
  opacity: 0.9;
}

.stat-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(180deg, #fff 20%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.3));
}

.stat-label {
  font-size: 0.75rem !important;
  letter-spacing: 0.14em !important;
}

.member-card h4,
.crew-link-info h4,
.tz-card h4,
.meet-card h4,
.fivem-card h4,
.feature h4,
.rule h4 {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

.rank, .meet-type, .tz-code, .crew-link-url {
  letter-spacing: 0.1em !important;
}

.about-lead {
  font-size: 1.2rem !important;
  line-height: 1.75 !important;
  font-weight: 400;
}

.about-content p {
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}

.meet-banner h3,
.fivem-banner h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.nav-links a {
  font-size: 11.5px !important;
  letter-spacing: 0.1em !important;
}

.nav-links a:hover {
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}

.btn-primary,
.btn-secondary,
.btn-discord,
.btn-full,
.btn-lg {
  font-size: 0.8rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 600 !important;
}

.logo span {
  font-size: 13.5px !important;
  letter-spacing: 0.08em !important;
}

.rule-num {
  font-size: 1.4rem !important;
  background: linear-gradient(135deg, #67e8f9, #FF7A9A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  letter-spacing: 0.08em;
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.28);
}

.footer-brand span {
  font-size: 0.95rem !important;
  letter-spacing: 0.1em;
}

/* Subtle text glow on interactive titles */
.member-card h4,
.crew-link-info h4 {
  transition: text-shadow 0.3s, color 0.3s;
}

.member-card:hover h4,
.crew-link-card:hover .crew-link-info h4 {
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.55);
  color: #e9d5ff;
}

/* ===== JOIN US (opens community.html) ===== */
.crew-join-card {
  cursor: pointer;
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.16), rgba(244, 114, 182, 0.1));
  border-color: rgba(167, 139, 250, 0.4);
  position: relative;
  overflow: visible;
}

.crew-join-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(255, 122, 154, 0.15), transparent 55%);
  pointer-events: none;
}

.crew-join-badge {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #f9a8d4;
  border: 1px solid rgba(244, 114, 182, 0.4);
  border-radius: 999px;
  padding: 8px 12px;
  flex-shrink: 0;
  background: rgba(5, 5, 10, 0.45);
}

.crew-join-card .crew-link-icon {
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.4);
}

.crew-join-card .crew-link-info h4 {
  background: linear-gradient(90deg, #e9d5ff, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== OWL SESSION CARD BG ===== */
.meet-card-owl {
  position: relative;
  overflow: hidden;
}

.meet-card-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.18));
}

.meet-card-content {
  position: relative;
  z-index: 1;
}

.meet-card-owl:hover .meet-card-bg {
  opacity: 0.32;
  transition: opacity 0.35s ease;
}


/* ===== CARD BACKGROUND IMAGES ===== */
.meet-card-bg-cover {
  background-size: cover;
  background-position: center center;
  opacity: 0.18;
}

.featured-meet .meet-banner,
.featured-meet .meet-details,
.featured-fivem .fivem-banner,
.featured-fivem .fivem-details {
  position: relative;
  z-index: 1;
}

.featured-meet:hover .meet-card-bg,
.featured-fivem:hover .meet-card-bg,
.fivem-card-with-bg:hover .meet-card-bg {
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.fivem-card-with-bg {
  position: relative;
  overflow: hidden;
}

.fivem-card-with-bg .meet-card-content {
  position: relative;
  z-index: 1;
}

/* Soft dark overlay so text stays readable over bg images */
.featured-meet .meet-banner,
.featured-fivem .fivem-banner {
  background: linear-gradient(135deg, rgba(15, 10, 28, 0.82) 0%, rgba(10, 10, 18, 0.75) 60%, rgba(15, 15, 28, 0.85) 100%);
}

.featured-meet .meet-details,
.featured-fivem .fivem-details {
  background: rgba(8, 8, 14, 0.72);
}


/* ===== MEETINGS HELD GALLERY ===== */
.meetings-held {
  position: relative;
}

.meetings-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.meeting-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.meeting-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 245, 255, 0.22), 0 0 24px rgba(244, 114, 182, 0.12);
}

.meeting-card-inner {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.meeting-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(0.95) brightness(0.92);
}

.meeting-card:hover .meeting-card-inner img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1);
}

.meeting-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(0, 245, 255, 0.22) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.meeting-card:hover .meeting-card-glow {
  opacity: 1;
}

/* Add button */
.meeting-add {
  border-style: dashed;
  border-color: rgba(0, 245, 255, 0.35);
  background: rgba(0, 245, 255, 0.06);
  font: inherit;
  width: 100%;
  padding: 0;
}

.meeting-add:hover {
  border-color: var(--purple-bright);
  background: rgba(0, 245, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 245, 255, 0.18);
}

.meeting-add-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at center, rgba(0, 245, 255, 0.14), transparent 70%);
}

.meeting-add-icon {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  color: var(--purple-bright);
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  transition: transform 0.3s;
}

.meeting-add:hover .meeting-add-icon {
  transform: scale(1.15) rotate(90deg);
}

.meeting-add-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-bright);
}

.meeting-add-hint {
  font-size: 11px;
  color: var(--text-dim);
}

.meetings-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Add modal */
.meeting-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.meeting-modal[hidden] {
  display: none !important;
}

.meeting-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.meeting-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.meeting-modal-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--purple-bright);
}

.meeting-modal-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.meeting-modal-card label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--purple-bright);
  margin-bottom: 6px;
}

.meeting-modal-card input {
  width: 100%;
  background: #08080f;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  margin-bottom: 16px;
}

.meeting-modal-card input:focus {
  border-color: var(--border-hover);
}

.meeting-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.meeting-modal-actions button {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.meeting-modal-actions button.primary {
  background: var(--gradient);
  border: none;
  color: #fff;
}

.meeting-modal-actions button:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.meeting-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 1100px) {
  .meetings-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .meetings-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .meetings-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nav-links a.nav-active {
  color: var(--purple-bright);
}
.nav-links a.nav-active::after {
  width: 100%;
}

.commissioners-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}
@media (max-width: 960px) {
  .commissioners-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
  }
}

/* ===== VIDEOS ON HOME ===== */
.videos-home-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}
.videos-home-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.videos-home .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.videos-home .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.videos-home .video-now {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border);
}
.videos-home .video-now h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.videos-home .video-now p {
  font-size: 13px;
  color: var(--text-muted);
}
.videos-home .video-now a {
  color: var(--purple-bright);
}
.videos-home-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.videos-home-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .videos-home-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT US ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 245, 255, 0.18);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 255, 0.14);
  color: var(--purple-bright);
  flex-shrink: 0;
}
.contact-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.contact-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-hint {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--pink);
}
.contact-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}


/* ===== NEON + BACKGROUND UPGRADES ===== */
.bg-grid {
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
}

.bg-glow {
  background:
    radial-gradient(ellipse 55% 40% at 15% 10%, rgba(0, 245, 255, 0.25), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(244, 114, 182, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(ellipse 30% 25% at 70% 60%, rgba(0, 245, 255, 0.1), transparent 60%);
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.85; filter: hue-rotate(0deg); }
  100% { opacity: 1; filter: hue-rotate(12deg); }
}

/* Floating neon orbs */
body::before {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: 12%;
  left: -80px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
  animation: orbFloat 18s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  bottom: 10%;
  right: -60px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
  animation: orbFloat 22s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -24px); }
}

.hero h1 .line1,
.hero h1 .line2 {
  text-shadow:
    0 0 20px rgba(167, 139, 250, 0.55),
    0 0 40px rgba(0, 245, 255, 0.3),
    0 0 80px rgba(255, 122, 154, 0.2);
}

.section-header h2 {
  text-shadow: 0 0 24px rgba(0, 245, 255, 0.25);
}

.section-header h2 span {
  text-shadow:
    0 0 16px rgba(244, 114, 182, 0.55),
    0 0 32px rgba(0, 245, 255, 0.35);
}

.logo span {
  text-shadow: 0 0 16px rgba(0, 245, 255, 0.25);
}

.logo-icon {
  box-shadow:
    0 0 18px rgba(0, 245, 255, 0.45),
    0 0 36px rgba(255, 122, 154, 0.25);
}

.btn-primary {
  box-shadow:
    0 0 20px rgba(0, 245, 255, 0.3),
    0 0 40px rgba(255, 122, 154, 0.15);
}

.btn-primary:hover {
  box-shadow:
    0 0 28px rgba(0, 245, 255, 0.4),
    0 0 56px rgba(255, 122, 154, 0.25);
}

.navbar {
  border-bottom: 1px solid rgba(0, 245, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Nav collapses earlier so labels never get clipped */
@media (max-width: 1280px) {
  .nav-links {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .nav-actions {
    margin-left: auto;
    margin-right: 8px;
  }
}

@media (min-width: 1281px) {
  .nav-links {
    display: flex;
  }
}

@media (max-width: 600px) {
  .logo span {
    display: none;
  }
}

/* ===== FAKE YOUTUBE PLAYER ===== */
.fake-player {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a12;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.fake-player:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 245, 255, 0.22);
}
.fake-player-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(1.05);
  transition: filter 0.35s, transform 0.5s;
}
.fake-player:hover .fake-player-thumb {
  filter: brightness(0.9) saturate(1.1);
  transform: scale(1.03);
}
.fake-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  pointer-events: none;
}
.fake-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F5FF, #FF7A9A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.45), 0 0 60px rgba(255, 122, 154, 0.3);
  transition: transform 0.25s;
  padding-left: 4px;
}
.fake-player:hover .fake-play-btn {
  transform: scale(1.1);
}
.fake-player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(8, 8, 14, 0.95);
  border-top: 1px solid var(--border);
}
.fake-player-yt {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding: 4px 8px;
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 6px;
  flex-shrink: 0;
}
.fake-player-title {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== MEETUP PICS ===== */
.meetup-pics-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.meetup-pic-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.meetup-pic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
  filter: saturate(0.95) brightness(0.93);
}
.meetup-pic-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(0, 245, 255, 0.28));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.meetup-pic-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 14px 36px rgba(0, 245, 255, 0.2);
}
.meetup-pic-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.1) brightness(1);
}
.meetup-pic-card:hover .meetup-pic-glow {
  opacity: 1;
}
@media (max-width: 900px) {
  .meetup-pics-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .meetup-pics-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== MOBILE FIXES ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Safer tap targets + menu */
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 32px;
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Reduce motion-heavy effects on small screens / touch */
@media (max-width: 900px), (hover: none) {
  .member-card,
  .crew-link-card,
  .tz-card {
    transform: none !important;
  }
  .hosts-grid .member-card,
  .fivem-hosts-grid .member-card {
    animation: none !important;
  }
  .cursor-dot,
  .cursor-ring,
  .cursor-trail,
  .scanlines {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 96px;
    gap: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .commissioners-grid {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
    gap: 12px;
  }

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

  .meet-card,
  .fivem-card {
    min-width: 0;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .section-header {
    padding-left: 4px;
    padding-right: 4px;
  }

  .meetings-gallery,
  .meetup-pics-gallery {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .commissioners-grid,
  .hosts-grid,
  .fivem-hosts-grid,
  .members-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 .line1 {
    font-size: clamp(2rem, 10vw, 2.6rem) !important;
  }

  .hero h1 .line2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 12px;
    padding: 12px 18px;
  }
}

/* Image frames — keep cover crop, never break aspect boxes */
.member-avatar {
  flex-shrink: 0;
}

.member-avatar img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.meeting-card-inner img,
.meetup-pic-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.crew-link-emblem img,
.crew-icon-img img,
.crew-link-icon img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  border-radius: 18px;
}

.meet-card-bg,
.meet-card-bg-cover {
  background-size: cover;
  background-position: center;
}

/* Grid cards stay equal width on all breakpoints */
.members-grid,
.hosts-grid,
.commissioners-grid,
.fivem-hosts-grid,
.meetings-gallery,
.meetup-pics-gallery {
  width: 100%;
}

.member-card,
.meeting-card,
.meetup-pic-card,
.crew-link-card {
  min-width: 0;
  max-width: 100%;
}

/* ===== DETAIL PAGES (Legacy / FiveM) ===== */
.detail-jump {
  position: sticky;
  top: 68px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.detail-jump a {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--purple-bright);
  background: rgba(0, 245, 255, 0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.detail-jump a:hover {
  border-color: var(--border-hover);
  background: rgba(0, 245, 255, 0.16);
  transform: translateY(-1px);
}

.detail-block {
  padding-top: 56px;
  padding-bottom: 56px;
}

.detail-block-alt {
  background: linear-gradient(180deg, rgba(0, 245, 255, 0.05) 0%, transparent 100%);
}

.detail-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.detail-emoji {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(0, 245, 255, 0.45));
}

.detail-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--purple-bright);
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(196, 181, 253, 0.35);
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #fff;
}

.detail-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(244, 114, 182, 0.35));
}

.detail-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 720px;
}

.detail-lead-xl {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 600;
}

.detail-subtitle {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 14px;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.35);
}

.chip-cloud {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip-cloud li {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.14), rgba(244, 114, 182, 0.08));
  color: var(--purple-bright);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.12);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.chip-cloud li:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.25);
}

.chip-cloud-owl li {
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(0, 245, 255, 0.1));
  color: #a5f3fc;
}

.chip-cloud-style li {
  border-color: rgba(244, 114, 182, 0.35);
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(0, 245, 255, 0.1));
  color: #fbcfe8;
}

.detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 245, 255, 0.08);
}

.detail-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.detail-panel strong {
  color: #fff;
}

.glow-text {
  color: var(--purple-bright);
  text-shadow: 0 0 18px rgba(196, 181, 253, 0.45);
  font-weight: 600;
}

.detail-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: #fff !important;
  margin-bottom: 20px !important;
}

.owl-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 20px;
}

.owl-step {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 14px 10px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  color: #a5f3fc;
}

.owl-step span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
}

.flow-track {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  counter-reset: flow;
}

.flow-track li {
  counter-increment: flow;
  position: relative;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 245, 255, 0.1);
  color: var(--text);
}

.flow-track li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 12px rgba(244, 114, 182, 0.5);
}

.glow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.glow-list li {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 255, 0.25);
  background: rgba(0, 245, 255, 0.08);
  color: var(--purple-bright);
}

.detail-emphasis {
  font-size: 16px !important;
  color: var(--text) !important;
  line-height: 1.7 !important;
}

@media (max-width: 720px) {
  .owl-flow {
    grid-template-columns: 1fr 1fr;
  }
  .detail-head {
    gap: 12px;
  }
  .detail-emoji {
    font-size: 32px;
  }
  .detail-jump a {
    font-size: 10px;
    padding: 7px 11px;
  }
}

@media (max-width: 480px) {
  .owl-flow {
    grid-template-columns: 1fr;
  }
  .flow-track li {
    width: 100%;
  }
}

/* ===== PAGE HERO WALLPAPERS (Legacy / FiveM) ===== */
.page-hero-wallpaper {
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  filter: brightness(0.55) saturate(1.15);
  z-index: 0;
}

.page-hero-bg-logo {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 360px);
  height: min(38vw, 360px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.55;
  filter: drop-shadow(0 0 50px rgba(0, 245, 255, 0.4));
  z-index: 1;
  pointer-events: none;
  animation: wallpaperFloat 14s ease-in-out infinite alternate;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(5, 5, 10, 0.92) 0%,
    rgba(5, 5, 10, 0.78) 42%,
    rgba(5, 5, 10, 0.45) 70%,
    rgba(5, 5, 10, 0.55) 100%
  );
  pointer-events: none;
}

.page-hero-wallpaper .hero-content {
  position: relative;
  z-index: 3;
}

/* Section wallpapers */
.detail-with-bg {
  position: relative;
  overflow: hidden;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.2) brightness(0.7);
  z-index: 0;
  pointer-events: none;
}

.detail-bg-dim {
  opacity: 0.16;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0.75) 0%,
    rgba(5, 5, 10, 0.88) 40%,
    rgba(5, 5, 10, 0.95) 100%
  );
  pointer-events: none;
}

.detail-with-bg .detail-shell {
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .page-hero-bg-logo {
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0.22;
    width: min(70vw, 280px);
    height: min(70vw, 280px);
  }
  .page-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 10, 0.7) 0%,
      rgba(5, 5, 10, 0.88) 50%,
      rgba(5, 5, 10, 0.96) 100%
    );
  }
  .page-hero-wallpaper {
    text-align: center;
  }
  .page-hero-wallpaper .hero-content {
    margin: 0 auto;
  }
  .page-hero-wallpaper .hero-actions {
    justify-content: center;
  }
}

/* ===== GALLERY PREVIEW (home) ===== */
.gallery-preview.meetings-gallery {
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.gallery-preview.meetup-pics-gallery {
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.gallery-preview-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-open-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 36px !important;
  position: relative;
  overflow: hidden;
}

.gallery-open-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: galleryShimmer 3.2s ease-in-out infinite;
}

@keyframes galleryShimmer {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.gallery-open-hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.75;
  font-weight: 500;
}

@media (max-width: 800px) {
  .gallery-preview.meetings-gallery,
  .gallery-preview.meetup-pics-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FULL GALLERY PAGES ===== */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.g-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 1;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: gItemIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s;
}

@keyframes gItemIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
  filter: saturate(0.95) brightness(0.92);
}

.g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(0, 245, 255, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.g-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 18px 48px rgba(0, 245, 255, 0.25), 0 0 28px rgba(244, 114, 182, 0.12);
  transform: translateY(-8px) scale(1.02);
  z-index: 2;
}

.g-item:hover img {
  transform: scale(1.1);
  filter: saturate(1.12) brightness(1.02);
}

.g-item:hover::after {
  opacity: 1;
}

.gallery-full {
  padding-top: 40px;
}

@media (max-width: 960px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ===== INVITATION REQUEST PANEL ===== */
.invite-request {
  padding-top: 48px;
  padding-bottom: 64px;
}

.invite-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 28px 36px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background:
    radial-gradient(ellipse at top right, rgba(244, 114, 182, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0, 245, 255, 0.16), transparent 55%),
    var(--bg-card);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 245, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.invite-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), transparent 40%, rgba(244, 114, 182, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.invite-panel-visual {
  margin-bottom: 28px;
}

.invite-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--purple-bright);
  margin-bottom: 14px;
  text-shadow: 0 0 16px rgba(196, 181, 253, 0.4);
}

.invite-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 10px;
}

.invite-panel-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.invite-panel-sub {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}

.invite-panel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
}

.invite-panel-desc strong {
  color: var(--purple-bright);
}

.invite-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.invite-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s, transform 0.25s;
}

.invite-step:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.invite-step-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 14px rgba(244, 114, 182, 0.5);
  flex-shrink: 0;
  line-height: 1.2;
}

.invite-step h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 4px;
}

.invite-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.invite-step code {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.invite-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 154, 0.3);
  background: rgba(244, 114, 182, 0.08);
  margin-bottom: 20px;
}

.invite-note-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.invite-note p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.invite-note strong {
  color: #f9a8d4;
}

.invite-note em {
  color: #fff;
  font-style: normal;
}

.invite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.invite-chip {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.12);
  color: var(--purple-bright);
}

.invite-actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .invite-panel {
    padding: 24px 18px 28px;
  }
  .invite-step {
    padding: 14px;
  }
}

/* ===== DISCORD PAGE EXTRAS ===== */
.discord-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.discord-cat {
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 245, 255, 0.08);
  transition: border-color 0.25s, transform 0.25s;
}

.discord-cat:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.discord-cat span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(196, 181, 253, 0.35);
}

.discord-cat p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

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

.why-card {
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 245, 255, 0.16);
}

.why-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

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

@media (max-width: 900px) {
  .discord-cats,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .discord-cats,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== DISCORD SLIDE (home) ===== */
.discord-slide {
  padding-top: 40px;
  padding-bottom: 24px;
}

.discord-slide-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 245, 255, 0.12);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.discord-slide-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 28px 60px rgba(0, 245, 255, 0.25), 0 0 48px rgba(244, 114, 182, 0.12);
}

.discord-slide-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0a0a12;
}

.discord-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.discord-slide-media-secondary {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.discord-slide-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(0, 245, 255, 0.22) 100%);
  pointer-events: none;
}

.discord-slide-card:hover .discord-slide-media img {
  transform: scale(1.06);
}

.discord-slide-card:hover .discord-slide-media-secondary {
  transform: translateY(-6px) scale(1.04);
}

.discord-slide-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at top right, rgba(0, 245, 255, 0.14), transparent 55%),
    var(--bg-card);
}

.discord-slide-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--purple-bright);
  text-shadow: 0 0 16px rgba(196, 181, 253, 0.4);
}

.discord-slide-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}

.discord-slide-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.discord-slide-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 0;
}

.discord-slide-tags li {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.28);
  background: rgba(0, 245, 255, 0.12);
  color: var(--purple-bright);
}

.discord-slide-cta {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(244, 114, 182, 0.35));
}

/* Invite panel banner image */
.invite-panel-banner {
  margin: -8px -8px 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.invite-panel-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 800px) {
  .discord-slide-card {
    grid-template-columns: 1fr;
  }
  .discord-slide-media {
    min-height: 220px;
  }
  .discord-slide-body {
    padding: 24px 20px 28px;
  }
}

/* Invite banner — show full image */
.invite-panel-banner {
  margin: -8px -8px 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  background: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invite-panel-banner img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
}

/* Discord slide without secondary image */
.discord-slide-media {
  min-height: 300px;
}

/* ===== PREVIOUS MEETINGS GALLERY — enhanced ===== */
.gallery-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(0, 245, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(244, 114, 182, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(34, 211, 238, 0.06), transparent 45%);
  animation: ambientPulse 12s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.gallery-meetings-page .gallery-showcase {
  position: relative;
  z-index: 1;
}

.gallery-masonry-pro {
  gap: 16px;
  padding: 8px 16px 40px;
}

.gallery-masonry-pro .g-item {
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: linear-gradient(160deg, rgba(20, 16, 36, 0.9), rgba(8, 8, 16, 0.95));
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.gallery-masonry-pro .g-item-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-masonry-pro .g-frame {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s, inset 0.35s;
  z-index: 2;
  box-shadow: inset 0 0 30px rgba(0, 245, 255, 0.14);
}

.gallery-masonry-pro .g-item:hover .g-frame {
  opacity: 1;
}

.gallery-masonry-pro .g-item:hover {
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow:
    0 22px 50px rgba(0, 245, 255, 0.3),
    0 0 40px rgba(255, 122, 154, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gallery-masonry-pro .g-item::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(0, 245, 255, 0.25), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
  animation: gSpin 8s linear infinite;
  animation-play-state: paused;
}

.gallery-masonry-pro .g-item:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes gSpin {
  to { transform: rotate(360deg); }
}

.gallery-masonry-pro .g-item img {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .gallery-masonry-pro .g-item-feature {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ===== JOIN / REQUEST INVITE PAGE ===== */
.join-page .join-main {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 48px;
}

.join-card {
  width: 100%;
  max-width: 720px;
  padding: 36px 32px 40px;
  border-radius: 22px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background:
    radial-gradient(ellipse at top right, rgba(244, 114, 182, 0.1), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0, 245, 255, 0.14), transparent 55%),
    var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 245, 255, 0.12);
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-bright);
  margin-bottom: 14px;
}

.join-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: #fff;
}

.join-card h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.leader-slide {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  margin-bottom: 22px;
}

.leader-slide-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.leader-slide-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--purple);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.4);
  display: block;
}

.leader-slide-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, 0.35);
  animation: wallpaperFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.leader-role {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 4px;
}

.leader-slide-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 10px;
}

.leader-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.leader-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
}

.leader-tags li {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.12);
  color: var(--purple-bright);
}

.leader-open-btn {
  display: inline-flex;
}

.join-steps-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.join-steps-mini div {
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 1.4;
}

.join-steps-mini span {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--pink);
  margin-bottom: 4px;
  text-shadow: 0 0 12px rgba(244, 114, 182, 0.4);
}

.copy-note {
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  background: #0c0c14;
  overflow: hidden;
  margin-bottom: 20px;
}

.copy-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 245, 255, 0.12);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--purple-bright);
}

.copy-note-btn {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: rgba(0, 245, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.copy-note-btn:hover {
  background: rgba(0, 245, 255, 0.4);
  transform: translateY(-1px);
}

.copy-note-btn.copied {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.2);
  color: #67e8f9;
}

.copy-note-text {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.65;
  color: #e8e4f5;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-note-hint {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 12px;
  color: var(--text-dim);
}

.join-alt {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
}

.join-alt a {
  color: var(--purple-bright);
  text-decoration: none;
}

.join-alt a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .leader-slide {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .leader-tags {
    justify-content: center;
  }
  .join-steps-mini {
    grid-template-columns: 1fr 1fr;
  }
  .join-card {
    padding: 28px 18px 32px;
  }
}

/* Three leaders grid on join page */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.leader-card {
  padding: 22px 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.leader-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 245, 255, 0.18);
}

.leader-card .leader-slide-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
}

.leader-card .leader-slide-avatar img {
  width: 96px;
  height: 96px;
}

.leader-card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 8px;
  word-break: break-word;
}

.leader-card .leader-desc {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 3.2em;
}

.leader-card .leader-tags {
  justify-content: center;
  margin-bottom: 14px;
}

.leader-card .leader-open-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 12px;
  font-size: 11px;
}

@media (max-width: 800px) {
  .leaders-grid {
    grid-template-columns: 1fr;
  }
}

.copy-note-nick {
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-note-nick label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--purple-bright);
}

.copy-note-nick input {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  outline: none;
}

.copy-note-nick input:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.18);
}

.copy-note-nick input::placeholder {
  color: var(--text-dim);
}

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

@media (min-width: 900px) {
  .leaders-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .leaders-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== MOBILE VISUAL HARDENING ===== */

/* Boot fail-safe removed — controlled by JS */

/* Content always readable after animation */
body:not(.booting) .navbar,
body:not(.booting) .hero,
body:not(.booting) .section,
body:not(.booting) .footer,
body:not(.booting) .join-main {
  opacity: 1;
}

@media (max-width: 900px), (hover: none) {
  /* Boot stays available on mobile (shorter sequence in JS) */

  /* Kill heavy FX that break mobile GPU */
  .scanlines,
  .cursor-dot,
  .cursor-ring,
  .cursor-trail,
  .fx-orb,
  .page-hero-bg-logo {
    display: none !important;
  }

  .bg-grid,
  .bg-glow,
  .gallery-ambient {
    opacity: 0.35;
  }

  .page-hero-bg {
    transform: none !important;
    filter: brightness(0.45) saturate(1.05);
  }

  .hero-with-wallpaper,
  .page-hero-wallpaper {
    min-height: auto !important;
  }

  .discord-slide-card,
  .invite-panel,
  .join-card {
    transform: none !important;
  }

  /* Stack content above fixed backgrounds */
  .navbar,
  .hero,
  .section,
  .footer,
  .join-main,
  .mobile-menu {
    position: relative;
    z-index: 2;
  }

  .navbar {
    position: fixed;
    z-index: 100;
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
  }

  /* Prevent horizontal bleed */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section,
  .hero,
  .join-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Restore framed images after global img rule */
  .member-avatar img,
  .meeting-card-inner img,
  .meetup-pic-card img,
  .g-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  .crew-link-emblem img,
  .crew-icon-img img,
  .crew-link-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
  }
}

@media (max-width: 720px) {
  .discord-slide-card {
    grid-template-columns: 1fr !important;
  }

  .discord-slide-media {
    min-height: 200px !important;
  }

  .invite-panel-banner img {
    max-height: none !important;
    object-fit: contain !important;
  }

  .leaders-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-jump {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .gallery-preview.meetings-gallery,
  .gallery-preview.meetup-pics-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .nav-links {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .boot-screen {
    animation: none !important;
  }
}

/* ===== HOME HERO FULL-BLEED ===== */
.hero-fill-screen {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  position: relative;
  overflow: hidden;
}

.hero-wallpaper-fullbleed {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  z-index: 0;
}

.hero-wallpaper-full-img {
  position: absolute;
  inset: 0;
  background-image: var(--hero-full);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: none;
  filter: brightness(0.55) saturate(1.08);
  z-index: 0;
}

.hero-wallpaper-overlay-full {
  background: linear-gradient(
    105deg,
    rgba(5, 5, 10, 0.88) 0%,
    rgba(5, 5, 10, 0.72) 40%,
    rgba(5, 5, 10, 0.45) 70%,
    rgba(5, 5, 10, 0.55) 100%
  ) !important;
}

.hero-fill-screen .hero-content {
  position: relative;
  z-index: 3;
}

/* ===== SECONDARY PAGE WALLPAPERS — show FULL image ===== */
.page-hero-bg {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #120a14;
  transform: none !important;
  filter: brightness(0.7) saturate(1.1) !important;
}

/* Slightly stronger overlay so text stays readable with contain */
.page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(5, 5, 10, 0.82) 0%,
    rgba(5, 5, 10, 0.55) 45%,
    rgba(5, 5, 10, 0.4) 100%
  ) !important;
}

.page-hero-wallpaper {
  background: #120a14;
}

@media (max-width: 960px) {
  .hero-fill-screen {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  .hero-wallpaper-full-img {
    filter: brightness(0.4) saturate(1.05);
  }
  .hero-wallpaper-overlay-full {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 10, 0.55) 0%,
      rgba(5, 5, 10, 0.82) 50%,
      rgba(5, 5, 10, 0.95) 100%
    ) !important;
  }
  .page-hero-bg {
    background-size: contain !important;
    opacity: 0.9;
  }
}

.tz-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 8px;
}
@media (max-width: 720px) {
  .tz-preview-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
.fivem-rules-detailed .rule p {
  font-size: 14px;
  line-height: 1.65;
}

/* ===== LOGO IMAGE ===== */
.logo-icon-img {
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.4);
}
.logo-icon-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ===== ENHANCED BOOT (TRS-inspired) ===== */
.boot-screen {
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 245, 255, 0.16), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(244, 114, 182, 0.1), transparent 40%),
    #020208 !important;
  overflow: hidden;
}

.boot-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(18deg) scale(1.25);
  animation: bootGridDrift 18s linear infinite;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  pointer-events: none;
}

@keyframes bootGridDrift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.boot-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  animation: bootNoise 0.4s steps(2) infinite;
}

@keyframes bootNoise {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1%, 1%); }
}

.boot-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.boot-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(196, 181, 253, 0.85);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
  animation: bootParticle float linear infinite;
}

@keyframes bootParticle {
  0% { transform: translateY(100vh) scale(0.4); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.boot-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(167, 139, 250, 0.08), transparent);
  animation: bootScan 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bootScan {
  0% { top: -120px; }
  100% { top: 110%; }
}

.boot-orb-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.boot-orb {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.25), rgba(124,58,237,0.35) 40%, transparent 70%);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.45), 0 0 80px rgba(255, 122, 154, 0.25);
  animation: bootOrbPulse 2.2s ease-in-out infinite;
}

@keyframes bootOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.boot-orb-wrap .boot-ring {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.boot-orb-wrap .boot-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  font-size: 0;
}

.boot-logo-img img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.5);
}

.boot-percent {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--purple-bright);
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.5);
}

.boot-screen.done {
  opacity: 0;
  visibility: hidden;
  filter: blur(12px);
  transform: scale(1.03);
  transition: opacity 0.85s ease, visibility 0.85s ease, filter 0.85s ease, transform 0.85s ease;
}

/* ===== CURSOR — neon frame + particle trail (TRS-like) ===== */
.cursor-dot {
  width: 6px !important;
  height: 6px !important;
  background: #fff !important;
  box-shadow: 0 0 10px rgba(196, 181, 253, 0.9), 0 0 20px rgba(0, 245, 255, 0.4) !important;
  border-radius: 50% !important;
  mix-blend-mode: normal !important;
}

.cursor-ring {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow:
    0 0 0 1px rgba(176, 38, 255, 0.22),
    0 0 22px rgba(0, 245, 255, 0.22),
    inset 0 0 12px rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(1px);
  transition: width 0.18s ease, height 0.18s ease, border-radius 0.18s ease, border-color 0.16s ease, box-shadow 0.22s ease !important;
}

.cursor-ring.hover {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  border-color: rgba(196, 181, 253, 0.95) !important;
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.35),
    0 0 28px rgba(0, 245, 255, 0.45),
    inset 0 0 16px rgba(255, 255, 255, 0.1) !important;
}

.cursor-trail.neon-spark {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sparkFade 0.55s ease-out forwards;
  mix-blend-mode: screen;
}

@keyframes sparkFade {
  0% { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}

/* Boot cyberpunk polish */
.boot-title {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.55), 0 0 40px rgba(255, 122, 154, 0.25);
}
.boot-status {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan, #00F5FF);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
  min-height: 1.4em;
}
.boot-bar {
  width: min(280px, 70vw);
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.18);
  border: 1px solid rgba(0, 245, 255, 0.35);
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.22);
}
.boot-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00C4CC, #FF7A9A, #00F5FF);
  background-size: 200% 100%;
  animation: bootBarGlow 1.2s linear infinite;
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.6);
  transition: width 0.3s ease;
}
@keyframes bootBarGlow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.boot-hint {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(232, 237, 245, 0.45);
  font-family: var(--font-display);
}

/* ===== BOOT HUD — TRS-inspired cyberpunk ===== */
.boot-screen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020208;
}
.boot-screen.done {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.boot-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.15);
  transform: scale(1.08);
  animation: bootBgDrift 18s ease-in-out infinite alternate;
}

@keyframes bootBgDrift {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, 1%); }
}

.boot-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 245, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(2, 2, 8, 0.55) 0%, rgba(2, 2, 8, 0.75) 50%, rgba(2, 2, 8, 0.92) 100%);
  pointer-events: none;
}

.boot-hud {
  position: relative;
  z-index: 5;
  width: min(960px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boot-hud-top,
.boot-hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(167, 139, 250, 0.75);
}

.boot-hud-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}
.boot-hud-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00F5FF;
  box-shadow: 0 0 10px #00F5FF;
  animation: bootOrbPulse 1.4s ease-in-out infinite;
  display: block;
}
.boot-hud-meta {
  text-align: right;
  line-height: 1.5;
  color: rgba(196, 181, 253, 0.55);
}

.boot-center {
  text-align: center;
  padding: 8px 0 4px;
}

.boot-title-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4.5vw, 2.6rem);
  letter-spacing: 0.22em;
  color: transparent;
  background: linear-gradient(90deg, #67e8f9 0%, #a5f3fc 45%, #FF7A9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(0, 245, 255, 0.35));
  margin: 0 0 8px;
}

.boot-title-line {
  width: min(280px, 50vw);
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.8), rgba(244, 114, 182, 0.8), transparent);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

.boot-core {
  position: relative;
  width: min(360px, 78vw);
  height: min(360px, 78vw);
  margin: 0 auto 22px;
}

.boot-radar {
  position: absolute;
  inset: 0;
}
.boot-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.12);
}
.boot-radar-ring.r1 { inset: 6%; border-color: rgba(0, 245, 255, 0.35); }
.boot-radar-ring.r2 { inset: 16%; border-color: rgba(34, 211, 238, 0.3); animation: bootRingPulse 3s ease-in-out infinite; }
.boot-radar-ring.r3 { inset: 28%; border-color: rgba(244, 114, 182, 0.28); }
.boot-radar-ring.r4 { inset: 40%; border-color: rgba(103, 232, 249, 0.4); }

@keyframes bootRingPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.boot-radar-sweep {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(34, 211, 238, 0.28) 40deg, transparent 70deg);
  animation: bootSweep 3.5s linear infinite;
  mask-image: radial-gradient(circle, transparent 42%, black 44%);
  -webkit-mask-image: radial-gradient(circle, transparent 42%, black 44%);
}

@keyframes bootSweep {
  to { transform: rotate(360deg); }
}

.boot-core-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  height: 58%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(103, 232, 249, 0.65);
  box-shadow: 0 0 36px rgba(0, 245, 255, 0.55), 0 0 70px rgba(34, 211, 238, 0.3), inset 0 0 20px rgba(0, 245, 255, 0.15);
  z-index: 3;
  animation: bootOrbPulse 2.4s ease-in-out infinite;
}
.boot-core-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

.boot-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.boot-tag {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 2.2vw, 0.95rem);
  letter-spacing: 0.18em;
  padding: 10px 18px;
  border: 1px solid rgba(103, 232, 249, 0.55);
  background: linear-gradient(135deg, rgba(5, 12, 28, 0.92), rgba(12, 8, 28, 0.88));
  color: #e0e7ff;
  border-radius: 8px;
  box-shadow:
    0 0 18px rgba(0, 245, 255, 0.28),
    0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 12px rgba(103, 232, 249, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.boot-tag.t1 {
  left: 50%;
  top: -4%;
  transform: translateX(-50%);
  border-color: rgba(0, 245, 255, 0.6);
}
.boot-tag.t2 {
  right: -8%;
  top: 42%;
  transform: translateY(-50%);
  border-color: rgba(255, 122, 154, 0.55);
  box-shadow: 0 0 18px rgba(255, 122, 154, 0.25), 0 4px 16px rgba(0, 0, 0, 0.45);
}
.boot-tag.t3 {
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.25), 0 4px 16px rgba(0, 0, 0, 0.45);
}
.boot-tag.t4 {
  left: -8%;
  top: 42%;
  transform: translateY(-50%);
  border-color: rgba(103, 232, 249, 0.55);
}

/* ===== CAR LOADING TRACK ===== */
.boot-car-load {
  width: min(640px, 92vw);
  margin: 8px auto 0;
  text-align: center;
}
.boot-status-line {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.2em;
  color: #a5f3fc;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
  margin: 0 0 18px;
  min-height: 1.2em;
}
.boot-track {
  position: relative;
  width: 100%;
  height: 72px;
  margin: 0 auto;
}
.boot-track-road {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.28);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.12), inset 0 0 12px rgba(0, 0, 0, 0.35);
}
.boot-track-line {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 14px,
    rgba(103, 232, 249, 0.35) 14px,
    rgba(103, 232, 249, 0.35) 22px
  );
  opacity: 0.55;
  animation: bootTrackDash 0.6s linear infinite;
}
@keyframes bootTrackDash {
  from { background-position: 0 0; }
  to { background-position: -36px 0; }
}
.boot-track-glow {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.15), rgba(0, 245, 255, 0.55), rgba(255, 122, 154, 0.65));
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.45);
  border-radius: 999px;
  transition: width 0.12s linear;
}
.boot-car {
  position: absolute;
  left: 0;
  top: 50%;
  width: 96px;
  height: 40px;
  transform: translate(-8%, -58%);
  transition: left 0.12s linear;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.55));
}
.boot-car svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.boot-car-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.boot-car-meta .boot-percent {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.5vw, 1.55rem);
  letter-spacing: 0.14em;
  color: #67e8f9;
  text-shadow: 0 0 18px rgba(0, 245, 255, 0.55);
  margin: 0;
}
.boot-car-meta .boot-hint {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(196, 181, 253, 0.55);
  margin: 0;
}

@media (max-width: 720px) {
  .boot-hud-meta { display: none; }
  .boot-core {
    width: min(280px, 78vw);
    height: min(280px, 78vw);
  }
  .boot-core-logo {
    width: 56%;
    height: 56%;
  }
  .boot-tag {
    font-size: 0.65rem;
    padding: 8px 12px;
    letter-spacing: 0.14em;
  }
  .boot-tag.t2 { right: -4%; }
  .boot-tag.t4 { left: -4%; }
  .boot-car {
    width: 72px;
    height: 30px;
  }
  .boot-track {
    height: 56px;
  }
}

/* ===== CURSOR: colored arrow + large soft smoke ===== */
body.custom-cursor,
body.custom-cursor * {
  cursor: none !important;
}

.cursor-dot {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  /* CSS arrow pointer */
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  border-width: 0 0 16px 11px !important;
  border-color: transparent transparent transparent #a5f3fc !important;
  filter: drop-shadow(1px 1px 0 #00C4CC) drop-shadow(0 0 4px rgba(0, 245, 255, 0.45));
  transform: translate(0, 0) !important;
  margin: 0 !important;
}

/* Incandescent translucent arrow pointer */
.cursor-dot {
  width: 18px !important;
  height: 18px !important;
  border: none !important;
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(196, 181, 253, 0.35) 40%,
      rgba(0, 245, 255, 0.2) 100%) !important;
  clip-path: polygon(0 0, 0 100%, 28% 72%, 48% 100%, 58% 94%, 40% 64%, 100% 64%) !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 6px rgba(196, 181, 253, 0.45))
    drop-shadow(0 0 10px rgba(255, 122, 154, 0.25));
  opacity: 0.72 !important;
  mix-blend-mode: screen;
}

.cursor-ring {
  display: none !important;
}

.cursor-trail.smoke-puff {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(14px);
  animation: smokeDrift 1.1s ease-out forwards;
  mix-blend-mode: screen;
  opacity: 0.55;
}

@keyframes smokeDrift {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.75); }
  100% { opacity: 0; transform: translate(-50%, -55%) scale(1.35); }
}

/* ===== SHOOTING STAR CURSOR TRAIL — softer glow, stronger contour ===== */
.cursor-trail.star-trail {
  position: fixed;
  height: 2.5px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9998;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0%,
    var(--star, rgba(196, 181, 253, 0.55)) 35%,
    transparent 100%
  );
  /* outlined stroke look, low bloom */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(0, 245, 255, 0.2),
    0 0 4px rgba(0, 245, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform-origin: left center;
  animation: starFade 0.5s ease-out forwards;
  mix-blend-mode: normal;
  will-change: opacity, transform;
  opacity: 0.7;
}

.cursor-trail.star-spark {
  position: fixed;
  width: 4px;
  height: 4px;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 181, 253, 0.5);
  box-shadow: 0 0 4px rgba(0, 245, 255, 0.25);
  animation: sparkPop 0.35s ease-out forwards;
  mix-blend-mode: normal;
}

@keyframes starFade {
  0% {
    opacity: 0.75;
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    filter: blur(0.4px);
    transform: translate(-30%, -50%) scaleX(0.3);
  }
}

@keyframes sparkPop {
  0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}

/* Keep arrow pointer readable over trail */
body.custom-cursor .cursor-dot {
  z-index: 10000 !important;
}

/* ===== Crew detail pages ===== */
.crew-detail-hero .hero-content {
  text-align: center;
}

.crew-detail-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 32px rgba(0, 245, 255, 0.4);
  background: rgba(15, 10, 30, 0.6);
}

.crew-detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-body {
  max-width: 720px;
}

.detail-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 15px;
}

.detail-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--purple-bright);
  font-weight: 700;
}

.crew-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.crew-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.14);
  border: 1px solid rgba(0, 245, 255, 0.35);
  color: #e9d5ff;
}

.crew-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.crew-detail-hero .page-hero-bg {
  filter: blur(2px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner a {
  color: var(--purple-bright);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* Crew detail meetings placeholders */
.meeting-card-placeholder {
  cursor: default;
  pointer-events: none;
}

.meeting-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: linear-gradient(145deg, rgba(30, 20, 50, 0.9), rgba(15, 10, 30, 0.95));
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.meeting-placeholder-icon {
  font-size: 28px;
  opacity: 0.7;
}

.crew-meetings-gallery {
  max-width: 960px;
  margin: 0 auto;
}


/* Crew independence notice */
.crew-independence-notice {
  padding-top: 24px;
  padding-bottom: 8px;
}
.crew-notice-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(192, 38, 211, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.14);
}
.crew-notice-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(196, 181, 253, 0.5));
}
.crew-notice-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 8px;
}
.crew-notice-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.crew-notice-text strong {
  color: #f5e8ff;
  font-weight: 700;
}
@media (max-width: 600px) {
  .crew-notice-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
  }
}

/* ===== FLOATING MUSIC PLAYER ===== */
.bova-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9990;
  width: min(320px, calc(100vw - 24px));
  border-radius: 14px;
  background: rgba(8, 10, 18, 0.55);
  border: 1px solid rgba(120, 200, 255, 0.22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e8f4ff;
  font-family: Inter, system-ui, sans-serif;
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  transform: translateY(0);
  overflow: hidden;
}
.bova-player:hover,
.bova-player:focus-within,
.bova-player.is-active {
  opacity: 1;
  background: rgba(8, 10, 18, 0.88);
}
.bova-player.is-hidden {
  display: none !important;
}
.bova-player-notice {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.35;
  color: #dbeafe;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(0, 245, 255, 0.2));
  border-bottom: 1px solid rgba(120, 200, 255, 0.25);
}
.bova-player-notice.is-visible {
  display: flex;
}
.bova-player-notice button {
  border: none;
  background: transparent;
  color: rgba(220, 235, 255, 0.8);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
  flex-shrink: 0;
}
.bova-player-notice button:hover {
  color: #fff;
}
.bova-player-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}
.bova-player-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(120, 200, 255, 0.35);
  background: linear-gradient(145deg, rgba(40, 120, 255, 0.35), rgba(20, 40, 80, 0.5));
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.bova-player-play:hover {
  border-color: rgba(120, 200, 255, 0.7);
  box-shadow: 0 0 16px rgba(60, 160, 255, 0.35);
}
.bova-player-meta {
  min-width: 0;
}
.bova-player-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(160, 210, 255, 0.7);
  margin: 0 0 2px;
}
.bova-player-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f2f8ff;
}
.bova-player-controls {
  display: flex;
  gap: 4px;
  align-items: center;
}
.bova-player-controls button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(220, 235, 255, 0.85);
  cursor: pointer;
  font-size: 12px;
}
.bova-player-controls button:hover {
  border-color: rgba(120, 200, 255, 0.3);
  background: rgba(255,255,255,0.05);
}
.bova-player-bar-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 2px;
}
.bova-player-time {
  font-size: 10px;
  color: rgba(180, 210, 240, 0.65);
  min-width: 34px;
  font-variant-numeric: tabular-nums;
}
.bova-player-seek {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}
.bova-player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7ec8ff;
  border: none;
  box-shadow: 0 0 8px rgba(100, 180, 255, 0.6);
}
.bova-player-vol {
  width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}
.bova-player-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a8d8ff;
  border: none;
}

/* Post-boot play prompt */
.bova-music-prompt {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 9995;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.9);
  border: 1px solid rgba(120, 200, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  color: #eaf4ff;
  font-family: Inter, system-ui, sans-serif;
  backdrop-filter: blur(10px);
}
.bova-music-prompt.is-visible {
  display: flex;
}
.bova-music-prompt button {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
}
.bova-music-prompt .bova-music-dismiss {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(220,235,255,0.85);
}
@media (max-width: 520px) {
  .bova-player {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-width: none;
    border-radius: 12px;
  }
  .bova-player-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 10px 6px;
  }
  .bova-player-play {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .bova-player-label {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .bova-player-title {
    font-size: 12px;
  }
  .bova-player-controls {
    gap: 2px;
  }
  .bova-player-controls button {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .bova-player-bar-wrap {
    gap: 6px;
    padding: 0 0 2px;
  }
  .bova-player-time {
    font-size: 9px;
    min-width: 28px;
  }
  /* Volume escondido no mobile — mute no botão basta */
  .bova-player-vol {
    display: none;
  }
  .bova-player-notice {
    padding: 6px 10px;
    font-size: 10px;
  }
  .bova-music-prompt {
    left: 10px;
    right: 10px;
    bottom: 12px;
    transform: none;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 8px;
    font-size: 13px;
  }
}

/* Modo mini: só play + título (ativado via JS em telas estreitas) */
.bova-player.is-mini .bova-player-controls,
.bova-player.is-mini .bova-player-bar-wrap,
.bova-player.is-mini .bova-player-notice {
  display: none !important;
}
.bova-player.is-mini .bova-player-inner {
  grid-template-columns: auto 1fr;
  padding: 8px 10px;
}
.bova-player.is-mini {
  width: auto;
  max-width: min(240px, calc(100vw - 20px));
  left: auto;
  right: 8px;
  bottom: 8px;
}

/* ===== GALLERY CTA ABOVE IMAGES ===== */
.gallery-cta-top,
.gallery-preview-cta.gallery-cta-top {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
  margin-top: 0;
}

/* ===== HOSTS GRID CENTER WHEN FEW ===== */
.hosts-grid,
.fivem-hosts-grid,
.members-grid.hosts-grid {
  justify-content: center;
  justify-items: center;
}
.hosts-grid .member-card,
.fivem-hosts-grid .member-card {
  width: 100%;
  max-width: 220px;
}

/* ===== FOOTER CLEAR OF MUSIC PLAYER ===== */
.footer {
  padding-bottom: 100px !important;
}
.footer-inner {
  padding-bottom: 12px;
  position: relative;
  z-index: 2;
}
.footer-brand,
.footer p,
.footer-copy,
.footer-inner {
  position: relative;
  z-index: 2;
}

/* ===== LIGHTBOX VIEWER ===== */
.bova-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 4, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bova-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.bova-lightbox-inner {
  position: relative;
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bova-lightbox-img {
  max-width: 96vw;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  user-select: none;
}
.bova-lightbox-close,
.bova-lightbox-prev,
.bova-lightbox-next {
  position: absolute;
  border: none;
  background: rgba(12, 16, 28, 0.75);
  color: #e8f4ff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  z-index: 2;
  border: 1px solid rgba(120, 200, 255, 0.25);
}
.bova-lightbox-close:hover,
.bova-lightbox-prev:hover,
.bova-lightbox-next:hover {
  background: rgba(40, 80, 140, 0.9);
  transform: scale(1.06);
}
.bova-lightbox-close {
  top: 18px;
  right: 18px;
  position: fixed;
}
.bova-lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}
.bova-lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}
.bova-lightbox-prev:hover,
.bova-lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}
.bova-lightbox-counter {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(220, 235, 255, 0.85);
  background: rgba(8, 12, 22, 0.75);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(120, 200, 255, 0.2);
  z-index: 2;
  pointer-events: none;
}
body.lightbox-open {
  overflow: hidden;
  cursor: default !important;
}
body.lightbox-open,
body.lightbox-open * {
  cursor: default !important;
}
body.lightbox-open a,
body.lightbox-open button {
  cursor: pointer !important;
}
/* Hide custom cursor while lightbox is open */
body.lightbox-open .cursor-dot,
body.lightbox-open .cursor-ring,
body.lightbox-open .cursor-trail {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 600px) {
  .bova-lightbox-prev,
  .bova-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .bova-lightbox-prev { left: 8px; }
  .bova-lightbox-next { right: 8px; }
}

/* ===== GALLERY IMAGE SKELETONS ===== */
.g-item,
.meeting-card-inner,
.meetup-pic-card {
  background-color: rgba(18, 22, 36, 0.95);
}
.g-item img,
.meeting-card-inner img,
.meetup-pic-card img {
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
}
.g-item img.is-loaded,
.meeting-card-inner img.is-loaded,
.meetup-pic-card img.is-loaded {
  opacity: 1;
}
.g-item.is-skeleton::before,
.meeting-card-inner.is-skeleton::before,
.meetup-pic-card.is-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(30, 36, 55, 0.9) 0%,
    rgba(30, 36, 55, 0.9) 35%,
    rgba(70, 90, 140, 0.35) 50%,
    rgba(30, 36, 55, 0.9) 65%,
    rgba(30, 36, 55, 0.9) 100%
  );
  background-size: 200% 100%;
  animation: bovaSkeleton 1.25s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}
.g-item.is-skeleton,
.meeting-card-inner.is-skeleton,
.meetup-pic-card.is-skeleton {
  position: relative;
}
@keyframes bovaSkeleton {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.g-item:not(.is-skeleton) img,
.meeting-card-inner:not(.is-skeleton) img,
.meetup-pic-card:not(.is-skeleton) img {
  /* keep hover filters working after load */
}

/* Lightbox filmstrip (mini previews) */
.bova-lightbox-filmstrip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(to top, rgba(2, 4, 12, 0.95) 40%, rgba(2, 4, 12, 0.55) 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 180, 255, 0.35) transparent;
}
.bova-lightbox-filmstrip::-webkit-scrollbar {
  height: 4px;
}
.bova-lightbox-filmstrip::-webkit-scrollbar-thumb {
  background: rgba(120, 180, 255, 0.35);
  border-radius: 99px;
}
.bova-lightbox-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(20, 28, 45, 0.8);
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}
.bova-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.bova-lightbox-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.bova-lightbox-thumb.is-active {
  opacity: 1;
  border-color: #7ec8ff;
  box-shadow: 0 0 12px rgba(100, 180, 255, 0.45);
  transform: translateY(-3px);
}
@media (max-width: 600px) {
  .bova-lightbox-thumb {
    width: 48px;
    height: 48px;
  }
  .bova-lightbox-counter {
    bottom: 148px;
  }
  .bova-lightbox-img {
    max-height: calc(100vh - 200px);
  }
}

/* ===== EMPTY GALLERY PLACEHOLDERS (coming soon) ===== */
.g-item-placeholder {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 24, 40, 0.9), rgba(12, 14, 28, 0.95));
  border: 1px dashed rgba(126, 200, 255, 0.28);
  min-height: 140px;
  cursor: default;
  pointer-events: none;
}
.g-item-placeholder .g-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(126, 200, 255, 0.03) 8px,
      rgba(126, 200, 255, 0.03) 16px
    );
}
.g-item-placeholder .g-placeholder-icon {
  font-size: 28px;
  opacity: 0.45;
  filter: grayscale(0.3);
}
.g-item-placeholder .g-placeholder-label {
  font-family: var(--font-display), Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(168, 212, 255, 0.75);
  font-weight: 600;
}
.g-item-placeholder .g-placeholder-sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  color: rgba(180, 190, 210, 0.45);
  max-width: 160px;
  line-height: 1.35;
}
.g-item-placeholder .g-frame {
  opacity: 0.35;
}
.g-item-placeholder:hover {
  transform: none;
  border-color: rgba(126, 200, 255, 0.4);
}

/* ===== PWA Install Banner ===== */
.pwa-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  opacity: 0;
}

.pwa-banner-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-banner-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(18, 18, 32, 0.97), rgba(10, 10, 20, 0.98));
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(0, 245, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pwa-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.3);
}

.pwa-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-banner-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pwa-banner-text strong {
  font-family: var(--font-display), Orbitron, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8edf5;
}

.pwa-banner-text span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.pwa-banner-text span b {
  color: var(--purple-bright);
  font-weight: 600;
}

.pwa-ios-share {
  display: inline-block;
  font-size: 13px;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pwa-btn-install {
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-display), Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 10px;
  color: #120a14;
  background: linear-gradient(135deg, #a5f3fc, #00F5FF);
  box-shadow: 0 4px 16px rgba(0, 245, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.pwa-btn-install:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.pwa-btn-install:active {
  transform: translateY(0);
}

.pwa-btn-install:disabled {
  opacity: 0.55;
  cursor: wait;
}

.pwa-btn-dismiss {
  appearance: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pwa-btn-dismiss:hover {
  color: #fff;
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.35);
}

@media (max-width: 420px) {
  .pwa-banner-inner {
    padding: 11px 12px;
    gap: 10px;
  }
  .pwa-banner-text strong {
    font-size: 12px;
  }
  .pwa-banner-text span {
    font-size: 11px;
  }
  .pwa-btn-install {
    padding: 9px 11px;
    font-size: 10px;
  }
}

/* Hide install UI when already running as installed app */
@media (display-mode: standalone), (display-mode: fullscreen) {
  .pwa-banner,
  .btn-install-app {
    display: none !important;
  }
}


/* ============================================================
   BOVARYNOW — isolated Home preview + official secondary page
   ============================================================ */
.bovarynow-home-promo{position:absolute;
  right:clamp(18px,4vw,70px);
  top:clamp(104px,14vh,150px);
  z-index:8;
  width:min(390px,30vw);
  min-width:310px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  pointer-events:none;
}
.bovarynow-home-promo{pointer-events:none}
.bovarynow-home-copy{
  width:210px;
  text-align:right;
  pointer-events:auto;
  text-shadow:0 8px 30px rgba(0,0,0,.65);
}
.bovarynow-kicker{display:block;color:#67e8f9;font-size:8px;font-weight:800;letter-spacing:1.5px;margin-bottom:8px}
.bovarynow-kicker i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#34d399;box-shadow:0 0 12px #34d399;margin-right:6px}
.bovarynow-home-copy h2{font-family:Orbitron,sans-serif;font-size:24px;letter-spacing:2px;margin:0;color:#f8fafc}
.bovarynow-home-copy h2 span{background:linear-gradient(90deg,#00F5FF,#c084fc,#FF7A9A);-webkit-background-clip:text;background-clip:text;color:transparent}
.bovarynow-home-copy p{font-size:11px;line-height:1.5;color:#cbd5e1;margin:7px 0 12px}
.bovarynow-home-btn{font-size:9px!important;padding:9px 12px!important}
.bovarynow-phone{
  position:relative;
  width:145px;
  height:290px;
  padding:7px;
  border:1px solid rgba(196,181,253,.45);
  border-radius:26px;
  background:linear-gradient(145deg,#151521,#120a14 58%,#17102b);
  box-shadow:0 0 0 1px rgba(34,211,238,.08),0 0 42px rgba(124,58,237,.22),0 22px 55px rgba(0,0,0,.5);
  transform:rotate(2deg);
}
.bovarynow-phone:before{content:"";position:absolute;inset:5px;border-radius:22px;border:1px solid rgba(255,255,255,.08);pointer-events:none}
.phone-speaker{position:absolute;z-index:3;top:10px;left:50%;transform:translateX(-50%);width:44px;height:5px;border-radius:9px;background:#020207}
.phone-screen{position:relative;height:100%;overflow:hidden;border-radius:20px;background:#06060c;padding:15px 10px 10px;font-family:Inter,sans-serif}
.app-mini-top{display:flex;justify-content:space-between;color:#e8edf5;font:700 8px Orbitron;letter-spacing:1px}
.app-mini-top b{color:#34d399;font-size:8px}
.app-mini-status{display:flex;justify-content:space-between;align-items:center;margin:13px 0 8px;font-size:6px;color:#34d399;letter-spacing:.7px}
.app-mini-status em{font-style:normal;color:#94a3b8;border:1px solid #263041;border-radius:20px;padding:3px 5px}
.app-mini-banner{height:92px;overflow:hidden;border-radius:9px;border:1px solid rgba(124,58,237,.35);position:relative}
.app-mini-banner img{width:100%;height:100%;object-fit:cover;opacity:.78}
.app-mini-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(3,3,8,.9))}
.app-mini-banner div{position:absolute;z-index:2;left:7px;right:7px;bottom:7px}
.app-mini-banner small,.app-mini-count small{display:block;color:#64748b;font-size:5px;letter-spacing:1px}
.app-mini-banner strong{display:block;color:#fff;font-size:9px;margin-top:2px}
.app-mini-count{margin-top:9px;padding:8px;border-radius:8px;background:#0c0c15;border:1px solid rgba(34,211,238,.15)}
.app-mini-count strong{display:block;color:#00F5FF;font:800 16px Orbitron;margin-top:4px}
.app-mini-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
.app-mini-meta span{font-size:5px;color:#64748b;background:#0c0c15;border:1px solid #171b29;border-radius:7px;padding:6px}
.app-mini-meta b{color:#e8edf5;font-size:6px}
.bovarynow-home-promo .bovarynow-phone{animation:bovaryPhoneFloat 5.5s ease-in-out infinite;transform-origin:50% 85%}
.bovarynow-home-promo:after{content:"BOVARYNOW · COMMUNITY BETA";position:absolute;right:0;bottom:-18px;font:700 7px Orbitron;letter-spacing:1.5px;color:rgba(148,163,184,.45);white-space:nowrap}
.app-mini-brand{display:flex;align-items:center;gap:5px;color:#e8edf5;font:700 7px Orbitron;letter-spacing:.8px}
.app-mini-brand img{width:14px;height:14px;object-fit:contain;border-radius:4px}
.app-mini-brand b{margin-left:auto;color:#34d399;font-size:8px}
@keyframes bovaryPhoneFloat{0%,100%{transform:translate3d(0,0,0) rotate(2deg)}25%{transform:translate3d(7px,-5px,0) rotate(0deg)}50%{transform:translate3d(-2px,-13px,0) rotate(-2deg)}75%{transform:translate3d(-7px,-6px,0) rotate(1deg)}}

.bn-page-wallpaper{position:fixed;inset:0;z-index:-3;pointer-events:none;background-image:linear-gradient(180deg,rgba(5,5,10,.62),rgba(5,5,10,.96)),url("https://ik.imagekit.io/BassaniStudios/ChatGPT%20Image%202%20de%20set.%20de%202026,%2021_35_07.png");background-size:cover;background-position:center;filter:saturate(.9);opacity:.34}
.bn-brand-lockup{display:inline-flex;align-items:center;gap:10px;margin-bottom:14px;padding:6px 10px 6px 6px;border:1px solid rgba(196,181,253,.18);border-radius:30px;background:rgba(10,10,18,.48);backdrop-filter:blur(8px)}
.bn-brand-lockup img{width:34px;height:34px;object-fit:contain;border-radius:8px}.bn-brand-lockup span{font:700 8px Orbitron;letter-spacing:1.5px;color:#94a3b8}

/* Official BovaryNow secondary page */
.bovarynow-page{overflow-x:hidden}
.bovarynow-hero{
  min-height:calc(100vh - 72px);position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.75fr);
  gap:50px;align-items:center;padding:110px clamp(22px,7vw,110px) 80px;
  background:
    radial-gradient(circle at 78% 30%,rgba(124,58,237,.2),transparent 30%),
    radial-gradient(circle at 18% 70%,rgba(34,211,238,.09),transparent 28%),
    #120a14;
}
.bovarynow-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:45px 45px;mask-image:linear-gradient(to bottom,#000,transparent 95%);pointer-events:none}
.bn-hero-copy,.bn-hero-device{position:relative;z-index:1}
.bn-overline{display:inline-flex;align-items:center;gap:8px;color:#67e8f9;font-size:10px;font-weight:800;letter-spacing:2px;border:1px solid rgba(167,139,250,.25);background:rgba(124,58,237,.07);border-radius:30px;padding:7px 11px}
.bn-overline i{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 14px #34d399}
.bn-hero-copy h1{font-family:Orbitron,sans-serif;font-size:clamp(46px,7vw,92px);line-height:.94;letter-spacing:-2px;margin:24px 0 20px}
.bn-gradient{background:linear-gradient(100deg,#00F5FF 0%,#8b5cf6 45%,#FF7A9A 80%);-webkit-background-clip:text;background-clip:text;color:transparent}
.bn-hero-copy>p{max-width:650px;color:#aab5c8;font-size:16px;line-height:1.8;margin:0 0 25px}
.bn-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.bn-note{margin-top:13px;color:#64748b;font-size:10px;letter-spacing:.6px}
.bn-device-wrap{display:flex;justify-content:center;align-items:center;min-height:560px;position:relative}
.bn-device-wrap:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(124,58,237,.16);filter:blur(55px);z-index:-1}
.bn-phone{width:min(310px,72vw);height:620px;padding:10px;border-radius:42px;transform:rotate(4deg);box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 90px rgba(124,58,237,.28),0 35px 80px rgba(0,0,0,.65)}
.bn-phone .phone-screen{border-radius:32px;padding:27px 17px 17px}
.bn-phone .phone-speaker{top:16px;width:75px;height:7px}
.bn-app-top{display:flex;justify-content:space-between;align-items:center;color:#e8edf5;font:700 11px Orbitron;letter-spacing:1px}
.bn-app-top small{font:500 8px Inter;color:#64748b}
.bn-app-status{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}
.bn-status-live{color:#34d399;font-size:9px;letter-spacing:1px;font-weight:800}
.bn-status-pill{font-size:7px;color:#a5f3fc;border:1px solid rgba(196,181,253,.25);padding:5px 7px;border-radius:20px}
.bn-ui-card{border:1px solid rgba(124,58,237,.25);background:#1c101c;border-radius:14px;padding:11px;margin-bottom:10px}
.bn-ui-banner{height:155px;border-radius:10px;overflow:hidden;position:relative;margin:-2px -2px 11px}
.bn-ui-banner img{width:100%;height:100%;object-fit:cover;opacity:.75}
.bn-ui-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(4,4,9,.92))}
.bn-ui-banner-label{position:absolute;z-index:2;bottom:10px;left:10px}
.bn-ui-banner-label small{font-size:7px;color:#94a3b8;letter-spacing:1px}.bn-ui-banner-label strong{display:block;color:#fff;font:700 13px Orbitron;margin-top:3px}
.bn-ui-title{font:700 13px Orbitron;color:#f8fafc;letter-spacing:.5px}
.bn-ui-count{font:800 23px Orbitron;color:#00F5FF;letter-spacing:1px;margin:8px 0}
.bn-ui-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bn-ui-meta{background:#2a1826;border-radius:9px;padding:8px}.bn-ui-meta small{display:block;color:#64748b;font-size:7px;letter-spacing:1px}.bn-ui-meta b{display:block;color:#e8edf5;font-size:9px;margin-top:3px}
.bn-ui-ann{font-size:8px;line-height:1.5;color:#94a3b8}.bn-ui-ann b{display:block;color:#FF7A9A;font-size:8px;margin-bottom:3px}
.bn-scroll-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:8px;color:#64748b;letter-spacing:2px}

.bn-section{position:relative;padding:95px clamp(22px,7vw,110px);background:#120a14}
.bn-section.alt{background:#07070e}
.bn-section-head{max-width:780px;margin:0 auto 48px;text-align:center}.bn-section-head .label{color:#67e8f9;font-size:9px;letter-spacing:2px;font-weight:800}.bn-section-head h2{font:700 clamp(28px,4vw,48px) Orbitron;margin:10px 0 12px;color:#f8fafc}.bn-section-head h2 span{background:linear-gradient(90deg,#00F5FF,#c084fc,#FF7A9A);-webkit-background-clip:text;background-clip:text;color:transparent}.bn-section-head p{color:#94a3b8;line-height:1.7;font-size:13px}
.bn-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;max-width:1180px;margin:auto}
.bn-feature{padding:25px;border:1px solid rgba(148,163,184,.1);border-radius:18px;background:linear-gradient(145deg,rgba(18,18,28,.92),rgba(7,7,14,.9));position:relative;overflow:hidden}.bn-feature:before{content:"";position:absolute;top:0;left:0;width:55%;height:1px;background:linear-gradient(90deg,#00F5FF,#8b5cf6,transparent)}.bn-feature-icon{font-size:24px;margin-bottom:15px}.bn-feature h3{font:600 14px Orbitron;color:#f8fafc;letter-spacing:.5px}.bn-feature p{color:#94a3b8;font-size:12px;line-height:1.7}.bn-feature strong{color:#e8edf5}

.bn-interface-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1180px;margin:auto}
.bn-screen-card{border:1px solid rgba(124,58,237,.2);border-radius:20px;background:#090910;padding:10px;box-shadow:0 18px 50px rgba(0,0,0,.3);transition:transform .3s ease,border-color .3s ease}.bn-screen-card:hover{transform:translateY(-7px);border-color:rgba(34,211,238,.4)}
.bn-screen{height:390px;border-radius:14px;background:#06060c;border:1px solid #161a27;padding:14px;overflow:hidden}.bn-screen .bn-ui-banner{height:112px}.bn-screen .bn-ui-count{font-size:17px}.bn-screen-title{font:600 10px Orbitron;color:#e8edf5;margin:13px 3px 5px}.bn-screen-desc{font-size:9px;color:#64748b;line-height:1.55;margin:0 3px}.bn-screen-tag{display:inline-block;margin:12px 3px 0;font-size:7px;color:#00F5FF;border:1px solid rgba(34,211,238,.2);padding:5px 6px;border-radius:20px}

.bn-countdown-stage{max-width:1100px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.bn-count-copy h3{font:600 27px Orbitron;color:#f8fafc;margin:0 0 13px}.bn-count-copy p{color:#94a3b8;font-size:13px;line-height:1.8}.bn-live-label{color:#00F5FF;font-size:9px;letter-spacing:2px;font-weight:800}.bn-sync-badge{display:inline-flex;margin-top:12px;padding:7px 10px;border:1px solid rgba(34,211,238,.18);border-radius:20px;color:#67e8f9;font-size:8px;letter-spacing:1px}
.bn-count-phone{display:flex;justify-content:center}.bn-count-phone .bn-phone{transform:rotate(-3deg) scale(.8);transform-origin:center}.bn-count-big{font:800 30px Orbitron;color:#00F5FF;letter-spacing:2px;text-align:center;padding:18px 8px}.bn-count-big.active{color:#34d399}.bn-count-big.soon{color:#fbbf24}

.bn-architecture{max-width:1050px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:0}.bn-arch-node{padding:20px 12px;text-align:center;border:1px solid rgba(124,58,237,.18);background:#1c101c;position:relative}.bn-arch-node:not(:last-child):after{content:"→";position:absolute;right:-11px;top:50%;transform:translateY(-50%);z-index:2;color:#00F5FF;background:#07070e;padding:2px 4px}.bn-arch-icon{font-size:22px}.bn-arch-node b{display:block;color:#e8edf5;font:600 10px Orbitron;margin-top:9px}.bn-arch-node span{display:block;color:#64748b;font-size:8px;margin-top:5px;line-height:1.4}
.bn-architecture-note{max-width:850px;margin:28px auto 0;text-align:center;color:#64748b;font-size:10px;line-height:1.7}

.bn-history{max-width:1050px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.bn-history-card{border-radius:16px;overflow:hidden;background:#1c101c;border:1px solid rgba(148,163,184,.1)}.bn-history-img{height:155px;overflow:hidden}.bn-history-img img{width:100%;height:100%;object-fit:cover}.bn-history-body{padding:16px}.bn-history-body small{color:#64748b;font-size:8px;letter-spacing:1px}.bn-history-body h3{color:#f8fafc;font:600 13px Orbitron;margin:7px 0}.bn-history-body p{color:#94a3b8;font-size:10px;line-height:1.6;margin:0}


.bn-visual-strip{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bn-visual-strip figure{margin:0;position:relative;min-height:190px;border-radius:16px;overflow:hidden;border:1px solid rgba(124,58,237,.18);background:#090910;box-shadow:0 16px 45px rgba(0,0,0,.28)}
.bn-visual-strip img{width:100%;height:100%;min-height:190px;object-fit:cover;display:block;opacity:.72;transition:transform .45s ease,opacity .45s ease,filter .45s ease}
.bn-visual-strip figure:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(4,4,9,.9))}
.bn-visual-strip figure:hover img{transform:scale(1.04);opacity:.95;filter:saturate(1.1)}
.bn-visual-strip figcaption{position:absolute;z-index:2;left:13px;bottom:12px;font:700 8px Orbitron;letter-spacing:1.3px;color:#e8edf5}

.bn-beta{max-width:900px;margin:auto;border:1px solid rgba(251,191,36,.2);background:linear-gradient(145deg,rgba(251,191,36,.05),rgba(124,58,237,.05));border-radius:20px;padding:32px}.bn-beta-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.bn-beta h2{font:700 22px Orbitron;color:#f8fafc;margin:0}.bn-beta-badge{color:#fbbf24;border:1px solid rgba(251,191,36,.3);border-radius:30px;padding:7px 10px;font-size:8px;letter-spacing:1.5px}.bn-beta p{color:#94a3b8;font-size:12px;line-height:1.8}.bn-beta ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;list-style:none;padding:0;margin:20px 0 0}.bn-beta li{color:#cbd5e1;font-size:10px;padding:9px 11px;border-radius:9px;background:rgba(255,255,255,.025)}.bn-beta li:before{content:"•";color:#fbbf24;margin-right:7px}
.bn-cta{text-align:center;padding-bottom:110px}.bn-cta h2{font:700 clamp(25px,4vw,44px) Orbitron;color:#f8fafc}.bn-cta p{color:#94a3b8;font-size:13px}.bn-footer-note{color:#475569;font-size:8px;letter-spacing:1px;margin-top:20px}

/* Optional live Supabase countdown */
.bn-live-data{font-size:7px;color:#64748b;margin-top:8px;text-align:center;letter-spacing:.5px}
.bn-live-data.ok{color:#34d399}.bn-live-data.err{color:#fbbf24}

/* Mobile — intentionally light: the Home preview never blocks the rest of the page */
@media (max-width:1050px){
  .bovarynow-home-promo{position:absolute;right:18px;width:330px;min-width:0}.bovarynow-home-copy{width:165px}.bovarynow-home-phone{width:118px;height:236px}.app-mini-banner{height:73px}.bovarynow-home-copy h2{font-size:19px}
  .bn-feature-grid{grid-template-columns:1fr 1fr}.bn-interface-grid{grid-template-columns:1fr 1fr}.bn-history{grid-template-columns:1fr 1fr}.bn-visual-strip{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .bovarynow-home-promo{position:absolute;position:relative;right:auto;top:auto;width:auto;margin:22px 16px 0;justify-content:center;gap:10px;pointer-events:auto}.bovarynow-home-copy{width:min(52vw,190px);text-align:left}.bovarynow-home-phone{width:96px;height:192px;border-radius:19px;padding:5px}.bovarynow-home-phone .phone-screen{border-radius:15px;padding:11px 7px 7px}.bovarynow-home-phone .phone-speaker{top:8px;width:31px;height:3px}.app-mini-status{margin:8px 0 5px}.app-mini-banner{height:57px}.app-mini-count{margin-top:5px;padding:5px}.app-mini-count strong{font-size:10px}.app-mini-meta{gap:3px;margin-top:4px}.app-mini-meta span{padding:4px;font-size:4px}.app-mini-meta b{font-size:5px}.bovarynow-home-copy h2{font-size:18px}.bovarynow-home-copy p{font-size:10px;margin:5px 0 8px}.bovarynow-home-btn{font-size:8px!important;padding:8px 9px!important}
  .bn-hero{min-height:auto!important}.bovarynow-hero{grid-template-columns:1fr;gap:15px;padding:95px 18px 65px;text-align:center}.bn-hero-copy>p{font-size:13px;line-height:1.65}.bn-hero-actions{justify-content:center}.bn-device-wrap{min-height:430px}.bn-phone{height:430px;width:215px;border-radius:30px}.bn-phone .phone-screen{border-radius:23px;padding:19px 11px 11px}.bn-phone .phone-speaker{top:11px;width:55px;height:5px}.bn-ui-banner{height:105px}.bn-ui-count{font-size:18px}
  .bn-section{padding:65px 16px}.bn-section-head{margin-bottom:30px}.bn-feature-grid,.bn-interface-grid,.bn-history,.bn-visual-strip{grid-template-columns:1fr}.bn-screen{height:350px}.bn-countdown-stage{grid-template-columns:1fr;gap:10px}.bn-count-phone{order:-1}.bn-count-phone .bn-phone{transform:scale(.68)}.bn-architecture{grid-template-columns:1fr 1fr;gap:8px}.bn-arch-node:not(:last-child):after{display:none}.bn-beta{padding:22px}.bn-beta-top{align-items:flex-start;flex-direction:column}.bn-beta ul{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.bovarynow-home-promo .bovarynow-phone{animation:none}.bn-screen-card{transition:none}}

/* ============================================================
   BOVARYNOW v3 — readability + straight mobile previews + docked Home motion
   ============================================================ */
.bovarynow-home-section{
  position:relative;
  min-height:520px;
  overflow:visible !important;
  background:
    radial-gradient(circle at 82% 35%, rgba(34,211,238,.08), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(192,132,252,.07), transparent 30%),
    #120a14;
  border-top:1px solid rgba(124,58,237,.12);
  border-bottom:1px solid rgba(124,58,237,.12);
}
.bovarynow-home-section-head{max-width:820px;margin:0 300px 8px 0;text-align:left}.bovarynow-home-section-head p{max-width:760px;margin-bottom:0}
.bovarynow-section-label{font:800 12px Orbitron,sans-serif;letter-spacing:.18em;color:#67e8f9;text-shadow:0 0 16px rgba(34,211,238,.35);margin-bottom:10px}
.bovarynow-section-label i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 14px #34d399;margin-right:8px}
.bovarynow-home-section-head h2{font-size:clamp(34px,5vw,58px) !important;text-shadow:0 0 35px rgba(124,58,237,.25)}
.bovarynow-home-section-grid{max-width:1280px;margin:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(160px,240px) minmax(220px,300px);gap:18px 12px;align-items:center;min-height:250px}.bovarynow-home-section-grid .bovarynow-phone-dock{grid-column:3;grid-row:1;margin-top:-205px;pointer-events:none}
.bovarynow-home-section-copy{max-width:690px;padding:6px 0 25px;grid-column:1}
.bovarynow-home-section-copy>strong{display:block;font:800 17px Orbitron;color:#f8fafc;letter-spacing:.08em;text-shadow:0 0 18px rgba(244,114,182,.2);margin-bottom:8px}
.bovarynow-home-section-copy>p{font-size:1.12rem;line-height:1.8;color:#cbd5e1;max-width:680px}
.bovarynow-home-points{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 10px}
.bovarynow-home-points span{font:700 11px Orbitron;color:#dbeafe;border:1px solid rgba(167,139,250,.25);background:rgba(124,58,237,.08);padding:10px 12px;border-radius:999px;box-shadow:0 0 18px rgba(124,58,237,.08)}
.bovarynow-phone-dock{min-height:290px;display:flex;align-items:center;justify-content:center;position:relative}
.bovarynow-phone-dock:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.13),transparent 68%);filter:blur(4px);pointer-events:none}
.bovarynow-phone-dock .bovarynow-home-phone{position:relative !important;left:auto !important;top:auto !important;width:145px !important;height:290px !important;margin:0 !important;transform:none !important;z-index:2}

/* Straight screens: angled mockups reduce readability, especially on mobile. */
.bovarynow-phone,
.bn-phone,
.bn-count-phone .bn-phone{transform:none !important;transform-origin:center center !important}
.bovarynow-home-promo .bovarynow-home-phone{animation:none !important}

/* Larger global typography while preserving the existing visual language. */
body{font-size:17px}
.section-header p,.meet-subtitle,.meet-details,.about-content p,.feature p,.rule p,.crew-link-url,.tz-card p{font-size:1rem !important;line-height:1.7 !important}
.member-card h4,.crew-link-info h4,.tz-card h4,.meet-card h4,.fivem-card h4,.feature h4,.rule h4{font-size:1.12rem !important}
.nav-links a{font-size:12px !important}
.btn-primary,.btn-secondary,.btn-discord,.btn-full,.btn-lg{font-size:.9rem !important}

/* BovaryNow page readability. */
.bovarynow-page{font-size:17px}
.bovarynow-page .bn-section-head .label{font-size:11px}
.bovarynow-page .bn-section-head h2{font-size:clamp(34px,4.5vw,54px)}
.bovarynow-page .bn-section-head p{font-size:1.05rem;line-height:1.8}
.bovarynow-page .bn-feature h3{font-size:16px}
.bovarynow-page .bn-feature p{font-size:1rem;line-height:1.8}
.bovarynow-page .bn-screen-title{font-size:12px}
.bovarynow-page .bn-screen-desc{font-size:1rem;line-height:1.7}
.bovarynow-page .bn-count-copy h3{font-size:32px}
.bovarynow-page .bn-count-copy p{font-size:1.05rem;line-height:1.8}
.bovarynow-page .bn-history-body h3{font-size:15px}
.bovarynow-page .bn-history-body p{font-size:1rem;line-height:1.7}
.bovarynow-page .bn-beta h2{font-size:25px}
.bovarynow-page .bn-beta p,.bovarynow-page .bn-beta li{font-size:1rem;line-height:1.7}
.bovarynow-page .bn-architecture-note{font-size:.95rem;line-height:1.8}

/* Make the BovaryNow hero emblem a large atmospheric wallpaper, not a small badge. */
.bovarynow-page .bovarynow-hero{
  background-image:
    linear-gradient(90deg,rgba(5,5,10,.96) 0%,rgba(5,5,10,.80) 42%,rgba(5,5,10,.35) 100%),
    url("https://ik.imagekit.io/BassaniStudios/ChatGPT%20Image%208%20de%20set.%20de%202026,%2021_54_42.png");
  background-repeat:no-repeat;
  background-position:center, 78% 48%;
  background-size:cover, min(58vw,760px);
}
.bovarynow-page .bn-brand-lockup{display:none !important}
.bovarynow-page .bn-hero-copy{position:relative;z-index:2}

@media (max-width:900px){
  body,.bovarynow-page{font-size:16px}
  .bovarynow-home-section{min-height:auto;overflow:hidden !important}
  .bovarynow-home-section-head{margin:0 0 6px;text-align:center;max-width:100%}
  .bovarynow-home-section-grid{grid-template-columns:1fr;gap:10px}
  .bovas-bot-inline{display:none!important;grid-column:auto;grid-row:auto;margin-top:0}
  .bovarynow-home-section-copy{padding-top:5px}
  .bovarynow-home-section-copy>p{font-size:1rem}
  .bovarynow-home-section-grid .bovarynow-phone-dock{grid-column:1;grid-row:2;margin-top:0;min-height:0;padding:10px 0 20px}
  .bovarynow-home-promo .bovarynow-home-phone{animation:none !important}
  .bovarynow-home-promo{position:relative !important;right:auto !important;top:auto !important;transform:none !important}
  .bovarynow-page .bovarynow-hero{background-position:center,center top;background-size:cover, min(90vw,520px);}
  .bovarynow-page .bn-section-head h2{font-size:clamp(30px,9vw,44px)}
  .bovarynow-page .bn-feature p,.bovarynow-page .bn-screen-desc,.bovarynow-page .bn-history-body p{font-size:.98rem}
}

/* Extra legibility inside all BovaryNow phone mockups. */
.bovarynow-page .bn-phone .bn-app-top{font-size:11px}
.bovarynow-page .bn-phone .bn-app-top small{font-size:9px}
.bovarynow-page .bn-phone .bn-app-status{font-size:10px}
.bovarynow-page .bn-phone .bn-status-pill{font-size:9px}
.bovarynow-page .bn-phone .bn-ui-banner-label small{font-size:9px}
.bovarynow-page .bn-phone .bn-ui-banner-label strong{font-size:15px}
.bovarynow-page .bn-phone .bn-ui-title{font-size:15px}
.bovarynow-page .bn-phone .bn-ui-count{font-size:25px}
.bovarynow-page .bn-phone .bn-ui-meta small{font-size:9px}
.bovarynow-page .bn-phone .bn-ui-meta b{font-size:11px}
.bovarynow-page .bn-phone .bn-ui-ann{font-size:10px;line-height:1.6}
@media (max-width:900px){
  .bovarynow-page .bn-phone .bn-ui-banner-label strong{font-size:13px}
  .bovarynow-page .bn-phone .bn-ui-count{font-size:21px}
}

/* ===================== BOVARYNOW V4 REFINEMENT ===================== */
/* Home: static phone, visually parked beside the first BovaryNow section. */
.bovarynow-home-promo{position:absolute !important;right:clamp(24px,6vw,90px);top:50%;transform:translateY(-50%);animation:none !important;z-index:5}
.bovarynow-home-promo .bovarynow-home-phone{animation:none !important;transform:none !important}
.bovarynow-home-section{position:relative;overflow:visible}
.bovarynow-home-section-grid{align-items:center}
.bovarynow-home-section-grid .bovarynow-phone-dock{margin-top:0 !important}

/* Global readability boost: larger type + stronger focal hierarchy. */
body{font-size:16px}
.section-header p,.section-header,.meet-details,.meet-subtitle,.card p{font-size:1.05rem}
.section-header h2{font-size:clamp(38px,5vw,64px);text-shadow:0 0 28px rgba(124,58,237,.28)}
.section-header h2 span{filter:drop-shadow(0 0 12px rgba(34,211,238,.18))}
.btn-primary,.btn-secondary,.btn-discord,.btn-install-app{font-size:clamp(12px,.85vw,15px)}

/* BovaryNow dedicated hero: phone first, editorial copy below it, Android visual beside the copy. */
.bovarynow-hero-v2{display:block;position:relative;min-height:calc(100vh - 72px);padding:105px clamp(22px,7vw,110px) 85px;overflow:hidden;background:rgba(5,5,10,.22)}
.bovarynow-hero-v2:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 18%,rgba(124,58,237,.18),transparent 34%),linear-gradient(180deg,rgba(5,5,10,.1),rgba(5,5,10,.72));pointer-events:none}
.bovarynow-hero-v2 .bn-hero-device-first,.bovarynow-hero-v2 .bn-hero-lower{position:relative;z-index:2}
.bovarynow-hero-v2 .bn-hero-device-first{max-width:1180px;margin:0 auto}
.bovarynow-hero-v2 .bn-device-wrap{min-height:500px;align-items:flex-start;padding-top:10px}
.bovarynow-hero-v2 .bn-phone{transform:none !important;width:min(335px,76vw);height:670px}
.bovarynow-hero-v2 .bn-phone .phone-screen{padding:30px 18px 18px}
.bovarynow-hero-v2 .bn-hero-lower{max-width:1180px;margin:10px auto 0;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:50px;align-items:center}
.bovarynow-hero-v2 .bn-hero-copy{max-width:800px}
.bovarynow-hero-v2 .bn-hero-copy h1{font-size:clamp(58px,8vw,108px);margin:20px 0 20px;text-shadow:0 0 35px rgba(124,58,237,.28)}
.bovarynow-hero-v2 .bn-hero-copy>p{font-size:clamp(17px,1.35vw,22px);line-height:1.75;color:#d2d9e7}
.bovarynow-hero-v2 .bn-hero-copy>p strong{color:#fff;font-size:1.08em}
.bovarynow-hero-v2 .bn-overline{font-size:12px;padding:9px 14px}
.bovarynow-hero-v2 .bn-note{font-size:11px}
.bn-android-visual{display:flex;justify-content:center;align-items:center;min-height:260px;position:relative}
.bn-android-visual:before{content:"";position:absolute;width:230px;height:230px;border-radius:50%;background:rgba(34,211,238,.13);filter:blur(55px)}
.bn-android-visual img{position:relative;width:min(310px,100%);max-height:330px;object-fit:contain;filter:drop-shadow(0 0 28px rgba(34,211,238,.18));opacity:.95}

/* Dedicated app page: larger text inside every phone screen. Keep all device previews straight. */
.bovarynow-page .bn-phone,.bovarynow-page .bn-count-phone .bn-phone{transform:none !important}
.bovarynow-page .bn-app-top{font-size:14px}
.bovarynow-page .bn-app-top small{font-size:10px}
.bovarynow-page .bn-status-live{font-size:12px}
.bovarynow-page .bn-status-pill{font-size:10px}
.bovarynow-page .bn-ui-banner-label small{font-size:10px}
.bovarynow-page .bn-ui-banner-label strong{font-size:17px}
.bovarynow-page .bn-ui-title{font-size:17px}
.bovarynow-page .bn-ui-count{font-size:29px}
.bovarynow-page .bn-ui-meta small{font-size:10px}
.bovarynow-page .bn-ui-meta b{font-size:13px}
.bovarynow-page .bn-ui-ann{font-size:11px;line-height:1.7}
.bovarynow-page .bn-screen-title{font-size:13px}
.bovarynow-page .bn-screen-desc{font-size:1.02rem;line-height:1.75}
.bovarynow-page .bn-section-head .label{font-size:12px}
.bovarynow-page .bn-section-head h2{font-size:clamp(38px,5vw,62px);text-shadow:0 0 30px rgba(124,58,237,.25)}
.bovarynow-page .bn-section-head p{font-size:1.12rem}
.bovarynow-page .bn-feature h3{font-size:18px}
.bovarynow-page .bn-feature p{font-size:1.05rem}
.bovarynow-page .bn-count-copy h3{font-size:36px}
.bovarynow-page .bn-count-copy p{font-size:1.1rem}
.bovarynow-page .bn-history-body h3{font-size:17px}
.bovarynow-page .bn-history-body p{font-size:1.04rem}
.bovarynow-page .bn-beta h2{font-size:28px}
.bovarynow-page .bn-beta p,.bovarynow-page .bn-beta li{font-size:1.05rem}

@media (max-width:900px){
 .bovarynow-home-promo{position:relative !important;right:auto !important;top:auto !important;transform:none !important;margin:22px auto 0;display:flex;justify-content:center}
 .bovarynow-home-section-grid{grid-template-columns:1fr}
 .bovarynow-home-section-grid .bovarynow-phone-dock{grid-column:1;grid-row:2}
 .bovarynow-hero-v2{padding:92px 18px 65px}
 .bovarynow-hero-v2 .bn-device-wrap{min-height:430px}
 .bovarynow-hero-v2 .bn-phone{width:235px;height:470px;border-radius:31px}
 .bovarynow-hero-v2 .bn-phone .phone-screen{border-radius:24px;padding:21px 12px 12px}
 .bovarynow-hero-v2 .bn-hero-lower{grid-template-columns:1fr;gap:24px;text-align:center}
 .bovarynow-hero-v2 .bn-hero-copy{max-width:none}
 .bovarynow-hero-v2 .bn-hero-copy h1{font-size:clamp(48px,15vw,78px)}
 .bovarynow-hero-v2 .bn-hero-copy>p{font-size:1rem}
 .bn-android-visual{min-height:170px}
 .bn-android-visual img{width:190px;max-height:200px}
}
@media (max-width:520px){
 .bovarynow-hero-v2 .bn-device-wrap{min-height:350px}
 .bovarynow-hero-v2 .bn-phone{width:190px;height:380px;border-radius:25px}
 .bovarynow-hero-v2 .bn-phone .phone-screen{border-radius:19px;padding:17px 9px 9px}
 .bovarynow-page .bn-phone .bn-app-top{font-size:12px}
 .bovarynow-page .bn-phone .bn-app-top small{font-size:9px}
 .bovarynow-page .bn-phone .bn-status-live{font-size:10px}
 .bovarynow-page .bn-phone .bn-status-pill{font-size:9px}
 .bovarynow-page .bn-phone .bn-ui-banner-label strong{font-size:14px}
 .bovarynow-page .bn-phone .bn-ui-count{font-size:22px}
}


/* ===================== BOVARYNOW V5 — HOME + HERO LAYOUT ===================== */
/* Home: remove the old Hero promo completely; the preview lives beside the dedicated section. */
.bovarynow-home-promo{display:none !important}
.bovarynow-home-section{overflow:hidden}
.bovarynow-home-section-grid{grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:55px;align-items:center;min-height:580px}
.bovarynow-home-section-copy{max-width:720px}
.bovarynow-phone-dock{min-height:580px;display:flex;align-items:center;justify-content:center;position:relative}
.bovarynow-phone-dock:before{width:390px;height:390px}
.bovarynow-phone-dock .bovarynow-home-phone{position:relative !important;left:auto !important;top:auto !important;width:290px !important;height:580px !important;margin:0 !important;transform:none !important;z-index:2}
.bovarynow-home-phone .phone-screen{border-radius:20px;padding:22px 14px 14px}
.bovarynow-home-phone .phone-speaker{top:11px;width:52px;height:5px}
.bovarynow-home-phone .app-mini-brand{font-size:12px}
.bovarynow-home-phone .app-mini-status{font-size:11px}
.bovarynow-home-phone .app-mini-banner{height:150px}
.bovarynow-home-phone .app-mini-banner img{width:100%;height:100%;object-fit:cover;object-position:center}
.bovarynow-home-phone .app-mini-banner small{font-size:9px}
.bovarynow-home-phone .app-mini-banner strong{font-size:14px}
.bovarynow-home-phone .app-mini-count strong{font-size:18px}
.bovarynow-home-phone .app-mini-meta span{font-size:7px}
.bovarynow-home-phone .app-mini-meta b{font-size:10px}

/* Dedicated BovaryNow hero: park the large phone on the left instead of centering it. */
.bovarynow-hero-v2 .bn-hero-device-first{max-width:1180px;margin:0 auto;display:flex;justify-content:flex-start}
.bovarynow-hero-v2 .bn-device-wrap{justify-content:flex-start;width:100%;padding-left:clamp(0px,3vw,42px)}
.bovarynow-hero-v2 .bn-hero-lower{grid-template-columns:minmax(0,1.35fr) minmax(210px,.45fr);gap:35px;align-items:center}
.bovarynow-hero-v2 .bn-android-visual{justify-self:end;width:min(240px,100%);min-height:210px;overflow:visible}
.bovarynow-hero-v2 .bn-android-visual img{width:min(220px,100%);max-height:230px;object-fit:contain;margin:auto}
.bovarynow-hero-v2 .bn-android-visual:before{width:170px;height:170px}

@media (max-width:900px){
  .bovarynow-home-section-grid{grid-template-columns:1fr;gap:20px;min-height:auto}
  .bovarynow-phone-dock{min-height:0;padding:10px 0 28px}
  .bovarynow-phone-dock .bovarynow-home-phone{width:230px !important;height:460px !important}
  .bovarynow-home-phone .app-mini-banner{height:120px}
  .bovarynow-hero-v2 .bn-hero-device-first{justify-content:center}
  .bovarynow-hero-v2 .bn-device-wrap{justify-content:center;padding-left:0}
  .bovarynow-hero-v2 .bn-android-visual{justify-self:center;width:220px;min-height:160px}
  .bovarynow-hero-v2 .bn-android-visual img{width:190px;max-height:190px}
}
@media (max-width:520px){
  .bovarynow-phone-dock .bovarynow-home-phone{width:200px !important;height:400px !important}
  .bovarynow-home-phone .app-mini-banner{height:100px}
}

/* ===================== BOVARYNOW V6 — HERO EMBLEM SHOWCASE + PHONE FX ===================== */
/* The large right-side area is an image showcase, not a fixed box: it can breathe beyond the user's reference rectangle. */
.bovarynow-hero-v2 .bn-device-wrap{
  display:grid;
  grid-template-columns:minmax(285px,335px) minmax(0,1fr);
  gap:clamp(30px,5vw,72px);
  align-items:center;
  min-height:540px;
  padding-left:0;
}
.bovarynow-hero-v2 .bn-device-wrap:after{
  width:430px;
  height:430px;
  background:radial-gradient(circle,rgba(124,58,237,.18),rgba(34,211,238,.06) 38%,transparent 70%);
}
.bovarynow-hero-v2 .bn-device-wrap .bn-phone{
  justify-self:start;
  position:relative;
  z-index:4;
  will-change:transform,box-shadow;
  transition:transform .12s ease-out,box-shadow .25s ease-out,filter .25s ease-out;
}
.bovarynow-hero-v2 .bn-device-wrap .bn-phone:after{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius:52px;
  background:radial-gradient(circle,rgba(34,211,238,.18),transparent 66%);
  filter:blur(20px);
  opacity:.55;
  z-index:-1;
  pointer-events:none;
}
.bovarynow-hero-v2 .bn-device-wrap .bn-phone:hover{
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 42px rgba(34,211,238,.28),0 0 100px rgba(124,58,237,.34),0 35px 80px rgba(0,0,0,.7);
  filter:saturate(1.08) brightness(1.04);
}
.bn-hero-showcase{
  width:100%;
  min-height:380px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:24px;
  position:relative;
  z-index:3;
  padding:28px 24px;
}
.bn-hero-showcase:before{
  content:"";
  position:absolute;
  inset:8% 0;
  background:
    radial-gradient(circle at 50% 20%,rgba(244,114,182,.12),transparent 34%),
    radial-gradient(circle at 50% 80%,rgba(34,211,238,.10),transparent 38%);
  filter:blur(8px);
  pointer-events:none;
}
.bn-showcase-main,.bn-showcase-servers{position:relative;z-index:1;width:100%;display:flex;justify-content:center;align-items:center}
.bn-showcase-main{gap:clamp(22px,4vw,55px)}
.bn-showcase-logo{
  width:clamp(210px,18vw,330px);
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  transition:transform .22s cubic-bezier(.22,1,.36,1),filter .22s,opacity .22s;
}
.bn-showcase-logo:before{
  content:"";
  position:absolute;
  width:75%;
  height:75%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(167,139,250,.20),transparent 68%);
  filter:blur(22px);
  opacity:.7;
}
.bn-showcase-logo img{
  position:relative;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(167,139,250,.25)) drop-shadow(0 0 30px rgba(236,72,153,.16));
}
.bn-showcase-logo:hover{transform:translateY(-8px) scale(1.045);filter:brightness(1.12) saturate(1.1)}
.bn-showcase-servers{gap:28px;padding-top:4px}
.bn-server-logo{
  width:clamp(82px,8vw,125px);
  height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  transition:transform .22s cubic-bezier(.22,1,.36,1),filter .22s;
}
.bn-server-logo:before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(34,211,238,.16),transparent 70%);
  filter:blur(15px);
}
.bn-server-logo img{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 13px rgba(34,211,238,.24))}
.bn-server-logo:hover{transform:translateY(-5px) scale(1.08);filter:brightness(1.14)}

/* Mouse-driven motion matches the Hosts / Commissioners interaction while preserving a straight idle phone. */
.bovarynow-page .bn-phone.is-tilting{
  transition:transform .08s ease-out,box-shadow .18s ease-out,filter .18s ease-out;
}
.bovarynow-page .bn-phone.is-tilting:after{opacity:.95;filter:blur(24px)}

@media (max-width:1050px){
  .bovarynow-hero-v2 .bn-device-wrap{grid-template-columns:260px minmax(0,1fr);gap:30px}
  .bovarynow-hero-v2 .bn-phone{width:min(300px,72vw);height:600px}
  .bn-showcase-main{gap:18px}
  .bn-showcase-logo{width:clamp(170px,20vw,250px);height:185px}
  .bn-hero-showcase{padding:20px 8px}
}
@media (max-width:900px){
  .bovarynow-hero-v2 .bn-device-wrap{display:flex;flex-direction:column;gap:22px;min-height:0;padding:0}
  .bovarynow-hero-v2 .bn-device-wrap .bn-phone{align-self:center;justify-self:auto}
  .bn-hero-showcase{min-height:300px;padding:10px 0 25px;gap:18px}
  .bn-showcase-logo{width:42vw;max-width:230px;height:170px}
  .bn-showcase-servers{gap:20px}
  .bn-server-logo{width:82px;height:65px}
}
@media (max-width:520px){
  .bn-showcase-main{gap:8px}
  .bn-showcase-logo{width:46vw;height:135px}
  .bn-server-logo{width:70px;height:58px}
  .bn-showcase-servers{gap:14px}
}


/* ===================== BOVARYNOW V7 — EMBLEM POSITION / WALLPAPER PROTECTION ===================== */
.bovarynow-hero-v2 .bn-device-wrap{
  grid-template-columns:minmax(285px,335px) minmax(0,1fr);
  align-items:start;
  min-height:500px;
}
.bovarynow-hero-v2 .bn-hero-showcase{
  min-height:500px;
  padding:0 10px 0 0;
  justify-content:flex-start;
  align-items:center;
  gap:0;
  transform:translateY(-26px);
}
.bovarynow-hero-v2 .bn-hero-showcase:before{
  inset:0 4% 16%;
}
.bovarynow-hero-v2 .bn-showcase-main,
.bovarynow-hero-v2 .bn-showcase-servers{display:none;}
.bovarynow-hero-v2 .bn-showcase-column{
  width:min(290px,42%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  position:relative;
  z-index:2;
}
.bovarynow-hero-v2 .bn-hero-showcase{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:flex-start;
  gap:clamp(28px,5vw,72px);
}
.bovarynow-hero-v2 .bn-showcase-logo{
  width:clamp(245px,20vw,335px);
  height:250px;
  flex:0 0 auto;
}
.bovarynow-hero-v2 .bn-showcase-logo img{
  object-fit:contain;
  mix-blend-mode:normal;
}
.bovarynow-hero-v2 .bn-showcase-logo-fenrir img{
  mix-blend-mode:screen;
}
.bovarynow-hero-v2 .bn-server-logo{
  width:78px;
  height:62px;
  margin-top:0;
  flex:0 0 auto;
}
.bovarynow-hero-v2 .bn-server-logo-left img{
  mix-blend-mode:multiply;
}
.bovarynow-hero-v2 .bn-server-logo-right img{
  mix-blend-mode:screen;
}
.bovarynow-hero-v2 .bn-server-logo:before{width:95px;height:95px;opacity:.55;}
.bovarynow-hero-v2 .bn-showcase-logo:before{opacity:.55;}

@media (max-width:1050px){
  .bovarynow-hero-v2 .bn-showcase-column{width:43%;}
  .bovarynow-hero-v2 .bn-showcase-logo{width:clamp(205px,21vw,270px);height:215px;}
  .bovarynow-hero-v2 .bn-server-logo{width:70px;height:58px;}
}
@media (max-width:900px){
  .bovarynow-hero-v2 .bn-hero-showcase{transform:none;min-height:0;padding:0 0 24px;gap:18px;}
  .bovarynow-hero-v2 .bn-showcase-column{width:46%;}
  .bovarynow-hero-v2 .bn-showcase-logo{width:42vw;max-width:230px;height:170px;}
  .bovarynow-hero-v2 .bn-server-logo{width:72px;height:58px;}
}
@media (max-width:520px){
  .bovarynow-hero-v2 .bn-showcase-logo{width:44vw;height:135px;}
  .bovarynow-hero-v2 .bn-server-logo{width:64px;height:54px;}
}

/* ===================== BOVARYNOW V8 — CLEAN HERO / APP VISUALS ===================== */
/* The four temporary emblem cards were removed. The BovaryNow wallpaper is kept unobstructed. */
.bovarynow-hero-v2 .bn-device-wrap{
  display:block;
  min-height:500px;
  padding-left:0;
  position:relative;
}
.bovarynow-hero-v2 .bn-device-wrap .bn-phone{
  display:block;
  margin:0;
  width:min(335px,76vw);
  height:670px;
}

/* BovaryNow V9 — larger, centered sign positioned above the BOVARYNOW wallpaper lettering. */
.bovarynow-page .bn-wall-sign{
  position:absolute;
  top:98px;
  left:64%;
  transform:translateX(-50%);
  width:min(620px,44vw);
  z-index:2;
  pointer-events:none;
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:.98;
  filter:drop-shadow(0 0 14px rgba(244,114,182,.20)) drop-shadow(0 0 34px rgba(124,58,237,.18));
}
.bovarynow-page .bn-wall-sign img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  mix-blend-mode:screen;
}

/* More visual content inside the phone mockups: upcoming, current and past meet imagery. */
.bovarynow-page .bn-ui-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:10px;
  width:100%;
}
.bovarynow-page .bn-ui-gallery img{
  width:100%;
  height:54px;
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  border:1px solid rgba(167,139,250,.16);
  box-shadow:0 0 14px rgba(124,58,237,.12);
  filter:saturate(1.08) contrast(1.04);
}
.bovarynow-page .bn-phone .bn-ui-gallery img{
  height:52px;
}
.bovarynow-page .bn-phone .bn-ui-gallery img:hover{
  filter:saturate(1.2) brightness(1.08);
}

@media (min-width:901px){
  .bovarynow-page .bn-wall-sign{top:98px;left:64%;width:min(620px,44vw);transform:translateX(-50%);}
  .bovarynow-hero-v2 .bn-device-wrap .bn-phone{margin-left:0;}
}

@media (max-width:900px){
  .bovarynow-page .bn-wall-sign{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    transform:none;
    width:min(560px,90vw);
    margin:-12px auto 18px;
    z-index:2;
  }
  .bovarynow-hero-v2 .bn-device-wrap{
    min-height:430px;
  }
  .bovarynow-hero-v2 .bn-device-wrap .bn-phone{
    margin:0 auto;
  }
}

@media (max-width:520px){
  .bovarynow-page .bn-wall-sign{width:92vw;margin:-10px auto 16px;}
  .bovarynow-page .bn-ui-gallery img{height:46px;}
}

/* v10 — richer hero phone content */
.bovarynow-page .bn-phone-extra{margin-top:10px;padding:8px 8px 7px;border:1px solid rgba(137,92,255,.22);border-radius:11px;background:linear-gradient(180deg,rgba(20,18,35,.92),rgba(7,7,14,.9));box-shadow:0 0 18px rgba(124,58,237,.08)}
.bovarynow-page .bn-phone-extra-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;color:#cbd5e1;font:700 7px/1 Orbitron;letter-spacing:.9px}
.bovarynow-page .bn-phone-extra-head small{color:#64748b;font:600 6px/1 Orbitron;letter-spacing:.6px}
.bovarynow-page .bn-phone-emblems{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bovarynow-page .bn-phone-emblem{min-width:0;display:flex;align-items:center;gap:5px;padding:5px;border-radius:8px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.bovarynow-page .bn-phone-emblem img{width:34px;height:34px;object-fit:contain;border-radius:5px;flex:none;filter:saturate(1.12) contrast(1.04);background:rgba(0,0,0,.22)}
.bovarynow-page .bn-phone-emblem:nth-child(2) img{object-fit:cover}
.bovarynow-page .bn-phone-emblem div{min-width:0;display:flex;flex-direction:column;gap:3px}
.bovarynow-page .bn-phone-emblem small{font:600 5.5px/1 Inter;color:#64748b;letter-spacing:.7px}
.bovarynow-page .bn-phone-emblem b{font:700 6.5px/1.15 Orbitron;color:#e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bovarynow-page .bn-phone-info{display:flex;justify-content:space-between;gap:4px;margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.06);font:600 5.5px/1 Inter;color:#64748b;letter-spacing:.35px;white-space:nowrap}
.bovarynow-page .bn-phone-info span:first-child{color:#34d399}
.bovarynow-page .bn-phone-info b{font-weight:700;color:#67e8f9}
@media (max-width:700px){
 .bovarynow-page .bn-phone-extra{margin-top:8px;padding:7px 6px 6px}
 .bovarynow-page .bn-phone-emblem img{width:29px;height:29px}
 .bovarynow-page .bn-phone-emblem{padding:4px;gap:4px}
 .bovarynow-page .bn-phone-info{font-size:5px}
}

/* ===================== BOVARYNOW V11 — HOME PHONE MATCHES THE APP PREVIEW ===================== */
/* The Home page phone now mirrors the richer BovaryNow hero phone: session board, meet gallery and community network. */
.bovarynow-home-phone.bn-home-full-phone .phone-screen{
  border-radius:28px;
  padding:24px 15px 15px;
}
.bovarynow-home-phone.bn-home-full-phone .phone-speaker{top:13px;width:56px;height:5px}
.bovarynow-home-phone.bn-home-full-phone .bn-app-top{font-size:10px}
.bovarynow-home-phone.bn-home-full-phone .bn-app-top small{font-size:7px}
.bovarynow-home-phone.bn-home-full-phone .bn-app-status{margin:18px 0 10px}
.bovarynow-home-phone.bn-home-full-phone .bn-status-live{font-size:8px}
.bovarynow-home-phone.bn-home-full-phone .bn-status-pill{font-size:6.5px;padding:4px 7px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-banner{height:145px;margin:-2px -2px 10px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-banner-label{left:9px;bottom:9px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-banner-label small{font-size:6.5px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-banner-label strong{font-size:12px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-count{font-size:21px;margin:7px 0}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-grid{gap:6px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-meta{padding:8px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-meta small{font-size:6.5px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-meta b{font-size:8px}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:9px;
  width:100%;
}
.bovarynow-home-phone.bn-home-full-phone .bn-ui-gallery img{
  width:100%;
  height:50px;
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  border:1px solid rgba(167,139,250,.16);
  box-shadow:0 0 14px rgba(124,58,237,.12);
  filter:saturate(1.08) contrast(1.04);
}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-extra{
  margin-top:9px;
  padding:7px 7px 6px;
  border:1px solid rgba(137,92,255,.22);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(20,18,35,.92),rgba(7,7,14,.9));
  box-shadow:0 0 18px rgba(124,58,237,.08);
}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-extra-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;color:#cbd5e1;font:700 6.5px/1 Orbitron;letter-spacing:.8px}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-extra-head small{color:#64748b;font:600 5.5px/1 Orbitron;letter-spacing:.5px}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblems{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem{min-width:0;display:flex;align-items:center;gap:4px;padding:4px;border-radius:7px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem img{width:30px;height:30px;object-fit:contain;border-radius:5px;flex:none;filter:saturate(1.12) contrast(1.04);background:rgba(0,0,0,.22)}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem:nth-child(2) img{object-fit:cover}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem div{min-width:0;display:flex;flex-direction:column;gap:2px}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem small{font:600 5px/1 Inter;color:#64748b;letter-spacing:.6px}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem b{font:700 6px/1.1 Orbitron;color:#e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-info{display:flex;justify-content:space-between;gap:3px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255,255,255,.06);font:600 5px/1 Inter;color:#64748b;letter-spacing:.25px;white-space:nowrap}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-info span:first-child{color:#34d399}
.bovarynow-home-phone.bn-home-full-phone .bn-phone-info b{font-weight:700;color:#67e8f9}

@media (max-width:900px){
  .bovarynow-home-phone.bn-home-full-phone .phone-screen{border-radius:24px;padding:21px 12px 12px}
  .bovarynow-home-phone.bn-home-full-phone .phone-speaker{top:11px;width:52px;height:5px}
  .bovarynow-home-phone.bn-home-full-phone .bn-ui-banner{height:120px}
  .bovarynow-home-phone.bn-home-full-phone .bn-ui-gallery img{height:45px}
}
@media (max-width:520px){
  .bovarynow-home-phone.bn-home-full-phone .phone-screen{border-radius:20px;padding:18px 10px 10px}
  .bovarynow-home-phone.bn-home-full-phone .bn-ui-banner{height:100px}
  .bovarynow-home-phone.bn-home-full-phone .bn-ui-count{font-size:18px}
  .bovarynow-home-phone.bn-home-full-phone .bn-ui-gallery img{height:39px}
  .bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem img{width:26px;height:26px}
  .bovarynow-home-phone.bn-home-full-phone .bn-phone-emblem b{font-size:5.5px}
}

/* ============================================================
   BOVARYNOW v12 — MOBILE REBUILD / RESPONSIVE CLEANUP
   The desktop composition is preserved. Mobile gets its own flow:
   phone -> sign -> hero copy -> Android visual -> sections.
   ============================================================ */
@media (max-width:900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .bovarynow-page{overflow-x:hidden}

  /* HERO: remove desktop sizing assumptions that caused elements to escape the viewport. */
  .bovarynow-page .bovarynow-hero-v2{
    min-height:0;
    height:auto;
    padding:86px 14px 54px;
    overflow:hidden;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-device-first{
    width:100%;
    max-width:100%;
    margin:0;
    display:block;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-device-wrap{
    width:100%;
    min-height:0;
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:0;
    padding:0;
    margin:0;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-device-wrap .bn-phone{
    width:min(230px,72vw);
    height:auto;
    aspect-ratio:1 / 2;
    min-height:0;
    margin:0 auto;
    padding:8px;
    border-radius:34px;
    flex:none;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-phone .phone-screen{
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    border-radius:27px;
    padding:20px 11px 11px;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-phone .phone-speaker{top:11px;width:52px;height:5px}
  .bovarynow-page .bovarynow-hero-v2 .bn-app-top{font-size:11px}
  .bovarynow-page .bovarynow-hero-v2 .bn-app-top small{font-size:8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-app-status{margin:15px 0 9px}
  .bovarynow-page .bovarynow-hero-v2 .bn-status-live{font-size:9px}
  .bovarynow-page .bovarynow-hero-v2 .bn-status-pill{font-size:8px;padding:4px 6px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-banner{height:104px;margin:-1px -1px 8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-banner-label{left:8px;bottom:8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-banner-label small{font-size:7px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-banner-label strong{font-size:12px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-count{font-size:19px;margin:7px 0}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-grid{gap:5px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-meta{padding:7px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-meta small{font-size:6.5px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-meta b{font-size:8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-gallery{gap:5px;margin-top:8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-gallery img{height:40px;border-radius:7px}

  /* Community block stays inside the phone and scales with it. */
  .bovarynow-page .bn-phone-extra{
    margin-top:8px;
    padding:6px 6px 5px;
    border-radius:9px;
  }
  .bovarynow-page .bn-phone-extra-head{font-size:6px;margin-bottom:5px;letter-spacing:.7px}
  .bovarynow-page .bn-phone-extra-head small{font-size:5px}
  .bovarynow-page .bn-phone-emblems{gap:4px}
  .bovarynow-page .bn-phone-emblem{gap:3px;padding:3px;border-radius:6px}
  .bovarynow-page .bn-phone-emblem img{width:25px;height:25px;border-radius:4px}
  .bovarynow-page .bn-phone-emblem div{gap:2px}
  .bovarynow-page .bn-phone-emblem small{font-size:4.5px}
  .bovarynow-page .bn-phone-emblem b{font-size:5.5px}
  .bovarynow-page .bn-phone-info{gap:2px;margin-top:4px;padding-top:4px;font-size:4.5px;letter-spacing:.15px}

  /* Letreiro: part of the normal mobile flow, never absolute or clipped. */
  .bovarynow-page .bn-wall-sign{
    position:relative;
    inset:auto;
    width:min(470px,88vw);
    max-width:100%;
    height:auto;
    margin:18px auto 10px;
    transform:none;
    z-index:2;
  }
  .bovarynow-page .bn-wall-sign img{width:100%;height:auto;display:block}

  /* Hero copy is a normal mobile block. */
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-lower{
    width:100%;
    max-width:620px;
    margin:20px auto 0;
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:stretch;
    text-align:center;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-copy{width:100%;max-width:none}
  .bovarynow-page .bovarynow-hero-v2 .bn-overline{font-size:9px;padding:7px 10px;max-width:100%;white-space:normal;justify-content:center}
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-copy h1{
    font-size:clamp(42px,13vw,66px);
    line-height:.95;
    letter-spacing:-1px;
    margin:16px 0 14px;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-copy>p{
    font-size:15px;
    line-height:1.65;
    margin:0 auto 20px;
    max-width:560px;
  }
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-actions{justify-content:center;width:100%}
  .bovarynow-page .bovarynow-hero-v2 .bn-note{font-size:9px;line-height:1.5}
  .bovarynow-page .bn-android-visual{width:100%;min-height:145px;overflow:visible}
  .bovarynow-page .bn-android-visual img{width:min(180px,55vw);max-height:185px}

  /* Feature and interface sections become true single-column mobile layouts. */
  .bovarynow-page .bn-section{padding:58px 14px}
  .bovarynow-page .bn-section-head{width:100%;max-width:620px;margin:0 auto 30px}
  .bovarynow-page .bn-section-head h2{font-size:clamp(28px,9vw,42px);line-height:1.08;overflow-wrap:anywhere}
  .bovarynow-page .bn-section-head p{font-size:15px;line-height:1.7}
  .bovarynow-page .bn-feature-grid,
  .bovarynow-page .bn-interface-grid,
  .bovarynow-page .bn-history,
  .bovarynow-page .bn-visual-strip{grid-template-columns:1fr;max-width:620px;gap:14px}
  .bovarynow-page .bn-feature{padding:20px;border-radius:16px}

  /* Interface mockups: no fixed 350px crop on small screens. */
  .bovarynow-page .bn-screen-card{width:100%;padding:8px;border-radius:16px;transform:none !important}
  .bovarynow-page .bn-screen{
    width:100%;
    height:auto;
    min-height:370px;
    border-radius:12px;
    padding:13px;
    overflow:hidden;
  }
  .bovarynow-page .bn-screen .bn-ui-banner{height:105px}
  .bovarynow-page .bn-screen .bn-ui-gallery img{height:44px}
  .bovarynow-page .bn-screen-title{font-size:11px;margin:12px 3px 5px}
  .bovarynow-page .bn-screen-desc{font-size:14px;line-height:1.65;margin:0 3px}

  /* Countdown: remove transform-scaling from layout and use a real-sized device. */
  .bovarynow-page .bn-countdown-stage{
    width:100%;
    max-width:620px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:28px;
    align-items:center;
  }
  .bovarynow-page .bn-count-copy{width:100%;text-align:center;order:2}
  .bovarynow-page .bn-count-copy h3{font-size:28px;line-height:1.1}
  .bovarynow-page .bn-count-copy p{font-size:15px;line-height:1.7}
  .bovarynow-page .bn-count-phone{width:100%;order:1;display:flex;justify-content:center}
  .bovarynow-page .bn-count-phone .bn-phone{
    width:min(230px,72vw);
    height:auto;
    aspect-ratio:1 / 2;
    transform:none !important;
    margin:0;
  }
  .bovarynow-page .bn-count-phone .phone-screen{padding:20px 11px 11px}

  /* System flow: one node per row is much easier to read than squeezed columns. */
  .bovarynow-page .bn-architecture{
    width:100%;
    max-width:520px;
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .bovarynow-page .bn-arch-node{padding:16px 14px;border-radius:10px}
  .bovarynow-page .bn-arch-node:not(:last-child):after{display:block;content:"↓";right:auto;top:auto;bottom:-16px;left:50%;transform:translateX(-50%);padding:0 5px;background:#07070e}
  .bovarynow-page .bn-architecture-note{font-size:14px;line-height:1.7}

  /* History and beta stay within the viewport. */
  .bovarynow-page .bn-history-card{width:100%}
  .bovarynow-page .bn-history-img{height:180px}
  .bovarynow-page .bn-history-body{padding:15px}
  .bovarynow-page .bn-history-body h3{font-size:15px}
  .bovarynow-page .bn-history-body p{font-size:14px;line-height:1.65}
  .bovarynow-page .bn-beta{width:100%;padding:20px;border-radius:16px}
  .bovarynow-page .bn-beta-top{gap:10px}
  .bovarynow-page .bn-beta h2{font-size:22px;line-height:1.2}
  .bovarynow-page .bn-beta p,.bovarynow-page .bn-beta li{font-size:14px;line-height:1.65}
  .bovarynow-page .bn-beta ul{grid-template-columns:1fr}
  .bovarynow-page .bn-cta{padding-bottom:70px}
  .bovarynow-page .bn-cta h2{font-size:clamp(27px,9vw,40px)}
  .bovarynow-page .bn-cta p{font-size:14px;line-height:1.6}
}

@media (max-width:520px){
  .bovarynow-page .bovarynow-hero-v2{padding:78px 10px 46px}
  .bovarynow-page .bovarynow-hero-v2 .bn-device-wrap .bn-phone,
  .bovarynow-page .bn-count-phone .bn-phone{width:min(210px,76vw)}
  .bovarynow-page .bovarynow-hero-v2 .bn-phone .phone-screen,
  .bovarynow-page .bn-count-phone .phone-screen{padding:18px 9px 9px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-banner{height:96px}
  .bovarynow-page .bovarynow-hero-v2 .bn-ui-gallery img{height:37px}
  .bovarynow-page .bn-phone-extra{margin-top:7px}
  .bovarynow-page .bn-wall-sign{width:92vw;margin:16px auto 8px}
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-lower{margin-top:18px;gap:20px}
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-copy h1{font-size:clamp(38px,13vw,56px)}
  .bovarynow-page .bovarynow-hero-v2 .bn-hero-copy>p{font-size:14px}
  .bovarynow-page .bn-section{padding:52px 12px}
  .bovarynow-page .bn-screen{min-height:350px;padding:11px}
  .bovarynow-page .bn-screen .bn-ui-banner{height:96px}
  .bovarynow-page .bn-screen .bn-ui-gallery img{height:40px}
  .bovarynow-page .bn-screen-desc{font-size:13px}
  .bovarynow-page .bn-history-img{height:155px}
}

@media (max-width:380px){
  .bovarynow-page .bovarynow-hero-v2 .bn-device-wrap .bn-phone,
  .bovarynow-page .bn-count-phone .bn-phone{width:195px}
  .bovarynow-page .bn-phone-extra-head{font-size:5.5px}
  .bovarynow-page .bn-phone-emblem img{width:22px;height:22px}
  .bovarynow-page .bn-phone-emblem b{font-size:5px}
  .bovarynow-page .bn-phone-info{font-size:4px}
}

/* ===== BOVAS BOT — desktop hero float + mobile end block ===== */
.bovas-bot-hero {
  position: absolute;
  right: clamp(2%, 4vw, 6%);
  bottom: clamp(12%, 18vh, 22%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  width: clamp(140px, 18vw, 240px);
  pointer-events: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
  animation: bovas-bot-float 4.5s ease-in-out infinite;
}
.bovas-bot-hero .bovas-bot-video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 6px #38bdf8)
    drop-shadow(0 0 18px #00F5FF)
    drop-shadow(0 0 36px rgba(56, 189, 248, 0.85))
    drop-shadow(0 0 64px rgba(168, 85, 247, 0.55))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
  transition: filter 0.35s ease, transform 0.35s ease;
}
.bovas-bot-glow {
  position: absolute;
  inset: -18% -12% -8% -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 43, 214, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 50% 55%, rgba(56, 189, 248, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  filter: blur(18px);
  z-index: 1;
  pointer-events: none;
  animation: bovas-bot-pulse 3.2s ease-in-out infinite;
}
.bovas-bot-label {
  position: relative;
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 8px #ff2bd6,
    0 0 18px #a855f7,
    0 0 28px rgba(56, 189, 248, 0.8);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 6, 20, 0.55);
  border: 1px solid rgba(255, 43, 214, 0.45);
  box-shadow:
    0 0 12px rgba(255, 43, 214, 0.4),
    0 0 24px rgba(168, 85, 247, 0.3),
    inset 0 0 12px rgba(255, 43, 214, 0.15);
}
.bovas-bot-hero:hover {
  transform: translateY(-8px) scale(1.06);
}
.bovas-bot-hero:hover .bovas-bot-video {
  filter:
    drop-shadow(0 0 10px #00F5FF)
    drop-shadow(0 0 28px #38bdf8)
    drop-shadow(0 0 52px rgba(56, 189, 248, 0.95))
    drop-shadow(0 0 80px rgba(168, 85, 247, 0.7))
    drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5));
}
.bovas-bot-hero:hover .bovas-bot-label {
  border-color: rgba(255, 43, 214, 0.85);
  box-shadow:
    0 0 16px rgba(255, 43, 214, 0.65),
    0 0 32px rgba(168, 85, 247, 0.5),
    inset 0 0 14px rgba(255, 43, 214, 0.25);
}

@keyframes bovas-bot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes bovas-bot-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Mobile section — hidden on desktop */
.bovas-bot-mobile-section {
  display: none;
  padding: 48px 20px 56px;
  text-align: center;
}
.bovas-bot-mobile-inner {
  max-width: 420px;
  margin: 0 auto;
}
.bovas-bot-mobile-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  position: relative;
  padding: 24px 16px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(40, 12, 60, 0.65), rgba(10, 8, 24, 0.8));
  border: 1px solid rgba(255, 43, 214, 0.35);
  box-shadow:
    0 0 24px rgba(168, 85, 247, 0.35),
    0 0 48px rgba(255, 43, 214, 0.2),
    inset 0 0 30px rgba(56, 189, 248, 0.08);
}
.bovas-bot-mobile-link .bovas-bot-video {
  width: min(180px, 48vw);
  height: auto;
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px #00F5FF)
    drop-shadow(0 0 22px #38bdf8)
    drop-shadow(0 0 40px rgba(168, 85, 247, 0.55));
}
.bovas-bot-mobile-link .bovas-bot-glow {
  inset: 5% 10% 25% 10%;
}
.bovas-bot-mobile-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bovas-bot-mobile-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 260px;
}
.bovas-bot-cta {
  margin-top: 6px;
  pointer-events: none;
}

/* Desktop: only the inline bot under EXPLORE BOVARYNOW (hide hero float) */
.bovas-bot-hero {
  display: none !important;
}

/* Mobile end-of-page bot: show only on small screens */
@media (max-width: 960px) {
  .bovas-bot-mobile-section {
    display: block;
  }
  /* avoid double robot on mobile: hide inline under button, keep end-of-page */
  .bovas-bot-inline {
    display: none !important;
  }
}

/* Extra small screens: slightly smaller float if ever shown */
@media (min-width: 961px) and (max-width: 1100px) {
  .bovas-bot-hero {
    width: clamp(120px, 16vw, 180px);
    bottom: clamp(10%, 14vh, 18%);
  }
}


/* Bovas Bot — larger, beside the phone */
.bovas-bot-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  margin-top: -90px;
  transition: transform 0.35s ease;
  animation: bovas-bot-float 4.5s ease-in-out infinite;
}
.bovas-bot-inline .bovas-bot-video {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px #00F5FF)
    drop-shadow(0 0 22px #38bdf8)
    drop-shadow(0 0 40px rgba(56, 189, 248, 0.85))
    drop-shadow(0 0 60px rgba(168, 85, 247, 0.5));
  transition: filter 0.35s ease;
}
.bovas-bot-inline .bovas-bot-glow {
  position: absolute;
  inset: -14% -10% 8% -10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 211, 238, 0.5) 0%, transparent 55%),
    radial-gradient(circle at 50% 55%, rgba(168, 85, 247, 0.35) 0%, transparent 60%);
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
  animation: bovas-bot-pulse 3.2s ease-in-out infinite;
}
.bovas-bot-inline .bovas-bot-label {
  position: relative;
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 8px #00F5FF, 0 0 16px #a855f7;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 6, 20, 0.55);
  border: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}
.bovas-bot-inline:hover {
  transform: translateY(-8px) scale(1.06);
}
.bovas-bot-inline:hover .bovas-bot-video {
  filter:
    drop-shadow(0 0 12px #00F5FF)
    drop-shadow(0 0 28px #38bdf8)
    drop-shadow(0 0 50px rgba(56, 189, 248, 0.95))
    drop-shadow(0 0 70px rgba(168, 85, 247, 0.65));
}
.bovarynow-explore-btn {
  margin-top: 0 !important;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .bovas-bot-inline {
    max-width: 180px;
    margin-top: -60px;
  }
  .bovas-bot-inline .bovas-bot-video {
    max-width: 170px;
  }
}

@media (max-width: 960px) {
  .bovarynow-home-section-head {
    margin-bottom: 6px !important;
  }
  .bovarynow-home-section-copy {
    padding-top: 4px !important;
  }
  .bovas-bot-inline {
    display: none !important;
  }
}

/* ===== BovaryNow dual version CTA (big neon 3D buttons) ===== */
.bn-version-cta {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px 18px;
  max-width: 720px;
  margin: 28px auto 8px;
  padding: 0 16px;
  pointer-events: auto;
}

.bn-version-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 220px;
  padding: 22px 28px 20px;
  border-radius: 18px;
  text-decoration: none;
  font-family: var(--font-display), Orbitron, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.25s ease, filter 0.2s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 8px 0 rgba(0,0,0,0.35),
    0 14px 28px rgba(0,0,0,0.45),
    0 0 40px rgba(124,58,237,0.25);
}

.bn-version-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.45), transparent 40%, transparent 60%, rgba(255,255,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.bn-version-btn:hover {
  transform: translateY(-6px) scale(1.03);
  filter: brightness(1.12);
}

.bn-version-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 4px 0 rgba(0,0,0,0.4),
    0 8px 18px rgba(0,0,0,0.5),
    0 0 50px rgba(34,211,238,0.35);
}

.bn-version-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 4px;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 0 20px rgba(255,255,255,0.08) inset;
}

.bn-version-label {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 0 18px rgba(255,255,255,0.35), 0 2px 0 rgba(0,0,0,0.4);
}

.bn-version-sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.85;
}

/* Mobile version — cyan / electric */
.bn-version-mobile {
  background:
    linear-gradient(160deg, #00F5FF 0%, #06b6d4 35%, #0891b2 70%, #0e7490 100%);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 8px 0 #0e7490,
    0 14px 32px rgba(0,0,0,0.5),
    0 0 50px rgba(34, 211, 238, 0.45),
    0 0 90px rgba(34, 211, 238, 0.2);
}

.bn-version-mobile:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 10px 0 #0e7490,
    0 18px 36px rgba(0,0,0,0.55),
    0 0 70px rgba(34, 211, 238, 0.65),
    0 0 110px rgba(34, 211, 238, 0.3);
}

/* Desktop version — purple / neon violet */
.bn-version-desktop {
  background:
    linear-gradient(160deg, #a5f3fc 0%, #67e8f9 30%, #00C4CC 65%, #0e7490 100%);
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 8px 0 #0e7490,
    0 14px 32px rgba(0,0,0,0.5),
    0 0 50px rgba(0, 245, 255, 0.4),
    0 0 90px rgba(0, 245, 255, 0.25);
}

.bn-version-desktop:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 10px 0 #0e7490,
    0 18px 36px rgba(0,0,0,0.55),
    0 0 70px rgba(167, 139, 250, 0.7),
    0 0 110px rgba(0, 245, 255, 0.3);
}

/* Position the CTA higher — between wall-sign and BovaryNow logo, side by side */
@media (min-width: 901px) {
  .bovarynow-page .bn-version-cta {
    position: absolute;
    top: 28%;
    left: 62%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: auto;
    max-width: none;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .bovarynow-page .bn-version-btn {
    min-width: 200px;
    padding: 18px 22px 16px;
  }
}

@media (max-width: 900px) {
  .bn-version-cta {
    margin: 12px auto 20px;
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }
  .bn-version-btn {
    min-width: min(46%, 200px);
    flex: 1 1 160px;
    max-width: 280px;
    padding: 16px 14px 14px;
  }
}
@media (max-width: 420px) {
  .bn-version-cta {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
  }
  .bn-version-btn {
    width: 100%;
    max-width: 300px;
    min-width: 0;
  }
}

/* Desktop app button variant on homepage header (slightly different accent) */
.btn-desktop-app {
  background: linear-gradient(135deg, #67e8f9 0%, #00C4CC 100%) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.28) !important;
}
.btn-desktop-app:hover {
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.5) !important;
}

/* ===== BovaryNow Desktop presentation page ===== */
.bovarynow-desktop-page .bn-desktop-tag {
  display: inline-block;
  font-size: 0.38em;
  vertical-align: middle;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(167,139,250,.35), rgba(124,58,237,.45));
  border: 1px solid rgba(167,139,250,.45);
  color: #e9d5ff;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(167,139,250,.5);
}

.bovarynow-desktop-page .bn-desktop-hero-cta {
  /* keep side-by-side, a bit higher on desktop page too */
}

.bn-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.bn-mode-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(12, 10, 24, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 24px rgba(124,58,237,0.08);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.bn-mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.18);
}

.bn-mode-featured {
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(165deg, rgba(14, 20, 40, 0.9), rgba(20, 12, 40, 0.85));
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 36px rgba(34,211,238,0.12);
}

.bn-mode-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: #a5f3fc;
  text-shadow: 0 0 18px rgba(167,139,250,0.45);
}

.bn-mode-featured .bn-mode-icon {
  color: #00F5FF;
  text-shadow: 0 0 18px rgba(34,211,238,0.45);
}

.bn-mode-card h3 {
  font-family: Orbitron, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  color: #fff;
}

.bn-mode-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #67e8f9;
  margin: 0 0 12px;
  font-weight: 600;
}

.bn-mode-featured .bn-mode-tag {
  color: #00F5FF;
}

.bn-mode-card p:last-child {
  color: #aab5c8;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.bn-howto-steps {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bn-howto-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(12, 10, 24, 0.65);
  border: 1px solid rgba(0, 245, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.bn-howto-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #120a14;
  background: linear-gradient(135deg, #a5f3fc, #00C4CC);
  box-shadow: 0 0 20px rgba(124,58,237,0.35);
}

.bn-howto-step h4 {
  margin: 0 0 6px;
  font-family: Orbitron, sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}

.bn-howto-step p {
  margin: 0;
  color: #aab5c8;
  font-size: 14px;
  line-height: 1.65;
}

.bn-prefs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 28px;
}

.bn-pref-chip {
  padding: 12px 18px;
  border-radius: 999px;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(0, 245, 255, 0.16);
  border: 1px solid rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 18px rgba(124,58,237,0.12);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bn-pref-chip:hover {
  transform: translateY(-2px);
  background: rgba(0, 245, 255, 0.28);
  box-shadow: 0 0 28px rgba(167,139,250,0.25);
}

.bn-important-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(124,58,237,0.1));
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 30px rgba(34,211,238,0.1);
}

.bn-important-icon {
  flex-shrink: 0;
  font-size: 22px;
  color: #00F5FF;
  text-shadow: 0 0 14px rgba(34,211,238,0.5);
  line-height: 1.2;
}

.bn-important-box strong {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #00F5FF;
  margin-bottom: 6px;
}

.bn-important-box p {
  margin: 0;
  color: #c5cddc;
  font-size: 14px;
  line-height: 1.65;
}

.bn-desktop-features .bn-feature {
  border-color: rgba(167, 139, 250, 0.16);
}

@media (max-width: 900px) {
  .bn-modes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bn-howto-step {
    flex-direction: column;
    gap: 12px;
  }
  .bn-important-box {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== Windows window mockup (BovaryNow Desktop hero) ===== */
.bn-win-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 480px;
  padding-top: 8px;
}

.bn-win-window {
  width: min(420px, 88vw);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a12;
  border: 1px solid rgba(0, 245, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 25px 60px rgba(0,0,0,0.65),
    0 0 50px rgba(0, 245, 255, 0.2),
    0 0 100px rgba(34, 211, 238, 0.08);
  position: relative;
  z-index: 2;
}

.bn-win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #1a1528 0%, #120e1c 100%);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  user-select: none;
}

.bn-win-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.bn-win-app-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #67e8f9, #00F5FF);
  box-shadow: 0 0 10px rgba(124,58,237,0.4);
  flex-shrink: 0;
}

.bn-win-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bn-win-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
}

.bn-win-min { background: #fbbf24; }
.bn-win-max { background: #34d399; }
.bn-win-close { background: #f87171; }

.bn-win-body {
  padding: 14px 14px 16px;
  font-family: Inter, sans-serif;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(124,58,237,0.12), transparent 55%),
    #06060c;
  max-height: 560px;
  overflow: auto;
}

/* Reuse phone UI elements inside the window with slight tweaks */
.bn-win-body .bn-app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 10px;
}
.bn-win-body .bn-app-top small {
  font-size: 9px;
  color: #00F5FF;
  letter-spacing: 0.06em;
}
.bn-win-body .bn-app-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
}
.bn-win-body .bn-ui-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 130px;
  margin-bottom: 10px;
  border: 1px solid rgba(167,139,250,0.2);
}
.bn-win-body .bn-ui-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bn-win-body .bn-ui-banner-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.bn-win-body .bn-ui-count {
  font-family: Orbitron, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #00F5FF;
  text-align: center;
  padding: 10px 8px;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(34,211,238,0.4);
}
.bn-win-body .bn-ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.bn-win-body .bn-ui-meta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,139,250,0.12);
  border-radius: 10px;
  padding: 10px;
}
.bn-win-body .bn-ui-meta small {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.bn-win-body .bn-ui-meta b {
  font-size: 12px;
  color: #f1f5f9;
}
.bn-win-body .bn-ui-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.bn-win-body .bn-ui-gallery img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(167,139,250,0.16);
}
.bn-win-body .bn-phone-extra {
  margin-top: 4px;
}
.bn-win-body .bn-phone-extra-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.bn-win-body .bn-phone-emblems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bn-win-body .bn-phone-emblem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(167,139,250,0.12);
}
.bn-win-body .bn-phone-emblem img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
.bn-win-body .bn-phone-emblem small {
  display: block;
  font-size: 8px;
  color: #94a3b8;
}
.bn-win-body .bn-phone-emblem b {
  font-size: 11px;
  color: #e2e8f0;
}

/* Desktop hero: window sits well on left, no phone rotation */
.bovarynow-desktop-page .bovarynow-hero-v2 .bn-device-wrap {
  min-height: 480px;
  align-items: flex-start;
}
.bovarynow-desktop-page .bn-win-window {
  transform: none;
}

@media (max-width: 900px) {
  .bn-win-wrap {
    min-height: 0;
    justify-content: center;
    margin: 0 auto 12px;
  }
  .bn-win-window {
    width: min(340px, 92vw);
  }
  .bn-win-body .bn-ui-banner {
    height: 100px;
  }
  .bn-win-body .bn-ui-count {
    font-size: 18px;
  }
}


/* ===== BASSANI STUDIOS BANNER ===== */
.bassani-banner-section {
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
  perspective: 1400px;
}

.bassani-banner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11, 11, 20, 0.96) 0%, rgba(18, 18, 28, 0.98) 50%, rgba(8, 12, 24, 0.96) 100%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.14),
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(34, 211, 238, 0.1),
    0 0 90px rgba(244, 114, 182, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.bassani-banner.is-tilting {
  transition: transform 0.08s ease-out;
}

.bassani-banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.bassani-glow-cyan {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5) 0%, transparent 70%);
  top: -100px;
  left: -80px;
  animation: bassani-glow-move-cyan 8s ease-in-out infinite;
}

.bassani-glow-pink {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.45) 0%, transparent 70%);
  bottom: -90px;
  right: -50px;
  animation: bassani-glow-move-pink 10s ease-in-out infinite;
}

@keyframes bassani-glow-move-cyan {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(40px, 50px) scale(1.2); opacity: 0.8; }
}

@keyframes bassani-glow-move-pink {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-30px, -40px) scale(1.25); opacity: 0.75; }
}

.bassani-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px 24px 24px;
  min-height: auto;
}

.bassani-banner-img-wrap {
  position: relative;
  transform-style: preserve-3d;
  height: auto;
}

.bassani-img-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: auto;
  box-shadow:
    0 0 0 2px rgba(34, 211, 238, 0.4),
    0 0 0 5px rgba(244, 114, 182, 0.18),
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(34, 211, 238, 0.3),
    0 0 60px rgba(244, 114, 182, 0.18);
  transform: translateZ(20px);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.bassani-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.bassani-img-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 25%,
    rgba(34, 211, 238, 0.15) 42%,
    rgba(244, 114, 182, 0.12) 58%,
    transparent 75%
  );
  background-size: 220% 220%;
  animation: bassani-shine 4.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 16px;
}

@keyframes bassani-shine {
  0% { background-position: 100% 0%; opacity: 0.35; }
  50% { background-position: 0% 100%; opacity: 0.85; }
  100% { background-position: 100% 0%; opacity: 0.35; }
}

.bassani-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transform: translateZ(20px);
  padding: 12px 8px 12px 0;
}

.bassani-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(
    90deg,
    #00F5FF 0%,
    #67e8f9 20%,
    #e879f9 40%,
    #FF7A9A 60%,
    #00F5FF 80%,
    #67e8f9 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bassani-title-shift 3.5s linear infinite;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.45)) drop-shadow(0 0 28px rgba(255, 122, 154, 0.3));
}

@keyframes bassani-title-shift {
  0% {
    background-position: 0% center;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 24px rgba(34, 211, 238, 0.25));
  }
  25% {
    filter: drop-shadow(0 0 14px rgba(103, 232, 249, 0.55)) drop-shadow(0 0 28px rgba(232, 121, 249, 0.3));
  }
  50% {
    background-position: 100% center;
    filter: drop-shadow(0 0 16px rgba(244, 114, 182, 0.55)) drop-shadow(0 0 32px rgba(244, 114, 182, 0.35));
  }
  75% {
    filter: drop-shadow(0 0 14px rgba(232, 121, 249, 0.5)) drop-shadow(0 0 28px rgba(34, 211, 238, 0.3));
  }
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 24px rgba(34, 211, 238, 0.25));
  }
}

.bassani-banner-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.bassani-banner-tagline {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 2px 0 10px;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.45);
  animation: bassani-tagline-glow 3s ease-in-out infinite;
}

@keyframes bassani-tagline-glow {
  0%, 100% { color: #00F5FF; text-shadow: 0 0 12px rgba(34, 211, 238, 0.4); }
  50% { color: #FF7A9A; text-shadow: 0 0 16px rgba(244, 114, 182, 0.5); }
}

.bassani-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 42px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a12;
  background: linear-gradient(135deg, #00F5FF 0%, #67e8f9 25%, #e879f9 50%, #FF7A9A 75%, #00F5FF 100%);
  background-size: 250% 250%;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 25px rgba(34, 211, 238, 0.5),
    0 0 50px rgba(244, 114, 182, 0.35),
    0 0 80px rgba(34, 211, 238, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  animation: bassani-btn-pulse 3s ease-in-out infinite;
  will-change: transform;
}

.bassani-banner-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00F5FF, #e879f9, #FF7A9A, #00F5FF);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(12px);
  animation: bassani-btn-border 4s linear infinite;
}

@keyframes bassani-btn-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bassani-btn-pulse {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow:
      0 0 22px rgba(34, 211, 238, 0.45),
      0 0 45px rgba(255, 122, 154, 0.3),
      0 0 70px rgba(34, 211, 238, 0.15),
      0 10px 28px rgba(0, 0, 0, 0.4);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 0 35px rgba(34, 211, 238, 0.6),
      0 0 70px rgba(244, 114, 182, 0.45),
      0 0 100px rgba(255, 122, 154, 0.25),
      0 12px 32px rgba(0, 0, 0, 0.45);
  }
}

.bassani-banner-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.7),
    0 0 80px rgba(244, 114, 182, 0.5),
    0 0 120px rgba(34, 211, 238, 0.3),
    0 14px 36px rgba(0, 0, 0, 0.5);
}

.bassani-banner-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
  .bassani-banner-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    min-height: auto;
  }

  .bassani-banner-img-wrap,
  .bassani-img-frame,
  .bassani-banner-img {
    min-height: auto;
    max-height: none;
    height: auto;
  }

  .bassani-banner-content {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .bassani-banner-btn {
    align-self: center;
    padding: 15px 36px;
  }
}

@media (max-width: 480px) {
  .bassani-banner-section {
    padding: 40px 14px 56px;
  }

  .bassani-banner {
    border-radius: 18px;
  }

  .bassani-banner-inner {
    padding: 18px;
  }

  .bassani-banner-title {
    font-size: 1.5rem;
  }

  .bassani-banner-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

/* Touch / mobile: disable 3D tilt (no mouse) */
@media (hover: none), (pointer: coarse) {
  .bassani-banner,
  .bassani-img-frame,
  .bassani-banner-content {
    transform: none !important;
  }
  .bassani-banner-btn:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .bassani-banner-desc {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .bassani-banner-tagline {
    font-size: 0.88rem;
  }
}


/* ===== VIDEO PLAYER MOBILE POLISH (Vice City update) ===== */
@media (max-width: 800px) {
  .videos-home-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .videos-home-player {
    width: 100%;
  }
  .videos-home-side {
    align-items: stretch;
  }
  .videos-home-side .btn-primary,
  .videos-home-side .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .video-frame,
  .videos-home .video-frame {
    border-radius: 12px;
  }
  .video-now h3,
  .videos-home .video-now h3 {
    font-size: 13px;
  }
  .video-thumb {
    width: 96px;
  }
  .section-header h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
}

/* Soften cards for lighter Vice City feel */
.bg-card,
.videos-home-player,
.video-player-wrap,
.video-playlist,
.contact-card {
  backdrop-filter: blur(8px);
}
