@font-face {
    font-family: 'PokemonHollow'; /* Scegli un nome a piacere */
    src: url('Pokemon Hollow.ttf') format('ttf'), /* Percorso del file */
         url('Pokemon Hollow.ttf') format('truetype'); /* Formato di riserva */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PokemonSolid'; /* Scegli un nome a piacere */
    src: url('Pokemon Solid.ttf') format('ttf'), /* Percorso del file */
         url('Pokemon Solid.ttf') format('truetype'); /* Formato di riserva */
    font-weight: normal;
    font-style: normal;
}
.dropdown { position: center; display: block; }

.dropbtn {
    background-color: black;
    overflow-x: hidden;
    border: 1px solid #ccc;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
}

.dropdown-content {
    display: none;
    position: auto;
    overflow-x: hidden;
    background-color: black;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    min-width: 120px;
    z-index: 1;
    border-radius: 8px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content { display: block; }
img {
    display: block;
}
html, body {
    height: auto; /* Permette alla pagina di crescere con il contenuto */
    overflow-x: hidden;
    overflow-y: visible; /* Assicura che la barra di scorrimento appaia */
    margin: 0;
    padding: 0;
}
body {
            overflow-y: auto; /* Permette lo scorrimento verticale solo se necessario */
            margin: 0;
            background-color: #f4f4f4;
        }
        /* NAVBAR */
        :root {
          --bg-color: #ffffff;
          --gradient-1: linear-gradient(135deg, #00dbde, #fc00ff); /* Turchese -> Viola */
          --gradient-2: linear-gradient(135deg, #f093fb, #f5576c); /* Rosa Pastello -> Fragola */
          --gradient-3: linear-gradient(135deg, #4facfe, #00f2fe); /* Blu Cielo -> Cyan */
          --gradient-4: linear-gradient(135deg, #fa709a, #fee140); /* Corallo -> Giallo Sole */
          --gradient-5: linear-gradient(135deg, #ff0080, #ff8c00); /* Rosa Schiaparelli -> Arancio */
        }

        .modern-nav {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1rem 5%;
          background: rgba(255, 255, 255, 0.8);
          backdrop-filter: blur(10px); /* Effetto vetro */
          position: sticky;
          top: 0;
          z-index: 1000px;
          box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
          overflow: visible;
        }

        .logo {
          font-size: 1.5rem;
          font-weight: 800;
          color: #333;
        }
        .logo span { color: #ff0080; }

        .nav-list {
          display: flex;
          list-style: none;
          gap: 15px;
        }

        .nav-item {
          text-decoration: none;
          font-family: 'PokemonHollow', sans-serif;
          color: white;
          padding: 10px 20px;
          border-radius: 50px; /* Forme a pillola */
          font-weight: 600;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        /* Colori differenziati per ogni voce */
        .color-1 { background: var(--gradient-1); }
        .color-2 { background: var(--gradient-2); }
        .color-3 { background: var(--gradient-3); }
        .color-4 { background: var(--gradient-4); }
        .color-5 { background: var(--gradient-5); }

        .nav-item:hover {
          transform: translateY(-3px);
          box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        /* --- RESPONSIVE MOBILE --- */
        @media (max-width: 768px) {
          /* Nascondiamo definitivamente l'hamburger perché non serve più */
          #hamburger {
            display: none !important;
          }

          .nav-list {
            display: flex !important; /* Sempre visibile */
            flex-direction: row !important; /* Forza i link sulla stessa riga */
            position: static !important; /* Torna nella posizione normale della barra */
            height: auto !important;
            width: auto;

            /* Attiva lo scorrimento orizzontale se i link escono dallo schermo */
            overflow-x: auto;
            white-space: nowrap;
            gap: 10px;
            padding: 10px 15px;

            /* Nasconde la barra di scorrimento brutta per un look pulito */
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
          }

          .nav-list::-webkit-scrollbar {
            display: none;
          }

          .nav-item {
            padding: 8px 10px; /* Riduciamo leggermente i pulsanti per il mobile */
            font-size: 13px;
            flex: 0 0 auto; /* Impedisce ai pulsanti di rimpicciolirsi */
          }
          .nav-list {
            display: flex !important;
            flex-direction: row !important; /* Forza i tasti su una riga */

            /* SOLUZIONE AL TAGLIO LATERALE */
            overflow-x: auto !important;   /* Permette di scorrere se i tasti sono troppi */
            overflow-y: hidden;            /* Evita lo scroll verticale inutile */
            white-space: nowrap;           /* Impedisce ai tasti di andare a capo */

            padding: 10px 20px;            /* Spazio interno per non far toccare i bordi */
            gap: 12px;

            /* Migliora l'esperienza su cellulare */
            -webkit-overflow-scrolling: touch; /* Scorrimento fluidissimo su iPhone */
            scrollbar-width: none;             /* Nasconde la barra di scorrimento su Firefox */
          }

          /* Nasconde la barra di scorrimento su Chrome/Safari per un look pulito */
          .nav-list::-webkit-scrollbar {
            display: none;
          }

          .nav-item {
            flex: 0 0 auto; /* FONDAMENTALE: impedisce ai tasti di schiacciarsi */
            min-width: fit-content; /* Assicura che tutto il testo sia leggibile */
          }
        }
        /* Contenitore dei brillantini */
.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Non blocca il click */
  overflow: hidden;
  border-radius: 50px;
}

/* Rimuovi eventuali overflow: hidden dalle classi .nav-item o .nav-list */
.nav-item {
    position: relative;
    overflow: visible !important; /* Forza la visibilità esterna */
    z-index: 5;
}

/* Stile potenziato dei brillantini */
.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    /* Effetto bagliore super luminoso */
    box-shadow: 0 0 8px #fff, 0 0 15px #fff, 0 0 25px #ff0080;
    animation: fly 1s ease-out forwards;
    z-index: 9999;
}

@keyframes fly {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        /* I brillantini si disperdono in direzioni casuali */
        transform: translate(var(--x), var(--y)) scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        /* I brillantini volano verso l'alto e si dissolvono */
        transform: translate(${(Math.random() - 0.5) * 50}px, -40px) scale(0);
        opacity: 0;
    }
}

.nav-item::before, .nav-item::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px white, 0 0 20px white;
}

/* Animazione al passaggio del mouse (Hover) */
.nav-item:hover::before {
  animation: sparkle-anim 0.8s infinite;
  top: 10%; left: 20%;
}

.nav-item:hover::after {
  animation: sparkle-anim 0.8s infinite 0.4s;
  bottom: 20%; right: 10%;
}

@keyframes sparkle-anim {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* Effetto Glitter Diffuso per Mobile */
@media (max-width: 768px) {
  .nav-list.active {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
                url('www.transparenttextures.com'); /* Texture stellata */
  }
}

        .box-strasparente {
            /* 1. Colore nero con opacità (0.7 = 70%) */
            background-color: rgba(0, 0, 0, 0.7);

            /* 2. Bordo bianco */
            border: 2px solid white;

            /* 3. Dimensioni del riquadro */
            width: auto;
            height: auto;
            padding: 20px;
            border-radius: 10px; /* Angoli leggermente arrotondati (opzionale) */

            /* 4. Posizionamento a sinistra */
            float: left; /* Oppure puoi usare margin-right: auto; */

            /* 5. Stile del testo interno */
            color: white;
            font-family: 'PokemonSolid', sans-serif;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Ombra per profondità */
        }
        .box-strasparente {
            /* 1. Colore nero con opacità (0.7 = 70%) */
            background-color: rgba(0, 0, 0, 0.7);

            /* 2. Bordo bianco */
            border: 2px solid white;

            /* 3. Dimensioni del riquadro */
            width: auto;
            height: auto;
            padding: 20px;
            border-radius: 10px; /* Angoli leggermente arrotondati (opzionale) */

            /* 5. Stile del testo interno */
            color: white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            font-size: 36px;/* Ombra per profondità */
        }

                body {
                    background-color: #f0f0f0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    margin: 0;
                }

                .h1 {
                    /* APPLICAZIONE DEL FONT */
                    font-family: 'PokemonHollow', sans-serif;
                    font-size: 80px;
                    color: #ffcb05; /* Giallo Pokémon */
                    -webkit-text-stroke: 4px #3b4cca; /* Bordo blu tipico del logo */
                    text-shadow: 4px 4px 0px #3b4cca;
                    letter-spacing: 5px;
                }
body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
            color: #333;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .container {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            text-align: center;
            max-width: 100%;
        }
        button {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
        }
        button:hover { background-color: #2980b9; }

        .video-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1; /* Lo mette dietro a tutto */
        }

        .video-background video {
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Centra il video */
            object-fit: cover; /* Copre lo schermo senza deformarsi */
        }

        /* Stile per rendere il testo leggibile sopra il video */
        .content {
            position: relative;
            color: white;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
            text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
        }

        .box-strasparente2 {
            /* 1. Colore nero con opacità (0.7 = 70%) */
            background-color: rgba(0, 0, 0, 0.7);

            /* 2. Bordo bianco */
            border: 2px solid white;

            /* 3. Dimensioni del riquadro */
            height: auto;
            padding: 20px;
            border-radius: 10px; /* Angoli leggermente arrotondati (opzionale) */

            /* 4. Posizionamento a sinistra */
            float: left; /* Oppure puoi usare margin-right: auto; */

            /* 5. Stile del testo interno */
            color: white;
            font-family: 'PokemonHollow', sans-serif;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Ombra per profondità */
        }
        .box-strasparente2 {
            /* 1. Colore nero con opacità (0.7 = 70%) */
            background-color: rgba(0, 0, 0, 0.7);

            /* 2. Bordo bianco */
            border: 2px solid white;

            /* 3. Dimensioni del riquadro */
            height: auto;
            padding: 20px;
            border-radius: 10px; /* Angoli leggermente arrotondati (opzionale) */

            /* 5. Stile del testo interno */
            color: white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            font-size: 20px;/* Ombra per profondità */
        }
        hr {
            height: 1px;
            border: 10px;
            margin: 1em 0;
            padding: 0;
            width: 100%; /* Fondamentale per evitare l'effetto "punto" */
        }
        /* Contenitore principale */
        .tooltip-container {
          position: relative;
          display: inline-block;
          cursor: help;
          color: white;
          border: 2px solid white;
          box-shadow: 0 4px 15px rgba(0,0,0,0.3);
          font-family: 'PokemonSolid', sans-serif;
          font-size: 30px;
        }

        /* Il riquadro nascosto */
        .tooltip-box {
          visibility: hidden;    /* Nasconde l'elemento */
          opacity: 0;            /* Lo rende trasparente per l'animazione */
          width: auto;         /* Riquadro molto grande */
          background-color: #333;
          color: #fff;
          padding: 20px;
          border-radius: 8px;
          box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
          font-family: 'PokemonSolid', sans-serif;

          /* Posizionamento */
          position: absolute;
          bottom: 125%;          /* Appare sopra il testo */
          left: 50%;
          transform: translateX(-50%);

          /* Transizione fluida */
          transition: opacity 0.3s, visibility 0.3s;
        }

        /* Effetto al passaggio del mouse */
        .tooltip-container:hover .tooltip-box {
          visibility: visible;
          opacity: 1;
        }
        .btn-moderno {
          /* Struttura e Testo */
          display: inline-block;
          padding: 15px 30px;
          text-decoration: none;
          font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
          font-weight: 600;
          font-size: 18px;
          color: #ffffff;

          /* Colore e Forma */
          background: linear-gradient(135deg, #6e8efb, #a777e3); /* Gradiente moderno */
          border-radius: 50px; /* Bordi arrotondati */
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombra morbida */

          /* Animazione */
          transition: all 0.3s ease;
          cursor: pointer;
        }

        /* Effetto al passaggio del mouse (Hover) */
        .btn-moderno:hover {
          transform: translateY(-3px); /* Si alza leggermente */
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
          filter: brightness(1.1); /* Diventa leggermente più luminoso */
        }

        /* Effetto al click */
        .btn-moderno:active {
          transform: translateY(1px);
        }
        .contact-wrapper {
          display: flex;
          flex-wrap: wrap;
          gap: 50px;
          max-width: 100%;
          margin: 50px auto;
          padding: 20px;
          font-family: 'Inter', sans-serif; /* Font moderno consigliato */
        }

        .contact-info {
          flex: 1;
          min-width: 300px;
        }

        .contact-info h1 {
          font-size: 3rem;
          color: #1a1a1a;
          margin-bottom: 20px;
        }

        .contact-form {
          flex: 1;
          min-width: 300px;
          display: flex;
          flex-direction: column;
          gap: 15px;
        }

        /* Stile per i campi di input */
        .contact-form input, .contact-form textarea {
          padding: 15px;
          border: 1px solid #e0e0e0;
          border-radius: 12px;
          font-size: 16px;
          transition: border-color 0.3s ease;
        }

        .contact-form input:focus {
          border-color: #6e8efb;
          outline: none;
        }

        /* Bottone di invio */
        .btn-submit {
          background: #1a1a1a;
          color: white;
          padding: 15px;
          border: none;
          border-radius: 12px;
          cursor: pointer;
          font-weight: 600;
          transition: transform 0.2s;
        }

        .btn-submit:hover {
          background: #333;
          transform: translateY(-2px);
        }
        /* Contenitore principale per centrare il box */
         .container {
             padding: 20px;
             display: flex;
             justify-content: center;
         }

         /* Il Box Celeste con Effetti Speciali */
         .glass-card {
             /* Colore celeste con gradiente moderno */
             background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);

             /* Bordi e spaziatura */
             border-radius: 20px;
             padding: 30px;
             max-width: 600px; /* Larghezza massima su PC */
             width: 100%;      /* Adattabile su mobile */

             /* Ombra profonda e morbida per effetto 3D */
             box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

             /* Bordo sottile per definizione */
             border: 1px solid rgba(255, 255, 255, 0.5);

             /* Animazione d'entrata */
             transition: transform 0.3s ease, box-shadow 0.3s ease;
             animation: fadeIn 1s ease-out;

             text-align: center;
             font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
         }

         /* Effetto speciale al passaggio del mouse (Hover) */
         .glass-card:hover {
             transform: translateY(-5px);
             box-shadow: 0 15px 40px rgba(0, 150, 255, 0.2);
             border: 1px solid #7dd3fc;
         }

         /* Titolo con gradiente */
         .glass-card h2 {
             color: #0369a1;
             margin-top: 0;
             font-size: 1.8rem;
         }

         /* Testo leggibile */
         .glass-card p {
             color: #0c4a6e;
             line-height: 1.6;
             font-size: 1.1rem;
         }

         /* Animazione di comparsa */
         @keyframes fadeIn {
             from { opacity: 0; transform: scale(0.95); }
             to { opacity: 1; transform: scale(1); }
         }

         /* Adattabilità per schermi piccoli (Mobile) */
         @media (max-width: 480px) {
             .glass-card {
                 padding: 20px;
                 margin: 10px;
             }
             .glass-card h2 { font-size: 1.4rem; }
         }
         /* Setup generale per centrare il box */
body {
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Il Riquadro Rosso Chiaro Speciale */
.red-glass-card {
    /* Sfondo rosso chiaro sfumato (Coral/Soft Red) */
    background: linear-gradient(135deg, #fff1f2 0%, #fecaca 100%);

    /* Bordi arrotondati e padding generoso */
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%; /* Adattabilità mobile */

    /* Ombra morbida per effetto profondità */
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);

    /* Bordo sottile lucido */
    border: 1px solid rgba(255, 255, 255, 0.8);

    /* Effetti di transizione fluida */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Effetto Speciale: Riflesso Interno */
.red-glass-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

/* Effetto Hover (Passaggio Mouse) */
.red-glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.2);
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
}

/* Stile del Titolo */
.red-glass-card h2 {
    color: #991b1b;
    margin: 0 0 15px 0;
    font-size: 1.8rem;
}

/* Stile del Testo */
.red-glass-card p {
    color: #7f1d1d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Ottimizzazione Mobile */
@media (max-width: 480px) {
    .red-glass-card {
        padding: 25px;
        border-radius: 18px;
    }
    .red-glass-card h2 { font-size: 1.5rem; }
}
/* Setup generale */
body {
    background-color: #f0f4f8;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Contenitore flessibile */
.wrapper {
    display: flex;
    gap: 25px; /* Spazio tra i due riquadri */
    max-width: 1000px;
    width: 100%;
    flex-wrap: wrap; /* Permette di andare a capo su mobile */
    justify-content: center;
}
.wrapper img {
  width: 400px;
  height: 400px;
}

/* Stile base comune per i riquadri */
.card {
    flex: 1; /* Fa sì che i riquadri abbiano la stessa larghezza */
    min-width: 300px; /* Larghezza minima prima di andare a capo */
    padding: 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: default;
}

/* Effetto Hover comune */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Riquadro Celeste (Azure Bloom) */
.card-blue {
    background: linear-gradient(145deg, #e0f2fe, #bae6fd);
}
.card-blue h2 { color: #0369a1; }
.card-blue p { color: #0c4a6e; }
.card-blue:hover { border-color: #7dd3fc; }

/* Riquadro Rosso (Soft Coral) */
.card-red {
    background: linear-gradient(145deg, #fff1f2, #fecaca);
}
.card-red h2 { color: #9f1239; }
.card-red p { color: #881337; }
.card-red:hover { border-color: #fca5a5; }

/* Tipografia */
h2 { margin-top: 0; font-size: 1.6rem; }
p { line-height: 1.6; font-size: 1.05rem; }

/* Adattabilità Mobile */
@media (max-width: 700px) {
    .wrapper { gap: 15px; }
    .card { min-width: 100%; } /* Su mobile diventano a larghezza piena */
}

:root {
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --accent: #6366f1; /* Viola moderno */
    --text: #1e293b;
}

body { background: var(--bg); font-family: 'Segoe UI', sans-serif; padding: 50px 20px; color: var(--text); }

.header { text-align: center; margin-bottom: 50px; }
.header h1 { font-size: 2.5rem; margin-bottom: 10px; }

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  width: 100%;
  overflow: hidden;
}

.review-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 50px 20%; /* Spazio laterale per le card opache */
  scroll-padding: 0 10%;
  align-items: center;
}

.review-wrapper::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 80%; /* Card principale */
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  scroll-snap-align: center;
  text-align: center;

  /* Animazione centraggio */
  view-timeline-name: --card-view;
  view-timeline-axis: inline;
  animation: focus-effect linear both;
  animation-timeline: --card-view;
  animation-range: cover 30% cover 70%;
}

@keyframes focus-effect {
  /* Al 0% della zona visibile è opaca */
  0% { opacity: 0.3; transform: scale(0.85); filter: blur(2px); }
  /* Al 50% (centro esatto) è totalmente nitida */
  50% { opacity: 1; transform: scale(1); filter: blur(0px); }
  /* Al 100% della zona visibile torna opaca */
  100% { opacity: 0.3; transform: scale(0.85); filter: blur(2px); }
}

/* Stilizzazione Frecce */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}
.nav-btn:hover { background: #000; }
.prev { left: 10px; }
.next { right: 10px; }

/* Stelline */
.stars { color: #f59e0b; margin-bottom: 15px; font-size: 1.2rem; }

/* Info Utente */
.user-info { display: flex; align-items: center; margin-top: 20px; }
.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    margin-right: 15px;
    object-fit: cover;
}
.user-info b { display: block; font-size: 1rem; }
.user-info span { font-size: 0.85rem; color: #64748b; }

/* Badge di Verifica */
.verified {
    position: absolute; top: 20px; right: 20px;
    font-size: 0.7rem; background: #dcfce7; color: #166534;
    padding: 4px 10px; border-radius: 20px; font-weight: bold;
}

@media (max-width: 600px) {
    .header h1 { font-size: 1.8rem; }
}
/* Contenitore per posizionare il tasto dove preferisci */
.button-container {
text-align: center;
margin: 40px 0;
padding: 20px;
}

/* Il Tasto "Lascia una Recensione" */
.btn-review {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 16px 32px;
font-size: 1.1rem;
font-weight: 600;
color: #ffffff;
text-decoration: none;
font-family: 'Segoe UI', sans-serif;

/* Gradiente moderno dal Viola al Blu */
background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);

border-radius: 50px; /* Forma a pillola */
border: none;
cursor: pointer;
position: relative;
transition: all 0.3s ease;

/* Ombra iniziale */
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

/* Effetto Hover (Passaggio Mouse) */
.btn-review:hover {
transform: translateY(-3px) scale(1.05);
/* Aumenta il bagliore al passaggio */
box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
filter: brightness(1.1);
}

/* Effetto Click */
.btn-review:active {
transform: translateY(-1px);
}

/* Icona a forma di stella che ruota leggermente */
.btn-review i {
font-style: normal;
font-size: 1.3rem;
transition: transform 0.5s ease;
}

.btn-review:hover i {
transform: rotate(144deg); /* Ruota la stella al passaggio */
}

/* Animazione "Pulse" discreta per attirare l'attenzione */
@keyframes pulse-soft {
0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
100% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
}

.btn-attention {
animation: pulse-soft 2s infinite;
}
body {
    /* Percorso dell'immagine: può essere un file locale o un URL */
    background-image: url('immagini/bg-reviews.jpg');
    backdrop-filter: blur(15px);
    /* Opzioni consigliate per uno sfondo a tutto schermo */
    background-repeat: no-repeat;  /* Evita che l'immagine si ripeta */
    background-size: cover;       /* Ridimensiona l'immagine per coprire l'intero schermo */
    background-position: center;  /* Centra lo sfondo */
    background-attachment: fixed; /* Mantiene lo sfondo fermo durante lo scroll */
}
.review-form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

.review-form-container h2 {
    color: #1e293b;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    width: auto;
    height: auto;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .review-form-container { padding: 20px; margin: 20px; }
}
