
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --red: #e60012;
  --red-dark: #80000a;
  --red-glow: rgba(230, 0, 18, 0.35);
  --bg: #090a0f;
  --surface: rgba(22, 24, 34, 0.8);
  --surface-hover: rgba(30, 33, 48, 0.95);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --transition: all 0.25s ease;
  
  /* Discord branding */
  --discord-blurple: #5865F2;
  --discord-dark: #2C2F33;
  --discord-darker: #23272A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .nav-brand {
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: -0.5px;
}

/* Background Ambient Glow (Unified) */
.blob-bg {
  position: fixed;
  top: -15vw;
  left: -15vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.12) 0%, transparent 65%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.blob-bg::after {
  content: '';
  position: absolute;
  bottom: -20vw;
  right: -20vw;
  min-width: 400px;
  min-height: 400px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.2) 0%, rgba(127, 29, 29, 0.2) 40%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: float-lava-2 12s ease-in-out infinite alternate-reverse;
}

@keyframes float-lava {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 5vh) scale(1.1); }
  100% { transform: translate(-5vw, 10vh) scale(0.9); }
}

@keyframes float-lava-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15vw, -15vh) scale(1.3); }
  100% { transform: translate(10vw, -10vh) scale(0.7); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Top Nav */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto 3rem auto;
  padding: 1.2rem 4rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
}
.nav-brand span {
  color: var(--red);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 2rem;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  width: 250px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nav-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: block;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Hero Section */
.hero {
  margin-bottom: 6rem;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h2 {
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 2rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.red-badge {
  background: rgba(229, 57, 53, 0.15);
  color: #ff8a80;
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: center;
  display: inline-block;
}

.primary-btn {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red-hover);
  box-shadow: 0 0 15px var(--red-glow);
  transition: all 0.3s ease;
}
.primary-btn:hover {
  background: var(--red-hover);
  box-shadow: 0 0 25px var(--red-glow);
  transform: translateY(-2px);
}

.secondary-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.secondary-btn:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.3);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid #ff9800;
  line-height: 1.6;
}

/* DISCORD WIDGET OFFFICIEL */
.discord-widget-container {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  transition: transform var(--transition);
  display: flex;
}
.discord-widget-container:hover {
  transform: translateY(-5px);
  border-color: var(--discord-blurple);
}
.discord-join-btn {
  display: block;
  background: var(--discord-green);
  color: #fff;
  padding: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.discord-join-btn:hover {
  background: #22c55e;
}

/* CAROUSEL SCREENSHOTS */
.carousel-section {
  margin-bottom: 6rem;
}
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: #000;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  aspect-ratio: 16/9;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
}
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--red);
  transform: scale(1.2);
}

/* Button Glow Effects */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  opacity: 0;
}
.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.primary-btn:hover {
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.6);
  transform: translateY(-2px);
}
.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Placeholder Styling */
.placeholder-img {
  background: #18181b;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Roadmap / Avancement */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 6rem;
  align-items: start;
}

.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
}
.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.roadmap-card.highlight {
  border-color: var(--red);
  background: linear-gradient(145deg, rgba(229,57,53,0.1) 0%, transparent 100%);
}

