@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* ===== VARIABLES TEBEX ===== */
:root {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #0a0a0a;
  --color-brighter-bg: #0a0a0a;
  --color-primary: #F4D03F;
  --color-primary-hover: #FFE066;
  --color-primary-text: #000;
  --color-primary-text-hover: #000;
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: var(--color-text-dark);
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  
  /* Blocs colorés */
  --color-danger-bg: rgba(239, 68, 68, 0.1);
  --color-danger-border: #ef4444;
  --color-danger-text: #ef4444;
  
  --color-warning-bg: rgba(251, 191, 36, 0.1);
  --color-warning-border: #fbbf24;
  --color-warning-text: #fbbf24;
  
  --color-success-bg: rgba(34, 197, 94, 0.1);
  --color-success-border: #22c55e;
  --color-success-text: #22c55e;
  
  --color-info-bg: rgba(59, 130, 246, 0.1);
  --color-info-border: #3b82f6;
  --color-info-text: #3b82f6;
}

@media (width > 960px) {
  :root {
    --content-padding: calc(var(--widget-padding) * 2);
  }
}

/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-hover);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--color-brighter-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.site-header-inner {
  position: relative;
  height: 70px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  align-items: center;
}

.site-header-inner .site-title {
  position: absolute;
  left: var(--content-padding);
  top: 50%;
  transform: translateY(-50%);
  width: fit-content;
  height: fit-content;
  z-index: 10;
}

.site-header-inner .site-title a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header-inner .site-title img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.8;
}

.site-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.site-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.site-navigation {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  background: transparent;
  visibility: visible;
  opacity: 1;
  padding: 0;
  z-index: 5;
}

.navigation-list {
  display: flex;
  flex-direction: row;
  gap: 12px;
  background: transparent;
  padding: 0;
  list-style: none;
  align-items: center;
}

.navigation-list li {
  display: inline-block;
}

.navigation-list a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
}

.navigation-list a:hover,
.navigation-list a.link-active,
.navigation-list a.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-header-inner .header-actions {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: var(--content-padding);
  display: flex;
  gap: 12px;
  align-items: center;
  order: 3;
  flex-shrink: 0;
  z-index: 10;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: none;
}

.btn-tertiary {
  background: var(--color-brighter-bg);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-tertiary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 0 var(--content-padding);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,40 50,50 T100,50" stroke="rgba(244,208,63,0.1)" fill="none" stroke-width="0.5"/></svg>') repeat;
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
  width: 100%;
}

.hero-text {
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-text);
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-primary-hero {
  background: var(--color-primary);
  color: var(--color-text-dark);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  border: none;
}

.btn-primary-hero:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.3);
}

