/* ==========================================
   AGRICORP - Farming Simulator 25 
   Gaming Server Website
   ========================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Inspired by the logo (dark green + gold) */
  --clr-dark: #0f120e;
  --clr-dark-green: #151a13;
  --clr-green-900: #1a1e17;
  --clr-green-800: #1e241b;
  --clr-green-700: #2a3326;
  --clr-green-600: #354231;
  --clr-green-500: #42523c;
  --clr-green-accent: #3e6b35;

  --clr-gold: #f5cb5c;
  --clr-gold-light: #fce7a1;
  --clr-gold-dark: #d4a373;
  --clr-gold-muted: #c9a227;

  --clr-wheat: #f5e6c8;
  --clr-cream: #faf6ee;
  --clr-beige: #e8dcc8;

  --clr-white: #ffffff;
  --clr-text: #e0e0e0;
  --clr-text-muted: #a0a0a0;
  --clr-text-dark: #2a2a20;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, rgba(15, 18, 14, 0.92) 0%, rgba(18, 22, 17, 0.85) 50%, rgba(15, 18, 14, 0.88) 100%);
  --grad-gold: linear-gradient(135deg, #f5cb5c 0%, #d4a373 100%);
  --grad-green: linear-gradient(135deg, #181d15 0%, #0f120e 100%);
  --grad-card: linear-gradient(145deg, rgba(18, 22, 17, 0.6) 0%, rgba(15, 18, 14, 0.8) 100%);

  /* Glass */
  --glass-bg: rgba(18, 22, 17, 0.6);
  --glass-border: rgba(245, 203, 92, 0.2);
  --glass-blur: 20px;

  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 20px rgba(200, 168, 78, 0.2);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-dark);
  background-image: radial-gradient(circle at top right, rgba(245, 203, 92, 0.05), transparent 700px), radial-gradient(circle at bottom left, rgba(245, 203, 92, 0.03), transparent 700px);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--clr-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-green-800);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-gold-dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-cream);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.section-subtitle {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--clr-gold);
}

.section-title {
  margin-bottom: 20px;
}

.section-description {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Utility ---------- */
.container {
  width: min(var(--container-width), 90%);
  margin: 0 auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--clr-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 168, 78, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
}

.btn-outline:hover {
  background: rgba(200, 168, 78, 0.1);
  transform: translateY(-3px);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* ---------- Section Divider ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold-dark), transparent);
  opacity: 0.3;
}

/* ---------- Floating Particles (Wheat) ---------- */
.wheat-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wheat-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--clr-gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) rotate(720deg);
  }
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-med);
}

.navbar.scrolled {
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 168, 78, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--clr-gold);
  transition: transform var(--transition-med);
}

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

.nav-logo-text {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--clr-cream);
}

.nav-logo-text span {
  color: var(--clr-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--clr-text-muted);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--transition-med);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 6px 16px !important;
  background: var(--grad-gold) !important;
  color: var(--clr-dark) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.85rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--clr-cream);
  transition: all var(--transition-fast);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(transparent, var(--clr-dark));
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

.hero h1 {
  animation: fadeSlideUp 0.8s 0.2s ease forwards;
  opacity: 0;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeSlideUp 0.8s 0.4s ease forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeSlideUp 0.8s 0.6s ease forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(200, 168, 78, 0.15);
  animation: fadeSlideUp 0.8s 0.8s ease forwards;
  opacity: 0;
}

.hero-stat-value {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
}

.hero-logo-wrapper {
  flex: 0 0 380px;
  animation: fadeSlideUp 1s 0.3s ease forwards;
  opacity: 0;
}

.hero-logo-wrapper img {
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 20px 60px rgba(200, 168, 78, 0.3));
}

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

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ABOUT SECTION ---------- */
.about {
  background: var(--clr-dark);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(200, 168, 78, 0.2);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.about-image .floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 15, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 168, 78, 0.2);
}

.about-image .floating-badge .badge-value {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--clr-gold);
}

.about-image .floating-badge .badge-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  padding: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
}

.about-feature:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.about-feature .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--clr-cream);
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ---------- SERVER SECTION ---------- */
.server {
  background: var(--clr-dark-green);
  position: relative;
}

.server::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/moissonneuses-vue-aerienne.jpg') center / cover no-repeat;
  opacity: 0.06;
}

.server .container {
  position: relative;
  z-index: 1;
}

.server-header {
  text-align: center;
  margin-bottom: 60px;
}

.server-header .section-subtitle {
  justify-content: center;
}

