/* ============================================================   SPLSOUNDLAB GAMES - OFFICIAL CSS 2026   Design: Audio-Studio / Cyberpunk Style   ============================================================ */

/* 1. RESET E SFONDO GENERALE */

body {
  background-color: #0b0e11;
  color: #e0e0e0;
  font-family: 'Segoe UI', Montserrat, Roboto, sans-serif;
  overflow-x: hidden;
}

/* 2. NAVBAR (Stile Rack Studio) */

.navbar {
  background-color: #161b22 !important;
  border-bottom: 2px solid #00ffcc;
  animation: neon-pulse 3s infinite ease-in-out;
}

.navbar-brand {
  color: #00ffcc !important;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
  transition: all 0.3s ease;
}

/* Stile per la sezione Presentazione */

/* Titolo Principale - Più massiccio e spazioso */

.intro-title, .intro-subtitle, .intro-text {
  font-family: 'Montserrat', sans-serif;
}

.intro-title {
  color: #ffffff;
  font-weight: 850;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 15px;
}

/* Sottotitolo Neon - Chiaro e vibrante */

.intro-subtitle {
  color: #00ffcc;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
  margin-bottom: 35px;
}

/* Paragrafo Descrittivo - Leggibile ma elegante */

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
  max-width: 900px;
  margin: 0 auto;
}

/* Animazione Pulsazione Brand */

@keyframes brand-pulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.2);
  }
  50% {
    transform: scale(1.01);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8), 0 0 15px rgba(0, 255, 204, 0.4);
    color: #ffffff;
  }
}

.brand-text-responsive {
  display: inline-block;
  animation: brand-pulse 5s infinite ease-in-out;
  color: #00ffcc;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text-responsive:hover {
  animation-duration: 1s;
  color: #ffffff !important;
}

/* 3. PULSANTI (Stile SPL) */

.btn-home, .btn-download {
  background-color: #00ffcc;
  color: #0b0e11;
  font-weight: bold;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.btn-home:hover, .btn-download:hover {
  background-color: #ffffff;
  box-shadow: 0 0 20px #00ffcc, 0 0 40px rgba(0, 255, 204, 0.3);
  color: #0b0e11 !important;
  transform: translateY(-2px);
}

/* 4. CARDS GIOCHI */

.card {
  background-size: cover;
  background-position: top center !important;
  border: 2px solid #30363d;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s ease;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background-color: #161b22;
}

.card:hover {
  border-color: #00ffcc;
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.5);
  transform: translateY(-5px);
}

/* Titoli dei giochi nelle Card */

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Sottotitoli Neon nelle Card */

.card-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600 !important;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #00ffcc !important;
}

/* Testo descrittivo nelle Card */

.card-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500 !important;
  line-height: 1.6;
  color: #e0e0e0 !important;
  margin-bottom: 25px;
}

/* Background Specifici Cards */

#card-invaders {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../../assets/img/Inv_mg_down.jpg') !important;
}

#card-qix {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('../../assets/img/qix_bg_down.jpg') !important;
}

#card-terzo {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), url('IL_TUO_TERZO_RENDER.jpg') !important;
}

/* 5. FOOTER */

footer {
  background-color: #0d1117 !important;
  padding: 60px 0 30px;
  border-top: 1px solid #30363d;
  color: #8b949e;
  font-size: 0.9rem;
}

footer .list-inline-item a {
  color: #8b949e;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

footer .list-inline-item a:hover {
  color: #00ffcc;
  filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.6));
  transform: translateY(-3px);
}

/* 6. OTTIMIZZAZIONE MOBILE (Fix Toggler & Brand) */

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 0.9rem !important;
    max-width: 75%;
    margin-right: 0;
  }
}

/* Ridimensionamento icone e logo */

@media (max-width: 767px) {
  .bs-icon {
    width: 45px !important;
    height: 45px !important;
  }
}

@media (max-width: 767px) {
  .bs-icon img {
    width: 35px !important;
    height: 35px !important;
  }
}

