/* Versailles Airsoft - Direction Artistique "Versailles Navy & Gold Tactical" */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Anti-flicker & Masquage immédiat des éléments Alpine.js non initialisés */
[x-cloak] {
  display: none !important;
}

/* Neutralisation des couleurs violettes par défaut du navigateur sur les liens */
a, a:visited, a:active {
  color: inherit;
  text-decoration: none;
}

*:focus, *:focus-visible {
  outline-color: #d4af37 !important;
}

::selection {
  background-color: #d4af37 !important;
  color: #070b11 !important;
}

:root {
  --color-versailles-bg: #070b11;
  --color-versailles-surface: #0e1622;
  --color-versailles-card: #131e2e;
  --color-versailles-border: #21324a;
  --color-versailles-gold: #d4af37;
  --color-versailles-gold-light: #f3d078;
  --color-versailles-gold-dark: #a8841a;
  --color-versailles-navy: #1b2a41;
  --color-versailles-text: #f0f4f8;
}

html, body {
  font-family: 'Inter', sans-serif;
  background-color: #070b11;
  color: #f0f4f8;
  min-height: 100vh;
}

.font-tactical {
  font-family: 'Chakra Petch', 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

.font-crest {
  font-family: 'Cinzel', 'Chakra Petch', serif;
  letter-spacing: 0.08em;
}

/* Texture de fond texturée Royale & Tactique (sans teintes violettes) */
.tactical-grid-bg {
  background-color: #070b11;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(212, 175, 55, 0.12) 0%, transparent 65%),
    radial-gradient(circle at 85% 90%, rgba(13, 22, 34, 0.4) 0%, transparent 50%),
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

/* Glassmorphism Versailles Navy */
.glass-panel {
  background: rgba(14, 22, 34, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.glass-panel-hover {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(212, 175, 55, 0.15);
}

/* Effets Glow Or Royal */
.glow-gold {
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.glow-gold-subtle {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.glow-navy {
  box-shadow: 0 0 15px rgba(27, 42, 65, 0.5);
}

/* Gradient Or Texte */
.text-gold-gradient {
  background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa841c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-gradient {
  border-image: linear-gradient(to right, #d4af37, #664d12, #d4af37) 1;
}

/* Custom Scrollbars Gold/Navy */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #070b11;
}

::-webkit-scrollbar-thumb {
  background: #21324a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* HTMX Transition Classes */
.htmx-swapping {
  opacity: 0.5;
  transition: opacity 0.2s ease-out;
}

.htmx-settling {
  opacity: 1;
}

/* Coins HUD Or */
.hud-corner-tl {
  position: relative;
}
.hud-corner-tl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #d4af37;
  border-left: 2px solid #d4af37;
}

.hud-corner-br::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #d4af37;
  border-right: 2px solid #d4af37;
}
