/* Basic reset */
*{box-sizing:border-box}
:root{
  --bg: radial-gradient(black,#3b54c9);
  --panel: rgba(255,255,255,0.08);
  --accent1:#1e3e63;
  --accent2:#477197;
  --accent3:#9cd047;
  --text:#fff;
  --shadow:0 0 6px rgba(0,0,0,.35),0 0 12px rgba(71,113,151,.4);
  --wrap: min(1100px, 94vw); /* larghezza contenitore coerente */
  --activity-ease-in:  cubic-bezier(.22,.8,.32,1);
  --activity-ease-out: cubic-bezier(.22,.8,.32,1);
  --activity-enter-ms: 700ms;   /* durata ingresso */
  --activity-leave-ms: 700ms;   /* durata uscita  */
  --activity-height-ms: 700ms;  /* collasso/espansione altezza */
}

html, body {
  height:auto;
  min-height: 100dvh;  /* copre davvero tutta la viewport anche su iOS */
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'KZ Supercell Magic';
  src: url('assets/fonts/KZ Supercell-Magic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  font-family: 'KZ Supercell Magic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif !important;
}

body{
  margin:0;
  color:#e7eaf0;
  background: url('assets/clashroyale-background.jpg') center/cover fixed no-repeat, var(--bg);
}

.page{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:100dvh; /* più affidabile su iOS */
  padding:40px 16px;
}

.logo{
  width:320px;
  animation:pulse 1.2s infinite ease-in-out; /* più veloce */
  filter:drop-shadow(0 0 4px #fff8); /* più luminoso */
}

.card{
  position:relative;
  width:min(600px, 92vw);
  min-height:460px;
  margin-top:28px;
  padding:22px 20px 28px;
  border-radius:34px;
  border:1px solid #fff8;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  background: var(--panel);
  box-shadow: var(--shadow);
  animation: neon 0.8s ease-in-out infinite alternate; /* più veloce */
    
}

.hidden{display:none}

.step-badge {
  position: absolute;
  top: -20px;
  left: 47%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  animation: floatX 1.2s ease-in-out infinite; /* più veloce */
}

.step-badge img {
  width: 40px;                      /* più grande */
  filter: none;                     /* colore originale */
}

/* animazione orizzontale */
@keyframes floatX {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Applica il rimbalzo SOLO all'immagine, così non rompiamo il centraggio del contenitore */
.step-badge.gem-bounce img {
  animation: bounceGem 1s ease-in-out infinite; /* più veloce */
  will-change: transform;
}

@keyframes bounceGem {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px) scale(1.06); } /* rimbalzo più alto e “pompato” */
}

.step-title{
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight:700;
  color:#fff;
  margin:24px 0 21px;
  text-shadow: 0 0 6px #003366,0 0 14px #0066cc;
  text-align:center;               /* centrato */
}

.step-title.good{color:#9cd047}
.input-row {
  position: relative;
  width: min(380px, 75%);
  height: 72px;
  margin: 12px auto 16px;        
}

.input-icon {
  position: absolute;
  left: 16px;                       /* vicino al bordo sinistro */
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  object-fit: contain;
  z-index: 2;
}
.big-input {
  width: 100%;
  height: 72px;        
  border: 2px solid #ffffff;
  border-radius: 16px;
  background: #1e4f8f;
  color: #ffffff;
  font-size: 21.5px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 0 8px rgba(255,255,255,.25);
  padding-left: 64px;                /* spazio per l'icona */
  text-align: left;                  /* testo/placeholder a sinistra */
}

.big-input::placeholder {
  color: #ffffff;
  opacity: .85;
  font-size: 20px;
}

.grid-plat {
  display:grid;
  grid-template-columns: repeat(4, auto);
  gap:6px;                         /* quasi attaccati */
  margin:18px auto 0;              /* centrato */
  width:fit-content;               /* container più stretto */
  justify-content:center;
  justify-items:center;
}

.plat {
  position: relative;                  /* <-- serve per posizionare il badge */
  width:100px;                         /* più grandi */
  height:100px;
  border-radius:26px;                  /* angoli più circolari */
  border:0.2px solid rgba(255,255,255,.85); /* minimo bordo bianco */
  background: linear-gradient(180deg, #2b5b86, #234b6e);
  display:grid;
  place-items:center;
  transition: transform .15s, box-shadow .2s, background .2s, outline .2s;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  outline: none;
}

.plat img { width:64px; filter:none }   /* icone più grandi */

.plat:hover {               /* leggero sollevamento al passaggio */
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.plat--selected{
  background:linear-gradient(to right top,#2a4e78,#5a87b0);
  border:3px solid #ffffff;
  box-shadow:
    0 0 6px #2a4e78,
    0 0 16px #477197,
    0 0 26px #99c2ff,
    0 0 46px #99c2ff;
  transform: translateY(-2px) scale(1.05);
  outline: 2px solid rgba(255,255,255,.5);
}

.plat:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 22px #477197aa;
}

/* Icon colors for each platform */
/* Icon colors for each platform – valido in TUTTI gli step */
.plat[data-plat="iOS"] img,
.plat[data-plat="PlayStation"] img,
.plat[data-plat="Windows"] img,
.plat[data-plat="Android"] img {
  filter: brightness(0) invert(1);
}

/* Stato disabilitato per le piattaforme non disponibili */
.plat[disabled],
.plat.plat--disabled {
  cursor: not-allowed !important;
  opacity: 0.45;
  filter: grayscale(0.2);
  transform: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Evita effetti hover/focus sui disabilitati */
.plat[disabled]:hover,
.plat[disabled]:focus {
  transform: none !important;
  box-shadow: none !important;
}

.check-row {
  display:flex;
  gap:10px;
  align-items:flex-end;     /* allinea in basso: testo leggermente più giù */
  justify-content:center;          
  margin:24px auto 8px;
  font-size:18px;
  color:#fff;
  text-align:center;
  line-height:1.250;          /* evita che resti troppo alto */
}


.check-row input {display:none}
.checkbox {
  width:28px;
  height:28px;
  border-radius:6px;
  background:#000;                 /* non spuntata: riquadro tutto nero */
  border:2px solid #fff;
  position:relative;
}

.check-row input:checked + .checkbox {
  background:#1e4f8f;              /* spuntata: azzurro/blu */
  border-color:#fff;
}
.checkbox::after {
  content:"";
  position:absolute;
  left:7px;
  top:1px;
  width:7px;
  height:14px;
  border: solid #fff;              /* spunta bianca */
  border-width:0 3px 3px 0;
  transform:rotate(45deg);
  opacity:0;                       /* di default NON visibile */
  transition: opacity .15s ease;
}
.check-row input:checked + .checkbox::after {
  opacity:1;                       /* visibile solo quando spuntata */
}

.big-input.input-error{
  border-color:#ff4d4f;
  box-shadow:0 0 0 3px rgba(255,77,79,.35);
}
.plat.input-error {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 3px rgba(255,77,79,.35) !important;
}

.form-warning {
  color: #ffeb99;
  text-align: center;
  font-size: 14px;
  margin: 4px 0 0;
  text-shadow: 0 0 4px #665500;
}

.form-error{
  color:#ffb3b4;
  text-align:center;
  font-size:14px;
  margin:6px 0 0;
  text-shadow:0 0 6px #330000;
}

.shake{animation:shake .3s ease-in-out}
@keyframes shake{
  10%{transform:translateX(-2px)}
  20%{transform:translateX(2px)}
  30%{transform:translateX(-2px)}
  40%{transform:translateX(2px)}
  50%{transform:translateX(-1px)}
  60%{transform:translateX(1px)}
  100%{transform:translateX(0)}
}

.btn{display:inline-block;border:0;border-radius:28px;padding:10px 18px;cursor:pointer;font-size:20px}
.btn.primary {
  background:#0066cc;
  color:#fff;
  font-weight:700;                 /* un filo più bold */
  border:2px solid #0088ff;
  box-shadow:0 0 12px #004488aa;
  display:block;
  margin:18px auto 0;              /* un po' più spazio sopra */
  min-width:260px;                 /* più largo */
  padding:14px 26px;               /* più alto e più comodo da cliccare */
  font-size:22px;                  /* testo più grande */
}


.btn.primary:hover {
  transform:scale(.98);
  box-shadow:0 0 8px #0088ff, 0 0 16px #00aaff;
}

.search-label{
  text-align:center;
  font-size:18px;
  font-weight:700;
  margin:10px 0 6px;
}

.search-chip{
  display:block;            /* da inline-block a block per centrare */
  margin-left:auto;
  margin-right:auto;
}

.search-plat{
  margin-left:auto;         /* centratura orizzontale */
  margin-right:auto;
}

.btn.outline{background:transparent;border:1px solid #fff;color:#fff}

.search-chip{
  display:inline-block;                 /* larghezza = contenuto */
  padding:8px 16px;
  border-radius:24px;
  border:1px solid #fff;
  background:linear-gradient(to right top,var(--accent1),var(--accent2));
  font-size:20px;
  animation: wobble 1.2s infinite;
  margin-top:10px;     /* aggiunto per abbassarlo */
  box-shadow:var(--shadow);
  white-space: nowrap;                  /* evita andare a capo */
  margin-bottom:18px;                   /* più spazio sotto il nome */
}
#step-2 { text-align:center; }
.search-chip + .search-label { margin-top:22px; }

.search-label{
  text-align:center;
  font-size:18px;
  font-weight:700;
  margin:10px 0 6px;
}

/* più distanza specifica tra Username e la label “Piattaforma” */
.search-chip + .search-label{
  margin-top:18px;            /* <-- aumenta lo spazio prima di “Piattaforma:” */
}

.search-plat{
  width:88px;              /* più largo */
  height:88px;             /* più alto */
  border-radius:50%;
  border:5px solid #eee;   /* bordo un po' più spesso */
  margin-top:18px;
  margin-left:auto;
  margin-right:auto;
  display:grid;
  place-items:center;
  animation: wobble 1.2s infinite;
  box-shadow: 0 0 10px rgba(255,255,255,.25); /* glow leggero */
}

.search-plat img{
  width:64px;              /* icona più grande */
  filter: brightness(0) invert(1);
}

.access-success {
  color: #9cd047;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.access-wrap{
  text-align:center;
  margin-top: 8px;
}
.access-line{
  margin:6px 0;
  font-size:18px;
  font-weight:600;
  color:#9cd047;                /* entrambe le righe (Username/Tag e Piattaforma) in verde */
}
.access-line--title{
  color:#ffffff;                /* "Accesso effettuato come:" in bianco */
  margin-bottom:10px;           /* più spazio sotto per leggibilità */
}
.access-line--platform{
  color:#9cd047;                /* resta verde (coerente con la riga sopra) */
}

.big-check{
  width:140px;
  filter:brightness(2);
  animation: pop .28s ease-out both;
  display:block;               /* centrata */
  margin: 0 auto 22px;         /* più spazio sotto la spunta */
}

.amount-box{
  position:relative;
  width:min(520px,86%);
  margin:28px auto 0;              /* più spazio per il badge che “esce” */
  padding:38px 16px 16px;          /* spazio sopra per titolo/quantità */
  border-radius:30px;
  border:2px solid #fff;
  text-align:center;
}

/* badge circolare con gemma che esce dal bordo superiore */
.amount-badge{
  position:absolute;
  top:0;
  left:50%;
  transform: translate(-50%, -50%); /* metà fuori dal riquadro */
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
}
.amount-badge img{
  width:58px;
}

/* scritta "SELEZIONATO" sotto al badge */
.badge-title{
  margin-top:12px;
  display:inline-block;
  padding:6px 12px;
  border-radius:20px;
  border:2px dotted #fff;
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
}

.amount-readout{
  margin:24px 0 18px;   /* ↑ più spazio sotto, prima dei bottoni */
}

.amount-value{
  font-size:34px;
  font-weight:900;
  color:#7fbf3f;                 /* verde morbido */
  text-shadow: 0 0 2px #ffffff55, /* glow bianco leggerissimo */
               0 0 4px #7fbf3f88; /* glow verde molto tenue */
}

.pill{display:inline-block;font-size:12px;color:#fff;padding:5px 8px;border-radius:40px;border:2px dotted #fff;box-shadow:0 0 4px #2a4e78}
.gem-small{width:44px;margin-top:10px;}
.amount-readout{margin:10px 0 12px}
.amount-value{font-size:28px;font-weight:900}

.amount{
  display:block;
  width:min(260px,84%);
  margin:10px auto;
  padding:8px 12px;          /* un filo più compatto */
  border-radius:30px;
  border:2px solid #f1f2f3;
  background:linear-gradient(to right top,var(--accent1),var(--accent2));
  color:#fff;
  font-weight:700;
  font-size:18px;            /* più piccolo su desktop */
  line-height:1.2;
  white-space:nowrap;
  box-shadow:0 0 5px #0008;
}

.amount img{
  width:24px;                                  /* icona un filo più grande */
  vertical-align:middle;
  margin-right:8px;                            /* più spazio dal numero */
}
@media (max-width:680px){
  .amount{
    font-size:20px;         /* più piccolo su mobile */
    padding:10px 14px;
  }
  .amount img{
    width:22px;
    margin-right:8px;
  }
}
@media (max-width:380px){
  .amount{ font-size:18px; } /* ancora più compatto su telefoni piccoli */
  .amount img{ width:20px; }
}

.amount--selected{
  background:linear-gradient(to right top,#2a4e78,#5a87b0);
  border:3px solid #ffffff;
  box-shadow:
    0 0 6px #2a4e78,
    0 0 16px #477197,
    0 0 26px #99c2ff,
    0 0 46px #99c2ff;  /* glow forte come le piattaforme */
  transform: translateY(-2px) scale(1.03);
  outline: 2px solid rgba(255,255,255,.45);
}
/* STEP 5*/
/* Rotazione infinita dell'ingranaggio nello step 5 */
#step-5 .gear {
  display: block;
   margin: 8px auto 30px;   
  width: 140px;                 /* scegli tu la misura */
  animation: spin 2.4s linear infinite;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 10px rgba(0,0,0,.35));
  will-change: transform;
}

/* keyframes usati sia dallo spinner sia dall’ingranaggio */
@keyframes spin{
  to { transform: rotate(360deg); }
}
/* Step 5: container adattivo senza tagliare la gemma in alto */
#step-5.card{
  min-height: unset;     /* niente altezza minima fissa */
  height: auto;          /* si adatta al contenuto */
  overflow: visible;     /* NON taglia la gemma che sporge */
  padding-top: 36px;     /* spazio extra per la gemma che fluttua */
}

/* la reveal del riquadro gemme fa crescere il container in modo morbido */
#step-5 .counter-box{
  transition: opacity .35s ease, transform .35s ease, margin-top .35s ease;
  margin-top: 0;         /* chiuso: niente spazio */
}
#step-5 .counter-box.reveal{
  margin-top: 20px;      /* aperto: un po’ di spazio sotto lo stato */
}

.status-text{
  text-align:center;
  font-size:18px;
  font-weight:700;
  margin: 6px 0 14px;
  color:#ffffff;
  text-shadow: 0 0 6px rgba(0,0,0,.35);
  opacity:0;                         /* nascosto di default */
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
}
.status-text.show{
  opacity:1;
  transform:none;                    /* fade + slide-in */
}

.counter-box{
  display:grid;                      /* verticale: immagine sopra, numero sotto */
  place-items:center;
  gap:8px;
  margin: 8px auto 16px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.6);
  padding:12px 16px;
  border-radius:18px;
  width:max-content;

  opacity:0;                         /* nascosto finché non “reveal” */
  transform: translateY(6px) scale(.98);
  transition: opacity .35s ease, transform .35s ease;
}
.counter-box.reveal{
  opacity:1;                         /* animazione d’ingresso */
  transform: none;
}
.counter-box img{ width:56px; height:56px; } /* immagine grande */
#gemsCounter{
  font-size:24px;
  font-weight:900;
  letter-spacing:.5px;
}

.progress-inner.error{
  background:#ff6666 !important;       /* barra rossa in errore */
  box-shadow: 0 0 10px #ff6666aa !important;
}


.progress-outer{
  width:100%;                       /* piena larghezza del container */
  height:16px;
  border-radius:10px;
  background:#ccc;
  margin-top:12px;
}
.progress-inner{
  height:100%;
  border-radius:10px;
  background:var(--accent3);
  width:0;
  transition: width .6s ease;       /* riempimento fluido */
}
/*FINE STEP 5 */
/* STEP 6 */
/* Step 6 – Schermata errore */
#error-step, #step-6 {
  text-align: center;
  padding: 24px 16px;
}

.error-icon img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,.4));
  animation: pulse 1.4s infinite ease-in-out;
}

