* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

body {
  background: var(--color-bg);
  color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(10,10,10,0.75);
  box-shadow: var(--shadow);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

nav a {
  margin: 0 1rem;
  color: var(--color-light);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
nav a:hover {
  color: var(--color-accent);
}

.logo img {
  width: 72px;
  height: auto;
}

.lang-switch img {
  width: 24px;
  margin-left: 0.75rem;
  cursor: pointer;
}

/* Hero avec vidéo de fond */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-light);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.card-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.card-left, .card-right {
  flex: 1 1 300px;
}

.card-left img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.grid-layout .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: var(--color-base);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.skill-card:hover {
  transform: translateY(-5px) scale(1.02);
}


.section {
  padding: 5rem 3rem;
  max-width: 1000px;
  margin: 6rem auto;
  background: var(--color-base);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow);
  border-radius: 16px;
}


.section h2 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.section p,
.section li {
  color: var(--color-light);
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  padding: 1rem 2rem;
  color: var(--color-light);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, background 0.3s;
}
.btn:hover {
  transform: scale(1.05);
  background: #b0040f;
}

iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-bg);
  color: var(--color-gray);
}

.hidden { opacity: 0; transform: translateY(60px); transition: all 0.7s ease; }
.show { opacity: 1; transform: translateY(0); }

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 8px;
}

/* Hero vidéo background */
.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.35);
}

/* Hero content */
.hero-content {
  position: relative; z-index: 1;
}

/* Card layout bio */
.card-layout { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.card-left, .card-right { flex: 1 1 300px; }
.card-left img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }

/* Grid skills */
.grid-layout .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.skill-card { background: var(--color-base); padding: 2rem; border-radius: 16px; text-align: center; font-weight: 600; box-shadow: var(--shadow); transition: transform 0.3s; }
.skill-card:hover { transform: translateY(-5px) scale(1.02); }

/* Twitch Follow button */
.follow-btn-container { margin-top: 1rem; text-align: center; }

/* Discord invite card */
.discord-card { display: flex; align-items: center; gap: 1.5rem; background: var(--color-base); padding: 1.5rem; border-radius: 16px; box-shadow: var(--shadow); }
.discord-logo { width: 64px; border-radius: 12px; }
.discord-info h3 { margin: 0; color: var(--color-accent); }
.discord-info p { margin: 0.3rem 0; color: var(--color-light); }
