/* ============================================
   RESET E FONT BASE
   ============================================ */

html {
  font-family: 'Tiny Timmy', sans-serif;
    margin: 0;
  padding: 0;
}

body {
  font-family: inherit;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* previene scroll orizzontale */
}


/* ============================================
   NAVBAR ARCADE - FIX COMPLETO
   ============================================ */

.arcade-navbar {
  background: #9299A9;
  border-bottom: 6px solid #2E2E2E;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);  /* Solo ombra sotto */
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  color: #2E2E2E;
}

/* FONDAMENTALE: Lista orizzontale */
.nav-menu {
  display: flex !important; /* IMPORTANTE */
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-item {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  border: 4px outset #CCCCCC;
  background: #DDDDDD;
  color: #2E2E2E;
  text-decoration: none;
  font-family: 'BoldPixels', monospace;
  font-size: 13px;
  transition: none;
  white-space: nowrap;
  border-left: none;
}

.nav-item:first-child a {
  border-left: 4px outset #CCCCCC;
}

.nav-icon {
  font-size: 18px;
  margin-bottom: 3px;
}

.nav-text {
  font-size: 11px;
}

/* Stati hover e active */
.nav-item a:hover {
  background: #6BE4DF;
  color: #F5F5F5;
  border-style: inset;
  transform: translate(1px, 1px);
}

.nav-item.active a {
  border-style: inset;
  background: #767EE1;
  color: #F5F5F5;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.6);
}

/* CTA Button speciale */
.nav-item.cta-button a {
  background: #F75F66;
  color: #F5F5F5;
  animation: blink-cta 2s step-start infinite;
  font-weight: bold;
}

@keyframes blink-cta {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.7;
  }
}

/* Hamburger menu (nascosto su desktop) */
.hamburger {
  display: none;
  font-family: 'BoldPixels', monospace;
  cursor: pointer;
  padding: 10px 20px;
  border: 3px outset #CCCCCC;
  background: #DDDDDD;
  color: #2E2E2E;
  font-size: 14px;
  margin-right: 20px;
}

.hamburger:active {
  border-style: inset;
}

/* ============================================
   NAVBAR LOGO CON GLITCH EFFECT
   ============================================ */

.nav-logo {
  padding: 10px 20px;
}

.logo-link {
  text-decoration: none;
  display: block;
}

.nav-logo-text {
  font-family: 'BoldPixels', monospace;
  font-size: 24px; /* Più piccolo per navbar */
  color: #6BE4DF;
  margin: 0;
  padding: 0;
  letter-spacing: 4px;
  position: relative;
  text-shadow:
    2px 2px 0 #F75F66,
    -1px -1px 0 #767EE1,
    0 0 10px rgba(107, 228, 223, 0.5);
  animation: nav-glitch 4s infinite;
  white-space: nowrap;
  display: inline-block;
}