.roadmap-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.date-big {
  font-size: clamp(1.8rem, 6vw, 3.0rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.roadmap-card ul {
  list-style: none;
}
.roadmap-card ul li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  padding-left: 1.5rem;
  position: relative;
}
.roadmap-card ul li::before {
  content: '▪';
  color: var(--red);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.roadmap-card ul li strong {
  color: #fff;
}

/* Stats Section */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; /* Moins rond, plus carré doux */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.stat-card:hover {
  background: var(--surface-hover);
  border-color: var(--red);
  transform: translateY(-5px);
}
.stat-value {
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.stat-sub {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
}

.loading-spinner {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  grid-column: 1 / -1;
}

/* Videos & Embeds */
.video-section {
  margin-bottom: 6rem;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Generic Pages (Histoire, Patch notes, Equipe) */
.page-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: 4rem;
}

.page-content h2 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  color: var(--red);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.page-content p {
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
  color: #d4d4d8;
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  color: #d4d4d8;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 0.8rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.team-member {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition);
}
.team-member:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--red);
  margin: 0 auto 1.5rem auto;
  object-fit: cover;
}
.team-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.team-name a {
  color: #fff;
  text-decoration: none;
}
.team-name a:hover {
  color: var(--red);
  text-decoration: underline;
}
.team-role {
  font-size: 0.95rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.team-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Patch Notes Timeline */
.timeline {
  border-left: 3px solid var(--red);
  padding-left: 2.5rem;
  margin-top: 3rem;
}
.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.35rem; /* Ajusté pour centrer sur la bordure */
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 4px solid var(--red);
  border-radius: 50%;
}
.timeline-date {
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.timeline-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Comparaison Section */
.comparison-section {
  margin-bottom: 6rem;
}
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.filter-btn {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.filter-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  opacity: 0;
}
.filter-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.slider-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.2);
}
.slider-card .name {
  padding: 0.8rem;
  text-align: center;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.comparison {
  position: relative;
  width: 100%;
  height: 220px;
  cursor: ew-resize;
  user-select: none;
}
.img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.img-before {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--red);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}
.slider-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid #fff;
}
.label-left, .label-right {
  position: absolute;
  bottom: 15px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 4;
}
.label-left { left: 15px; }
.label-right { right: 15px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-left a {
  color: var(--text);
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .hero, .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .hero-grid .discord-content {
    text-align: center !important;
  }
  .hero-grid .hero-buttons {
    justify-content: center !important;
  }
  .hero-buttons {
    justify-content: center;
  }
  .discord-widget {
    margin: 0 auto;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .glass-panel {
    padding: 2rem;
  }
  .page-content {
    padding: 2rem;
  }
  .carousel-track {
    height: 300px;
  }
}

/* =========================================
   PREMIUM LAYOUT & FOOTER (NEW CSS)
   ========================================= */

/* Discord Wrapper Layout */
.discord-wrapper {
  position: relative;
}

.discord-content {
  padding: 0 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Diagonal Divider Transition — handled per-page inline */
.diagonal-divider {
  display: none;
}

/* Info Section (Dark Area) */
.info-section {
  background-color: #111115;
  position: relative;
  z-index: 5;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Showcase Rows (Alternating Layout) */
.showcase-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-text {
  flex: 1;
}

.showcase-text h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.2;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition);
}

.showcase-visual img:hover {
  transform: translateY(-5px);
}

/* Premium Footer */
.premium-footer {
  background-color: #0d0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(2rem, 5vw, 5rem) 2rem 2rem 2rem;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  z-index: 10;
  /* Break out of any container/glass-panel wrapper */
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.footer-brand h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-brand h3 span {
  color: var(--red);
}

.footer-brand p {
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--red);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-row {
    flex-direction: column !important;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
.join-btn-giant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #5865F2;
  color: white;
  padding: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: background 0.3s, transform 0.2s;
  margin-top: -5px;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}
.join-btn-giant:hover {
  background: #4752C4;
}
.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* JS Animations */
/* Pure CSS Animations */
.fade-in {
  opacity: 0;
  animation: fadeInAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInAnim {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Mobile Fixes */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-brand p {
    margin: 0 auto;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch !important;
  }
  .hero-buttons a {
    text-align: center;
    justify-content: center;
  }
  .video-wrapper iframe {
    border-radius: 12px;
  }
  .discord-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .nav-menu {
    width: 90%;
    right: 5%;
    left: 5%;
  }
}

/* Discord Widget Display Logic */
.discord-desktop {
  display: block;
}
.discord-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .discord-desktop {
    display: none !important;
  }
  .discord-mobile {
    display: flex !important;
  }
}

/* Mobile UX Fixes Final */
@media (max-width: 768px) {
  .mobile-stack {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
  .mobile-stack > div {
    width: 100% !important;
  }
  .discord-desktop {
    display: none !important;
  }
  .discord-mobile {
    display: flex !important;
  }
  .carousel-container {
    height: auto !important;
    aspect-ratio: 16/9;
  }
  .carousel-slide img {
    object-fit: contain !important;
    height: 100% !important;
  }
}
@media (min-width: 769px) {
  .discord-desktop {
    display: block !important;
  }
  .discord-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {

  .mobile-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* FAQ Accordion Styles */
.faq-details {
    background: rgba(15, 15, 20, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-details[open] {
    background: rgba(30, 30, 40, 0.7);
    border-color: var(--red);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}
.faq-summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-summary::-webkit-details-marker {
    display: none;
}
.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--red);
    transition: transform 0.3s ease;
}
.faq-details[open] .faq-summary::after {
    content: '-';
    transform: rotate(180deg);
}
.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.05rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
    padding-top: 1.5rem;
}
.faq-content a {
    color: var(--red);
    text-decoration: none;
    font-weight: bold;
}
.faq-content a:hover {
    text-decoration: underline;
}

.footer-col ul a.active {
  color: #fff;
}
.footer-col ul a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}


/* =========================================
   UX/UI ENHANCEMENTS (Transitions, Nav, Lightbox)
   ========================================= */

/* 1. Page Transitions */
.page-wrapper {
  /* Removed pageFadeIn to fix Lighthouse NO_LCP (Largest Contentful Paint) */
}
.page-wrapper.fade-out {
  animation: pageFadeOut 0.3s ease-in forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}

/* 2. Reactive Top Nav (Glassmorphism) */
.top-nav {
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.top-nav.scrolled {
  padding: 0.8rem 4rem;
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .top-nav.scrolled {
    padding: 0.8rem 2rem;
  }
}

/* 3. Lightbox Gallery */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.active img {
  transform: scale(1);
}
.lightbox-trigger {
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.lightbox-trigger:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}
/* Ensure the body doesn't scroll when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* ==========================================================================
   P2IS FLAGSHIP UNIFIED SECTIONS (STORY, CAPTURES, TEAM, ROADMAP, FAQ)
   ========================================================================== */

.p2-content-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem 1.5rem;
}

/* Nav additions */
.top-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: var(--transition);
}
.nav-back-link:hover {
  background: #fff;
  color: #000;
}
.nav-btn-faq {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}
.nav-btn-faq:hover {
  background: #fff;
  color: #000;
}
.nav-btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--discord-blurple);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}
.nav-btn-discord:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Hero Section */
.p2-hero-section {
  padding: 5rem 1rem 3.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p2-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(230, 0, 18, 0.1);
  border: 1px solid rgba(230, 0, 18, 0.35);
  color: var(--red);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.p2-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse 2s infinite;
}

.p2-hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.text-crimson { color: var(--red); }
.text-green { color: #22c55e; }
.text-blue { color: #3b82f6; }
.text-yellow { color: #f59e0b; }
.text-purple { color: #8b5cf6; }

.p2-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 2.2rem;
}
.p2-hero-subtitle strong { color: #fff; }

.p2-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.btn-crimson-p2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.4);
  transition: var(--transition);
}
.btn-crimson-p2:hover {
  transform: translateY(-2px);
  background: #ff1a2b;
  box-shadow: 0 8px 25px rgba(230, 0, 18, 0.6);
}

.btn-surface-p2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-surface-p2:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.btn-outline-p2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-outline-p2:hover {
  color: #fff;
  border-color: #fff;
}

/* Highlights Ribbon */
.p2-highlights-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  max-width: 960px;
  width: 100%;
}
.p2-hl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p2-hl-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}
.p2-hl-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}
.p2-hl-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}
@media (max-width: 768px) {
  .p2-hl-sep { display: none; }
}

