/* =============================================
   NARTYA WEBSITE — STYLE V2
   Dark Military Sci-Fi Theme avec transitions fluides
   Colors: #12161f, #181c28, #5b9bd5, #c94a4a
   ============================================= */

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 155, 213, 0.3) transparent;
  overflow: hidden;
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d1017;
  color: #d1d5db;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Fullpage wrapper */
.fullpage-wrapper {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.fullpage-container {
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
  backface-visibility: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(91, 155, 213, 0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(91, 155, 213, 0.5); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Page Loader ────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d1017;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(91, 155, 213, 0.15);
  border-top-color: #5b9bd5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ── Utility ────────────────────────────────── */
.text-accent { color: #5b9bd5; }

/* ── Section Navigation Indicator ──────────── */
.section-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-nav-dot:hover {
  background: rgba(91, 155, 213, 0.5);
  transform: scale(1.2);
}

.section-nav-dot.active {
  background: #5b9bd5;
  border-color: rgba(91, 155, 213, 0.3);
  box-shadow: 0 0 12px rgba(91, 155, 213, 0.5);
}

.section-nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: rgba(18, 22, 31, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-nav-dot:hover::before {
  opacity: 1;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5b9bd5;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 620px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* Section backgrounds — for fluid transitions */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 16, 23, 0.78) 0%,
    rgba(18, 22, 31, 0.68) 50%,
    rgba(13, 16, 23, 0.78) 100%
  );
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: #5b9bd5;
  color: #fff;
  box-shadow: 0 4px 20px rgba(91, 155, 213, 0.25);
}

.btn-primary:hover {
  background: #7ab3e0;
  box-shadow: 0 6px 28px rgba(91, 155, 213, 0.35);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: 12px;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(13, 16, 23, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
  color: #5b9bd5;
  border: 1px solid rgba(91, 155, 213, 0.25);
  background: rgba(91, 155, 213, 0.06);
}

.nav-link-cta:hover {
  background: rgba(91, 155, 213, 0.12);
  border-color: rgba(91, 155, 213, 0.4);
  color: #7ab3e0;
}


/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  contain: layout style paint;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('assets/bg.jpg') center/cover no-repeat;
}

/* Scanline grid effect — like in the app */
.hero-bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
}

/* Dark overlay with slight blue tint */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 16, 23, 0.6) 0%,
    rgba(18, 22, 31, 0.5) 50%,
    rgba(13, 16, 23, 0.6) 100%
  );
}

/* Bottom fade to page bg */
.hero-bg-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(13, 16, 23, 0.4) 30%,
    rgba(13, 16, 23, 0.75) 60%,
    #0d1017 100%
  );
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem 0.35rem 0.65rem;
  background: rgba(91, 155, 213, 0.08);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7ab3e0;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b9bd5;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.hero-title-line {
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(209, 213, 219, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Stats — FIXED LAYOUT */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.hero-stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.hero-stat-number,
.hero-stat-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-stat-plus {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5b9bd5;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.3);
  animation: float-down 2s ease-in-out infinite;
  cursor: pointer;
}

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


/* ═══════════════════════════════════════════════
   ANIME SHOWCASE — Real animes from API
   ═══════════════════════════════════════════════ */
.anime-showcase {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout style paint;
}

.showcase-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Anime Carousel */
.anime-carousel {
  margin: 0 auto 3rem;
  overflow: hidden;
  position: relative;
  contain: layout style paint;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  animation: scroll-carousel 30s linear infinite;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

/* Pause animation when section not visible (toggled by JS) */
.anime-carousel.paused .carousel-track {
  animation-play-state: paused;
}

@keyframes scroll-carousel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.carousel-track:hover {
  animation-play-state: paused;
}

/* Anime Cards */
.anime-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  contain: layout style paint;
}

.anime-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(91, 155, 213, 0.3);
}

.anime-card-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.anime-card-info {
  padding: 0.75rem;
  text-align: left;
}

.anime-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anime-card-genres {
  font-size: 0.7rem;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anime-card-langs {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.3rem;
}

.lang-badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(91, 155, 213, 0.1);
  color: #7ab3e0;
  font-weight: 500;
}

/* Skeleton loader */
.anime-card-skeleton {
  flex-shrink: 0;
  width: 180px;
  height: 340px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Showcase features */
.showcase-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.showcase-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(91, 155, 213, 0.08);
  border: 1px solid rgba(91, 155, 213, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b9bd5;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   FEATURE SECTIONS (each feature = 1 fullpage)
   ═══════════════════════════════════════════════ */
.feature-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  contain: layout style paint;
}

.feature-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.feature-section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 16, 23, 0.88) 0%,
    rgba(18, 22, 31, 0.78) 50%,
    rgba(13, 16, 23, 0.88) 100%
  );
}