/* Effetto glitch ridotto per navbar */
.nav-logo-text::before,
.nav-logo-text::after {
  content: "RETRO ARENA";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.nav-logo-text::before {
  color: #F75F66;
  animation: nav-glitch-1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  text-shadow: none;
}

.nav-logo-text::after {
  color: #767EE1;
  animation: nav-glitch-2 3s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  text-shadow: none;
}

/* Animazioni glitch navbar (più sottili) */
@keyframes nav-glitch {
  0%, 92%, 100% {
    transform: translate(0);
  }
  93% {
    transform: translate(-1px, 1px);
  }
  94% {
    transform: translate(1px, -1px);
  }
}

@keyframes nav-glitch-1 {
  0%, 92%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  93% {
    transform: translate(-2px, 0);
    opacity: 0.8;
  }
}

@keyframes nav-glitch-2 {
  0%, 92%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  93% {
    transform: translate(2px, 0);
    opacity: 0.8;
  }
}

/* Hover effect - intensifica glitch */
.nav-logo-text:hover {
  animation: nav-glitch-intense 0.3s infinite;
}

@keyframes nav-glitch-intense {
  0%, 100% {
    transform: translate(0);
  }
  25% {
    transform: translate(-2px, 2px);
  }
  75% {
    transform: translate(2px, -2px);
  }
}

.nav-logo-text:hover::before,
.nav-logo-text:hover::after {
  opacity: 1;
}

/* ============================================
   RESPONSIVE - Logo più piccolo su mobile
   ============================================ */

@media (max-width: 768px) {
  .nav-logo-text {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .nav-logo {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .nav-logo-text {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */

@media (max-width: 968px) {
  .arcade-navbar {
    flex-wrap: wrap;
    padding: 10px;
  }

  .hamburger {
    display: block !important;
  }

  .nav-menu {
    display: none !important; /* Nascosto di default su mobile */
    flex-direction: column;
    width: 100%;
    order: 3;
    margin-top: 10px;
  }

  .nav-menu.active {
    display: flex !important; /* Mostra quando hamburger cliccato */
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    border: 4px outset #CCCCCC;
    border-top: none;
  }

  .nav-item:first-child a {
    border-top: 4px outset #CCCCCC;
  }
}

/* ============================================
   HERO SECTION - FIX COMPLETO
   ============================================ */

.hero-section {
  background: #2E2E2E;
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid #9299A9;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background stelle pixel animate */
.pixel-stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(2px 2px at 80% 10%, #6BE4DF, transparent),
    radial-gradient(1px 1px at 90% 60%, #F75F66, transparent),
    radial-gradient(2px 2px at 33% 80%, #767EE1, transparent);
  background-size: 200px 200px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
  opacity: 0.4;
  image-rendering: pixelated;
  animation: pixel-drift 20s linear infinite;
}

@keyframes pixel-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-200px, -200px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

/* Titolo principale con glitch */
.glitch-title {
  font-family: 'BoldPixels', monospace;
  font-size: 72px;
  color: #6BE4DF;
  text-align: center;
  position: relative;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-shadow:
    3px 3px 0 #F75F66,
    -2px -2px 0 #767EE1,
    0 0 20px rgba(107, 228, 223, 0.6);
  animation: glitch-main 5s infinite;
}

.glitch-title::before,
.glitch-title::after {
  content: "RETRO ARENA";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-title::before {
  color: #F75F66;
  animation: glitch-1 2.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-title::after {
  color: #767EE1;
  animation: glitch-2 2.5s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-main {
  0%, 90%, 100% {
    transform: translate(0);
  }
  92% {
    transform: translate(-2px, 2px);
  }
  94% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-1 {
  0%, 90%, 100% {
    transform: translate(0);
  }
  92% {
    transform: translate(-3px, 0);
  }
}

@keyframes glitch-2 {
  0%, 90%, 100% {
    transform: translate(0);
  }
  92% {
    transform: translate(3px, 0);
  }
}

/* Tagline lampeggiante */
.tagline {
  font-family: 'BoldPixels', monospace;
  font-size: 32px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 15px;
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.8),
    0 0 15px rgba(255, 215, 0, 0.6);
  letter-spacing: 3px;
}

.blink {
  animation: blink 1.5s step-start infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.3;
  }
}

/* Subtitle */
.subtitle {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 18px;
  color: #F5F5F5;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* CTA Buttons Group */
.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-arcade {
  display: inline-block;
  padding: 18px 35px;
  font-family: 'BoldPixels', monospace;
  font-size: 18px;
  text-decoration: none;
  border: 5px outset #CCCCCC;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.6);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
  letter-spacing: 2px;
  cursor: pointer;
}

.btn-arcade::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-arcade:hover::before {
  width: 300px;
  height: 300px;
}

.btn-arcade:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
}

.btn-arcade:active {
  border-style: inset;
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.6);
}

.btn-green {
  background: #6BE4DF;
  color: #2E2E2E;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.btn-green:hover {
  background: #5DD4CF;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.8),
    0 0 20px rgba(107, 228, 223, 0.6);
}

.btn-pink {
  background: #F69DC8;
  color: #2E2E2E;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.btn-pink:hover {
  background: #F58DBD;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.8),
    0 0 20px rgba(246, 157, 200, 0.6);
}

/* Hero Pixel Art (opzionale se hai immagine) */
.hero-pixel-art {
  position: absolute;
  right: 50px;
  bottom: 30px;
  font-size: 120px;
  opacity: 0.2;
  filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.8));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
    min-height: 400px;
  }

  .glitch-title {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .tagline {
    font-size: 22px;
  }

  .subtitle {
    font-size: 16px;
  }

  .btn-arcade {
    padding: 15px 25px;
    font-size: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .hero-pixel-art {
    display: none;
  }
}

/* ============================================
   SEZIONE CHI SIAMO / ABOUT
   ============================================ */

.about-section {
  background: linear-gradient(135deg, #2E2E2E 0%, #1A1A1A 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  border-top: 8px solid #9299A9;
  border-bottom: 8px solid #9299A9;
}

/* Effetto stelle pixel background */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #767EE1, transparent),
    radial-gradient(1px 1px at 80% 80%, #F75F66, transparent),
    radial-gradient(2px 2px at 50% 50%, #6BE4DF, transparent),
    radial-gradient(1px 1px at 90% 10%, #F69DC8, transparent);
  background-size: 300px 300px;
  opacity: 0.15;
  animation: pixel-drift 30s linear infinite;
  pointer-events: none;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

@keyframes title-glow {
  from {
    text-shadow:
      3px 3px 0 #F75F66,
      -2px -2px 0 #767EE1,
      0 0 20px rgba(107, 228, 223, 0.5);
  }
  to {
    text-shadow:
      3px 3px 0 #F75F66,
      -2px -2px 0 #767EE1,
      0 0 40px rgba(107, 228, 223, 0.8);
  }
}

.arcade-bracket {
  color: #F69DC8;
  font-size: 56px;
  animation: blink 1.5s step-start infinite;
}

.pixel-divider {
  width: 200px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #6BE4DF 0px,
    #6BE4DF 20px,
    transparent 20px,
    transparent 40px,
    #F75F66 40px,
    #F75F66 60px,
    transparent 60px,
    transparent 80px
  );
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(107, 228, 223, 0.6);
}

/* ============================================
   CONTENUTO PRINCIPALE
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-bottom: 60px;
}

.about-text {
  color: #F5F5F5;
}

.text-box {
  background: rgba(157, 157, 157, 0.1);
  border: 4px solid #9299A9;
  padding: 30px;
  box-shadow:
    inset 0 0 30px rgba(107, 228, 223, 0.1),
    8px 8px 0 rgba(0,0,0,0.4);
  margin-bottom: 30px;
}

.intro-text {
  font-family: 'BoldPixels', monospace;
  font-size: 18px;
  color: #6BE4DF;
  margin-bottom: 20px;
  line-height: 1.8;
}

.pixel-icon {
  font-size: 24px;
  margin-right: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.text-box p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #DDDDDD;
}

.text-box strong {
  color: #F69DC8;
  font-weight: bold;
}

.highlight-text {
  background: linear-gradient(90deg, #6BE4DF, #767EE1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.stat-box {
  background: #2E2E2E;
  border: 4px solid #6BE4DF;
  padding: 20px 10px;
  text-align: center;
  box-shadow:
    inset 0 0 20px rgba(107, 228, 223, 0.2),
    0 0 15px rgba(107, 228, 223, 0.4);
  transition: all 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: #F75F66;
  box-shadow:
    inset 0 0 30px rgba(247, 95, 102, 0.3),
    0 0 25px rgba(247, 95, 102, 0.6);
}

.stat-number {
  font-family: 'BoldPixels', monospace;
  font-size: 36px;
  color: #F75F66;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.stat-label {
  font-family: 'BoldPixels', monospace;
  font-size: 11px;
  color: #6BE4DF;
  letter-spacing: 1px;
}

/* ============================================
   CONSOLE STACK VISUAL
   ============================================ */

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.console-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.console-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border: 5px solid;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.console-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.console-item:hover::before {
  left: 100%;
}

.console-item:hover {
  transform: translateX(10px);
}

.ps1 {
  background: #9299A9;
  border-color: #767EE1;
}

.n64 {
  background: #F75F66;
  border-color: #2E2E2E;
}

.gba {
  background: #6BE4DF;
  border-color: #F69DC8;
}

.arcade {
  background: #2E2E2E;
  border-color: #6BE4DF;
}

.console-icon {
  font-family: 'BoldPixels', monospace;
  font-size: 22px;
  color: #F5F5F5;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

.console-year {
  font-family: 'BoldPixels', monospace;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 5px 10px;
}

/* ============================================
   RPG DIALOGUE BOX
   ============================================ */

.rpg-dialogue {
  background: #1A1A1A;
  border: 5px solid #F5F5F5;
  padding: 25px;
  position: relative;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.8),
    8px 8px 0 rgba(0,0,0,0.6);
}

.dialogue-arrow {
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 24px;
  color: #F5F5F5;
  animation: blink 1s step-start infinite;
}

.dialogue-text {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #F5F5F5;
  margin-bottom: 15px;
  font-style: italic;
}

.dialogue-author {
  font-family: 'BoldPixels', monospace;
  font-size: 12px;
  color: #6BE4DF;
  text-align: right;
}

/* ============================================
   MISSIONE SECTION
   ============================================ */

.about-timeline {
  background: rgba(157, 157, 157, 0.05);
  border: 6px solid #767EE1;
  padding: 40px;
  box-shadow:
    inset 0 0 40px rgba(118, 126, 225, 0.2),
    0 0 20px rgba(118, 126, 225, 0.3);
}

.timeline-title {
  font-family: 'BoldPixels', monospace;
  font-size: 24px;
  color: #F69DC8;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 3px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-item {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s;
}

.mission-item:hover {
  transform: scale(1.1);
}

.mission-icon {
  font-size: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.5));
  animation: float 3s ease-in-out infinite;
}

.mission-item h4 {
  font-family: 'BoldPixels', monospace;
  font-size: 18px;
  color: #6BE4DF;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.mission-item p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 14px;
  color: #DDDDDD;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title-arcade {
    font-size: 32px;
  }
}

/* ============================================
   SEZIONE GAME MODE / SERVIZI - GRADIENT
   ============================================ */

.services-grid {
  background: linear-gradient(
    180deg,
    #1A1A1A 0%,
    #3E3E3E 30%,
    #5A5A5A 50%,
    #7E8491 70%,
    #8A8E9C 85%,
    #9299A9 100%
  );
  padding: 60px 20px;
  border-bottom: 8px solid #9299A9;
  border-top: 8px solid #9299A9;
  position: relative;
  overflow: hidden;
  box-sizing: border-box; /* ✅ AGGIUNGI */
  width: 100%; /* ✅ AGGIUNGI */
}

/* ✅ AGGIUNGI QUESTA MEDIA QUERY PER MOBILE */
@media (max-width: 480px) {
  .services-grid {
    padding: 40px 10px; /* riduci padding laterale */
    border-bottom: 4px solid #9299A9; /* bordi più sottili */
    border-top: 4px solid #9299A9;
  }
  
  .section-header {
    margin-bottom: 30px; /* riduci spazio */
  }
  
  .grid-container {
    padding: 0 5px; /* minimo padding */
  }
  
  .service-card {
    padding: 20px 15px;
    border: 3px solid #2E2E2E; /* bordo più sottile */
    box-shadow: 3px 3px 0 rgba(0,0,0,0.8), 0 0 10px rgba(107, 228, 223, 0.2);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.9), 0 0 20px rgba(107, 228, 223, 0.5);
  }
  
  .card-icon {
    font-size: 2rem; /* riduci icone */
  }
  
  .card-text {
    font-size: 14px;
  }
  
  .card-price {
    font-size: 16px;
  }
}

/* Stelle pixel animate sul gradient */
.services-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 15% 25%, #767EE1, transparent),
    radial-gradient(1px 1px at 85% 75%, #F75F66, transparent),
    radial-gradient(2px 2px at 45% 55%, #6BE4DF, transparent),
    radial-gradient(1px 1px at 65% 35%, #F69DC8, transparent);
  background-size: 250px 250px;
  opacity: 0.15;
  pointer-events: none;
  animation: pixel-drift 25s linear infinite;
  z-index: 0;
}

/* Assicura che il contenuto sia sopra */
.services-grid > * {
  position: relative;
  z-index: 1;
}

/* Scanline CRT effect */
.services-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 2;
  animation: scanline-move 8s linear infinite;
}

@keyframes pixel-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-250px, -250px);
  }
}

@keyframes scanline-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

.section-header {
  background: transparent;
  padding: 0;
  margin-bottom: 60px;
  text-align: center;
}

.section-header h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 48px;
  text-align: center;
  color: #6BE4DF;
  background: transparent;
  margin: 0 auto 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  position: relative;
  text-shadow:
    3px 3px 0 #F75F66,
    -2px -2px 0 #767EE1,
    0 0 20px rgba(107, 228, 223, 0.6);
}

/* Quadratini decorativi lampeggianti */
.arcade-bracket {
  color: #F69DC8;
  font-size: 56px;
  margin: 0 15px;
  animation: blink 1.5s step-start infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.3;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* aggiungi padding laterale */
}

.grid-container {
  box-sizing: border-box; /* importante! */
  width: 100%; /* invece di max-width solo */
}

/* Tablet */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 colonne */
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr; /* 1 colonna */
    gap: 15px;
    padding: 0 10px;
  }
}

/* Mobile molto piccoli (iPhone SE, ecc.) */
@media (max-width: 375px) {
  .grid-container {
    gap: 10px;
  }
}

.service-card {
  border: 6px solid #2E2E2E;
  padding: 30px 20px;
  text-align: center;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.8),
    0 0 15px rgba(107, 228, 223, 0.2);
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box; /* ✅ AGGIUNGI QUESTO */
  max-width: 100%; /* ✅ AGGIUNGI QUESTO */
}

/* ✅ AGGIUNGI QUESTA MEDIA QUERY */
@media (max-width: 480px) {
  .service-card {
    padding: 20px 15px; /* riduci padding */
    border: 4px solid #2E2E2E; /* bordo più sottile */
    box-shadow:
      4px 4px 0 rgba(0,0,0,0.8), /* ombra ridotta */
      0 0 10px rgba(107, 228, 223, 0.2);
  }
  
  .service-card:hover {
    transform: translateY(-5px); /* movimento ridotto */
    box-shadow:
      6px 6px 0 rgba(0,0,0,0.9), /* ombra ridotta */
      0 0 20px rgba(107, 228, 223, 0.5);
  }
  
  .card-text {
    font-size: 14px; /* riduci testo se necessario */
  }
  
  .card-icon {
    font-size: 2.5rem; /* riduci icone se troppo grandi */
  }
}

.service-card:nth-child(1) {
  animation-delay: 0s;
}

.service-card:nth-child(2) {
  animation-delay: 0.5s;
}

.service-card:nth-child(3) {
  animation-delay: 1s;
}

.service-card:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    12px 12px 0 rgba(0,0,0,0.9),
    0 0 30px rgba(107, 228, 223, 0.5); /* ✅ Glow intenso hover */
}