.error-title {
  font-size: 26px;
  font-weight: 800;
  color: #ff6666;
  margin: 16px 0 12px;
  text-shadow: 0 0 8px rgba(0,0,0,.5);
}
.success-title {
  color: #9cd047; /* verde: in linea/successo */
}
.error-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
}

.error-text a {
  color: #ffcc66;
  font-weight: 600;
  text-decoration: underline;
}

.last-card{
  margin-top:14px;width:180px;height:150px;border-radius:28px;border:1px solid #fff;
  display:grid;place-items:center;background:var(--panel);box-shadow:var(--shadow)
}
.last-card img{width:58px}
.mini-amt{background:linear-gradient(to right top,#1e3e63,#477197);border-radius:40px;padding:4px 12px;font-weight:800}
.mini-name{font-weight:700}

.muted{color:#cbd5e1}
.spinner{width:28px;margin-top:18px;filter:invert(.6);animation: spin 1.2s linear infinite}

@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(.97)}}

@keyframes neon {
  from {
    box-shadow: 0 0 10px rgba(0,0,0,.45),
                0 0 20px #5a87b0aa,
                0 0 40px #5a87b0cc; /* bagliore più forte */
  }
  to {
    box-shadow: 0 0 20px rgba(0,0,0,.55),
                0 0 35px #5a87b0ff,
                0 0 60px #5a87b0ff; /* più intenso */
  }
}

@keyframes wobble{0%,100%{transform:translateX(0) rotate(0)}15%{transform:translateX(-6px) rotate(1.5deg)}30%{transform:translateX(6px) rotate(-1.5deg)}45%{transform:translateX(-4px) rotate(.8deg)}60%{transform:translateX(3px) rotate(-.6deg)}75%{transform:translateX(-2px) rotate(.3deg)}}
@keyframes slit{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);filter:blur(40px);opacity:0}100%{transform:translateY(0) scaleY(1) scaleX(1);filter:blur(0);opacity:1}}

