/* ======== CSS Page À propos OptiPlay (CLEAN) ======== */

/* Variables CSS */
:root {
  --primary-color: #0038ff;
  --primary-dark: #001c99;
  --secondary-color: #00d4ff;
  --accent-color: #ff0080;
  --success-color: #00ff88;
  --bg-dark: #0a0a0f;
  --bg-darker: #070709;
  --bg-card: #141419;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  --gradient-primary: linear-gradient(135deg, #0038ff, #00d4ff);
  --gradient-secondary: linear-gradient(135deg, #ff0080, #ff4081);
  --shadow-primary: 0 10px 40px rgba(0, 56, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --border-radius: 12px;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ======== Header ======== */
header {
  background: rgba(7, 7, 9, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 56, 255, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 56, 255, 0.4);
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 56, 255, 0.1);
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 0.9rem;
}

/* ======== Page Hero ======== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(0, 56, 255, 0.1) 0%, transparent 70%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.page-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.page-title i {
  color: var(--primary-color);
  margin-right: 15px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ======== Section Headers (Titres centrés au-dessus) ======== */
.section-header {
  text-align: center;
  margin-bottom: 70px;
  width: 100%;
}

.section-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-line {
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* ======== About Content Section ======== */
.about-content {
  padding: 100px 0;
  background: var(--bg-dark);
}

.about-content .container {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}

.story-content {
  width: 100%;
}

.story-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.story-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 30px;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  padding: 45px 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 56, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.05), rgba(0, 212, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 56, 255, 0.25);
  border-color: var(--primary-color);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0, 56, 255, 0.3);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ======== Team Section ======== */
.team-section {
  padding: 100px 0;
  background: var(--bg-darker);
}

.team-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

.team-member {
  background: var(--bg-card);
  padding: 55px 45px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 56, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.05), rgba(0, 212, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 56, 255, 0.25);
  border-color: var(--primary-color);
}

.member-avatar {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0, 56, 255, 0.3);
}

.member-info h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.member-role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.member-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ======== Values Section ======== */
.values-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.values-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
  width: 100%;
}

.value-card {
  background: var(--bg-card);
  padding: 45px 35px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 56, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.05), rgba(0, 212, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 56, 255, 0.25);
  border-color: var(--primary-color);
}

.value-icon {
  width: 75px;
  height: 75px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0, 56, 255, 0.3);
}

.value-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ======== CTA Section ======== */
.cta-section {
  padding: 100px 0;
  background: 
    linear-gradient(135deg, rgba(0, 56, 255, 0.1), rgba(255, 0, 128, 0.1)),
    var(--bg-darker);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 56, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 128, 0.2) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 56, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

/* ======== Footer ======== */
footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(0, 56, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 60px 0;
}

.footer-section h4 {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.discord-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.discord-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 56, 255, 0.1);
  border: 1px solid rgba(0, 56, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
}

/* ======== Responsive Design ======== */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .nav-link {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .nav-link i {
    display: none;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .story-stats {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 500px;
  }
  
  .team-grid {
    max-width: 100%;
  }
  
  .team-member {
    padding: 40px 30px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 2rem;
  }
  
  .stat-icon,
  .member-avatar,
  .value-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2.3rem;
  }
  
  .team-member {
    padding: 30px 20px;
  }
  
  .value-card {
    padding: 30px 20px;
  }
}