/* Card con glow colorato in base al tipo */
.card-blue:hover {
  box-shadow:
    12px 12px 0 rgba(0,0,0,0.9),
    0 0 30px rgba(118, 126, 225, 0.6);
}

.card-red:hover {
  box-shadow:
    12px 12px 0 rgba(0,0,0,0.9),
    0 0 30px rgba(247, 95, 102, 0.6);
}

.card-green:hover {
  box-shadow:
    12px 12px 0 rgba(0,0,0,0.9),
    0 0 30px rgba(107, 228, 223, 0.6);
}

.card-pink:hover {
  box-shadow:
    12px 12px 0 rgba(0,0,0,0.9),
    0 0 30px rgba(246, 157, 200, 0.6);
}

.card-blue { background: #767EE1; }
.card-red { background: #F75F66; }
.card-green { background: #6BE4DF; }
.card-pink { background: #F69DC8; }

.card-icon {
  font-size: 64px;
  margin-bottom: 15px;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.3));
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .card-icon {
  transform: rotate(360deg) scale(1.2);
}

.service-card h3 {
  font-family: 'BoldPixels', monospace;
  font-size: 20px;
  color: #2E2E2E;
  margin-bottom: 15px;
}

.card-text {
  font-size: 14px;
  color: #1A1A1A;
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-price {
  font-family: 'BoldPixels', monospace;
  font-size: 24px;
  color: #FFD700;
  text-shadow: 2px 2px 0 #2E2E2E;
  margin-bottom: 20px;
}

.card-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #F5F5F5;
  color: #2E2E2E;
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  border: 4px outset #CCCCCC;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

.card-btn:hover {
  border-style: inset;
  transform: translate(2px, 2px);
}

.booking-section h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 36px;
  text-align: center;
  color: #2E2E2E;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.arcade-form {
  max-width: 600px;
  margin: 0 auto;
  background: #DDDDDD;
  padding: 40px;
  border: 6px solid #2E2E2E;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.5);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  color: #2E2E2E;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 4px inset #9299A9;
  background: #F5F5F5;
  color: #2E2E2E;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-family: 'BoldPixels', monospace;
  font-size: 20px;
  background: #F75F66;
  color: #F5F5F5;
  border: 5px outset #CCCCCC;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.submit-btn:hover::after {
  left: 100%;
}

.submit-btn:hover {
  animation: btn-pulse 0.8s infinite;
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow: 5px 5px 0 rgba(0,0,0,0.6);
  }
  50% {
    box-shadow: 5px 5px 20px rgba(247, 95, 102, 0.8);
  }
}

/* ============================================
   SEZIONE LOCATION E CONTATTI
   ============================================ */


.location-section h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 48px;
  text-align: center;
  color: #6BE4DF;
  background: transparent;
  margin: 0 auto 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  position: relative;
  text-shadow:
    3px 3px 0 #F75F66,
    -2px -2px 0 #767EE1,
    0 0 20px rgba(107, 228, 223, 0.6);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  background: #F5F5F5;
  border: 5px solid #2E2E2E;
  padding: 20px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.info-box:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.6);
}