.feature-section-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Feature block — alternating layout */
.feature-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  text-align: left;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}


.feature-visual {
  flex: 1;
  min-width: 0;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-visual-inner {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 22, 31, 0.85);
  overflow: hidden;
  padding: 2.5rem;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b9bd5;
  padding: 0.3rem 0.75rem;
  background: rgba(91, 155, 213, 0.08);
  border: 1px solid rgba(91, 155, 213, 0.15);
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.feature-description {
  color: #9ca3af;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.feature-list li svg {
  color: #5b9bd5;
  flex-shrink: 0;
}

/* Feature visuals — Catalog screenshots (expand on hover) */
.feature-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}

.feature-visual-inner.feature-watchparty {
  padding: 0;
  overflow: hidden;
  min-height: auto;
}

.feature-visual-inner.feature-catalog {
  padding: 0;
  overflow: hidden;
  min-height: 340px;
}

.catalog-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  height: 340px;
  transition: grid-template-columns 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-screenshots:has(.catalog-screenshot:nth-child(1):hover) {
  grid-template-columns: 1fr 0fr 0fr;
}

.catalog-screenshots:has(.catalog-screenshot:nth-child(2):hover) {
  grid-template-columns: 0fr 1fr 0fr;
}

.catalog-screenshots:has(.catalog-screenshot:nth-child(3):hover) {
  grid-template-columns: 0fr 0fr 1fr;
}

.catalog-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: filter 0.4s ease;
  min-width: 0;
  overflow: hidden;
}

.wp-container {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  height: 260px;
}

.wp-player {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wp-player-screen {
  flex: 1;
  background: linear-gradient(135deg, #0f1320, #181c28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-play-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(91, 155, 213, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b9bd5;
}

.wp-controls {
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.3);
}

.wp-progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.wp-progress-fill {
  height: 100%;
  width: 45%;
  border-radius: 2px;
  background: #5b9bd5;
}

.wp-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #14181f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wp-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wp-room-code {
  font-size: 0.65rem;
  font-weight: 600;
  color: #5b9bd5;
  letter-spacing: 0.08em;
}

.wp-viewers {
  display: flex;
  gap: -4px;
}

.wp-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #14181f;
  margin-left: -6px;
}