.btn-secondary-hero {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border-color: var(--color-text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 150%;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ===== SECTION ===== */
.section {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--color-brighter-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card-content {
  padding: 32px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.card-description {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== DESCRIPTION SECTION ===== */
.description-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.description-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.description-text p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.description-text strong {
  color: var(--color-primary);
}

.info-card {
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.1) 0%, transparent 100%);
  border-left: 4px solid var(--color-primary);
  padding: 24px;
  border-radius: 8px;
}

.info-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.info-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.info-card-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.description-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.description-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===== STATS SECTION ===== */
.stats-banner {
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.1) 0%, transparent 100%);
  border: 2px solid rgba(244, 208, 63, 0.2);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-box-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-box-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}



/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-brighter-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 80px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px var(--content-padding) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.footer-description {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.footer-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--color-text-secondary);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--widget-padding) 0;
    position: relative;
    padding: 110px var(--content-padding) calc(50px - var(--widget-padding));
    flex-wrap: wrap;
    height: auto;
  }
  
  .site-header-inner .site-title {
    position: static;
    width: 100%;
    text-align: center;
    transform: none;
    left: auto;
    top: auto;
  }
  
  .site-header-inner .site-title a {
    justify-content: center;
  }
  
  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
  }
  
  .site-header-inner .header-actions {
    position: absolute;
    top: var(--widget-padding);
    right: var(--content-padding);
    transform: none;
    display: flex;
    gap: 6px;
  }
  
  .site-navigation {
    position: static;
    order: 3;
    width: 100%;
    transform: none;
    left: auto;
    top: auto;
  }
  
  .navigation-list {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    padding: 60px 0;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  
  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100%;
    padding: 16px 24px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .description-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root {
    --content-padding: 20px;
    --widget-padding: 16px;
  }
  
  .hero-section {
    padding: 0 var(--content-padding);
    min-height: auto;
  }
  
  .site-header-inner {
    padding: 16px var(--content-padding) !important;
    height: auto;
  }
  
  .site-header-inner .site-title img {
    max-height: 50px;
  }
  
  .site-header-inner .header-actions {
    position: static;
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }
  
  .site-navigation {
    order: 3;
  }
  
  .navigation-list {
    gap: 12px;
  }
  
  .navigation-list a {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .hero-content {
    padding: 40px 0;
    gap: 40px;
  }
  
  .hero-image {
    height: 300px;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    margin-bottom: 40px;
  }
  
  .btn-primary-hero,
  .btn-secondary-hero {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .card-content {
    padding: 24px 20px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .stats-banner {
    padding: 32px 20px;
  }
  
  .stat-box-number {
    font-size: 36px;
  }
  
  .contact-form {
    padding: 28px 20px;
  }
  
  .footer-content {
    padding: 40px var(--content-padding) 30px;
  }
  
  .footer-grid {
    gap: 32px;
  }
  
  .footer-brand img {
    height: 32px;
  }
  
  .footer-brand-text {
    font-size: 18px;
  }
  
  .footer-description,
  .footer-links a {
    font-size: 14px;
  }
}

/* Utility Classes for Reglement Page */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

/* Background Colors */
.bg-white {
  background-color: var(--color-brighter-bg);
}

.bg-gray-50 {
  background-color: rgba(255, 255, 255, 0.03);
}

.bg-gray-100 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-yellow-50 {
  background-color: rgba(244, 208, 63, 0.1);
}

.bg-yellow-100 {
  background-color: rgba(244, 208, 63, 0.15);
}

.bg-red-50 {
  background-color: rgba(239, 68, 68, 0.1);
}

/* Text Colors */
.text-gray-500 {
  color: #9ca3af;
}

.text-gray-600 {
  color: var(--color-text-secondary);
}

.text-gray-700 {
  color: var(--color-text-secondary);
}

.text-gray-900 {
  color: var(--color-text);
}

.text-yellow-500 {
  color: var(--color-primary);
}

.text-yellow-600 {
  color: var(--color-primary);
}

.text-yellow-800 {
  color: var(--color-primary);
}

.text-red-600 {
  color: #ef4444;
}

/* Text Sizes */
.text-sm {
  font-size: 14px;
}

.text-xl {
  font-size: 20px;
}

.text-2xl {
  font-size: 24px;
}

.text-3xl {
  font-size: 30px;
}

.text-4xl {
  font-size: 36px;
}

.text-5xl {
  font-size: 48px;
}

/* Font Weights */
.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Line Heights */
.leading-relaxed {
  line-height: 1.625;
}

/* Borders */
.border {
  border: 1px solid var(--color-border);
}

.border-l-4 {
  border-left: 4px solid;
}

.border-gray-200 {
  border-color: var(--color-border);
}

.border-yellow-500 {
  border-color: var(--color-primary);
}

.border-red-500 {
  border-color: #ef4444;
}

/* Border Radius */
.rounded-lg {
  border-radius: 12px;
}

.rounded-r-lg {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.rounded-full {
  border-radius: 9999px;
}

/* Padding */
.p-6 {
  padding: 24px;
}

.p-8 {
  padding: 32px;
}

.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}

.py-1 {
  padding-top: 4px;
  padding-bottom: 4px;
}

.py-12 {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Margins */
.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.mx-2 {
  margin-left: 8px;
  margin-right: 8px;
}

/* Display */
.block {
  display: block;
}

.hidden {
  display: none;
}

/* Spacing */
.space-y-2 > * + * {
  margin-top: 8px;
}

.space-y-4 > * + * {
  margin-top: 16px;
}

/* Max Width */
.max-w-2xl {
  max-width: 672px;
}

.max-w-3xl {
  max-width: 768px;
}

/* Hover Effects */
.hover\:text-yellow-600:hover {
  color: var(--color-primary);
}

/* Specific Components for Reglement Page */
.animate-in {
  animation: slide-in 0.5s ease-out forwards;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.1);
  transform: translateY(-2px);
}

/* Additional Utility Classes */

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.left-4 {
  left: 16px;
  pointer-events: none;
}

.right-4 {
  right: 16px;
}

.top-1\/2 {
  top: 50%;
}

/* Transform */
.transform {
  transform: translate(0, 0);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.transform.-translate-y-1\/2 {
  transform: translateY(-50%);
}

/* Width and Height */
.w-5 {
  width: 20px;
}

.w-6 {
  width: 24px;
}

.w-full {
  width: 100%;
}

.h-5 {
  height: 20px;
}

.h-6 {
  height: 24px;
}

/* Padding */
.pl-14 {
  padding-left: 56px !important;
}

.pr-12 {
  padding-right: 48px !important;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Margins */
.mt-0\.5 {
  margin-top: 2px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

/* Border */
.border-2 {
  border-width: 2px;
}

.rounded-xl {
  border-radius: 16px;
}

.rounded-r-lg {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Colors */
.text-gray-400 {
  color: #9ca3af;
}

.text-gray-600 {
  color: var(--color-text-secondary);
}

.text-gray-900 {
  color: var(--color-text) !important;
}

.text-yellow-600 {
  color: var(--color-primary);
}

.bg-yellow-50 {
  background-color: rgba(244, 208, 63, 0.1);
}

.border-yellow-500 {
  border-color: var(--color-primary);
}

.border-gray-200 {
  border-color: var(--color-border);
}

/* Text Size */
.text-lg {
  font-size: 18px;
}

/* Shadow */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease;
}

/* Focus States */
input {
  background-color: var(--color-brighter-bg) !important;
  color: var(--color-text) !important;
}

input::placeholder {
  color: var(--color-text-secondary) !important;
  opacity: 0.7;
}

input:focus {
  outline: none;
}

.focus\:border-yellow-500:focus {
  border-color: var(--color-primary) !important;
}

.focus\:outline-none:focus {
  outline: none;
}

/* Hover States */
.hover\:text-gray-600:hover {
  color: var(--color-text-secondary);
}

/* Clear Button */
#clearSearch {
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto !important;
}

#clearSearch.hidden {
  display: none !important;
}

#clearSearch:not(.hidden) {
  display: flex !important;
}

/* Search Input Container */
.max-w-2xl {
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .md\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .hidden.md\:hidden {
    display: block;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 8px !important;
}

.mb-2 {
  margin-bottom: 16px !important;
}

.mb-3 {
  margin-bottom: 24px !important;
}

.mb-4 {
  margin-bottom: 32px !important;
}

.mb-5 {
  margin-bottom: 40px !important;
}

.hidden {
  display: none !important;
}

/* Menu Mobile Toggle */
@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 24px;
    cursor: pointer;
  }
  
  .mobile-menu-toggle:hover {
    color: var(--color-primary);
  }
}

@media (min-width: 961px) {
  .mobile-menu-toggle {
    display: none;
  }
}
/* ===== REGLEMENT PAGES STYLES ===== */

/* Page Layout */
.rules-page-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-padding);
}

