:root { 
  --primary-color: #3C6E71; 
  --secondary-color: #70AE6E; 
  --accent-color: #59c8f4; 
  --dark-color: #353535; 
  --light-color: #F5F5F5; 
  --board-light: #F0D9B5; 
  --board-dark: #B58863; 
  --hover-blue: #348afa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Satoshi', sans-serif;
  /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; */
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  font-weight: 300;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container {
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
nav {
  background: #000000;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  overflow-x: clip;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 2rem;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 1.6rem;
}

.logo-text {
  font-family: 'Satoshi', sans-serif;
  /* font-family: 'Playfair Display', serif; */
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.logo-text a {
  text-decoration: none !important;
}

/* Nav-links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #fffffff4;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    /* background: rgba(255, 255, 255, 0.37); */
    /* color: var(--accent-color); */
    transform: translateY(-1px);
    /* color: #000000; */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #1f2937;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0.125rem 0;
}

.dropdown-link:hover {
    background: #000000;
    color: white;
    transform: translateX(4px);
}

.dropdown-icon {
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.dropdown-link:hover .dropdown-icon {
    opacity: 1;
}

.nav-item:nth-last-child(2) .dropdown-menu,
.nav-item:nth-last-child(1) .dropdown-menu {
    left: auto;
    right: 0;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo img {
        height: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    animation: slideDown 0.3s ease-out;
}

.nav-link:focus,
.dropdown-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-link.active .dropdown-arrow {
    opacity: 1;
}

/* CONTENU ET AUTRES STYLES */

.content {
  padding: 4rem 0rem;
  text-align: center;
}

.content h1 {
  font-family: 'Satoshi', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.content p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  animation: pulse 2s infinite;
  cursor: pointer;
  z-index: 20;
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

html {
  scroll-behavior: smooth;
}

/* .hero-title {
  font-family: 'Clash Display', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 3.5rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
} */

footer {
  background-color: #f5f5f5;
  color: #1a1a1a;
}

footer a {
  color: #1a1a1a;
}

footer a:hover {
  color: var(--hover-blue);
}

.chess-tag {
  display: block;
  background: #2d2d2d;
  color: #f1f1f1;
  padding: 1.8rem;
  border: 1px solid #444;
  font-family: inherit;
  font-weight: 400;
  position: relative;
  border-radius: 0.75rem;
}

.chess-tag:hover {
  border-color: #777;
}

.chess-tag:focus-within {
  background: #3a3a3a;
  border-color: #999;
}

/* Input */
.chess-tag input {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #555;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #f1f1f1;
  margin: 1rem 0 1.2rem 0;
  border-radius: 0.5rem;
}

.chess-tag input:focus {
  outline: none;
  border-color: #aaa;
}

.chess-tag input::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Bouton */
.chess-tag button {
  width: 100%;
  background: #555;
  color: #fff;
  border: 1px solid #777;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.chess-tag button:hover {
  background: #777;
}

/* Label */
.chess-tag label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #ccc;
  font-family: inherit;
}

/* Titre */
.chess-tag h3 {
  text-align: center;
  font-size: 1.2rem;
  font-family: inherit;
  margin-bottom: 1.2rem;
  color: #f1f1f1;
  text-transform: uppercase;
  letter-spacing: 1px;
}