body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f8fa;
}

.container {
  max-width: 800px;
  margin: auto;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.header {
  background: linear-gradient(135deg, #352559 0%, #883C65 50%, #6B46C1 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.header::before {
  content: '';
  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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header h2 {
  margin: 10px 0 5px 0;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

.content {
  padding: 40px 30px;
  color: #333;
  line-height: 1.6;
}

.content h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
  color: #2D3748;
}

.content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.steps {
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

.steps li {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #4299e1;
  transition: all 0.3s ease;
}

.steps li:hover {
  background: #edf2f7;
  transform: translateX(5px);
}

.steps-simple {
  margin: 20px 0;
  line-height: 1.8;
}

.steps-simple li {
  margin-bottom: 8px;
}

.steps-simple a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.steps-simple a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #352559 0%, #883C65 100%);
  color: white;
  padding: 16px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(53, 37, 89, 0.3);
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(53, 37, 89, 0.4);
  text-decoration: none;
  color: white;
}

.btn:active {
  transform: translateY(0);
}

ol {
  padding: 0;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: #666;
  padding: 25px 20px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-top: 1px solid #e2e8f0;
}

.footer a {
  color: #352559;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #883C65;
  text-decoration: underline;
}

.content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

/* Styles pour les icônes FontAwesome */
.fa {
  font-size: 1.25rem;
}

/* Styles pour l'épisode */
.episode-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-top: 9rem;
  margin-bottom: 0;
}

.episode-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  width: max-content;
  margin: 1rem auto 2rem auto;
}

.nav-link {
  color: #3b82f6;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1d4ed8;
}

/* Styles pour le header */
.header-logo {
  width: 6rem;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.episode-date {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Styles pour le contenu */
.content {
  width: 60%;
  margin: 0 auto;
}

/* Styles pour les sections */
.welcome-section,
.features-section,
.guide-section,
.community-section,
.tip-section,
.next-episode-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.welcome-text {
  text-align: left;
  margin-bottom: 0.75rem;
  line-height: 1.625;
}

/* Styles pour les fonctionnalités */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.feature-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #592546;
}

.feature-description {
  font-size: 0.875rem;
  color: #4b5563;
}

.feature-card i {
  color: #592546;
  margin-right: 0.5rem;
}

/* Styles pour le guide */
.guide-intro {
  text-align: left;
  line-height: 1.625;
}

.step-link {
  color: #3b82f6;
  transition: color 0.3s ease;
}

.step-link:hover {
  color: #1d4ed8;
}

/* Styles pour la communauté */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.community-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.community-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #2563eb;
}

.community-description {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.discord-btn {
  background-color: #5865F2;
  transition: background-color 0.3s ease;
}

.discord-btn:hover {
  background-color: #4752C4;
}

.support-btn {
  background-color: #4b5563;
  transition: background-color 0.3s ease;
}

.support-btn:hover {
  background-color: #374151;
}

/* Styles pour le conseil */
.tip-section {
  padding: 1.5rem;
  background-color: #fefce8;
  border-radius: 0.5rem;
  border-left: 4px solid #eab308;
}

.tip-text {
  text-align: left;
  margin-bottom: 0.75rem;
  line-height: 1.625;
}

.tip-text:last-child {
  margin-bottom: 0;
}

/* Styles pour le prochain épisode */
.next-episode-section {
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.next-episode-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.next-episode-text {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Styles pour le footer */
.footer {
  background: linear-gradient(135deg, rgba(203, 195, 227, 0.5) 0%, rgba(237, 242, 247, 0.5) 100%);
  backdrop-filter: blur(4px);
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  width: 100%;
  text-align: center;
}

.footer-link {
  color: #352559;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #883C65;
  text-decoration: underline;
}

.footer-discord-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.footer-discord-link:hover {
  color: #1d4ed8;
}

.discord-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    margin: 10px;
    border-radius: 8px;
  }
  
  .content {
    width: 100%;
    padding: 20px 15px;
  }
  
  .header {
    padding: 30px 15px;
  }
  
  .header h1 {
    font-size: 24px;
  }
  
  .features-grid,
  .community-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  
  .episode-navigation {
    gap: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.625rem;
  }
  
  .episode-title {
    font-size: 1.875rem;
    margin-top: 6rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .feature-card,
  .community-card {
    padding: 1rem;
  }
  
  .tip-section,
  .next-episode-section {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 5px;
    border-radius: 6px;
  }
  
  .content {
    width: 100% !important;
    padding: 15px 10px;
  }
  
  .header {
    padding: 20px 10px;
  }
  
  .header h1 {
    font-size: 20px;
  }
  
  .header h2 {
    font-size: 14px;
  }
  
  .header-logo {
    width: 4rem;
  }
  
  .episode-title {
    font-size: 1.5rem;
    margin-top: 4rem;
  }
  
  .episode-navigation {
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .nav-link .fa {
    width: 2rem;
    height: 2rem;
  }
  
  .section-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .welcome-section,
  .features-section,
  .guide-section,
  .community-section,
  .tip-section,
  .next-episode-section {
    margin-bottom: 1.5rem;
  }
  
  .features-grid,
  .community-grid {
    gap: 0.75rem;
  }
  
  .feature-card,
  .community-card {
    padding: 0.75rem;
  }
  
  .feature-title {
    font-size: 1rem;
  }
  
  .feature-description {
    font-size: 0.8rem;
  }
  
  .community-title {
    font-size: 1rem;
  }
  
  .community-description {
    font-size: 0.8rem;
  }
  
  .tip-section,
  .next-episode-section,
  .logo-section,
  .test-section {
    padding: 0.75rem;
  }
  
  .new-logo-image {
    max-width: 150px;
  }
  
  .tip-list li {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
  
  .tip-text {
    font-size: 0.9rem;
  }
  
  .next-episode-title {
    font-size: 1.125rem;
  }
  
  .next-episode-text {
    font-size: 0.8rem;
  }
  
  .steps-simple {
    margin: 15px 0;
    line-height: 1.6;
  }
  
  .steps-simple li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 12px 16px;
    font-size: 12px;
  }
  
  .footer {
    padding: 15px 10px;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
  }
  
  .footer-discord-link {
    font-size: 0.75rem;
    margin-top: 0.75rem;
  }
  
  .discord-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Styles pour la section logo */
.logo-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  text-align: center;
}

.logo-text {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 20px;
  line-height: 1.6;
}

.logo-display {
  margin-top: 20px;
}

.new-logo-image {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Styles pour la liste des conseils */
.tip-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.tip-list li {
  margin-bottom: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #4299e1;
  transition: all 0.3s ease;
}

.tip-list li:hover {
  background: #edf2f7;
  transform: translateX(5px);
}

.tip-list li strong {
  color: #2d3748;
}

/* Styles pour la section test */
.test-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #352559 0%, #883C65 100%);
  border-radius: 12px;
  text-align: center;
  color: white;
}

.test-section .section-title {
  color: white;
  margin-bottom: 15px;
}

.test-text {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.test-btn {
  background: white !important;
  color: #352559 !important;
  border: 2px solid white;
}

.test-btn:hover {
  background: transparent !important;
  color: white !important;
  border-color: white;
}
  
  .fa {
    font-size: 1rem;
  }
  
  .feature-card i {
    font-size: 1rem;
    margin-right: 0.375rem;
  }
}

@media (max-width: 360px) {
  .container {
    margin: 2px;
  }
  
  .content {
    padding: 10px 8px;
  }
  
  .header {
    padding: 15px 8px;
  }
  
  .header h1 {
    font-size: 18px;
  }
  
  .header h2 {
    font-size: 12px;
  }
  
  .episode-title {
    font-size: 1.25rem;
    margin-top: 3rem;
  }
  
  .episode-navigation {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .nav-link .fa {
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .feature-card,
  .community-card,
  .tip-section,
  .next-episode-section {
    padding: 0.5rem;
  }
  
  .feature-title,
  .community-title {
    font-size: 0.9rem;
  }
  
  .feature-description,
  .community-description,
  .tip-text,
  .next-episode-text {
    font-size: 0.75rem;
  }
  
  .steps-simple li {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 10px 12px;
    font-size: 11px;
  }
  
  .footer {
    padding: 10px 8px;
  }
  
  .footer-copyright {
    font-size: 0.7rem;
  }
  
  .footer-discord-link {
    font-size: 0.7rem;
  }
  
  .discord-icon {
    width: 1rem;
    height: 1rem;
  }
}