/* animazione divertente a zig-zag con un pizzico di rimbalzo, leggermente più lunga */
.enter-fun {
  animation: funZag .55s cubic-bezier(.22,.8,.32,1) both;
  animation-delay: var(--stagger, 0ms); /* ritardo per effetto "raffica" */
}

@keyframes funZag{
  0%   { opacity:0; transform: translate(-14px,18px) rotate(-2deg) scale(.96); filter: blur(1px); }
  25%  {          transform: translate(10px,-8px)   rotate(2deg)  scale(1.03); filter: blur(0); }
  50%  {          transform: translate(-6px,4px)    rotate(-1.2deg) scale(.99); }
  75%  {          transform: translate(3px,-2px)    rotate(.6deg)   scale(1.01); }
  100% { opacity:1; transform: translate(0,0)       rotate(0)       scale(1); }
}

/* loader fittizio */
.loading-gif{
  width:64px;
  margin:36px auto 0;  /* <-- più distanziato dall’alto */
  display:block;
  filter:brightness(1.1);
}

.loading-anim .search-label,
.loading-anim .search-chip,
.loading-anim #searchPlat{
  animation: movePulse .75s cubic-bezier(.22,.8,.32,1) infinite alternate;
}

/* glow leggero sui contenuti durante il movimento */
.loading-anim .search-label { text-shadow: 0 0 6px rgba(255,255,255,.25); }
.loading-anim .search-chip  { box-shadow: 0 0 10px rgba(71,113,151,.45), 0 0 18px rgba(90,135,176,.35); }
.loading-anim #searchPlat   { box-shadow: 0 0 10px rgba(71,113,151,.45), 0 0 18px rgba(90,135,176,.35); }