.info-label {
  font-family: 'BoldPixels', monospace;
  font-size: 16px;
  color: #767EE1;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
  position: relative;
}

.info-label::before {
  content: "▶";
  margin-right: 8px;
  animation: blink-arrow 1s infinite;
}

@keyframes blink-arrow {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.info-box p {
  font-size: 14px;
  color: #2E2E2E;
  line-height: 1.8;
  margin: 0;
}

.map-placeholder {
  border: 6px solid #2E2E2E;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.4);
  overflow: hidden;
  height: 300px;
}

.map-placeholder-small {
  border: 4px solid #2E2E2E;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  overflow: hidden;
  height: 180px;
  margin-bottom: 15px;
}

.pixel-map-border {
  width: 100%;
  height: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
  }

  .location-section h2 {
    font-size: 24px;
  }
}

.arcade-footer {
  background: #2E2E2E;
  color: #F5F5F5;
  padding: 40px 20px;
  text-align: center;
}

.game-over-text {
  font-family: 'BoldPixels', monospace;
  font-size: 32px;
  color: #6BE4DF;
  margin-bottom: 20px;
}

.footer-links a {
  color: #CCCCCC;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  color: #F5F5F5;
}

.copyright {
  font-size: 12px;
  margin-top: 20px;
}

.credits {
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  color: #F75F66;
  margin-top: 10px;
}

