* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #f6f6f6;
  color: #222;
  transition: background 0.3s, color 0.3s;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

body.dark {
  background: #121212;
  color: #eee;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 50px;
  background: #1a1a1a;
}

body.dark header {
  background: #0f0f0f;
}

.logo {
  height: 45px;
}

nav a {
  color: white;
  margin: 0 15px;
  font-weight: 600;
}

nav a:hover {
  color: #1eb100;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

#themeIcon {
  font-size: 1.2em;
  user-select: none;
}

.theme-switch input {
  display: none;
}

.theme-switch label {
  width: 52px;
  height: 26px;
  background: #ccc;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.theme-switch label::after {
  content: "";
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

.theme-switch input:checked + label {
  background: #1eb100;
}

.theme-switch input:checked + label::after {
  transform: translateX(26px);
}

.hero {
  padding: 140px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.badge {
  display: inline-block;
  background: rgba(30,177,0,0.12);
  color: #1eb100;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 3.2em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #1eb100;
}

.hero p {
  font-size: 1.1em;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

body.dark .hero p {
  color: #ccc;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  background: #1eb100;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(30,177,0,0.5);
}

.btn-outline {
  border: 2px solid #1eb100;
  color: #1eb100;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #1eb100;
  color: white;
}

.boutique {
  padding: 60px 20px;
}

.search {
  display: block;
  margin: 0 auto 40px;
  padding: 12px 20px;
  width: 320px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 1em;
}

body.dark .search {
  background: #1c1c1c;
  color: white;
  border: 1px solid #333;
}

.produits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.produit {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.dark .produit {
  background: #1c1c1c;
}

.produit:hover::before {
  opacity: 1;
}

.produit:hover {
  transform: translateY(-6px) scale(1.01);
}

.produit > * {
  position: relative;
  z-index: 1;
}

.produit img {
  width: 100%;
  border-radius: 10px;
  display: block;
  position: relative;
  z-index: 1;
}

.produit h3 {
  margin: 10px 0 8px;
  font-size: 1.1em;
}

.produit p {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 12px;
}

body.dark .produit p {
  color: #bbb;
}

.produit .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.produit .actions a {
  flex: 1 1 45%;
  text-align: center;
  padding: 8px 0;
  border-radius: 25px;
  font-size: 0.9em;
}

@keyframes neonMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.back-container {
  padding: 20px 50px;
}

.back-link {
  text-decoration: none;
  color: #1eb100;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s;
}

.back-link:hover {
  color: #0fa100;
}

.product-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.product-detail {
  display: flex;
  flex-direction: row;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  transition: transform 0.3s ease;
}

body.dark .product-detail {
  background: #1c1c1c;
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.product-detail:hover {
  transform: translateY(-5px);
}

.product-detail img {
  width: 500px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.product-info h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #1eb100;
}

body.dark .product-info h1 {
  color: #1eb100;
}

.product-info p {
  font-size: 1.05em;
  color: #555;
}

body.dark .product-info p {
  color: #ccc;
}

.product-info .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.product-info .actions a {
  flex: 1 1 45%;
  text-align: center;
  padding: 12px 0;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-info .actions a.btn {
  background: #1eb100;
  color: white;
}

.product-info .actions a.btn:hover {
  box-shadow: 0 0 20px rgba(30,177,0,0.5);
  transform: translateY(-2px);
}

.product-info .actions a.btn-outline {
  border: 2px solid #1eb100;
  color: #1eb100;
}

.product-info .actions a.btn-outline:hover {
  background: #1eb100;
  color: white;
}

footer {
  text-align: center;
  padding: 25px;
  background: #1a1a1a;
  color: white;
}

body.dark footer {
  background: #0f0f0f;
}

@media (max-width: 1100px) {
  .produits {
    grid-template-columns: repeat(2,1fr);
  }

  .product-detail {
    flex-direction: column;
    align-items: center;
  }

  .product-info .actions a {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  .produits {
    grid-template-columns: 1fr;
  }

  .product-page {
    padding: 30px 20px;
  }

  .back-container {
    padding: 10px 20px;
  }
}

.stats {
  padding: 80px 20px;
}

.stats-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

body.dark .stat-card {
  background: #1c1c1c;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(120deg, transparent, #1eb100, transparent);
  opacity: 0;
  animation: neonMove 2s linear infinite;
  transition: opacity 0.3s;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-size: 2.8em;
  font-weight: 800;
  color: #1eb100;
}

.stat-label {
  margin-top: 10px;
  font-size: 1em;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.dark .stat-label {
  color: #bbb;
}

.stat-card.wide {
  grid-column: span 3;
  text-align: left;
}

.stat-title {
  font-size: 1em;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-highlight {
  font-size: 1.8em;
  font-weight: 700;
  color: #1eb100;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-card.wide {
    grid-column: span 1;
  }
}

.features-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  flex: 0 1 300px;
  text-align: center;
}

.feature {
  background: white;
  padding: 35px 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

body.dark .feature {
  background: #1c1c1c;
}

.feature::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(120deg, transparent, #1eb100, transparent);
  opacity: 0;
  animation: neonMove 2s linear infinite;
  transition: opacity 0.3s;
}

.feature:hover::before {
  opacity: 1;
}

.feature > * {
  position: relative;
  z-index: 1;
}

.feature:hover {
  transform: translateY(-6px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature h3 {
  font-size: 1.2em;
  margin-bottom: 12px;
  color: #222;
}

body.dark .feature h3 {
  color: #f5f5f5;
}

.feature p {
  font-size: 0.95em;
  color: #555;
}

body.dark .feature p {
  color: #bbb;
}

@media (max-width: 1000px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

.soon-page {
  min-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.soon-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
  position: relative;
  overflow: hidden;
}

body.dark .soon-card {
  background: #1c1c1c;
}

.soon-card > * {
  position: relative;
  z-index: 1;
}

.soon-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(30,177,0,0.4));
}

.soon-card h1 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #1eb100;
}

.soon-card p {
  font-size: 1.05em;
  color: #555;
  line-height: 1.6;
}

body.dark .soon-card p {
  color: #ccc;
}

.soon-badge {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 28px;
  border-radius: 30px;
  background: rgba(30,177,0,0.15);
  color: #1eb100;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-btn img {
  object-fit: contain;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.social-btn.discord img {
  width: 28px;
  height: 28px;
}

.social-btn.youtube img {
  width: 28px;
  height: 28px;
}

body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.badge-gratuit {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1eb100;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(30,177,0,0.6);
  z-index: 2;
}

body.home .feature,
body.home .stat-card,
body.home .produit {
  transform: none !important;
  box-shadow: none !important;
}

body.home .feature::before,
body.home .stat-card::before,
body.home .produit::before {
  opacity: 0 !important;
  animation: none !important;
  background: none !important;
}

body.home .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.new-release {
  padding: 80px 20px;
}

.new-release-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  position: relative;
}

body.dark .new-release-container {
  background: #1c1c1c;
}

.new-release-image {
  position: relative;
  flex: 1;
}

.new-release-image img {
  width: 100%;
  border-radius: 16px;
}

.release-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  color: white;
}

.release-badge.free {
  background: #1eb100;
  box-shadow: 0 0 12px rgba(30,177,0,0.6);
}

.release-badge.paid {
  background: #ff3c3c;
  box-shadow: 0 0 12px rgba(255,60,60,0.6);
}

.new-release-content {
  flex: 1;
}

.new-release-content h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #1eb100;
}

.new-release-content p {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

body.dark .new-release-content p {
  color: #ccc;
}

@media(max-width:900px) {
  .new-release-container {
    flex-direction: column;
    text-align: center;
  }

  .new-release-content {
    margin-top: 20px;
  }
}

.hero {
  padding-bottom: 40px;
}

.new-release {
  padding-top: 30px;
}

#themeIcon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

#themeIcon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: 0.3s ease;
}

body:not(.dark) .feature-icon img {
  filter: grayscale(100%) brightness(0.6);
}

body.dark .feature-icon img {
  filter: brightness(0) invert(1);
}

.product-video {
  margin-top: 40px;
  padding: 25px;
  background: #f6f6f6;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.3s, box-shadow 0.3s;
}

body.dark .product-video {
  background: #1c1c1c;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.product-video h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #1eb100;
}

body.dark .product-video h3 {
  color: #fff;
}

.product-video iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.product-video iframe:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media (max-width: 800px) {
  .product-video iframe {
    height: 300px;
  }
}

@media (max-width: 500px) {
  .product-video {
    padding: 15px;
  }

  .product-video h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }

  .product-video iframe {
    height: 200px;
  }
}