/* ritmo più “a ondate” con una leggera scala */
@keyframes movePulse{
  0%   { transform: translateY(0) scale(1);     opacity:1;   }
  50%  { transform: translateY(-6px) scale(1.03); opacity:.96; }
  100% { transform: translateY(-2px) scale(1.01); opacity:.98; }
}
/* Stagger dedicato allo step 2 */
#step-2.loading-anim .search-label:nth-of-type(1) { animation-delay: 0s; }
#step-2.loading-anim .search-chip                 { animation-delay: .08s; }
#step-2.loading-anim .search-label:nth-of-type(2) { animation-delay: .16s; }
#step-2.loading-anim #searchPlat                  { animation-delay: .24s; }

/* animazione check veloce */
@keyframes pop{
  0%{transform:scale(.6);opacity:0;filter:blur(2px)}
  60%{transform:scale(1.08);opacity:1;filter:blur(0)}
  100%{transform:scale(1);opacity:1}
}

/*NUOVI CONTAINER*/
/*NUOVI CONTAINER*/
.dual-container{
  display: flex;
  gap: 20px;
  margin-top: 48px;
  justify-content: center;
  align-items: flex-start;
  width: var(--wrap);                /* larghezza consistente con il resto del layout */
  margin-left: auto;
  margin-right: auto;
}