/* ============================================
   EFFETTI RETRO CRT
   ============================================ */

/* Overlay CRT su tutta la pagina */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

/* Effetto flickering sottile */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: 9998;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% {
    opacity: 0.97;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.98;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Feedback visivo al click con suono */
.nav-item a:active,
.btn-arcade:active,
.card-btn:active {
  transform: scale(0.95);
  filter: brightness(1.2);
}

/* ============================================
   TOGGLE AUDIO BUTTON
   ============================================ */

.audio-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 20px;
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  background: #9299A9;
  color: #F5F5F5;
  border: 4px outset #CCCCCC;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.audio-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.8);
  background: #6BE4DF;
  color: #2E2E2E;
}

.audio-toggle:active {
  border-style: inset;
  transform: scale(1) translateY(0);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

.audio-toggle.muted {
  background: #2E2E2E;
  color: #999;
  border-color: #666;
}

.audio-toggle.muted:hover {
  background: #3E3E3E;
  color: #CCC;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .audio-toggle {
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    font-size: 11px;
  }
}

/* ============================================
   MENU PAGE - ARCADE CABINET DESIGN
   ============================================ */

.menu-page {
  background: #1A1A1A;
}

/* Opzione 3: Outline Stroke (Il più fico e leggibile) */
.bar-title-stroke {
  font-family: 'BoldPixels', monospace;
  font-size: 72px;
  text-align: center;
  letter-spacing: 10px;
  margin-bottom: 20px;

  /* Testo principale gradient */
  background: linear-gradient(135deg, #6BE4DF 0%, #767EE1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Outline multiplo per contrasto */
  -webkit-text-stroke: 3px #2E2E2E;

  /* Drop shadow per depth */
  filter: drop-shadow(5px 5px 0px #F75F66)
          drop-shadow(-3px -3px 0px #F69DC8)
          drop-shadow(0 0 20px rgba(107, 228, 223, 0.6));

  /* Animazione glow pulsante */
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(5px 5px 0px #F75F66)
            drop-shadow(-3px -3px 0px #F69DC8)
            drop-shadow(0 0 20px rgba(107, 228, 223, 0.6));
  }
  50% {
    filter: drop-shadow(5px 5px 0px #F75F66)
            drop-shadow(-3px -3px 0px #F69DC8)
            drop-shadow(0 0 40px rgba(107, 228, 223, 1));
  }
}

.hero-menu {
  background: linear-gradient(135deg, #2E2E2E, #1A1A1A);
  padding: 80px 20px 40px;
  text-align: center;
  border-bottom: 8px solid #9299A9;
}

.menu-arcade-frame {
  max-width: 1400px;
  margin: 50px auto;
  background: #2E2E2E;
  border: 8px solid #9299A9;
  box-shadow:
    inset 0 0 50px rgba(107, 228, 223, 0.2),
    0 0 30px rgba(107, 228, 223, 0.4);
  padding: 40px;
}

.menu-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.tab {
  font-family: 'BoldPixels', monospace;
  font-size: 16px;
  padding: 15px 30px;
  background: #1A1A1A;
  color: #9299A9;
  border: 4px solid #9299A9;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: #6BE4DF;
  color: #2E2E2E;
  border-color: #6BE4DF;
  transform: translateY(-5px);
}

.tab:hover {
  background: #767EE1;
  color: #F5F5F5;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.drink-card {
  background: #1A1A1A;
  border: 5px solid;
  padding: 25px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.6);
  transition: all 0.3s;
}

.drink-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.level-legendary {
  border-color: #FFD700;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.6),
    0 0 20px rgba(255, 215, 0, 0.5);
}

.level-epic {
  border-color: #F75F66;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.6),
    0 0 20px rgba(247, 95, 102, 0.4);
}

.drink-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.drink-header h3 {
  font-family: 'BoldPixels', monospace;
  font-size: 18px;
  color: #6BE4DF;
  margin: 0;
}

.level-badge {
  font-family: 'BoldPixels', monospace;
  font-size: 10px;
  padding: 5px 10px;
  background: #F75F66;
  color: #F5F5F5;
  border: 2px solid #2E2E2E;
}

.drink-img {
  font-size: 72px;
  text-align: center;
  margin: 20px 0;
  filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.5));
}

.drink-desc {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 14px;
  color: #DDDDDD;
  line-height: 1.6;
  margin-bottom: 20px;
}

.drink-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.stat {
  font-family: 'BoldPixels', monospace;
  font-size: 12px;
  color: #9299A9;
}

.drink-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #2E2E2E;
  border: 3px solid #6BE4DF;
}

.price-coin {
  font-size: 24px;
  animation: coin-spin 2s linear infinite;
}

@keyframes coin-spin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
}

.price-amount {
  font-family: 'BoldPixels', monospace;
  font-size: 28px;
  color: #6BE4DF;
}

/* Mobile Responsive for Menu */
@media (max-width: 768px) {
  .hero-menu {
    padding: 50px 20px;
  }

  .menu-tabs {
    flex-direction: column;
    gap: 15px;
  }

  .tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .drink-card {
    padding: 20px;
  }

  .drink-header h3 {
    font-size: 16px;
  }

  .drink-stats {
    gap: 5px;
  }

  .drink-price {
    padding: 12px;
    font-size: 24px;
  }

  .price-coin {
    font-size: 20px;
  }

  .price-amount {
    font-size: 24px;
  }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.privacy-content {
  background: #1A1A1A;
  min-height: 100vh;
  padding: 60px 20px;
}

.privacy-container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-internal {
  padding: 60px 20px 40px;
  min-height: 250px;
}

.page-title {
  font-family: 'BoldPixels', monospace;
  font-size: 48px;
  color: #6BE4DF;
  text-align: center;
  letter-spacing: 6px;
  margin-bottom: 15px;
  text-shadow:
    4px 4px 0 #F75F66,
    -3px -3px 0 #767EE1,
    0 0 25px rgba(107, 228, 223, 0.7);
}

.page-subtitle {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 16px;
  color: #DDDDDD;
  text-align: center;
  letter-spacing: 1px;
}

/* Info Box Principale */
.privacy-info-box {
  background: #2E2E2E;
  border: 5px solid #6BE4DF;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow:
    inset 0 0 30px rgba(107, 228, 223, 0.2),
    8px 8px 0 rgba(0,0,0,0.6);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #9299A9;
}

.pixel-icon {
  font-size: 32px;
}

.info-header h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 24px;
  color: #6BE4DF;
  margin: 0;
  letter-spacing: 2px;
}

.privacy-info-box p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 15px;
  color: #F5F5F5;
  line-height: 1.8;
  margin-bottom: 10px;
}

.privacy-info-box strong {
  color: #F69DC8;
}

.update-date {
  font-family: 'BoldPixels', monospace;
  font-size: 12px;
  color: #9299A9;
  margin-top: 20px;
  text-align: right;
}

/* Sezioni Privacy */
.privacy-section {
  background: #2E2E2E;
  border: 4px solid #9299A9;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
  transition: all 0.3s;
}

.privacy-section:hover {
  border-color: #6BE4DF;
  transform: translateX(5px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.7);
}

.section-header {
  background: #7E8491;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 3px solid #9299A9;
}

.section-number {
  font-family: 'BoldPixels', monospace;
  font-size: 32px;
  color: #F75F66;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
  min-width: 50px;
}

.section-header h3 {
  font-family: 'BoldPixels', monospace;
  font-size: 20px;
  color: #6BE4DF;
  margin: 0;
  letter-spacing: 2px;
}

.section-content {
  padding: 30px;
}

.section-content p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 15px;
  color: #DDDDDD;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Liste */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.privacy-list li {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 15px;
  color: #F5F5F5;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.list-icon {
  position: absolute;
  left: 0;
  color: #6BE4DF;
  font-family: 'BoldPixels', monospace;
  font-size: 12px;
}