.wp-avatar:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg, #5b9bd5, #4a7fb8); }
.a2 { background: linear-gradient(135deg, #c94a4a, #b03a3a); }
.a3 { background: linear-gradient(135deg, #4ecdc4, #38b2a8); }

.wp-messages {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: flex-end;
}

.wp-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.wp-msg-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wp-msg-bubble {
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px 8px 8px 2px;
  font-size: 0.7rem;
  color: #d1d5db;
}

.wp-msg.self {
  justify-content: flex-end;
}

.wp-msg.self .wp-msg-bubble {
  background: rgba(91, 155, 213, 0.15);
  border-radius: 8px 8px 2px 8px;
  color: #7ab3e0;
}

.progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.progress-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.progress-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.pc-cover {
  width: 52px;
  height: 68px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b1d8e, #1e232f);
  flex-shrink: 0;
}

.pc-cover-img {
  width: 52px;
  height: 68px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
}

.pc2 { background: linear-gradient(135deg, #1d6e8e, #1e232f) !important; }
.pc3 { background: linear-gradient(135deg, #8e1d3b, #1e232f) !important; }

.pc-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.pc-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.pc-episode {
  font-size: 0.7rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.pc-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.pc-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: #5b9bd5;
  transition: width 0.5s ease;
}

.pc-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(91, 155, 213, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b9bd5;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   MORE FEATURES — Clean list style
   ═══════════════════════════════════════════════ */
.more-features {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout style paint;
}

.more-features-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.more-features-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 16, 23, 0.90) 0%,
    rgba(18, 22, 31, 0.82) 50%,
    rgba(13, 16, 23, 0.90) 100%
  );
}

.more-features-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Extras grid — centered icons */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-top: 2.5rem;
  text-align: center;
}

.extras-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.extras-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(91, 155, 213, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b9bd5;
  transition: all 0.3s ease;
}

.extras-item:hover .extras-icon {
  background: rgba(91, 155, 213, 0.15);
  transform: translateY(-2px);
}

.extras-item strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.extras-item span {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: 200px;
}


/* ═══════════════════════════════════════════════
   DOWNLOAD CTA
   ═══════════════════════════════════════════════ */

/* Download + Footer combined as last fullpage section */
.download-section {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: #0a0d14;
}

.download {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.download-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 16, 23, 0.92) 0%,
    rgba(18, 22, 31, 0.80) 50%,
    rgba(10, 13, 20, 0.95) 100%
  );
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}

.download-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.download-description {
  color: #9ca3af;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.download-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #4b5563;
}

/* ═══════════════════════════════════════════════
   FOOTER — Minimal single line
   ═══════════════════════════════════════════════ */
.footer {
  flex-shrink: 0;
  padding: 1.25rem 2rem;
  background: rgba(10, 13, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: #4b5563;
  white-space: nowrap;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8rem;
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #d1d5db;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: #5b9bd5;
}


/* ═══════════════════════════════════════════════
   MUSIC TOGGLE (navbar)
   ═══════════════════════════════════════════════ */
.music-toggle {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.music-toggle svg {
  width: 22px;
  height: 22px;
}

.music-toggle:hover {
  color: #d1d5db;
}

.music-toggle.playing {
  color: #5b9bd5;
}

.music-toggle .music-icon-on {
  display: none;
}

.music-toggle .music-icon-off {
  display: block;
}

.music-toggle.playing .music-icon-on {
  display: block;
}

.music-toggle.playing .music-icon-off {
  display: none;
}


/* ═══════════════════════════════════════════════
   ANIMATIONS (on scroll reveal)
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet (max 900px)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-visual-inner {
    padding: 1.5rem;
    min-height: 220px;
  }

  .extras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-links-inline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .wp-container {
    flex-direction: column;
    height: auto;
  }

  .carousel-track {
    animation-duration: 20s;
  }

  .anime-card {
    width: 150px;
  }

  .anime-card-cover {
    height: 200px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile (max 640px)
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Désactive le fullpage scroll */
  html, body {
    overflow-y: auto;
    height: auto;
  }

  .fullpage-wrapper {
    height: auto;
    overflow: visible;
  }

  .fullpage-container {
    transition: none !important;
    transform: none !important;
  }

  /* Toutes les sections en auto height */
  .hero,
  .anime-showcase,
  .feature-section,
  .more-features,
  .download,
  .download-section {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  /* Hero */
  .hero {
    padding: 6rem 1.25rem 3rem;
    min-height: 100svh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-description br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Navbar */
  .nav {
    padding: 0 1rem;
  }

  .nav-inner {
    height: 60px;
  }

  .nav-links .nav-link:not(.nav-link-cta) {
    display: none;
  }

  .music-toggle {
    display: none;
  }

  .nav-link-cta {
    margin-left: 0.25rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Carousel — fix mobile */
  .anime-showcase {
    padding: 3rem 1rem;
  }

  .anime-carousel {
    margin: 0 -1rem 2rem;
  }

  .carousel-track {
    animation-duration: 18s;
    gap: 0.75rem;
  }

  .anime-card {
    width: 130px;
  }

  .anime-card-cover {
    height: 175px;
  }

  .anime-card-info {
    padding: 0.5rem;
  }

  .anime-card-title {
    font-size: 0.75rem;
  }

  .anime-card-genres {
    font-size: 0.6rem;
  }

  .showcase-features {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .section-subtitle br {
    display: none;
  }

  .section-label {
    font-size: 0.65rem;
  }

  /* Feature sections */
  .feature-section {
    padding: 3rem 1.25rem;
  }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature-visual {
    display: none;
  }

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

  .feature-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    align-items: center;
  }

  .feature-title {
    font-size: 1.35rem;
  }

  .feature-description {
    font-size: 0.85rem;
  }

  /* More features */
  .more-features {
    padding: 3rem 1.25rem;
  }

  .extras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1rem;
    margin-top: 1.5rem;
  }

  .extras-icon {
    width: 40px;
    height: 40px;
  }

  .extras-item strong {
    font-size: 0.82rem;
  }

  .extras-item span {
    font-size: 0.72rem;
  }

  /* Download + Footer */
  .download {
    padding: 3rem 1.25rem;
    min-height: 50vh;
  }

  .download-content {
    padding: 1.5rem 0.5rem;
  }

  .download-title {
    font-size: 1.5rem;
  }

  .download-description {
    font-size: 0.9rem;
  }

  .download-description br {
    display: none;
  }

  .footer {
    padding: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-links-inline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .footer-link {
    font-size: 0.75rem;
  }

  .footer-copy {
    font-size: 0.7rem;
  }
}