.dual-container .status-panel{
  flex: 0 1 520px;                   /* due colonne affiancate su desktop */
  max-width: 520px;
  margin: 0;                         /* evita l’effetto “allarga tutto” di margin:auto */
}

/* desktop: affiancati */
@media (min-width: 900px){
  .dual-container{ flex-wrap: nowrap; }
}

/* mobile/tablet: vanno in colonna centrati */
@media (max-width: 899.98px){
  .dual-container{ flex-wrap: wrap; }
  .dual-container .status-panel{ flex: 1 1 100%; max-width: 680px; }
}

.status-panel{
  min-height: 220px;
}

/* ===== Pannello "Stato del generatore" – tema sito ===== */
.status-panel{
  background: #ffffff;
  border: 2px solid var(--accent2); /* bordo blu continuo */
  border-radius: 22px;              /* angoli esterni */
  overflow: hidden;                 /* unisce header e body senza stacco */
  box-shadow: var(--shadow);
  animation: none;
  color: #222;
  padding: 0; /* tolgo padding esterno per far aderire header e body */
  
}

.status-header{
  background: linear-gradient(to bottom, #1e3e63, #0d2238);
  color: #fff;
  text-align: center;
  font-weight: 900;
  font-size: 24px;
  padding: 14px 12px 12px;
  letter-spacing: .5px;
  text-shadow: 0 2px 2px rgba(0,0,0,.45), 0 0 6px #002a5e;
  border-bottom: 2px solid var(--accent2); /* linea divisoria blu */
}

.status-body{
  background: #ffffff;
  padding: 20px 18px 24px;
}

.status-row{
  text-align: center;
  padding: 20px 6px; /* ↑ più spazio sopra e sotto */
  border-bottom: 1px solid #00000033; /* linea nera tenue */
}
.status-row:last-of-type{
  border-bottom: none; /* niente linea dopo l’ultima */
}
.status-label{
  font-weight: 900;
  color: #000000; /* nero pieno */
  letter-spacing: .6px;
  text-transform: uppercase;
}
.status-medium {
  font-size: 24px;
  color: #ffb84d; /* arancione/giallo tenue */
  font-weight: 900;
  text-shadow: 0 2px 0 #000, 0 0 6px rgba(255,184,77,.6);
}

.status-down{
  font-size: 24px;
  color: #ff4d4f; /* rosso acceso */
  font-weight: 900;
  text-shadow: 0 2px 0 #000, 0 0 6px rgba(255,0,0,.6);
}
.status-highload{
  font-size: 24px;
  color: #ffcc00; /* giallo brillante */
  font-weight: 900;
  text-shadow: 0 2px 0 #000, 0 0 6px rgba(255,204,0,.6);
  animation: highload-pulse 1.2s infinite ease-in-out;
}
/*
@keyframes highload-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.85; }
}
*/
.status-value{
  margin-top: 6px;
  font-weight: 900;
}
/* solo se lo desideri */
#pingValue{
  font-size: 22px;
  font-weight: 900;
}

.status-emph{
  font-size: 28px;
  color: var(--accent3);                 /* verde del sito */
  text-shadow: 0 0 8px rgba(156,208,71,.45);
}

.status-ok{
  font-size: 24px;
  color: var(--accent3);
  text-shadow: 0 0 8px rgba(156,208,71,.45);
}
/* Valori importanti: blu, SENZA alone/ghosting su iOS */
.status-value.status-emph {
  color: #1e90ff; /* blu acceso */
  font-weight: bold;
  text-shadow: none; /* rimuove l'alone verde su iPhone */
}

.status-muted{
  color: rgba(255,255,255,.65);
}

.status-sep{
  border: 0;
  border-top: 1px dashed rgba(255,255,255,.22); /* separatore chiaro */
  margin: 0 18px;
}