@media (max-width: 767px) {
  .brand-text-responsive {
    font-size: 13px !important;
  }
}

/* FIX MENU A TENDINA: Si attiva solo quando APERTO (.show) */

@media (max-width: 767px) {
  .collapse.show {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px 10px;
    background-color: #161b22;
  }
}

@media (max-width: 767px) {
  .navbar-nav {
    width: 100%;
    align-items: flex-end;
  }
}

@media (max-width: 767px) {
  .btn-home {
    margin-top: 10px;
    width: auto !important;
    min-width: 100px;
    text-align: center;
  }
}

/* Schermi piccolissimi (es. iPhone SE) */

@media (max-width: 350px) {
  .brand-text-responsive {
    font-size: 11px !important;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Aggiunge spazio sotto ogni colonna quando sono impilate */

@media (max-width: 767px) {
  .row > [class^="col-"] {
    margin-bottom: 25px;
  }
}

/* Rimuove il margine dall'ultima per non avere spazio vuoto infinito in fondo */

@media (max-width: 767px) {
  .row > [class^="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* 7. ANIMAZIONI EXTRA */

@keyframes neon-pulse {
  0%, 100% {
    border-bottom-color: #00ffcc;
  }
  50% {
    border-bottom-color: #008866;
  }
}

/* Sfondo con Overlay Scuro per la Presentazione */

/* Sfondo con Overlay Tinteggiato al Neon per la Presentazione */

.intro-background {
  background-image:  linear-gradient(rgba(11, 14, 17, 0.93), rgba(11, 14, 17, 0.98)), url('../../assets/img/mixer_bw.jpg');
  background-size: cover;
  background-position: bottom center;
  background-attachment: fixed;
  border-radius: 20px;
  padding: 100px 20px;
  border: 1px solid rgba(48, 54, 61, 0.5);
  position: relative;
  overflow: hidden;
}

/* Tocco Extra (Aggiungi questo blocco CSS separato) */

.intro-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 255, 204, 0.05);
  mix-blend-mode: color;
  pointer-events: none;
}

/* Sezione Specifiche Tecniche */

.tech-section {
  background-color: #0d1117;
  border-top: 1px solid #30363d;
  padding: 60px 0;
}

.tech-box {
  background: rgba(22, 27, 34, 0.5);
  border-left: 3px solid #00ffcc;
  padding: 25px;
  margin-bottom: 30px;
  height: 100%;
  transition: background 0.3s ease;
}

.tech-box:hover {
  background: rgba(0, 255, 204, 0.03);
}

.tech-box h5 {
  color: #00ffcc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.tech-list {
  list-style: none;
  padding: 0;
  color: #b0b0b0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  line-height: 2;
}

.tech-list strong {
  color: #ffffff;
}

/* Titolo Principale Tecnico */

.tech-main-title {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* Sottotitolo Tecnico Neon */

.tech-main-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: #00ffcc;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Linea di divisione stilizzata */

.tech-divider {
  width: 60px;
  height: 3px;
  background-color: #00ffcc;
  margin: 20px auto;
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

/* Seleziona l'icona dentro il link social */

/* Quando passi sopra al LINK, cambia il colore dell'ICONA interna */

/* Selettore mirato per le tue icone SVG nel footer */

footer svg.social-link {
  color: #b0b0b0 !important;
  fill: currentColor !important;
  transition: all 0.3s ease-in-out !important;
  cursor: pointer;
}

/* Effetto Hover Neon */

footer svg.social-link:hover {
  color: #00ffcc !important;
  filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.8)) !important;
  transform: scale(1.15);
}

/* Pulizia per il testo del Copyright */

footer p span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Se la classe social-link è sul DIV contenitore, colora l'SVG dentro */

.ml-1.mr-1:hover svg, .social-link:hover {
  color: #00ffcc !important;
  fill: #00ffcc !important;
  filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.8)) !important;
}