.privacy-list strong {
  color: #F69DC8;
}

/* Highlight Box */
.highlight-box {
  background: rgba(247, 95, 102, 0.15);
  border: 3px solid #F75F66;
  padding: 15px 20px;
  margin: 20px 0;
  font-family: 'BoldPixels', monospace;
  font-size: 13px;
  color: #F75F66;
  letter-spacing: 1px;
}

/* Grid Diritti */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.right-card {
  background: #1A1A1A;
  border: 3px solid #767EE1;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}

.right-card:hover {
  border-color: #6BE4DF;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(107, 228, 223, 0.3);
}

.right-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.right-card h4 {
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  color: #6BE4DF;
  margin: 10px 0;
  letter-spacing: 1px;
}

.right-card p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 13px;
  color: #9299A9;
  margin: 0;
}

.contact-rights {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 14px;
  color: #F5F5F5;
  margin-top: 20px;
  text-align: center;
}

.contact-rights strong {
  color: #6BE4DF;
}

/* Contact Box */
.contact-box {
  background: #1A1A1A;
  border: 4px solid #6BE4DF;
  padding: 25px;
  margin: 20px 0;
  box-shadow: inset 0 0 20px rgba(107, 228, 223, 0.2);
}

.contact-box p {
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  color: #F5F5F5;
  margin: 10px 0;
}

.contact-box strong {
  color: #F69DC8;
}