/* Section Common Head */
.p2-section {
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border);
}
.p2-section-head {
  margin-bottom: 2.75rem;
}
.p2-section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.4rem;
}
.p2-section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.p2-section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 750px;
  line-height: 1.7;
}

/* Story Section */
.p2-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.p2-story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.p2-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}
.p2-story-card.border-crimson { border-top: 3px solid var(--red); }
.p2-story-card.border-purple { border-top: 3px solid #8b5cf6; }
.p2-story-card.border-blue { border-top: 3px solid #3b82f6; }
.p2-story-card.border-green { border-top: 3px solid #10b981; }

.story-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.tag-crimson { background: rgba(230, 0, 18, 0.15); color: var(--red); border: 1px solid rgba(230,0,18,0.3); }
.tag-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.tag-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.tag-green { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }

.p2-story-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.p2-story-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.p2-story-card p strong { color: #fff; }

/* In-Game Captures Grid */
.p2-captures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.p2-capture-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.p2-capture-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.p2-capture-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.capture-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  line-height: 1.4;
}

/* Team Grid */
.p2-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.p2-member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}
.p2-member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}
.p2-member-card.border-crimson { border-left: 4px solid var(--red); }
.p2-member-card.border-blue { border-left: 4px solid #3b82f6; }
.p2-member-card.border-green { border-left: 4px solid #10b981; }

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.member-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.member-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.member-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.member-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge-crimson { background: rgba(230, 0, 18, 0.18); color: var(--red); border: 1px solid rgba(230,0,18,0.3); }
.badge-blue { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.badge-green { background: rgba(16, 185, 129, 0.18); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }

.member-stat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: block;
}
.member-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.member-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.member-links a:hover { color: var(--red); }

.p2-team-note {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Patch Section Box */
.p2-patch-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.p2-patch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 860px) {
  .p2-patch-grid { grid-template-columns: 1fr; }
}

.patch-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.patch-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.patch-specs-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.patch-specs-list li strong { color: #fff; }
.patch-specs-list li code {
  background: rgba(0,0,0,0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--red);
}

.patch-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.roadmap-line {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.rm-check {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
}
.roadmap-line strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.roadmap-line span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Banner */
.p2-faq-banner {
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.12) 0%, rgba(15, 17, 26, 0.9) 100%);
  border: 1px solid rgba(230, 0, 18, 0.35);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.faq-banner-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.faq-banner-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.65;
}
.faq-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer P2IS */
.p2-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.p2-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .p2-footer-inner { grid-template-columns: 1fr; }
}
.p2-footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}
.p2-footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.p2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.p2-footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.p2-footer-links a:hover { color: #fff; }
.p2-footer-head {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1rem;
}
.p2-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.p2-footer-list a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}
.p2-footer-list a:hover { color: #fff; }
.p2-footer-legalese {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
}


/* ==========================================================================
   MARQUEE CAPTURES SLIDER (SMOOTH HORIZONTAL SCROLLER)
   ========================================================================== */
.p2-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.p2-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: p2Marquee 90s linear infinite;
  will-change: transform;
}

.p2-marquee-wrapper:hover .p2-marquee-track {
  animation-play-state: paused;
}

@keyframes p2Marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.p2-capture-slide {
  flex: 0 0 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.p2-capture-slide:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(230, 0, 18, 0.5);
  box-shadow: 0 10px 25px rgba(230, 0, 18, 0.2);
}

.slide-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

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

.slide-zoom-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.p2-capture-slide:hover .slide-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.slide-caption {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.p2-marquee-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.marquee-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.4; }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; }
}