.rules-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.rules-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.rules-main-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1024px) {
  .rules-container {
    flex-direction: column;
  }
  
  .rules-sidebar {
    width: 100%;
    position: static;
  }
}

/* Sidebar Navigation */
.sidebar-nav {
  position: sticky;
  top: 90px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.sidebar-nav h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav ul li {
  margin-bottom: 8px;
}

.sidebar-nav ul li a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 15px;
}

.sidebar-nav ul li a:hover {
  background: rgba(244, 208, 63, 0.1);
  color: var(--color-primary);
  transform: translateX(4px);
}

.sidebar-nav ul li a.active {
  background: var(--color-primary);
  color: var(--color-primary-text);
  font-weight: 700;
}

/* Search Bar */
.search-wrapper {
  max-width: 800px;
  margin-bottom: 48px;
}

.search-container {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px 16px 56px;
  background: rgba(26, 26, 26, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(26, 26, 26, 0.95);
}

.search-input::placeholder {
  color: var(--color-text-secondary);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-secondary);
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.clear-search-btn:hover {
  color: var(--color-text);
}

.clear-search-btn svg {
  width: 20px;
  height: 20px;
}

.search-results-text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* Info Box */
.info-box {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: start;
}

.info-box-icon {
  width: 24px;
  height: 24px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.info-box p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Rule Section Cards */
.rule-section {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.rule-section:hover {
  border-color: rgba(244, 208, 63, 0.3);
  background: rgba(26, 26, 26, 0.8);
}

.rule-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule-section h2 span {
  font-size: 32px;
}

.rule-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rule-section ul, .rule-section ol {
  margin-left: 24px;
  color: var(--color-text-secondary);
}

.rule-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Rules Box (Green - Do's) */
.rules-do-box {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin-bottom: 16px;
}

.rules-do-box-title {
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-do-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(34, 197, 94, 0.9);
}

.rules-do-box li {
  margin-bottom: 8px;
  padding-left: 8px;
}

/* Rules Box (Red - Don'ts) */
.rules-dont-box {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin-bottom: 16px;
}

.rules-dont-box-title {
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-dont-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(239, 68, 68, 0.9);
}

.rules-dont-box li {
  margin-bottom: 8px;
  padding-left: 8px;
}

/* Animation for rule sections */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.5s ease forwards;
  opacity: 0;
}

/* Stagger animation delays */
.rule-section:nth-child(1) { animation-delay: 0.1s; }
.rule-section:nth-child(2) { animation-delay: 0.15s; }
.rule-section:nth-child(3) { animation-delay: 0.2s; }
.rule-section:nth-child(4) { animation-delay: 0.25s; }
.rule-section:nth-child(5) { animation-delay: 0.3s; }
.rule-section:nth-child(6) { animation-delay: 0.35s; }
.rule-section:nth-child(7) { animation-delay: 0.4s; }
.rule-section:nth-child(8) { animation-delay: 0.45s; }

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 48px;
  padding-top: 40px;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }
  
  .page-header .subtitle {
    font-size: 16px;
  }
  
  .rule-section {
    padding: 24px;
  }
  
  .rule-section h2 {
    font-size: 20px;
  }
  
  .sidebar-nav {
    position: static;
    top: auto;
  }
  
  .search-input {
    padding: 14px 20px 14px 48px;
    font-size: 15px;
  }
}