/* Styles modernes pour la page d'accueil */

/* Container principal */
.hero-container {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1c1e 100%);
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Background avec particules */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 158, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(246, 130, 31, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 158, 64, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

/* Header principal */
.hero-header {
  position: relative;
  z-index: 10;
  padding: 60px 20px 40px;
  text-align: center;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.brand-text {
  text-align: center;
}

.brand-subtitle {
  color: var(--primary-orange);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

/* Contenu principal */
.main-content {
  position: relative;
  z-index: 10;
  padding: 0 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section des stats */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(255, 158, 64, 0.2);
}

.stat-card.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.stat-card.clickable:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--primary-orange);
  box-shadow: 0 15px 40px rgba(255, 158, 64, 0.3);
}

.stat-card.clickable:active {
  transform: translateY(-5px) scale(1.02);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section des catégories */
.categories-section {
  margin-bottom: 60px;
}

.section-title {
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
  box-shadow: 0 20px 40px rgba(255, 158, 64, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--primary-orange);
  transform: scale(1.1);
}

.category-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon img {
  filter: brightness(0) invert(1);
}

.category-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.category-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-count {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.category-arrow {
  color: var(--primary-orange);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
  transform: translateX(5px);
}

/* Section des actions */
.actions-section {
  margin-bottom: 60px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-button.primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  color: var(--dark-bg);
}

.action-button.secondary {
  background: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 158, 64, 0.3);
}

.action-button.secondary:hover {
  background: var(--primary-orange);
  color: var(--dark-bg);
}

.action-icon {
  font-size: 1.2rem;
}

/* Section d'aperçu */
.preview-section {
  margin-bottom: 60px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(255, 158, 64, 0.2);
}

.preview-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.preview-info {
  text-align: center;
}

.preview-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.preview-type {
  color: var(--primary-orange);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.hero-footer {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info {
  color: rgba(255, 255, 255, 0.7);
}

.footer-info p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.footer-copyright {
  color: var(--primary-orange);
  text-align: center;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.footer-logo img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-logo:hover img {
  opacity: 1;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .brand-title {
    font-size: 2.5rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* S'assurer qu'il n'y a pas de débordement */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Supprimer tout espace blanc indésirable */
.hero-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

@media screen and (max-width: 480px) {
  .hero-header {
    padding: 40px 15px 30px;
  }

  .main-content {
    padding: 0 15px 40px;
  }

  .brand-title {
    font-size: 2rem;
  }

  .brand-description {
    font-size: 1rem;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .category-card {
    padding: 20px;
  }

  .action-button {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}
