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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header - Navbar flottante */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 800px;
  height: auto;
  transition: all 0.3s ease;
}

.header:hover {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, #00d4aa, #00a8cc);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.logo-text {
  background: linear-gradient(45deg, #00d4aa, #00a8cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
}

.beta {
  font-size: 10px;
  color: #00d4aa;
  vertical-align: super;
  background: rgba(0, 212, 170, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  transform: translateY(-2px);
}

.nav a.active {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.15);
}

/* Main Content */
.main-content {
  padding: 0;
  margin-top: 0;
}

/* Hero Section - Centrage parfait pour tous les appareils */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: gentleShake 2s infinite ease-in-out alternate;
}

@keyframes gentleShake {
  0% {
    transform: translate(0px, 0px);
  }
  50% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(-1px, 1px);
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23ff6b6b;stop-opacity:0" /></radialGradient><radialGradient id="grad2" cx="80%" cy="20%" r="40%"><stop offset="0%" style="stop-color:%2300d4aa;stop-opacity:0.4" /><stop offset="100%" style="stop-color:%2300d4aa;stop-opacity:0" /></radialGradient></defs><circle cx="300" cy="300" r="200" fill="url(%23grad1)" /><circle cx="900" cy="150" r="150" fill="url(%23grad2)" /></svg>')
    center / cover;
  opacity: 0.3;
}

/* Plantes décoratives */
.plant-decoration {
  position: absolute;
  font-size: 3rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.plant-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  color: #4ade80;
}

.plant-2 {
  top: 20%;
  right: 8%;
  animation-delay: 1s;
  color: #22c55e;
}

.plant-3 {
  bottom: 30%;
  left: 3%;
  animation-delay: 2s;
  color: #16a34a;
}

.plant-4 {
  bottom: 15%;
  right: 5%;
  animation-delay: 3s;
  color: #15803d;
}

.plant-5 {
  top: 50%;
  left: 2%;
  animation-delay: 4s;
  color: #166534;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.welcome-text {
  font-size: 100px;
  font-weight: 900;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #ffffff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 50px rgba(0, 212, 170, 0.3);
}

.hero-title {
  font-size: 190px;
  font-weight: 900;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #ffffff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 50px rgba(0, 212, 170, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  color: #fffefe;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Game Cards - Maintenant dans game-list-section */
.game-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  perspective: 1000px;
  width: 100%;
}

.game-card {
  width: 280px;
  height: 380px;
  background: rgba(45, 45, 45, 0.8);
  border-radius: 20px;
  padding: 20px;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 170, 0.2);
  backdrop-filter: blur(10px);
}
.game-card2 {
  width: 280px;
  height: 380px;
  background: rgba(45, 45, 45, 0.8);
  border-radius: 20px;
  padding: 20px;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 170, 0.2);
  backdrop-filter: blur(10px);
}
.game-card3 {
  width: 280px;
  height: 380px;
  background: rgba(45, 45, 45, 0.8);
  border-radius: 20px;
  padding: 20px;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 170, 0.2);
  backdrop-filter: blur(10px);
}
.game-card:nth-child(2) {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
  z-index: 2;
}
.game-card2:nth-child(2) {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
  z-index: 2;
}
.game-card3:nth-child(2) {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
  z-index: 2;
}

.game-card:nth-child(3) {
  transform: rotateY(15deg) rotateX(5deg);
}
.game-card2:nth-child(3) {
  transform: rotateY(15deg) rotateX(5deg);
}
.game-card3:nth-child(3) {
  transform: rotateY(15deg) rotateX(5deg);
}

.game-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: #00d4aa;
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.3);
}
.game-card2:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: #00d4aa;
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.3);
}
.game-card3:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: #00d4aa;
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.3);
}



.game-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  
  background-size: cover;
  background-position: center;
  background-image: url("https://play-lh.googleusercontent.com/AhOffLkbmbhVUTHxbEYFRO5pLYaz3xzQZFKJLzjwZsnVYSLaktNVAKmona9KpR58KXw");
}
.game-image2 {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  
  background-size: cover;
  background-position: center;
  background-image: url("https://mincrftmodapk.com/wp-content/uploads/2024/10/minecraft-300x300-1.webp");
}
.game-image3 {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  
  background-size: cover;
  background-position: center;
  background-image: url("https://i.ytimg.com/vi/IGSoMJTE-G8/maxresdefault.jpg");
}

.game-rating {
  background: linear-gradient(45deg, #00d4aa, #00a8cc);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.game-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.game-info {
  color: #ccc;
  font-size: 14px;
  line-height: 1.4;
}

.add-game-text {
  color: #00d4aa;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-game-text:hover {
  background: rgba(0, 212, 170, 0.2);
  transform: scale(1.05);
}

/* Game List Section - Modifiée pour inclure les game-cards */
.game-list-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 80px;
  padding: 0 40px;
}

.game-list-content {
  display: flex;
  gap: 40px;
}

.game-list {
  flex: 2;
}

