:root {
  --bg: #0a0f1a;
  --card: #0f1622;
  --border: #1a2332;
  --text: #eef2f5;
  --muted: #9aa6b2;
  --neon-blue: #33c8ff;
  --neon-orange: #ff8a33;
  --shadow-blue: 0 0 20px rgba(51,200,255,.6), 0 0 40px rgba(51,200,255,.3);
  --shadow-orange: 0 0 20px rgba(255,138,51,.6), 0 0 40px rgba(255,138,51,.3);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at top, rgba(0,170,255,.15), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(255,128,0,.10), transparent 60%);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  letter-spacing: .02em;
}

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

/* === HEADER === */
header {
  padding: 48px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrapper { animation: float 6s ease-in-out infinite; }

.logo-pkd {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  animation: flicker 4s infinite;
}

@media (min-width: 768px) {
  .logo-pkd { width: 208px; height: 208px; }
}

h1 {
  margin-top: 32px;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: .08em;
}
@media (min-width: 768px) { h1 { font-size: 4rem; } }

.neon-orange { color: var(--neon-orange); text-shadow: 0 0 10px rgba(255,138,51,.8), 0 0 20px rgba(255,138,51,.5); }
.neon-blue   { color: var(--neon-blue);   text-shadow: 0 0 10px rgba(51,200,255,.8), 0 0 20px rgba(51,200,255,.5); }

.tagline {
  margin-top: 24px;
  max-width: 640px;
  font-size: 1rem;
  color: var(--muted);
}
@media (min-width: 768px) { .tagline { font-size: 1.125rem; } }

.tagline strong { color: var(--text); font-weight: 500; }

.subtitle {
  margin-top: 8px;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(51,200,255,.8);
}

/* === SECTIONS === */
section { padding: 64px 0; }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 1.75rem; font-weight: 700; }
@media (min-width: 768px) { .section-title h2 { font-size: 2.5rem; } }
.section-title .divider {
  margin: 16px auto 0;
  height: 1px; width: 96px;
  background: linear-gradient(to right, transparent, var(--neon-blue), transparent);
}

/* === SERVICES === */
.services-grid {
  display: grid;
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); }
.service-card.blue:hover   { border-color: var(--neon-blue);   box-shadow: var(--shadow-blue); }
.service-card.orange:hover { border-color: var(--neon-orange); box-shadow: var(--shadow-orange); }

.service-logo {
  width: 128px; height: 128px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.service-card:hover .service-logo { transform: scale(1.05); }
.service-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .875rem; margin-bottom: 24px; }

.visit-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.service-card.blue:hover   .visit-link { color: var(--neon-blue); }
.service-card.orange:hover .visit-link { color: var(--neon-orange); }

/* === GAME === */
.game-card {
  max-width: 896px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
}
@media (min-width: 768px) { .game-card { grid-template-columns: 1fr 1fr; } }

.game-image { background: #000; }
.game-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.game-content { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .game-content { padding: 40px; } }

.bonus-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--neon-orange);
  margin-bottom: 12px;
}
.game-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .game-content h3 { font-size: 1.875rem; } }
.game-content p { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }

.btn-play {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: var(--neon-orange);
  color: #0a0f1a;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}
.btn-play:hover { transform: scale(1.05); }

/* === FOOTER === */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  color: var(--muted);
  font-size: .875rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(51,200,255,.8);
}

/* === PAGE MENTIONS LÉGALES === */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}
@media (min-width: 768px) { .legal-page h1 { font-size: 2.75rem; } }

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(51,200,255,.5);
}

.legal-page p { color: var(--muted); margin-bottom: 8px; }
.legal-page p strong { color: var(--text); font-weight: 600; }

.legal-page a {
  color: var(--neon-orange);
  text-decoration: none;
  transition: var(--transition);
}
.legal-page a:hover { text-shadow: 0 0 10px rgba(255,138,51,.8); }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--neon-blue);
  text-decoration: none;
  font-size: .875rem;
  transition: var(--transition);
}
.back-home:hover { text-shadow: 0 0 10px rgba(51,200,255,.8); }

/* === ANIMATIONS === */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 1; }
  50% { opacity: .85; }
  55% { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* === ICÔNES SVG === */
.icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 20px; height: 20px; }
