*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: "Bricolage Grotesque", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #0b0712;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 64px);
  max-width: 900px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 0 20px;
}

.nav-inner {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.nav-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.nav-link:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.07);
}

.nav-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #5865f2;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(88,101,242,0.2);
  background: linear-gradient(135deg, rgba(88,101,242,0.1), rgba(88,101,242,0.05));
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-discord::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88,101,242,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-discord:hover {
  background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(88,101,242,0.08));
  border-color: rgba(88,101,242,0.35);
  color: #7289da;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88,101,242,0.25);
}

.nav-discord:hover::before {
  opacity: 1;
}

.nav-discord:active {
  transform: translateY(0);
}

.nav-discord svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ── Glows ── */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(109,40,217,0.18) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-bottom {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  bottom: -100px;
  right: 10%;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(251,191,36,0.75);
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.16);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -3px;
  color: #fff;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 40%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
  flex-wrap: wrap;
  justify-content: center;
}

/* wrapper pour le contour rotatif */
.btn-download-wrap {
  display: inline-flex;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(var(--btn-angle, 0deg), #7c3aed, #c084fc, #e879f9, #7c3aed);
  animation: btn-border-spin 3s linear infinite;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(124,58,237,0.25);
}

@property --btn-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes btn-border-spin {
  to { --btn-angle: 360deg; }
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: #fff;
  color: #0b0712;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
  position: relative;
  overflow: hidden;
}

.btn-download::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255,255,255,0.55) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: btn-shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.btn-download-wrap:hover .btn-download { opacity: 0.88; }
.btn-download-wrap:active .btn-download { transform: scale(0.97); }

.btn-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.38);
  background: rgba(0,0,0,0.06);
  padding: 2px 8px;
  border-radius: 6px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-ghost:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