.game-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  background: rgba(45, 45, 45, 0.6);
  border-radius: 15px;
  margin-bottom: 15px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.game-list-item:hover {
  background: rgba(45, 45, 45, 0.8);
  border-color: #00d4aa;
  transform: translateX(10px);
}

.game-rank {
  font-size: 24px;
  font-weight: bold;
  color: #00d4aa;
  min-width: 30px;
}

.game-cover {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("https://play-lh.googleusercontent.com/AhOffLkbmbhVUTHxbEYFRO5pLYaz3xzQZFKJLzjwZsnVYSLaktNVAKmona9KpR58KXw");
}
.game-cover2 {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("https://play-lh.googleusercontent.com/78rj52OzGT9lPWUj6a-WHsXhMKSobHMqQ_uTXT_rMeYfRFNQx6xLxzEveYYYpQr-Yes=w240-h480-rw");
}
.game-cover3 {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("https://i.ytimg.com/vi/H6IaEUvle-o/maxresdefault.jpg");
}
.game-cover4 {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("https://play-lh.googleusercontent.com/Y9GghCslNNk-nWccWvxgCDYvd7yLSwkw0hZ3NVTkSJqigY0ZozK3lv85jR02XOJSDPQ");
}
.game-cover5 {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: url("https://play-lh.googleusercontent.com/ERw5FhRwh8icBkq9BpdqtI7ubL0_RtTrEAntmf6x80MLAMr7fa5P9lhuY_vOdQ9JsOg");
}

.game-details {
  flex: 1;
}

.game-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.game-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ccc;
}

.add-btn {
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid #00d4aa;
  color: #00d4aa;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.add-btn:hover {
  background: #00d4aa;
  color: white;
}

/* Charts Sidebar */
.charts-sidebar {
  flex: 1;
  background: rgba(45, 45, 45, 0.6);
  border-radius: 20px;
  padding: 30px;
  height: fit-content;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.charts-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-icon {
  color: #ffd700;
}

.chart-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-option:hover {
  color: #00d4aa;
  transform: translateX(5px);
}

.chart-option.active {
  color: #00d4aa;
}

.chart-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #00d4aa, #00a8cc);
  border-radius: 50%;
}

/* New Releases Section */
.new-releases {
  margin-top: 80px;
  padding: 0 40px;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.fire-icon {
  color: #ff6b6b;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.grid-game {
  background: rgba(45, 45, 45, 0.6);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.grid-game:hover {
  transform: translateY(-10px);
  border-color: #00d4aa;
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2);
}

.grid-game-image {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://play-lh.googleusercontent.com/1DhZDejbhLxExB4o4WyhtcIrpO5s4BaWqbk3nsjl64TM9nwO3iCQqpV18ZO3PyklnA=w240-h480-rw");
  background-size: cover;
  background-position: center;
}
.grid-game-image2 {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://i.ytimg.com/vi/IGSoMJTE-G8/maxresdefault.jpg");
  background-size: cover;
  background-position: center;
}
.grid-game-image3 {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://mincrftmodapk.com/wp-content/uploads/2024/10/minecraft-300x300-1.webp");
  background-size: cover;
  background-position: center;
}
.grid-game-image4 {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://play-lh.googleusercontent.com/7cIIPlWm4m7AGqVpEsIfyL-HW4cQla4ucXnfalMft1TMIYQIlf2vqgmthlZgbNAQoaQ");
  background-size: cover;
  background-position: center;
}.grid-game-image5 {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://play-lh.googleusercontent.com/78rj52OzGT9lPWUj6a-WHsXhMKSobHMqQ_uTXT_rMeYfRFNQx6xLxzEveYYYpQr-Yes=w240-h480-rw");
  background-size: cover;
  background-position: center;
}.grid-game-image6 {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  background-image: url("https://i.ytimg.com/vi/H6IaEUvle-o/maxresdefault.jpg");
  background-size: cover;
  background-position: center;
}
.grid-game-info {
  padding: 15px;
}

.grid-game-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.grid-game-genre {
  color: #ccc;
  font-size: 14px;
}

/* Support Section */
.support-section {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(0, 212, 170, 0.1));
  border-radius: 30px;
  margin: 60px 40px;
}

.support-title {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: rgba(26, 26, 26, 0.9);
  padding: 60px 40px 40px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #00d4aa;
  margin-bottom: 20px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #00d4aa;
}

.twitter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.twitter-btn:hover {
  background: rgba(0, 212, 170, 0.2);
  border-color: #00d4aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
}

/* ===== RESPONSIVE DESIGN ===== */