.server-header .section-subtitle::before {
  display: none;
}

.server-header .section-description {
  margin: 0 auto;
  text-align: center;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.server-card {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform var(--transition-med);
}

.server-card:hover::before {
  transform: scaleX(1);
}

.server-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.server-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.server-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.server-card p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Server status bar */
.server-status-bar {
  margin-top: 50px;
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.status-dot.online { background: #4caf50; }
.status-dot.offline { background: #f44336; }

.status-info h4 {
  font-size: 0.9rem;
  color: var(--clr-cream);
}

.status-info span {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* ---------- GALLERY SECTION ---------- */
.gallery {
  background: var(--clr-dark);
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header .section-subtitle {
  justify-content: center;
}

.gallery-header .section-subtitle::before {
  display: none;
}

.gallery-header .section-description {
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(10, 15, 10, 0.8));
  opacity: 0;
  transition: opacity var(--transition-med);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: var(--ff-heading);
  font-weight: 600;
  color: var(--clr-cream);
  font-size: 0.95rem;
}

/* ---------- RULES SECTION ---------- */
.rules {
  background: var(--clr-dark-green);
}

.rules-header {
  text-align: center;
  margin-bottom: 50px;
}

.rules-header .section-subtitle {
  justify-content: center;
}

.rules-header .section-subtitle::before {
  display: none;
}

.rules-header .section-description {
  margin: 0 auto;
  text-align: center;
}

.rules-list {
  max-width: 800px;
  margin: 0 auto;
}

.rule-item {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-med);
}

.rule-item:hover {
  border-color: rgba(200, 168, 78, 0.3);
  transform: translateX(8px);
}

.rule-number {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.rule-content h4 {
  font-size: 1.05rem;
  color: var(--clr-cream);
  margin-bottom: 6px;
}

.rule-content p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ---------- JOIN / DISCORD SECTION ---------- */
.join {
  background: var(--clr-dark);
  position: relative;
  overflow: hidden;
}

.join-cta {
  text-align: center;
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
}

.join-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(200, 168, 78, 0.05) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.join-cta .section-subtitle {
  justify-content: center;
}

.join-cta .section-subtitle::before {
  display: none;
}

.join-cta h2 {
  margin-bottom: 20px;
  position: relative;
}

.join-cta p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.join-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.btn-discord {
  background: #5865f2 !important;
  color: white;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4 !important;
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5);
}

/* ---------- MODS SECTION ---------- */
.mods {
  background: var(--clr-dark-green);
}

.mods-header {
  text-align: center;
  margin-bottom: 50px;
}

.mods-header .section-subtitle {
  justify-content: center;
}

.mods-header .section-subtitle::before {
  display: none;
}

.mods-header .section-description {
  margin: 0 auto;
  text-align: center;
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.mod-card {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
}

.mod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.mod-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.mod-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.mod-card:hover .mod-card-image img {
  transform: scale(1.1);
}

.mod-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(10, 15, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-gold);
  border: 1px solid rgba(200, 168, 78, 0.3);
}

.mod-card-body {
  padding: 24px;
}

.mod-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.mod-card-body p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.mod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mod-card-footer .mod-size {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.mod-card-footer .btn-download {
  padding: 8px 18px;
  font-size: 0.82rem;
  background: rgba(200, 168, 78, 0.15);
  color: var(--clr-gold);
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--ff-heading);
  font-weight: 600;
}

.mod-card-footer .btn-download:hover {
  background: var(--clr-gold);
  color: var(--clr-dark);
}

/* ---------- NEWS / BLOG SECTION ---------- */
.news {
  background: var(--clr-dark);
}

.news-header {
  text-align: center;
  margin-bottom: 50px;
}

.news-header .section-subtitle {
  justify-content: center;
}

.news-header .section-subtitle::before {
  display: none;
}

.news-header .section-description {
  margin: 0 auto;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}

.news-card {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--clr-gold);
  font-weight: 500;
}

.news-card-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: 50px;
  color: var(--clr-gold);
  font-weight: 600;
}

.news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-body h3 {
  color: var(--clr-gold);
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--clr-gold);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.news-card-link:hover {
  gap: 12px;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
  background: var(--clr-dark-green);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  color: var(--clr-cream);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.contact-form {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 15, 10, 0.6);
  border: 1px solid rgba(200, 168, 78, 0.15);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(5, 8, 5, 0.95);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(200, 168, 78, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--clr-gold);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--clr-gold);
  color: var(--clr-dark);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1rem;
  color: var(--clr-cream);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--clr-gold);
}

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

