/* src/css/styles.css - BENTO BLACK DESIGN */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url("table.css");
@import url("gallery.css");
@import url("game-details.css");

/* Reset et variables */
:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #1a1a1a;
  --card-bg: #2a2a2a;
  --card-hover: #333333;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent: #8b5cf6;
  --border-radius: 16px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --border: 1px solid #404040;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

header {
  background: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  padding: 20px 40px;
  flex: 0 0 auto;
  border-bottom: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

#logo {
  display: block;
  width: 100px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

#logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 60px;
  flex: 1;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-shrink: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  transform: scale(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover::before {
  transform: scale(1);
}

nav ul li a:hover {
  color: var(--accent);
}

.header-title {
  text-align: center;
  padding-top: 0;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#header-title-1 {
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 600;
}

#header-title-2 {
  font-size: 24px;
  font-weight: 300;
}

#header-intro {
  text-align: right;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.intro-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 300;
  line-height: 1.4;
  width: 100%;
  max-width: 500px;
}

main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
  background: var(--secondary-bg);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

#game-container {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 0px 40px;
  width: 100%;
  max-width: 90%;
  height: 70vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  border: var(--border);
}

#game-container h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 30px 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* ABOUT PAGE STYLES */
#about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  min-height: calc(100vh - 200px); /* Ajuster selon le header */
}

.about-left-column,
.about-right-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  justify-content: space-between;
}

.about-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-card .card-icon {
  font-size: 32px;
  color: var(--accent);
  margin: 10px 0;
}

.about-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0 20px 0;
  color: var(--text-primary);
}

.about-card p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card .card-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 5px;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.team-section {
  text-align: center;
}

.team-section h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 0;
  color: var(--text-primary);
}

.creator-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px 40px;
  box-shadow: var(--shadow-lg);
  border: var(--border);
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
}

.creator-avatar {
  flex-shrink: 0;
}

.creator-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.creator-avatar img:hover {
  transform: scale(1.05);
}

.creator-info {
  text-align: left;
  flex: 1;
  align-items: center;
}

.creator-info h4 {
  font-size: 28px;
  font-weight: 700;
  margin: 5px 0;
  color: var(--text-primary);
}

.creator-info p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.creator-link:hover {
  background: white;
  color: var(--accent);
  transform: scale(1.1);
}

.thank-you-card {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.thank-you-card .card-icon {
  font-size: 48px;
  color: white;
  margin-bottom: 0px;
}

.thank-you-card h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.thank-you-card p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  #about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }

  nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }

  .header-title {
    text-align: left;
  }

  #header-intro {
    justify-content: flex-start;
  }

  #about-container {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding: 20px 15px;
  }

  .about-card,
  .feature-card,
  .creator-card,
  .thank-you-card {
    padding: 25px;
  }
}
