/* Sections de la page d'accueil (extrait des styles inline) */

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

/* —— Gameplay —— */
.gp-quote {
  margin-top: 1.25rem;
  margin-bottom: 0;
  text-align: center;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* —— Upgrades header —— */
.upgrades-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.up-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--orange-orb);
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
}

.up-intro {
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
  margin: 1rem auto 0;
}

/* —— Level up glass wrap —— */
.levelup-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(30, 12, 55, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 32px;
  padding: 3rem 2.6rem;
  box-shadow:
    0 8px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.levelup-cards {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.levelup-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.85rem 2.3rem;
  cursor: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.levelup-card--gold {
  background: rgba(20, 10, 35, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(251, 191, 36, 0.7);
  box-shadow:
    0 0 30px rgba(251, 191, 36, 0.12),
    inset 0 0 40px rgba(251, 191, 36, 0.04);
}

.levelup-card--gold:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 50px rgba(251, 191, 36, 0.25),
    inset 0 0 40px rgba(251, 191, 36, 0.07);
}

.levelup-card--epic {
  background: rgba(20, 10, 35, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.1),
    inset 0 0 40px rgba(168, 85, 247, 0.03);
}

.levelup-card--epic:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 50px rgba(168, 85, 247, 0.22),
    inset 0 0 40px rgba(168, 85, 247, 0.07);
}

.levelup-card--common {
  background: rgba(20, 10, 35, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 0 20px rgba(148, 163, 184, 0.08),
    inset 0 0 40px rgba(148, 163, 184, 0.02);
}

.levelup-card--common:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 50px rgba(148, 163, 184, 0.16),
    inset 0 0 40px rgba(148, 163, 184, 0.05);
}

.levelup-card .rarity-tags {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.rarity-pill {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rarity-pill--gold {
  border: 1px solid rgba(251, 191, 36, 0.65);
  background: rgba(251, 191, 36, 0.12);
  color: rgba(251, 191, 36, 0.98);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.18);
}

.rarity-pill--epic {
  border: 1px solid rgba(168, 85, 247, 0.55);
  background: rgba(168, 85, 247, 0.12);
  color: rgba(205, 160, 255, 0.96);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.16);
}

.rarity-pill--slate {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(148, 163, 184, 0.1);
  color: rgba(226, 232, 240, 0.92);
  box-shadow: 0 0 14px rgba(148, 163, 184, 0.1);
}

.levelup-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.levelup-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.levelup-body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.levelup-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin: 0 0 0.3rem;
}

.levelup-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.tier-row {
  display: flex;
  gap: 4px;
  margin-top: 0.8rem;
}

.tier-seg {
  width: 28px;
  height: 4px;
  border-radius: 2px;
}

.tier-seg--gold {
  background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24;
}

.tier-seg--epic {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.9);
}

.tier-seg--common {
  background: #94a3b8;
  box-shadow: 0 0 6px rgba(148, 163, 184, 0.7);
}

.tier-seg--off {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* —— Biomes —— */
.biomes-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.biomes-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(13, 5, 24, 0.6), transparent);
  pointer-events: none;
  z-index: 0;
}

.section-inner--raised {
  position: relative;
  z-index: 2;
}

.section-lead {
  color: var(--text-muted);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.biomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.biome-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biome-card--purple {
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.95) 0%, rgba(45, 15, 70, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.biome-card--purple:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.25);
}

.biome-card--crimson {
  background: linear-gradient(135deg, rgba(26, 10, 20, 0.95) 0%, rgba(60, 10, 20, 0.9) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.biome-card--crimson:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(239, 68, 68, 0.2);
}

.biome-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.biome-visual--purple {
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(123, 45, 139, 0.5) 0%, rgba(13, 5, 24, 0.9) 100%);
}

.biome-visual--crimson {
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(139, 20, 30, 0.6) 0%, rgba(13, 5, 10, 0.95) 100%);
}

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

.biome-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.biome-visual-shade--purple {
  background: linear-gradient(180deg, rgba(13, 5, 24, 0.55) 0%, rgba(13, 5, 24, 0.15) 45%, rgba(13, 5, 24, 0.7) 100%);
}

.biome-visual-shade--crimson {
  background: linear-gradient(180deg, rgba(13, 5, 10, 0.55) 0%, rgba(13, 5, 10, 0.12) 45%, rgba(13, 5, 10, 0.75) 100%);
}