/* CTA Finale */
.privacy-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 4px solid #9299A9;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 32px;
  }

  .section-number {
    font-size: 24px;
  }

  .section-header h3 {
    font-size: 16px;
  }

  .rights-grid {
    grid-template-columns: 1fr;
  }

  .privacy-cta {
    flex-direction: column;
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2E2E2E;
  border-top: 6px solid #F75F66;
  box-shadow:
    0 -8px 30px rgba(0,0,0,0.8),
    inset 0 0 40px rgba(247, 95, 102, 0.2);
  z-index: 9999;
  padding: 25px 20px;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cookie-icon {
  font-size: 36px;
  animation: rotate-cookie 4s linear infinite;
}

@keyframes rotate-cookie {
  0%, 90% {
    transform: rotate(0deg);
  }
  95% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.cookie-header h3 {
  font-family: 'BoldPixels', monospace;
  font-size: 20px;
  color: #6BE4DF;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.cookie-text {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 14px;
  color: #F5F5F5;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-text a {
  color: #6BE4DF;
  text-decoration: underline;
  font-weight: bold;
}

.cookie-text a:hover {
  color: #F69DC8;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  padding: 12px 25px;
  border: 4px outset #CCCCCC;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cookie-btn:active {
  border-style: inset;
  transform: translate(2px, 2px);
}

.btn-accept {
  background: #6BE4DF;
  color: #2E2E2E;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
}

.btn-accept:hover {
  background: #5DD4CF;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.8);
  transform: translateY(-2px);
}

.btn-necessary {
  background: #9299A9;
  color: #2E2E2E;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
}

.btn-necessary:hover {
  background: #A5ACBC;
}

.btn-settings {
  background: #767EE1;
  color: #F5F5F5;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
}

.btn-settings:hover {
  background: #656FCF;
}

/* ============================================
   MODAL IMPOSTAZIONI
   ============================================ */

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal.hidden {
  display: none;
}

.modal-content {
  background: #2E2E2E;
  border: 6px solid #6BE4DF;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 0 50px rgba(107, 228, 223, 0.5),
    inset 0 0 30px rgba(107, 228, 223, 0.1);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  background: #1A1A1A;
  padding: 25px;
  border-bottom: 4px solid #6BE4DF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 22px;
  color: #6BE4DF;
  margin: 0;
  letter-spacing: 2px;
}

.modal-close {
  font-family: 'BoldPixels', monospace;
  font-size: 28px;
  background: #F75F66;
  color: #F5F5F5;
  border: 3px outset #CCCCCC;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-close:hover {
  background: #E74F56;
  transform: scale(1.1);
}

.modal-close:active {
  border-style: inset;
}

.modal-body {
  padding: 30px;
}

.cookie-category {
  background: #1A1A1A;
  border: 3px solid #9299A9;
  padding: 20px;
  margin-bottom: 20px;
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cookie-category h4 {
  font-family: 'BoldPixels', monospace;
  font-size: 16px;
  color: #F69DC8;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.cookie-category p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 13px;
  color: #DDDDDD;
  line-height: 1.6;
  margin: 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2E2E2E;
  border: 3px solid #9299A9;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #9299A9;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #6BE4DF;
  border-color: #6BE4DF;
}

input:checked + .slider:before {
  background-color: #2E2E2E;
  transform: translateX(26px);
}

.switch.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.switch.disabled .slider {
  cursor: not-allowed;
}

.modal-footer {
  background: #1A1A1A;
  padding: 20px 30px;
  border-top: 4px solid #6BE4DF;
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .cookie-header h3 {
    font-size: 16px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    font-size: 12px;
    padding: 10px 20px;
  }

  .modal-content {
    max-height: 95vh;
  }

  .category-header {
    flex-direction: column;
    gap: 15px;
  }
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
  background: #1A1A1A;
  padding: 80px 20px;
  border-top: 8px solid #9299A9;
  border-bottom: 8px solid #9299A9;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 15% 25%, #767EE1, transparent),
    radial-gradient(1px 1px at 85% 75%, #F75F66, transparent),
    radial-gradient(2px 2px at 45% 55%, #6BE4DF, transparent);
  background-size: 250px 250px;
  opacity: 0.1;
  pointer-events: none;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-subtitle {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 16px;
  color: #9299A9;
  margin-top: 15px;
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border: 6px solid #9299A9;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.6);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-img-wrapper:hover {
  border-color: #6BE4DF;
  transform: translateY(-10px);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.8);
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: saturate(0.8) contrast(1.1);
}

.gallery-img-wrapper:hover img {
  transform: scale(1.1);
  filter: saturate(1) contrast(1.2);
}

/* ============================================
   OVERLAY
   ============================================ */

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(46, 46, 46, 0) 0%,
    rgba(46, 46, 46, 0.95) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.gallery-img-wrapper:hover .gallery-overlay {
  opacity: 1;
}

.overlay-content h4 {
  font-family: 'BoldPixels', monospace;
  font-size: 18px;
  color: #6BE4DF;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
}

.overlay-content p {
  font-family: 'Tiny Timmy', sans-serif;
  font-size: 13px;
  color: #F5F5F5;
  margin: 0 0 15px 0;
}

.view-btn {
  font-family: 'BoldPixels', monospace;
  font-size: 12px;
  padding: 8px 20px;
  background: #F75F66;
  color: #F5F5F5;
  border: 3px outset #CCCCCC;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.6);
  transition: all 0.2s;
}

.view-btn:hover {
  background: #E74F56;
  transform: scale(1.05);
}

.view-btn:active {
  border-style: inset;
  transform: translate(2px, 2px);
}

/* ============================================
   CAPTION
   ============================================ */

.gallery-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 15px;
  background: #2E2E2E;
  border: 3px solid #9299A9;
}

.caption-icon {
  font-size: 24px;
}

.caption-text {
  font-family: 'BoldPixels', monospace;
  font-size: 14px;
  color: #6BE4DF;
  letter-spacing: 1px;
}

/* ============================================
   FILTRI
   ============================================ */

.gallery-filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'BoldPixels', monospace;
  font-size: 13px;
  padding: 12px 25px;
  background: #2E2E2E;
  color: #9299A9;
  border: 3px solid #9299A9;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #6BE4DF;
  color: #2E2E2E;
  border-color: #6BE4DF;
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
}

.filter-btn:active {
  transform: translateY(0);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.hidden {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: 'BoldPixels', monospace;
  font-size: 36px;
  background: #F75F66;
  color: #F5F5F5;
  border: 4px outset #CCCCCC;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'BoldPixels', monospace;
  font-size: 32px;
  background: #6BE4DF;
  color: #2E2E2E;
  border: 4px outset #CCCCCC;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border: 6px solid #6BE4DF;
  box-shadow: 0 0 50px rgba(107, 228, 223, 0.6);
}

.lightbox-caption {
  font-family: 'BoldPixels', monospace;
  font-size: 16px;
  color: #6BE4DF;
  text-align: center;
  margin-top: 20px;
  letter-spacing: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero-menu {
    padding: 50px 20px;
  }

  .menu-tabs {
    flex-direction: column;
    gap: 15px;
  }

  .tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .drink-card {
    padding: 20px;
  }

  .drink-header h3 {
    font-size: 16px;
  }

  .drink-stats {
    gap: 5px;
  }

  .drink-price {
    padding: 12px;
    font-size: 24px;
  }

  .price-coin {
    font-size: 20px;
  }

  .price-amount {
    font-size: 24px;
  }
}

/* ============================================
   TAB CONTENT
   ============================================ */

/* Tab Content - Nascosto di default */
.tab-content {
  display: none;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CONTROLLI CAROUSEL MOBILE
   ============================================ */

.gallery-controls {
  display: none; /* Nascosto su desktop */
}

@media (max-width: 768px) {
  .gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .carousel-btn {
    font-family: 'BoldPixels', monospace;
    font-size: 24px;
    background: #6BE4DF;
    color: #2E2E2E;
    border: 4px outset #CCCCCC;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
  }

  .carousel-btn:active {
    border-style: inset;
    transform: translate(2px, 2px);
  }

  .carousel-counter {
    font-family: 'BoldPixels', monospace;
    font-size: 18px;
    color: #6BE4DF;
    min-width: 80px;
    text-align: center;
  }

  /* Indicatori dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .carousel-dot {
    width: 12px;
    height: 12px;
    background: #9299A9;
    border: 2px solid #2E2E2E;
    cursor: pointer;
    transition: all 0.3s;
  }

  .carousel-dot.active {
    background: #6BE4DF;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(107, 228, 223, 0.6);
  }
}

/* ============================================
   FILTRI - MOBILE COMPATTI
   ============================================ */

@media (max-width: 768px) {
  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 15px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 10px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============================================
   TITOLI SEZIONE - STILE UNIFORME
   ============================================ */

.section-title-arcade,
.section-header h2,
.booking-section h2,
.location-section h2 {
  font-family: 'BoldPixels', monospace;
  font-size: 48px;
  text-align: center;
  color: #6BE4DF;
  background: transparent;
  margin: 0 auto 40px;
  letter-spacing: 6px;
  text-transform: uppercase;
  position: relative;
  text-shadow: 
    3px 3px 0 #F75F66,
    -2px -2px 0 #767EE1,
    0 0 20px rgba(107, 228, 223, 0.6);
  padding: 0;
}

/* Quadratini decorativi - TUTTI uguali */
.arcade-bracket {
  color: #F69DC8;
  font-size: 56px;
  margin: 0 15px;
  animation: blink 1.5s step-start infinite;
  display: inline-block;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.3;
  }
}

/* ============================================
   RESPONSIVE MOBILE - Titoli più piccoli
   ============================================ */

@media (max-width: 768px) {
  .section-title-arcade,
  .section-header h2,
  .booking-section h2,
  .location-section h2 {
    font-size: 28px;
    letter-spacing: 3px;
    text-shadow: 
      2px 2px 0 #F75F66,
      -1px -1px 0 #767EE1,
      0 0 15px rgba(107, 228, 223, 0.6);
  }
  
  .arcade-bracket {
    font-size: 32px;
    margin: 0 8px;
  }
}

@media (max-width: 480px) {
  .section-title-arcade,
  .section-header h2,
  .booking-section h2,
  .location-section h2 {
    font-size: 22px;
    letter-spacing: 2px;
  }
  
  .arcade-bracket {
    font-size: 26px;
    margin: 0 5px;
  }
}

/* ============================================
   LOCATION & CONTATTI - STESSO GRADIENT
   ============================================ */

.location-section {
  background: linear-gradient(
    180deg,
    #7E8491 0%,           /* Parte da questo grigio */
    #868C98 33%,
    #8E95A1 66%,
    #9299A9 100%          /* Grigio navbar in fondo */
  );
  padding: 80px 20px;
  border-top: 8px solid #9299A9;
  border-bottom: 8px solid #9299A9;
  position: relative;
  overflow: hidden;
}

/* ============================================
   PRENOTA LA TUA SESSIONE - GRIGIO NAVBAR
   ============================================ */

.booking-section {
  background: #9299A9;  /* Grigio navbar */
  padding: 80px 20px;
  border-top: 8px solid #2E2E2E;
  border-bottom: 8px solid #2E2E2E;
  position: relative;
  overflow: hidden;
}

body, html {
  margin: 0 !important;
  padding: 0 !important;
}

.arcade-navbar {
  margin-top: 0 !important;
}

/* Rimuovi ogni elemento sopra la navbar */
body::before,
html::before,
.hero-section::before {
  display: none !important;
}

/* Forza navbar in cima senza gap */
body, html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

.arcade-navbar {
  margin-top: 0 !important;
  position: sticky;
  top: 0;
}

/* Se la hero è la prima sezione */
.hero-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.section-header {
  background: transparent !important;
  padding: 0;
}

.services-grid .section-header {
  background: transparent !important;
}

.arcade-navbar {
  position: fixed !important;  /* Invece di sticky */
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 1000;
}

/* Compensa lo spazio della navbar fissa sulle sezioni */
body {
  padding-top: 80px; /* Altezza navbar approssimativa */
}

.developer {
  font-family: 'Press Start 2P'; /* Stesso font arcade */
  font-size: 1rem;
  color: #888;
  margin-top: 15px;
}

.developer a {
  color: #da4747; /* Verde arcade */
  text-decoration: none;
  transition: color 0.3s;
}

.developer a:hover {
  color: #FFD700; /* Oro al hover */
  text-shadow: 0 0 10px #FFD700;
}

/* Desktop - 4 card affiancate */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 20px;
}

/* Tablet - 2 card per riga */
@media (max-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - card quadrate una sotto l'altra */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .service-card {
    aspect-ratio: 1 / 1; /* Card quadrate */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


@media (max-width: 480px) {
  /* Fix universale per tutte le sezioni */
  section, .services-grid, .grid-container {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Fix card */
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}