.status-game{
  display: block;
  width: 200px; /* ↑ ingrandito rispetto ai 120px attuali */
  margin: 8px auto 1px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
@media (max-width:680px){
  body{
    background-attachment: scroll;      /* niente fixed su mobile */
    background-position: center top;
  }
}
@media (max-width:680px){
  .card{
    padding:18px 14px 22px;
    border-radius:28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
@media (max-width:680px){
  .input-row{ width:min(420px, 92%); height:60px; }
  .input-icon{ left:18px; width:30px; height:30px; }          /* spostata leggermente a destra */
  .big-input{ height:56px; font-size:18px; padding-left:58px; } /* placeholder e testo più a destra */
  .big-input::placeholder{ font-size:16px; }
}
@media (max-width:680px){
  .plat{ width:84px; height:84px; }
  .plat img{ width:44px; }
}
@media (max-width:680px){
  .btn.primary{
    min-width:220px;
    padding:12px 22px;
    font-size:20px;
  }
}

@media (max-width:680px){
  .logo{width:260px}
  .card{width:min(360px,94vw)}
  .grid-plat{grid-template-columns:repeat(2,minmax(120px,1fr))}
}
@media (max-width:380px){
  .card{width:min(280px,96vw)}
}

/* ===== Footer ===== */
.site-footer{
  margin-top: 36px;
  padding: 36px 16px 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  border-top: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e7eaf0;
  overflow-x: hidden;          /* evita scrollbar orizzontale */
  padding-inline: clamp(16px, 4vw, 24px); /* leggero aumento anche fuori media query */
}

.footer__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 24px 28px; /* row-gap, column-gap */
  width: var(--wrap);
  margin: 0 auto 18px;
}

.footer__col--wide {
  grid-column: span 2;
}

.footer__title{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(0,0,0,.35);
}

.footer__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;          /* spazio tra i link */
}

.footer__links a,
.footer__contact a{
  color: #cfe7ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  padding: 2px 0;              /* area click maggiore */
}
.footer__links a:hover,
.footer__contact a:hover{
  border-bottom-color: #cfe7ff;
}

.linklike{
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #cfe7ff;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.linklike:hover{ border-bottom-color:#cfe7ff; }

.footer__legal-entity,
.footer__disclaimer,
.footer__trademark,
.footer__contact{
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
  overflow-wrap: anywhere;   /* spezza email/URL/parole lunghe */
  word-break: break-word;
  hyphens: auto;
}

.footer__links a,
.footer__contact a{
  color: #cfe7ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  padding: 2px 0;
  overflow-wrap: anywhere;   /* link lunghi non “sbordano” */
  word-break: break-word;
}

.footer__bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: var(--wrap);            /* allineato alla griglia */
  margin: 14px auto 0;           /* resta centrato */
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.3);
}

.footer__copy{ margin: 0; font-size: 14px; }
.footer__accessibility{ font-size: 14px; color:#cfe7ff; text-decoration: none; }
.footer__accessibility:hover{ text-decoration: underline; }

/* responsive */
@media (max-width:960px){
  .footer__grid{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}

@media (max-width:560px){
  .site-footer{
    /* più aria ai lati + supporto notch */
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;               /* lascia gestire la larghezza al padding del footer */
    max-width: var(--wrap);
    padding-inline: 2px;       /* micro-buffer per evitare “tocchi” al bordo */
  }
  .footer__grid > *{
    padding: 4px 0;
  }
  .footer__title{ font-size: 17px; }
  .footer__bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: var(--wrap);
    gap: 8px;
    padding-inline: 2px;       /* stesso micro-buffer del grid */
  }
}

/* ===== Modali in-page ===== */
.modal{ 
  position: fixed; inset: 0; z-index: 9999;
  display: none;
  overscroll-behavior: contain; /* evita chaining/bounce con la pagina */
}

.modal.open{ display: block; }

.modal__overlay{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

.modal__dialog{
  position: relative;
  width: min(820px, 92vw);
  max-height: 84vh;
  margin: 6vh auto;
  background: rgba(20,28,44,.98);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;

  /* comportamento scroll migliorato */
  overflow-y: auto;               /* scorre in verticale */
  overflow-x: hidden;             /* blocca lo scroll laterale */
  touch-action: pan-y;            /* solo gesti verticali su touch */
  overscroll-behavior: contain;   /* niente bounce fuori dal dialog */
  -webkit-overflow-scrolling: touch;       /* iOS fluido */
  scrollbar-gutter: stable both-edges;     /* evita saltelli quando appare la scrollbar */
}

.modal__header, .modal__footer{
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.modal__footer{ border-top: 1px solid rgba(255,255,255,.12); border-bottom: 0; }

.modal__header h3{
  margin: 0;
  font-size: 18px;
  color:#fff;
  text-shadow: 0 0 6px rgba(0,0,0,.35);
}

.modal__close {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 14px;
  width: 32px;
  height: 32px;
}

.modal__close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal__body{
  padding: 14px 16px;
  overflow: auto;                 /* mantiene lo scroll del contenuto */
  line-height: 1.55;

  /* limiti e comfort su mobile */
  overflow-x: hidden;             /* nessun scroll orizzontale del contenuto */
  touch-action: pan-y;            /* solo verticale */
  overscroll-behavior: contain;   /* evita chaining/bounce verso l’esterno */
}

/* blocco scroll dietro quando modale aperta */
.body--no-scroll{ overflow: hidden; }

@media (max-width: 680px) {
  #step-1 .plat img {
    width: 60px;   /* più grande su mobile */
  }
}
/* Badge "BETA" sopra i pulsanti PlayStation e Windows */
#plat-ps::before,
#plat-windows::before {
  content: "";
  position: absolute;
  top: -12px;                  
  left: 50%;
  transform: translateX(-50%);
  width: 52px;                 /* ingrandito rispetto a prima */
  height: 24px;                /* ingrandito rispetto a prima */
  background: url('assets/beta.webp') no-repeat center / contain;
  pointer-events: none;        
}


@media (max-width: 680px) {
  #plat-ps::before,
  #plat-windows::before {
    top: -3px;                  /* spostato più giù */
    width: 38px;               
    height: 18px;
  }
}
@media (max-width: 380px) {
  #plat-ps::before,
  #plat-windows::before {
    top: -3px;                  /* ancora più giù per telefoni piccoli */
    width: 32px;               
    height: 16px;
  }
}
/* Stesse altezze tra le due colonne */
.dual-container{ align-items: stretch; }          /* le colonne si allungano uguali */

/* useremo una var calcolata da JS: --statusH */
.status-panel{
  height: var(--statusH, auto);                    /* blocco altezza */
  
}
.recent-activity {
  height: 520px;                 /* un po' più alta per i nuovi item */
  overflow: hidden;
  width: 100%;
  background: #e7e7d6;
  padding: 14px 8px;
  border-radius: 12px;
  border: 2px solid #14202a;
}