.footer-column ul li a {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--clr-gold);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(200, 168, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo-wrapper {
    flex: none;
    width: 280px;
    order: -1;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .server-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 15, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 20px;
    transition: right var(--transition-med);
    border-left: 1px solid rgba(200, 168, 78, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }

  .server-status-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(200, 168, 78, 0.2);
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--clr-cream);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--clr-gold);
  color: var(--clr-dark);
}

/* ==========================================
   MULTI-PAGE SPECIFIC STYLES
   ========================================== */

/* ---------- PAGE HERO BANNER (sub-pages) ---------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 10, 0.88) 0%, rgba(26, 46, 26, 0.82) 50%, rgba(10, 15, 10, 0.90) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 40px;
}

.page-hero h1 {
  margin-bottom: 16px;
  animation: fadeSlideUp 0.8s ease forwards;
}

.page-hero p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

.page-hero .section-subtitle {
  animation: fadeSlideUp 0.8s ease forwards;
}

.page-hero .section-subtitle::before {
  display: none;
}

/* ---------- OVERVIEW CARDS (index page) ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.overview-card {
  display: block;
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform var(--transition-med);
}

.overview-card:hover::before {
  transform: scaleX(1);
}

.overview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.overview-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--clr-cream);
}

.overview-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.overview-link {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--clr-gold);
  transition: letter-spacing var(--transition-fast);
}

.overview-card:hover .overview-link {
  letter-spacing: 1px;
}

/* ---------- TEAM CARDS (about page) ---------- */
.team-section {
  background: var(--clr-dark-green);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition-med);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.team-avatar {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.1rem;
  color: var(--clr-cream);
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-gold);
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ---------- JOIN STEPS (rejoindre page) ---------- */
.join-page-grid {
  max-width: 700px;
  margin: 0 auto;
}

.join-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px;
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: all var(--transition-med);
}

.join-step:hover {
  border-color: rgba(200, 168, 78, 0.3);
  transform: translateX(8px);
}

.join-step-number {
  width: 50px;
  height: 50px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--clr-dark);
  flex-shrink: 0;
}

.join-step-content h3 {
  font-size: 1.1rem;
  color: var(--clr-cream);
  margin-bottom: 8px;
}

.join-step-content p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ---------- SPECS GRID (server page) ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.spec-item {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-med);
}

.spec-item:hover {
  border-color: rgba(200, 168, 78, 0.3);
  transform: translateY(-4px);
}

.spec-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.spec-value {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-cream);
}

/* ---------- INFO BANNER (mods page) ---------- */
.info-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
}

.info-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-banner-content h4 {
  font-size: 1rem;
  color: var(--clr-gold);
  margin-bottom: 4px;
}

.info-banner-content p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.info-banner-content code {
  background: rgba(200, 168, 78, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--clr-gold);
}

/* ---------- MULTI-PAGE RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .join-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .info-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .join-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================
   FAQ & TUTORIALS STYLES
   ========================================== */

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-med);
}

.faq-item:hover {
  border-color: rgba(200, 168, 78, 0.3);
}

.faq-item.active {
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-cream);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--clr-gold);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--clr-gold);
  transition: transform var(--transition-med);
  flex-shrink: 0;
  width: 30px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.faq-answer code {
  background: rgba(200, 168, 78, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--clr-gold);
}

/* ---------- TUTORIALS GRID ---------- */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: var(--grad-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.tutorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform var(--transition-med);
}

.tutorial-card:hover::before {
  transform: scaleX(1);
}

.tutorial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: var(--shadow-elevated);
}

.tutorial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tutorial-level {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tutorial-level.beginner {
  background: rgba(76, 175, 80, 0.15);
  color: #66bb6a;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.tutorial-level.intermediate {
  background: rgba(255, 152, 0, 0.15);
  color: #ffa726;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.tutorial-level.advanced {
  background: rgba(244, 67, 54, 0.15);
  color: #ef5350;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.tutorial-duration {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.tutorial-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.tutorial-card h3 {
  font-size: 1.1rem;
  color: var(--clr-cream);
  margin-bottom: 10px;
}

.tutorial-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tutorial-step-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.tutorial-step-mini .step-num {
  width: 22px;
  height: 22px;
  background: rgba(200, 168, 78, 0.15);
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--clr-gold);
  flex-shrink: 0;
}

