/* ============================================================================
   SUPREMA FUTURE X // DESIGN SYSTEM V3 (ZERO QUADRATINI / FULL OVAL GLOW)
   Fondo Base: Bianco Perlato / Sabbia (#F4EFEA) senza linee o griglie
   Aree Ovali con Profondita e Bagliore Lampeggiante Oro / Cyan / Argento / Nero
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700;800;900&family=Orbitron:wght@500;700;900&family=Syncopate:wght@400;700;800&display=swap');

:root {
  --bg-base: #F4EFEA;
  --bg-silver-aged: #9EA3A8;
  --bg-dark-oval: #090B0E;
  --bg-inner-panel: #13171F;
  --gold-glow: #D4AF37;
  --gold-deep: #B8860B;
  --cyan-neon: #00F0FF;
  --cyan-deep: #008B99;
  --silver-bright: #E5E7EB;
  --silver-ice: #D1D5DB;
  --emerald-live: #00E676;
  --amber-standby: #FFBF00;
  --plum-seal: #4A0E4E;
  --text-dark: #12141C;
  --text-muted: #5A6072;
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-base); /* Nessun quadratino o reticolo */
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================================
   EFFETTI OVALI CON BAGLIORE DINAMICO (ORO / CYAN / ARGENTO / BLACK)
   ============================================================================ */
.sfx-oval-container {
  border-radius: 40px;
  background: var(--bg-dark-oval);
  color: #FFF;
  padding: 3rem;
  margin: 3.5rem auto;
  max-width: 1300px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(212, 175, 55, 0.5);
  animation: sfxBorderPulse 4s infinite alternate ease-in-out;
}

@keyframes sfxBorderPulse {
  0% {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.9);
  }
  33% {
    border-color: rgba(0, 240, 255, 0.7);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), inset 0 0 25px rgba(0, 240, 255, 0.15);
  }
  66% {
    border-color: rgba(229, 231, 235, 0.7);
    box-shadow: 0 0 25px rgba(229, 231, 235, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.9);
  }
  100% {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.45), inset 0 0 30px rgba(0, 0, 0, 0.95);
  }
}

/* ============================================================================
   ARCHITETTURA TRITTICO 3 COLONNE (VIDEO A SX, TESTO AL CENTRO, FOTO A DX)
   ============================================================================ */
.sfx-trittico-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sfx-trittico-media-col {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: #000;
}

.sfx-trittico-media-col img,
.sfx-trittico-media-col video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sfx-trittico-text-col {
  padding: 1rem 0;
  color: var(--silver-ice);
}

.sfx-trittico-text-col h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.4rem;
  color: #FFF;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.sfx-trittico-text-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #D1D5DB;
  margin-bottom: 1.2rem;
}

/* ============================================================================
   TOP BAR TELEMETRICA & NAVBAR ISTITUZIONALE
   ============================================================================ */
.sfx-top-bar {
  background: var(--bg-silver-aged);
  border-bottom: 2px solid var(--gold-glow);
  padding: 0.45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #FFF;
  position: relative;
  z-index: 1000;
}

.sfx-status-beacon-cyan {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-neon);
  animation: pulseBeacon 1.8s infinite;
  display: inline-block;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.4; }
}

.sfx-top-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E8E2D9;
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ============================================================================
   DRAWER LATERALE "CHI SIAMO" & DROPDOWN MENU SEZIONI
   ============================================================================ */
.sfx-side-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  height: 100vh;
  background: #0E1117;
  color: #FFF;
  border-left: 2px solid var(--gold-glow);
  box-shadow: -15px 0 40px rgba(0,0,0,0.7);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.sfx-side-drawer.open {
  right: 0;
}

.sfx-drawer-tab {
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: #D1D5DB;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.sfx-drawer-tab.active {
  background: var(--gold-glow);
  color: #000;
  font-weight: 700;
}

.sfx-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 200px;
  background: #0E1117;
  border: 1px solid var(--gold-glow);
  border-radius: 8px;
  padding: 1.2rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 1050;
  min-width: 260px;
}

.sfx-menu-dropdown.show {
  display: flex;
}

.sfx-menu-link {
  color: var(--silver-ice);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.sfx-menu-link:hover {
  color: var(--cyan-neon);
}

/* ============================================================================
   RESPONSIVITA
   ============================================================================ */
@media (max-width: 1024px) {
  .sfx-trittico-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sfx-oval-container {
    padding: 2rem;
    border-radius: 24px;
  }
}