.sticky-queue { position: relative; width: 100%; }
.sticky {
  box-shadow: inset 0 1px 2px rgba(0,0,0,.45),
              0 0 8px rgba(71,113,151,.45);        /* glow blu tenue */
  background: linear-gradient(to bottom, #2a4e78 0%, #5a87b0 100%); /* blu/azzurro */
  border-radius: 18px;
  padding: 8px 12px;
  border: 2px solid #99c2ff;                       /* bordo azzurro chiaro */
  margin-bottom: 8px;
  color: #ffffff;                                  /* testo leggibile */
}

/* === Nuova card attività ======================================= */
.activity-item {
  display: grid;
  grid-template-columns: 36px 1fr; /* bandiera | contenuto */
  column-gap: 10px;
  min-height: 66px;                /* più alta */
  align-items: center;
}

.activity-left {
  font-size: 26px;                 /* emoji bandiera grande */
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
  text-align: center;
}

.activity-main { display: grid; row-gap: 4px; }

/* Prima riga: username */
.activity-line.user {
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .2px;
  text-shadow:
    0 2px 0 #000,
    -1px -1px 0 #000, 1px -1px 0 #000,
    -1px  1px 0 #000, 1px  1px 0 #000;
}

/* Seconda riga: piattaforma */
.activity-line.platform {
  color: #fff;
  font-weight: 700;
  opacity: .95;
}
.activity-line.platform .activity-platform {
  color: #fff; font-weight: 800;
}

/* Terza riga: gemma + quantità */
.activity-line.amount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.activity-gem {
  width: 22px;
  height: 22px;
  image-rendering: auto;
  transform: translateZ(0); /* nitidezza */
}
.activity-amount {
  color: #92ec24;
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
}
/* Effetto fade in alto/giù per l'area attività */
.recent-activity {
    contain: layout paint;
  position: relative;
}
.recent-activity::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 24px;                   /* fascia di fade basso */
  pointer-events: none;
  background: linear-gradient(to top, rgba(231,231,214,1), rgba(231,231,214,0));
}
/* transizione guidata da variabili */
.sticky {
  transition:
    opacity var(--activity-enter-ms) linear,
    transform var(--activity-enter-ms) var(--activity-ease-out),
    height var(--activity-height-ms) ease;
  opacity: 1;
  transform: translateY(0);
}

/* dentro la “fade zone” in basso: opacizza + piccolo affondo */
.sticky.fade-progress {
  opacity: var(--fadeOpacity, 1);
  transform: translateY(var(--fadeY, 0px));
}

/* Uscita finale (collassa + fade) */
@keyframes activity-leave {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(6px) scale(0.98); }
}
.sticky.leaving {
  animation: activity-leave var(--activity-leave-ms) var(--activity-ease-in) forwards;
}

/* Ingresso del contenuto dell'attività (slide + fade) */
@keyframes activity-pop-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.activity-item.enter {
  animation: activity-pop-in var(--activity-enter-ms) var(--activity-ease-out) both;
}

/* Ottimizzazioni rendering */
.sticky, .activity-item { will-change: transform, opacity, height; }
/* ========== Activity item – versione pulita ========== */

.activity-item{
  display: grid;
  grid-template-columns: 44px 1fr;   /* flag | contenuto */
  column-gap: 12px;
  align-items: center;
  min-height: 64px;
}

.activity-left{
  display: grid;
  place-items: center;
}

/* quando la bandiera è un'immagine png */
.activity-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  margin-right: 0.75em;
  padding: 1.5px; /* piccolo margine interno per “rimpicciolire” la bandiera */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.25);
  box-sizing: border-box; /* così padding non aumenta la dimensione totale */
}

.activity-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-main{
  display: grid;
  row-gap: 6px;
}

/* riga superiore: username + platform pill */
.activity-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.activity-username{
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);   /* più sobrio del multi-shadow */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* riga inferiore: amount pill */
.activity-footer{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* badge base (pill) */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.20);           /* neutro semitrasparente */
  box-shadow: 0 1px 0 rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  color: #fff;
  white-space: nowrap;
}

/* piattaforma più discreta + slot icona */
.badge--platform{
  padding: 4px 10px;
  font-weight: 700;
  font-size: .86rem;
  background: rgba(0,0,0,.14);
  border-color: rgba(255,255,255,.18);
  position: relative;
}

/* icona dopo il testo, forzata bianca */
.badge--platform[data-platform]::after{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -2px;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1); /* bianca */
}

/* mapping piattaforma → icona */
.badge--platform[data-platform="ios"]::after{
  background-image: url('assets/ios.png');
}
.badge--platform[data-platform="android"]::after{
  background-image: url('assets/android.png');
}

/* importo in evidenza */
.badge--amount{
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.28));
  border-color: rgba(146,236,36,.5);
  box-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 0 10px rgba(146,236,36,.18);
}

.activity-gem{
  width: 20px;
  height: 20px;
  margin: 0;
  image-rendering: auto;
  transform: translateZ(0);
}

.amount-num{
  color: #92ec24;
  font-weight: 900;
}