/* ---------- FAQ & TUTORIALS RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .tutorials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tutorials-grid {
    grid-template-columns: 1fr;
  }
}

/* News Interactions */
.reaction-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
}
.reaction-btn:hover:not([disabled]) {
  background: rgba(255,255,255,0.1);
}
.reaction-btn.active {
  background: rgba(212,175,55,0.2);
  border-color: var(--clr-gold);
}
.reaction-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.comment-bubble {
  border-left: 3px solid var(--clr-gold);
}



/* ====== NEW CONTACT REDESIGN ====== */
.contact-redesign .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: rgba(10, 15, 10, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02) inset;
  gap: 0;
  padding: 0;
  position: relative;
}

.contact-left-modern {
  background: linear-gradient(145deg, rgba(26, 46, 26, 0.8), rgba(10, 15, 10, 0.95)), url('../assets/moissonneuses-1.jpg') center/cover;
  padding: 60px 50px;
  position: relative;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left-modern::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(200, 168, 78, 0.15), transparent 50%);
  pointer-events: none;
}

.contact-left-modern .section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info-modern {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 40px;
}

.contact-info-item-modern {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition-fast);
}

.contact-info-item-modern:hover {
  transform: translateX(10px);
}

.contact-info-item-modern .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.2), rgba(200, 168, 78, 0.05));
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-gold);
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset 0 2px 5px rgba(255,255,255,0.1);
}

.contact-info-item-modern h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-cream);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-info-item-modern p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.contact-form-modern {
  padding: 60px 50px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-modern form {
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .contact-redesign .container {
    grid-template-columns: 1fr;
  }
  .contact-left-modern {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 30px;
  }
  .contact-form-modern {
    padding: 40px 30px;
  }
}

/* ---------- PREMIUM RULES CONSENT CARD ---------- */
.rules-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.06) 0%, rgba(20, 35, 20, 0.5) 100%);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0 25px 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.rules-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--clr-gold);
  opacity: 0.5;
  transition: opacity 0.3s ease, width 0.3s ease, background-color 0.3s ease;
}

.rules-card:hover {
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.1) 0%, rgba(26, 46, 26, 0.65) 100%);
  border-color: rgba(200, 168, 78, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(200, 168, 78, 0.15);
  transform: translateY(-2px);
}

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

.rules-card.active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(26, 46, 26, 0.8) 100%);
  border-color: #4caf50;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(76, 175, 80, 0.25);
}

.rules-card.active::before {
  background: #4caf50;
  opacity: 1;
  width: 5px;
}

.rules-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  text-align: left;
}

.rules-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 168, 78, 0.12);
  border: 1px solid rgba(200, 168, 78, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.rules-card.active .rules-icon-wrap {
  background: rgba(76, 175, 80, 0.2);
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.rules-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.rules-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--clr-cream);
  letter-spacing: 0.3px;
}

.rules-required-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.rules-card.active .rules-required-badge {
  background: rgba(76, 175, 80, 0.18);
  color: #4caf50;
  border-color: rgba(76, 175, 80, 0.4);
}

.rules-card-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
  margin: 0;
}

.rules-link {
  color: var(--clr-gold);
  text-decoration: underline;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.rules-link:hover {
  color: var(--clr-gold-light);
  text-shadow: 0 0 8px rgba(200, 168, 78, 0.6);
}

/* Custom Switch Toggle */
.rules-switch-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.rules-checkbox-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-switch {
  width: 50px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(200, 168, 78, 0.3);
  border-radius: 50px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-slider {
  width: 20px;
  height: 20px;
  background: #777;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.switch-check-icon {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
}

/* Active Switch State */
.rules-card.active .custom-switch {
  background: #2e7d32;
  border-color: #4caf50;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
}

.rules-card.active .switch-slider {
  left: calc(100% - 24px);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rules-card.active .switch-check-icon {
  stroke: #2e7d32;
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 600px) {
  .rules-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rules-switch-wrap {
    align-self: flex-end;
  }
}
/* Custom Login Button */
.nav-login {
  padding: 6px 12px !important;
  background: rgba(245, 203, 92, 0.1) !important;
  color: var(--clr-gold) !important;
  border: 1px solid rgba(245, 203, 92, 0.4) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 500 !important;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.nav-login::after {
  display: none !important;
}

.nav-login:hover {
  background: rgba(200, 168, 78, 0.2) !important;
  border-color: var(--clr-gold) !important;
  box-shadow: 0 0 15px rgba(200, 168, 78, 0.3);
  transform: translateY(-2px);
  color: var(--clr-white) !important;
}