/* === TABLETTE (769px - 1024px) === */
@media (max-width: 1024px) and (min-width: 769px) {
  .header {
    width: 95%;
    padding: 12px 25px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 14px;
    padding: 6px 14px;
  }

  /* Hero centré pour tablette */
  .hero-content {
    transform: translate(-50%, -50%);
    padding: 0 30px;
  }

  .hero-title {
    font-size: 90px;
  }

  .welcome-text {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .game-cards {
    gap: 20px;
  }

  .game-card {
    width: 240px;
    height: 320px;
    padding: 15px;
  }

  .game-list-section {
    padding: 0 30px;
    gap: 30px;
  }

  .new-releases {
    padding: 0 30px;
  }

  .support-section {
    margin: 60px 30px;
    padding: 50px 30px;
  }

  .footer {
    padding: 50px 30px 30px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
}

/* === MOBILE (0-768px) === */
@media (max-width: 768px) {
  /* Header mobile */
  .header {
    padding: 10px 15px;
    width: 95%;
    top: 10px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 25px;
  }

  .logo {
    font-size: 14px;
    gap: 8px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 8px;
  }

  .logo-text {
    font-size: 14px;
  }

  .beta {
    font-size: 8px;
    padding: 1px 4px;
  }

  /* Navigation mobile */
  .nav {
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 15px;
  }

  /* Hero section mobile - Centrage parfait */
  .hero {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    width: 100%;
    max-width: none;
  }

  .welcome-text {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 0;
    line-height: 1.4;
  }

  /* Game cards mobile - Maintenant dans game-list-section */
  .game-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .game-card {
    width: calc(100% - 20px);
    max-width: 300px;
    height: auto;
    min-height: 320px;
    transform: none !important;
    padding: 20px;
    margin: 0 10px;
  }

  .game-card:nth-child(2) {
    transform: none !important;
    scale: 1;
  }

  .game-image {
    height: 160px;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .game-rating {
    padding: 6px 12px;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .game-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .game-info {
    font-size: 13px;
    line-height: 1.3;
  }

  .add-game-text {
    font-size: 14px;
    padding: 8px;
    margin-top: 15px;
  }

  /* Plantes décoratives mobile */
  .plant-decoration {
    font-size: 2rem;
  }

  .plant-1,
  .plant-2,
  .plant-3,
  .plant-4,
  .plant-5 {
    opacity: 0.2;
  }

  /* Game list section mobile */
  .game-list-section {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
    margin-top: 60px;
  }

  .game-list-content {
    flex-direction: column;
    gap: 30px;
  }

  .game-list-item {
    padding: 12px;
    gap: 15px;
  }

  .game-rank {
    font-size: 20px;
    min-width: 25px;
  }

  .game-cover {
    width: 50px;
    height: 50px;
  }

  .game-name {
    font-size: 16px;
  }

  .game-stats {
    gap: 15px;
  }

  .add-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  /* Charts sidebar mobile */
  .charts-sidebar {
    padding: 20px;
  }

  .charts-title {
    font-size: 20px;
  }

  .chart-option {
    padding: 12px 0;
  }

  /* New releases mobile */
  .new-releases {
    padding: 0 15px;
    margin-top: 60px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .grid-game-image {
    height: 100px;
  }

  .grid-game-info {
    padding: 12px;
  }

  .grid-game-title {
    font-size: 14px;
  }

  .grid-game-genre {
    font-size: 12px;
  }

  /* Support section mobile */
  .support-section {
    margin: 40px 15px;
    padding: 40px 20px;
  }

  .support-title {
    font-size: 32px;
  }

  /* Footer mobile */
  .footer {
    padding: 40px 15px 30px;
    margin-top: 60px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .footer-bottom {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* === TRÈS PETIT MOBILE (0-480px) === */
@media (max-width: 480px) {
  .header {
    padding: 8px 12px;
    top: 8px;
  }

  .nav {
    display: none; /* Cache la navigation sur très petits écrans */
  }

  /* Hero section très petit mobile - Centrage parfait */
  .hero {
    height: 100vh;
    padding: 0;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 15px;
    width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .welcome-text {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .game-cards {
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .game-card {
    width: calc(100% - 10px);
    margin: 0 5px;
    padding: 15px;
  }

  .game-image {
    height: 140px;
    font-size: 14px;
  }

  .game-list-section {
    padding: 0 10px;
  }

  .new-releases {
    padding: 0 10px;
  }

  .support-section {
    margin: 30px 10px;
    padding: 30px 15px;
  }

  .footer {
    padding: 30px 10px 20px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }

  .support-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* === OPTIMISATIONS GÉNÉRALES === */

/* Amélioration des images responsive */
.hero-background {
  object-fit: cover;
  object-position: center;
}

/* Texte responsive */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* Amélioration des transitions sur mobile */
@media (max-width: 768px) {
  * {
    transition-duration: 0.2s !important;
  }

  .game-card:hover,
  .game-list-item:hover,
  .grid-game:hover {
    transform: none !important;
  }

  .nav a:hover {
    transform: none !important;
  }
}

/* Optimisation du scroll sur mobile */
@media (max-width: 768px) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* Menu hamburger pour très petits écrans */
@media (max-width: 480px) {
  .header::after {
    content: "☰";
    font-size: 20px;
    color: #00d4aa;
    cursor: pointer;
    display: block;
    position: absolute;
    right: 15px;
  }
}

/* Centrage parfait pour tous les appareils */
@media (max-width: 1200px) {
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Ajustements spéciaux pour les écrans très larges */
@media (min-width: 1400px) {
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}