.marquee-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-marquee-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-marquee-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ==========================================================================
   MODERN TEAM GRID (SLEEK, COMPACT & PERSONA HUD AESTHETICS)
   ========================================================================== */
.p2-modern-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.p2-team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.p2-team-card:hover {
  transform: translateY(-4px);
}

.card-chenetulipe:hover {
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: 0 12px 30px rgba(230, 0, 18, 0.15);
}

.card-hamza:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.card-garloulou:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.team-card-banner {
  height: 6px;
  width: 100%;
}
.banner-crimson { background: linear-gradient(to right, #e60012, #ff4d5a); }
.banner-blue { background: linear-gradient(to right, #3b82f6, #60a5fa); }
.banner-green { background: linear-gradient(to right, #10b981, #34d399); }

.team-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.avatar-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.dot-crimson { background: #e60012; box-shadow: 0 0 8px #e60012; }
.dot-blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.dot-green { background: #10b981; box-shadow: 0 0 8px #10b981; }

.team-name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.team-role-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.role-crimson { background: rgba(230, 0, 18, 0.15); color: #ff4d5a; border: 1px solid rgba(230,0,18,0.3); }
.role-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.role-green { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }

.team-subrole {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.85rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.team-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  color: #cbd5e1;
}

.team-card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}
.btn-github-link:hover {
  color: var(--red);
  transform: translateX(3px);
}

.p2-team-thanks-banner {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.thanks-icon {
  font-size: 2rem;
}

.thanks-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.thanks-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PATCH & TECHNICAL PROGRESS DASHBOARD
   ========================================================================== */
.p2-patch-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 980px) {
  .p2-patch-dashboard { grid-template-columns: 1fr; }
}

.dashboard-download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.download-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pill-playable { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.35); }
.pill-version { background: rgba(255, 255, 255, 0.05); color: #94a3b8; border: 1px solid rgba(255, 255, 255, 0.1); }

.download-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.download-card-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.download-specs-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.spec-key { color: var(--text-muted); font-weight: 600; }
.spec-val { color: #fff; font-weight: 700; }
.spec-val code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--red);
}

.download-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-block-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
}

/* Right Column: Progress Card */
.dashboard-progress-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
}

.progress-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.live-sync-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.progress-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.progress-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.progress-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.file-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.file-scope {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.status-badge-chip {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.chip-done { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.35); }
.chip-pending { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); }
.chip-wip { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }

.p2-prog-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.p2-prog-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.fill-green { background: linear-gradient(to right, #16a34a, #22c55e); box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.fill-cyan { background: linear-gradient(to right, #0891b2, #06b6d4); box-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }
.fill-orange { background: linear-gradient(to right, #d97706, #f59e0b); box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.fill-blue { background: linear-gradient(to right, #2563eb, #3b82f6); box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
.fill-dim { background: rgba(255, 255, 255, 0.2); }

.file-subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.subfile-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

/* EBOOT Breakdown Subtable */
.eboot-subtable {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.eboot-row {
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.76rem;
}

@media (max-width: 500px) {
  .eboot-row { grid-template-columns: 140px 1fr 50px; }
}

.eboot-col-label { color: #cbd5e1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eboot-col-bar { height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; }
.mini-bar { height: 100%; border-radius: 3px; }
.eboot-col-val { font-weight: 800; text-align: right; }

/* Textures Split Grid */
.textures-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.35rem;
}

@media (max-width: 650px) {
  .textures-split-grid { grid-template-columns: 1fr; }
}

.texture-stat-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tex-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.tex-title-row strong { color: #fff; font-weight: 700; }

.tex-subtext {
  font-size: 0.72rem;
  line-height: 1.4;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR CAPTURES
   ========================================================================== */
.p2-lightbox-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 6, 10, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.p2-lightbox-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: 1050px;
  width: 100%;
  background: #0d0e15;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.lightbox-nav {
  display: flex;
  gap: 0.5rem;
}

.btn-lightbox-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
}


/* ==========================================================================
   REFINED SLOW & CINEMATIC MARQUEE (NO CAPTIONS, LARGER SLIDES, MOINS CARRÉ)
   ========================================================================== */
.p2-marquee-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  animation: p2Marquee 260s linear infinite !important; /* Doux et très lent */
  will-change: transform;
}

.p2-capture-slide {
  flex: 0 0 480px !important; /* Nettement plus grand */
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px !important; /* Bords doux et arrondis */
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .p2-capture-slide {
    flex: 0 0 85vw !important;
  }
}

.p2-capture-slide:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(230, 0, 18, 0.6);
  box-shadow: 0 16px 40px rgba(230, 0, 18, 0.25);
}

.slide-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.slide-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s ease;
}

.p2-capture-slide:hover .slide-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   NOUVELLE SECTION HISTOIRE : ÉLÉGANTE, CONCISE & MOINS CARRÉE
   ========================================================================== */
.p2-story-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.p2-story-pill-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px; /* Moins carré */
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.p2-story-pill-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.p2-story-pill-card.border-crimson:hover { border-color: rgba(230, 0, 18, 0.4); box-shadow: 0 12px 30px rgba(230, 0, 18, 0.15); }
.p2-story-pill-card.border-purple:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15); }
.p2-story-pill-card.border-blue:hover { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15); }
.p2-story-pill-card.border-green:hover { border-color: rgba(34, 197, 94, 0.4); box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15); }

.story-pill-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.story-pill-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.story-pill-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   TÉLÉCHARGEMENT & AVANCEMENT TECHNIQUE AÉRÉ (MOINS CARRÉ, PLUS LÉGER)
   ========================================================================== */
.p2-patch-dashboard-airy {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 980px) {
  .p2-patch-dashboard-airy {
    grid-template-columns: 1fr;
  }
}

.dashboard-download-card-airy {
  background: rgba(22, 24, 34, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px; /* Bords doux arrondis */
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.download-specs-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

@media (max-width: 500px) {
  .download-specs-chips { grid-template-columns: 1fr; }
}

.spec-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.spec-chip-k { font-size: 0.72rem; color: var(--text-dim); font-weight: 700; text-transform: uppercase; }
.spec-chip-v { font-size: 0.85rem; color: #fff; font-weight: 700; }
.spec-chip-v code {
  background: rgba(230, 0, 18, 0.15);
  color: #ff4d5a;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.download-ctas-airy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-rounded-cta {
  border-radius: 16px !important; /* Moins carré */
  padding: 0.85rem 1.4rem;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Colonne Droite Aérée avec Onglets */
.dashboard-progress-card-airy {
  background: rgba(22, 24, 34, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px; /* Bords doux arrondis */
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.progress-card-header-airy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.1rem;
}

.progress-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

/* Onglets fluides */
.progress-tabs-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.prog-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill); /* Pill */
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
}

.prog-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.prog-tab-btn.active {
  background: rgba(230, 0, 18, 0.15);
  border-color: rgba(230, 0, 18, 0.4);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.2);
}

.tab-tag {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
}
.tab-tag.tag-green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.tab-tag.tag-orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.tab-tag.tag-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

/* Contenu Onglets */
.tab-panel.active {
  animation: fadeInPanel 0.25s ease forwards;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.prog-airy-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px; /* Moins carré */
  padding: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.prog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.item-scope {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.status-chip-airy {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}
.chip-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.chip-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); }
.chip-orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }

.p2-prog-bar-airy {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.p2-prog-fill-airy {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.bnp-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.bnp-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #67e8f9;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

/* EBOOT Airy Breakdown */
.eboot-airy-table {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.eboot-airy-row {
  display: grid;
  grid-template-columns: 190px 1fr 65px;
  gap: 0.85rem;
  align-items: center;
  font-size: 0.8rem;
}

@media (max-width: 550px) {
  .eboot-airy-row { grid-template-columns: 140px 1fr 50px; }
}

.eboot-lbl { color: #cbd5e1; font-weight: 600; }
.eboot-track { height: 6px; background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-pill); overflow: hidden; }
.eboot-bar { height: 100%; border-radius: var(--radius-pill); }
.eboot-pct { font-weight: 800; text-align: right; }

/* Textures Airy Grid */
.textures-airy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 680px) {
  .textures-airy-grid { grid-template-columns: 1fr; }
}

.tex-airy-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.tex-title { font-size: 0.95rem; font-weight: 800; color: #fff; }
.tex-val { font-weight: 800; font-size: 0.85rem; }

.tex-footer-msg {
  font-size: 0.78rem;
  margin-top: 0.2rem;
}
.msg-green { color: #4ade80; }
.msg-dim { color: var(--text-dim); }

/* Global Soft Rounded Radii across P2IS */
.p2-highlights-ribbon {
  border-radius: 24px !important;
}

.p2-team-card {
  border-radius: 22px !important;
}

.p2-team-thanks-banner {
  border-radius: 20px !important;
}

.p2-faq-banner {
  border-radius: 24px !important;
}


/* ==========================================================================
   PILL-SHAPED BUTTONS & PAUSE/LIGHTBOX GUARANTEES (FINI LE CARRÉ RECTANGLE)
   ========================================================================== */
.btn,
.primary-btn,
.secondary-btn,
.btn-crimson-p2,
.btn-surface-p2,
.btn-outline-p2,
.btn-rounded-cta,
.btn-marquee-nav,
.btn-lightbox-nav,
.nav-discord-btn,
.nav-tag-p2 {
  border-radius: 999px !important; /* Véritables pilules douces, zéro rectangle carré */
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn:active,
.btn-crimson-p2:active,
.btn-surface-p2:active,
.btn-outline-p2:active {
  transform: translateY(1px) scale(0.985);
}

.btn-crimson-p2 {
  background: linear-gradient(135deg, #e60012 0%, #c4000f 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 18px rgba(230, 0, 18, 0.45) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}
.btn-crimson-p2:hover {
  background: linear-gradient(135deg, #ff1a2d 0%, #e60012 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 0, 18, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.btn-surface-p2 {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.btn-surface-p2:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.btn-outline-p2 {
  background: transparent !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.btn-outline-p2:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.p2-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Fix Marquee Pause & Lightbox Clickability */
.p2-marquee-track.paused,
.p2-marquee-wrapper:hover .p2-marquee-track {
  animation-play-state: paused !important;
}

.btn-marquee-nav.active-pause {
  background: #e60012 !important;
  border-color: #ff4d5a !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(230, 0, 18, 0.5);
}

.p2-capture-slide {
  cursor: pointer !important;
  position: relative;
  z-index: 5;
}

.p2-capture-slide .slide-img-wrap,
.p2-capture-slide img,
.p2-capture-slide .slide-zoom-badge {
  pointer-events: none; /* Allows the click to hit the slide and trigger openLightbox immediately */
}

/* Lightbox z-index & smooth animation */
.p2-lightbox-layer {
  z-index: 99999 !important;
}


/* ==========================================================================
   ENHANCED MODERN STYLES: CLEAN STORY BOX, PATCH PANEL & FULL NAVBAR
   ========================================================================== */

/* Full Top Nav & Clean Desktop Links */
.top-nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 13, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-brand-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
  font-size: 1.1rem;
}

.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-back-link:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-1px);
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand span {
  color: #e60012;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.25rem !important;
  position: static !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

@media (max-width: 980px) {
  .top-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }
  .nav-menu {
    width: 100% !important;
    overflow-x: auto;
    padding-bottom: 0.3rem !important;
    gap: 0.9rem !important;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
}

/* Clean Story Box */
.p2-story-clean-section {
  padding-top: 3.5rem;
}

.p2-story-clean-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.p2-story-clean-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #e60012, transparent);
}

.p2-story-paragraph {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-top: 1rem;
}

.p2-story-paragraph strong {
  color: #fff;
  font-weight: 700;
}

.p2-story-paragraph em {
  color: #ff4d5a;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 768px) {
  .p2-story-clean-box {
    padding: 2rem 1.5rem;
  }
  .p2-story-paragraph {
    font-size: 1.02rem;
    line-height: 1.75;
  }
}

/* Clean Patch Layout */
.p2-patch-clean-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 980px) {
  .p2-patch-clean-container {
    grid-template-columns: 1fr;
  }
}

.p2-patch-dl-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.p2-patch-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.p2-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.p2-status-pill.pill-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.p2-status-pill.pill-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.p2-patch-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  font-family: 'Outfit', sans-serif;
}

.p2-patch-summary {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.p2-patch-meta-list {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.p2-patch-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.p2-meta-k {
  color: #94a3b8;
  font-weight: 600;
}

.p2-meta-v {
  color: #fff;
  font-weight: 700;
}

.p2-meta-v code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  color: #ff4d5a;
}

.p2-patch-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-discord-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #5865F2;
  color: #fff !important;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-discord-pill:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.55);
}

/* Panneau Avancement Synthétique */
.p2-patch-progress-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.p2-prog-panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.p2-clean-prog-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.p2-clean-prog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p2-prog-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.p2-prog-val {
  font-size: 0.84rem;
  font-weight: 800;
}

.p2-clean-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.p2-clean-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.p2-clean-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}


/* ==========================================================================
   PERFECTED TOP NAV (SPACIOUS, NO OVERLAP, BALANCED CLUSTERS)
   ========================================================================== */
.top-nav {
  width: 100% !important;
  max-width: 1350px !important;
  margin: 0 auto !important;
  padding: 0.95rem 2rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 2rem !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(10, 10, 13, 0.94) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
}

.nav-brand-group {
  display: flex !important;
  align-items: center !important;
  gap: 0.9rem !important;
  flex-shrink: 0 !important;
}

.nav-brand-sep {
  color: rgba(255, 255, 255, 0.25) !important;
  font-weight: 300 !important;
  font-size: 1.1rem !important;
}

.nav-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 0.38rem 0.85rem !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.nav-back-link:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
  transform: translateY(-1px) !important;
}

.nav-brand {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.nav-brand span {
  color: #e60012 !important;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2.2rem !important;
  flex: 1 !important;
}

.nav-links-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
}

.nav-link {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  position: relative !important;
}
.nav-link:hover {
  color: #fff !important;
}
.nav-link.active {
  color: #fff !important;
}
.nav-link.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: #e60012 !important;
  border-radius: 2px !important;
}

.nav-actions-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 1.2rem !important;
  }
  .nav-links-cluster {
    gap: 1rem !important;
  }
}

@media (max-width: 920px) {
  .top-nav {
    flex-wrap: wrap !important;
    padding: 0.85rem 1.2rem !important;
    gap: 0.8rem !important;
  }
  .nav-menu {
    width: 100% !important;
    justify-content: space-between !important;
    overflow-x: auto !important;
    padding-bottom: 0.2rem !important;
    scrollbar-width: none !important;
  }
  .nav-menu::-webkit-scrollbar {
    display: none !important;
  }
}

/* ==========================================================================
   BTN FAQ PILL WITH EMOJI HEART ❤️
   ========================================================================== */
.btn-faq-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
.btn-faq-pill:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5) !important;
}
.btn-faq-heart {
  font-size: 1.05rem !important;
  display: inline-block !important;
  transform: translateY(-1px) !important;
}
.btn-faq-arrow {
  transition: transform 0.2s ease !important;
}
.btn-faq-pill:hover .btn-faq-arrow {
  transform: translateX(3px) !important;
}


.faq-content code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--red);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.9em;
}

/* Mobile Touch Target & Spacing Optimization (Lighthouse 100/100) */
@media (max-width: 920px) {
  .nav-link {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 0.6rem !important;
  }
  .nav-btn-faq, .nav-btn-discord {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}
