/* ============================================
   DRAG RACE NO LIMIT - Site Web
   Mobile-first, Rouge & Noir
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --red-glow: rgba(230, 57, 70, 0.4);
  --black: #0a0a0f;
  --black-light: #12121a;
  --gray-dark: #1a1a24;
  --gray: #2a2a3a;
  --gray-light: #8888aa;
  --white: #ffffff;
  --green: #2ecc71;
  
  --font-title: 'Russo One', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

ul {
  list-style: none;
}

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

/* === DESKTOP OVERLAY === */
.desktop-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.desktop-overlay__icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--red);
  margin-bottom: 30px;
}

.desktop-overlay h1 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.desktop-overlay p {
  color: var(--gray-light);
  max-width: 300px;
}

/* === PAGE CONTAINER === */
.page-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 500px) {
  body {
    background: var(--black-light);
  }
}

/* === HEADER === */
.header {
  padding: var(--spacing-md);
  text-align: center;
  border-bottom: 1px solid var(--gray);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 500px;
  width: 100%;
}

.header__logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 2px;
  display: inline-block;
}

.header__logo span {
  color: var(--red);
}

/* === MAIN CONTENT === */
.main {
  flex: 1;
  padding: var(--spacing-md);
  padding-bottom: 100px;
}

/* === HERO SECTION (Accueil) === */
.hero {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.hero__logo {
  margin-bottom: var(--spacing-lg);
}

.hero__title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero__title span {
  color: var(--red);
  display: block;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.hero__description {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 320px;
  margin: 0 auto var(--spacing-lg);
}

/* === PLAY BUTTON === */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 2px;
  padding: 18px 50px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 10px 40px var(--red-glow), 0 0 0 0 var(--red);
  transition: all 0.3s ease;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-play:active {
  transform: scale(0.96);
}

.btn-play svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 40px var(--red-glow), 0 0 0 0 rgba(230, 57, 70, 0.4);
  }
  50% {
    box-shadow: 0 10px 50px var(--red-glow), 0 0 0 10px rgba(230, 57, 70, 0);
  }
}

/* === FEATURES === */
.features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: var(--spacing-md);
}

.feature__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.feature__text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature__text p {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* === SECTION TITLE === */
.section-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

/* === LEGAL CONTENT === */
.legal-content {
  max-width: 600px;
  margin: 0 auto;
}

.legal-section {
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.legal-section h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h3 {
  font-size: 1rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: var(--spacing-sm);
}

.legal-section ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-section li {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
}

.legal-section li::before {
  content: '•';
  color: var(--red);
  position: absolute;
  left: 0;
}

.legal-info-box {
  background: var(--black);
  border-radius: 8px;
  padding: var(--spacing-sm);
}

.legal-info-box dl {
  display: grid;
  gap: 8px;
}

.legal-info-box dt {
  font-size: 0.75rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-info-box dd {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.legal-info-box a {
  color: var(--red);
}

/* === CONTACT CARD === */
.contact-card {
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 16px;
  padding: var(--spacing-lg);
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.contact-card__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.contact-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
}

.contact-card h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: var(--spacing-md);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--red);
  border: 1px solid var(--red);
  transition: all 0.3s ease;
}

.contact-email:active {
  background: var(--red);
  color: var(--white);
}

/* === DONATION === */
.donation-hero {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.donation-hero__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  animation: heartbeat 1.5s ease-in-out infinite;
}

.donation-hero__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  fill: none;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.donation-hero h2 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
}

.donation-hero h2 em {
  color: var(--red);
  font-style: normal;
}

.donation-hero p {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

.btn-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 16px 32px;
  border-radius: 50px;
  margin: var(--spacing-lg) auto 0;
  max-width: 300px;
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-donate svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.donation-info {
  margin-top: var(--spacing-lg);
}

.donation-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 10px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.donation-info__item svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.donation-info__item p {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.donation-info__item strong {
  color: var(--white);
}

.donation-disclaimer {
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 10px;
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* === FOOTER === */
.footer {
  background: var(--black);
  border-top: 1px solid var(--gray);
  padding: var(--spacing-lg) var(--spacing-md);
  padding-bottom: 100px;
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray-light);
  transition: color 0.3s ease;
}

.footer__links a:active {
  color: var(--red);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--gray);
}

/* === NAV BOTTOM === */
.nav-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: var(--black);
  border-top: 1px solid var(--gray);
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 1000;
}

.nav-bottom__list {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-bottom__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--gray-light);
  transition: color 0.3s ease;
}

.nav-bottom__link.active,
.nav-bottom__link:active {
  color: var(--red);
}

.nav-bottom__link svg {
  width: 22px;
  height: 22px;
}

.nav-bottom__link span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-muted { color: var(--gray-light); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-md { margin-bottom: var(--spacing-md); }