@media (max-width: 420px){
  .activity-item{ grid-template-columns: 40px 1fr; }
  .badge{ gap: 6px; padding: 5px 9px; font-size: .88rem; }

  /* — Fix: username lungo non schiaccia la piattaforma — */
  .activity-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;                /* manda la pill sotto se non c’è spazio */
  }
  .activity-username{
    flex: 1 1 auto;                /* prende lo spazio disponibile */
    min-width: 0;                  /* abilita ellissi corrette */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .badge--platform{
    font-size: .8rem;              /* leggermente più piccola su mobile */
    order: 2;                      /* va sotto all’username quando serve */
    width: auto;                   /* ⬅️ solo quanto il contenuto (NON tutta la riga) */
    max-width: 100%;
    flex: 0 0 auto;
    align-self: flex-start;        /* allinea bene quando va sotto */
    justify-content: flex-start;
  }
}

/* Box interno (contenuto) SOLO per "Stato del generatore" */
.status-panel .status-body{
  background: #e7e7d6;              /* stesso grigio di Attività Recenti */
  border: 2px solid #14202a;        /* stesso bordo nero */
  border-radius: 12px;
  box-shadow: 2px 2px 6px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.45);
  padding: 14px 8px;                /* stessa imbottitura */
  margin: 12px 10px 14px;           /* stacco dal titolo come a destra */
}

/* (facoltativo) le righe rimangono pulite dentro il box */
.status-panel .status-body .status-row{
  background: transparent;
  border-bottom: 1px solid #00000033;
}
.status-panel .status-body .status-row:last-of-type{
  border-bottom: 0;
}

/* SOLO il contenuto del pannello "Stato del generatore" (sx) */
.status-panel--generator .status-body{
  background: #e7e7d6;              /* grigio come Attività recenti */
  border: 2px solid #14202a;        /* bordo nero */
  border-radius: 12px;
  box-shadow: 2px 2px 6px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.45);
  padding: 14px 8px;                /* stessa imbottitura */
  margin: 12px 10px 14px;           /* stesso stacco dal titolo */
}

/* Mantieni pulito il pannello "Attività recenti" (dx) */
.status-panel--activity .status-body{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;                       /* il padding lo gestisce .recent-activity */
  margin: 0;
}

/* (opzionale) righe interne del generatore */
.status-panel--generator .status-body .status-row{
  background: transparent;
  border-bottom: 1px solid #00000033;
}
.status-panel--generator .status-body .status-row:last-of-type{
  border-bottom: 0;
}
/* Rende il box delle attività recenti coerente con lo stato del generatore */
.status-panel--activity .status-body {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  padding: 16px 20px;
  margin-top: 12px;
}
.status-panel--generator .status-body {
  margin-top: 29px;   /* aumentato per abbassare il box */
  padding: 16px 20px;
  border-radius: 18px;
}
@media (max-width: 480px) {
  .activity-flag {
    width: 36px;
    height: 27px;
    margin-right: 0.5em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border-radius: 3px;
  }
  .activity-flag img {
    width: 104%;
    height: 104%;
    transform: translate(-2%, -2%); /* elimina qualsiasi filetto sulle SVG più “vuote” */
  }
}

/* Schermi molto piccoli */
@media (max-width: 360px) {
  .activity-flag {
    width: 32px;
    height: 24px;
    margin-right: 0.45em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.32);
    border-radius: 3px;
  }
}
.changelog-wrapper{
  width: var(--wrap);
  margin: 0 auto 0;             /* attaccato al footer */
  display: flex;
  justify-content: center;      /* pulsante centrato */
  transform: translateY(6px);   /* spinge il bottone ancora più in basso */
}
.changelog-trigger {
  position: static;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08)); /* sfumato chiaro più forte */
  color: #fff;
  font-weight: 600;
  border: 2px solid #fff;
  box-shadow: 0 0 10px #0008;
  cursor: pointer;
}

.changelog-trigger:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

/* mobile: lo centro (se preferisci a destra, rimetti flex-end) */
@media (max-width: 560px){
  .changelog-wrapper{ justify-content: center; }
}


.changelog-trigger img {
  width: 20px;
  height: 20px;
}

.changelog-trigger span{
  font-size: 16px;
  line-height: 1;
}
.faq {
  width: var(--wrap);
  margin: 30px auto;
  padding: 20px;
  background: #0d2f5a;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  color: #fff;
}

.faq-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

.faq-item {
  margin-bottom: 16px;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.5;
}
.changelog-modal ul li {
  margin-bottom: 8px;   /* distanzia leggermente i <li> */
  line-height: 1.35;
}
.changelog-modal ul li:last-child {
  margin-bottom: 0;     /* niente spazio in eccesso sull'ultimo */
}
/* Placeholder "Nessuna attività disponibile" — look neutro, centrato, senza sfondo/colore */
.activities-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;      /* centro verticale */
  gap: 12px;
  padding: 28px;
  min-height: 280px;            /* area ampia e centrata */
  width: 100%;
  border-radius: 14px;
  text-align: center;
  color: #111;                  /* testo scuro e leggibile */
  background: transparent;      /* nessun sfondo */
  box-shadow: none;             /* nessuna ombra */
  position: relative;
}

.activities-empty::before {
  /* rimosso ogni accento cromatico/decorazione */
  content: none;
  display: none;
}

.activities-empty__title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem); /* più grande, ma neutro */
  color: inherit;               /* niente colore aggiuntivo */
  text-shadow: none;            /* nessun effetto */
}

.activities-empty__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #444;                  /* grigio neutro */
  opacity: 0.95;
}