.biome-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.biome-badge--purple {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--purple-glow);
}

.biome-badge--crimson {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.biome-body {
  padding: 1.8rem;
}

.biome-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.biome-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.biome-sub--accent-orange {
  color: var(--orange-orb);
}

.biome-sub--accent-red {
  color: #ef4444;
}

.biome-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.biome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.biome-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.biome-tag--purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--text-muted);
}

.biome-tag--crimson {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.biomes-outro {
  margin-top: 2.2rem;
  text-align: center;
  color: var(--text-lavender-soft);
  font-weight: 300;
  line-height: 1.8;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* —— Enemies —— */
.enemies-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.enemies-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(45, 10, 10, 0.15), transparent);
  pointer-events: none;
  z-index: 0;
}

.section-label--danger {
  color: #ef4444;
}

.section-divider--danger {
  background: linear-gradient(90deg, #ef4444, transparent);
}

.enemies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.enemy-card {
  background: rgba(26, 10, 20, 0.7);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 0.75rem 1.5rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  cursor: none;
}

.enemy-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(40, 10, 20, 0.9);
  transform: translateY(-4px);
}

.enemy-card-img {
  width: 50%;
  height: auto;
}

.enemy-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 1rem 0 0.4rem;
}

.enemy-sub {
  font-size: 0.75rem;
  color: #fca5a5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.enemy-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* —— Boss —— */
.boss-card {
  background: linear-gradient(135deg, rgba(40, 5, 15, 0.97) 0%, rgba(70, 5, 20, 0.95) 50%, rgba(40, 5, 15, 0.97) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.boss-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 0, 20, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.boss-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.boss-frame {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.boss-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boss-rank-badge {
  margin-top: 1rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fca5a5;
  display: inline-block;
}

.boss-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.boss-tagline {
  color: #ef4444;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.boss-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.boss-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.boss-stat {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 0.8rem;
}

.boss-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(252, 165, 165, 0.6);
  margin-bottom: 0.3rem;
}

.boss-stat-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.boss-stat-value--stars {
  font-size: 0.9rem;
  color: #ef4444;
  font-weight: 700;
}

/* —— Leaderboard —— */
.leaderboard-section {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 78, 0.25) 40%, transparent 100%);
}

.leaderboard-block {
  max-width: 1100px;
  margin: 0 auto;
}

.leaderboard-hook {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  max-width: 34em;
}

.lb-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 1.25rem;
}

.lb-control {
  display: grid;
  gap: 0.4rem;
  min-width: 190px;
  text-align: left;
}

.lb-control-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.65);
}

.lb-select {
  appearance: none;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: rgba(15, 10, 28, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--white);
  outline: none;
  font-family: 'Exo 2', sans-serif;
  transition: var(--transition);
}

.lb-select:focus {
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.lb-card {
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(15, 10, 28, 0.48);
  backdrop-filter: blur(10px);
  padding: 1.2rem;
}

.lb-status {
  min-height: 1.2rem;
  color: rgba(196, 181, 253, 0.75);
  font-size: 0.85rem;
  margin: 0.1rem 0 0.8rem;
  text-align: left;
}

.lb-table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: 'Exo 2', sans-serif;
}

.lb-table thead th {
  position: sticky;
  top: 0;
  background: rgba(26, 10, 46, 0.92);
  color: rgba(196, 181, 253, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.lb-table tbody td {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.lb-table tbody tr:hover td {
  background: rgba(168, 85, 247, 0.07);
}

.lb-rank {
  font-weight: 700;
  color: rgba(254, 240, 138, 0.95);
}

.lb-player {
  font-weight: 700;
}

.lb-muted {
  color: var(--text-lavender-soft);
  font-weight: 400;
}

.lb-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}

.lb-page-btn {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.lb-page-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.lb-page-info {
  color: rgba(196, 181, 253, 0.75);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .lb-col-hide-sm {
    display: none;
  }
  .lb-pagination {
    flex-direction: column;
    align-items: stretch;
  }
  .lb-page-info {
    text-align: center;
  }
}

/* —— Download community line —— */
.download-community-line {
  text-align: center;
  margin-top: 5rem;
  color: rgba(196, 181, 253, 0.5);
  font-size: 0.85rem;
}