/* ── Screenshot ── */
.screenshot-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  animation: screenshot-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(var(--angle, 0deg), #7c3aed, #c084fc, #a855f7, #4f46e5, #7c3aed);
  animation: screenshot-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both,
             border-spin 4s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

@keyframes screenshot-enter {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.screenshot-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(ellipse at 50% 60%, rgba(109,40,217,0.3) 0%, transparent 65%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,100% { opacity:1; }
  50%      { opacity:0.55; }
}

/* inner container clips the image and hosts the shimmer */
.screenshot-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  line-height: 0;
}

.screenshot {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* shimmer sweep */
.screenshot-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.09) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 16px;
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Credits ── */
.credits {
  position: relative;
  z-index: 1;
  padding: 120px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.credits-page-content {
  position: relative;
  z-index: 1;
  padding: 0 32px 80px;
}

.credits-page-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* Simple container with clean border */
.credits-developers-container {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7, #7c3aed);
  margin-bottom: 16px;
}

.credits-developers-inner {
  background: rgba(15,10,25,0.95);
  border-radius: 17px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Simplified Credit Cards */
.credit-card-enhanced {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.credit-card-enhanced:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(139,92,246,0.2);
}

.credit-card-bg,
.credit-card-glow,
.credit-avatar-ring {
  display: none; /* Remove complex effects */
}

.credit-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.credit-avatar-wrap-enhanced {
  position: relative;
  flex-shrink: 0;
}

.credit-avatar-img-enhanced,
.credit-avatar-fallback-enhanced {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(139,92,246,0.3);
}

.credit-avatar-img-enhanced {
  object-fit: cover;
}

.credit-avatar-fallback-enhanced {
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(109,40,217,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(196,166,255,0.9);
}

.credit-status-dot-enhanced {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(15,10,25,0.9);
}

.credit-status-dot-enhanced.status-online  { background: #22c55e; }
.credit-status-dot-enhanced.status-idle    { background: #f59e0b; }
.credit-status-dot-enhanced.status-dnd     { background: #ef4444; }
.credit-status-dot-enhanced.status-offline { background: #6b7280; }

.credit-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credit-name-enhanced {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.credit-role-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(251,191,36,0.9);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.credit-card-enhanced.developer .credit-role-enhanced {
  color: rgba(139,92,246,0.9);
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.2);
}

.credit-description {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.credit-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credit-activity-enhanced {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.credit-activity-enhanced:before {
  content: "🎮";
  opacity: 0.6;
}

.credit-stats {
  display: flex;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.credit-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 14px;
  font-weight: 700;
  color: rgba(139,92,246,0.9);
}

.credit-card-enhanced.team-lead .stat-value {
  color: rgba(251,191,36,0.9);
}

/* Simplified Special Thanks Section */
.credits-section {
  margin-top: 32px;
}

.credits-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.credits-section-title svg {
  color: rgba(239,68,68,0.8);
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.thanks-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.thanks-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.thanks-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(167,139,250,0.9);
}

.thanks-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.thanks-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* Remove all complex animations and effects */
.credit-card-enhanced {
  animation: none;
}

.credits-developers-container {
  animation: none;
}

.credits-section {
  animation: none;
}

@media (max-width: 700px) {
  .credits-page-content { padding: 0 20px 60px; }
  .credits-developers-inner { padding: 20px; }
  .credit-card-enhanced { 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 16px; 
  }
  .credit-header { 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 16px; 
    width: 100%;
  }
  .credit-stats { justify-content: center; }
  .thanks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .credits-page-content { padding: 0 20px 60px; }
  .credits-developers-container { padding: 2px; }
  .credits-developers-inner { padding: 16px; }
  .credit-card-enhanced { padding: 20px; margin-bottom: 16px; }
  .credit-header { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .credit-stats { justify-content: center; }
  .thanks-grid { grid-template-columns: 1fr; }
  .credits-section { margin-top: 32px; }
}

/* ── Credit Card Animations ── */
.credits-developers-container {
  animation: card-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.credit-card-enhanced {
  animation: card-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.credit-card-enhanced.team-lead {
  animation-delay: 0.2s;
}

.credit-card-enhanced.developer {
  animation-delay: 0.3s;
}

.credits-section {
  animation: card-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

@keyframes card-fade-in {
  from { 
    opacity: 0; 
    transform: translateY(40px) scale(0.96); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

/* ── Enhanced Status Dots with Pulse ── */
.credit-status-dot-enhanced.status-online {
  animation: status-pulse-green 2s ease-in-out infinite;
}

.credit-status-dot-enhanced.status-idle {
  animation: status-pulse-yellow 2s ease-in-out infinite;
}

.credit-status-dot-enhanced.status-dnd {
  animation: status-pulse-red 2s ease-in-out infinite;
}

@keyframes status-pulse-green {
  0%, 100% { 
    background: #22c55e; 
    box-shadow: 0 0 12px rgba(34,197,94,0.4); 
  }
  50% { 
    background: #16a34a; 
    box-shadow: 0 0 20px rgba(34,197,94,0.6); 
  }
}

@keyframes status-pulse-yellow {
  0%, 100% { 
    background: #f59e0b; 
    box-shadow: 0 0 12px rgba(245,158,11,0.4); 
  }
  50% { 
    background: #d97706; 
    box-shadow: 0 0 20px rgba(245,158,11,0.6); 
  }
}

@keyframes status-pulse-red {
  0%, 100% { 
    background: #ef4444; 
    box-shadow: 0 0 12px rgba(239,68,68,0.4); 
  }
  50% { 
    background: #dc2626; 
    box-shadow: 0 0 20px rgba(239,68,68,0.6); 
  }
}

/* ── Interactive Hover Effects ── */
.credit-card-enhanced:hover .credit-name-enhanced {
  color: rgba(139,92,246,0.95);
  transition: color 0.3s ease;
}

.credit-card-enhanced:hover .credit-avatar-img-enhanced {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.credit-card-enhanced:hover .credit-avatar-fallback-enhanced {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(109,40,217,0.6));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Gradient Text Animation ── */
.credit-name-enhanced {
  background: linear-gradient(90deg, #fff, #fff, rgba(139,92,246,0.9), #fff, #fff);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: name-gradient-sweep 4s ease-in-out infinite;
}

@keyframes name-gradient-sweep {
  0%, 100% { background-position: 200% center; }
  50% { background-position: -200% center; }
}

.credit-card-enhanced:hover .credit-name-enhanced {
  -webkit-text-fill-color: rgba(139,92,246,0.95);
  animation: none;
}

/* ── Floating Animation ── */
.thanks-card:nth-child(1) { animation: float-1 6s ease-in-out infinite; }
.thanks-card:nth-child(2) { animation: float-2 6s ease-in-out infinite; }
.thanks-card:nth-child(3) { animation: float-3 6s ease-in-out infinite; }

@keyframes float-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(0.5deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-0.5deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(0.3deg); }
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 28px 32px;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
}

.footer-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.45;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.15);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays for children */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (max-width: 700px) {
  .nav { width: calc(100% - 32px); top: 12px; }
  .hero { padding: 100px 20px 60px; }
  .hero-title { letter-spacing: -2px; }
  .credits { padding: 80px 20px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-download, .btn-ghost { width: 100%; justify-content: center; }
  .credits-row { flex-direction: column; align-items: stretch; }
  .credit-card { min-width: unset; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Page system ── */
.page {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.page.page-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.page.page-animating-in {
  display: block;
  opacity: 0;
  transform: translateY(16px);
}

/* ── Legal hero ── */
.legal-hero {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 32px 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 36px;
}

.back-btn:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.legal-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.06;
  color: #fff;
  margin: 12px 0 14px;
}

.legal-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  max-width: 440px;
}

/* ── Legal content ── */
.legal-content {
  position: relative;
  z-index: 1;
  padding: 0 32px 100px;
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  transition: all 0.2s;
}

.legal-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.11);
}

.legal-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(167,139,250,0.8);
  margin-top: 2px;
}

.legal-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

.legal-card-body p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}

.legal-card-body p:last-child { margin-bottom: 0; }

.legal-card-body strong {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

.legal-card-body a {
  color: rgba(167,139,250,0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(167,139,250,0.25);
  transition: all 0.15s;
}

.legal-card-body a:hover {
  color: rgba(196,166,255,1);
  border-color: rgba(196,166,255,0.5);
}

/* nav active state */
.nav-link.active {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .legal-hero { padding: 100px 20px 40px; }
  .legal-content { padding: 0 20px 60px; }
  .legal-card { flex-direction: column; gap: 14px; }
}
