/* assets/css/partite.css - TEMA 2026 */

/* =========================================
   1. FONTS & VARIABILI
   ========================================= */
@font-face {
  font-family: 'DrukWide';
  src: url('/assets/doc/DrukTextWide-MediumItalic-Trial.otf') format('opentype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'HelveticaBold';
  src: url('/assets/doc/HelveticaBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

:root {
  --rosa-neon: #ff19ff;
  --viola: #790cfd; /* AGGIORNATO */
  --bianco: #ffffff;
  --nero-transp: rgba(18, 0, 40, 0.6); /* AGGIORNATO IN VINACCIA TRASPARENTE */
  --glass-bg: rgba(18, 0, 40, 0.85); /* Vinaccia semitrasparente */
    --border-light: rgba(255, 25, 255, 0.15); /* O rgba(255, 255, 255, 0.15) */
  --verde: #00ff66;
  --rosso: #ff3333;
}

/* =========================================
   2. GLOBAL BODY & RESET
   ========================================= */
body {
  color: var(--bianco);
  font-family: 'HelveticaBold', sans-serif;
  margin: 0;
  padding: 0;
  
  /* BASE VINACCIA 2026 */
  background-color: #120028 !important;
  
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 0;
}

/* SFONDO FISSO REALE (Funziona anche su iOS) */
body::before {
  content: "";
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  
  /* NUOVO SFONDO 2026 */
  background-image: 
  linear-gradient(rgba(18, 0, 40, 0.5), rgba(18, 0, 40, 0.5)),
  url('/assets/imm/gradiente26.jpg');
 
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}



html {
    height: 100%;
    overflow-x: hidden;
}

h1, h2 {
  font-family: 'DrukWide', sans-serif;
  font-style: italic;
  color: var(--rosa-neon);
  text-transform: uppercase;
  text-align: center;
  margin: 20px 0 13px;
  text-shadow: 2px 2px 0px rgba(18,0,40,0.8);
  letter-spacing: 1px;
}

/* =========================================
   3. TOGGLE SWITCH (Stile Glassmorphism)
   ========================================= */
.toggle-switch {
    display: flex; 
    justify-content: center; 
    gap: 7px;
    background: var(--glass-bg); 
    padding: 7px; 
    width: fit-content;
    margin: 20px auto; 
    border-radius: 8px; 
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px); /* Mantiene l'effetto sfocatura di fondo */
}

.toggle-switch a {
    text-decoration: none !important;
    color: #ccc !important; 
    padding: 5px 10px; 
	font-style: italic; 
    border-radius: 4px;
    font-family: 'DrukWide', sans-serif; 
    font-size: 0.44rem;
    border: 1px solid transparent; 
    transition: 0.3s;
    display: inline-block;
    text-transform: uppercase;
}

.toggle-switch a.active {
    background: var(--rosa-neon) !important; 
    color: #fff !important; 
    box-shadow: 0 0 7px rgba(255, 25, 255, 0.3);
    opacity: 1 !important;
    transform: none !important; /* Rimuove lo scale 1.05 se non desiderato */
}

.toggle-switch a:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}
/* Utility Classes */
.druk-font { font-family: 'DrukWide', sans-serif; font-style: italic; letter-spacing: 0; }
.helvetica-font { font-family: 'HelveticaBold', sans-serif; letter-spacing: 0; }

.container {
    flex: 1; 
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* =========================================
   RIDUZIONE TESTI MOBILE
   ========================================= */
@media (max-width: 515px) {
    
    .toggle-switch {
        gap: 3px !important; 
        padding: 3px !important; 
        margin: 10px auto !important; 
        border-radius: 5px !important; 
    }

    .toggle-switch a {
		font-style: italic; /* ← aggiungere */
        padding: 3px 7px !important; 
        font-size: 0.34rem !important; 
        border-radius: 3px !important;
    }
}