/* ---------------- Imports ---------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

/* ---------------- Root ---------------- */
:root {
  --body: #12131a;
  --navbar: #1f202c;
  --nav: #1f202c;
  --nav-hover: #1f1f1fde;
  --text: #fff;
  --textb: #2b2d31;
  --buttons: #1f202c;
  --buttonsopacity: #1f202c;
  --buttons-hover: #2e3141;
  --buttonsopacity-hover: #2e31419d;
  --buttonsb-hover: #e0dfd3;
  --buttonsbopacity-hover: #e0dfd39d;
  --buttons2: #f55138;
  --buttons2-hover: #000000;
  --buttons2b-hover: #8027fc;
  --goldy: #fcff5c;
}

.chiaro {
  --body: #ffffff;
  --navbar: #cccccc;
  --nav: #e3e3e3;
  --nav-hover: #d6d6d6de;
  --text: #2b2d31;
  --textb: #fff;
  --buttons: #e0e1e5;
  --buttons-hover: #bdbec1;
  --buttonsb-hover: #1f202c;
  --buttons2: #f55138;
  --buttons2-hover: #ffffff;
  --buttons2b-hover: #8027fc;
  --goldy: #c1c346;
}

/* ---------------- Header ---------------- */
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  transition: .4s;
}

html,
body {
  width: 100%;
  background-color: var(--body);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.my-2 {
  background-color: var(--text)
}

.circle {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999999;
  transition: transform 0.15s ease-out, background-color 0.15s ease-out;
}

h1 {
  background-image: linear-gradient(to right, #f95135, #f95135);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

h1:hover {
  background-size: 100% 2px;
}


/* Scrollbar */
::selection {
  background-color: #6b93b8;
}

::-webkit-scrollbar {
  width: 18px;
  background-color: var(--body);
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  border: 5px solid var(--body);
  background-color: #656565;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #878787;
}

::-webkit-scrollbar-thumb:active {
  background-color: #9d9d9d;
}

/* Premium */
.premium {
  position: fixed;
  left: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  width: 100%;
  height: 40px;
  /* background-image: linear-gradient(to right, #8027fd, #fca88d); */
  background-image: linear-gradient(to right, #f95135, #8027fc);
  color: white;
  z-index: 999;
}

.premium h6 {
  text-align: center;
  margin: 0;
}

@media (max-width: 570px) {
  .premium h6 {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .premium h6 {
    font-size: 12px;
  }
}

/* Navbar Base Styles */
nav {
  top: 50px;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 80%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #2e3141;
  background-color: var(--navbar);
  z-index: 999;
  box-shadow: 0 0 40px 0 #20202021;
}

/* .nav {
  backdrop-filter: blur(5px);
  background-color: #1f202cab;
} */

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
  margin: 0 10px;
}

a.active {
  font-weight: bolder;
}

nav ul li a,
.mega-menu-toggle,
.mobile-menu-toggle {
  color: var(--text);
  font-size: 18px;
  padding: 10px 25px 10px 25px;
  text-decoration: none;
  display: block;
  border-radius: 10px;
  transition: all 0.3s ease;
}

nav ul li a:hover,
.mega-menu-toggle:hover,
.mobile-menu-toggle:hover {
  background: var(--buttons-hover);
}

.fa-flask,
.fa-handshake,
.fa-tachometer-alt,
.fa-address-card,
.fa-file-contract,
.fa-user-shield,
.fa-cookie-bite,
.fa-bullhorn,
.fa-tags {
  margin-right: 5px;
}

/* Mega Menu Styles */
.mega-menu-item {
  position: relative;
}

.mega-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mega-menu-toggle[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}

.mega-menu-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--nav);
  width: min(900px, 90vw);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #2e3141;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s 0.2s ease;
  top: 70px;
}

.mega-menu-item:hover .mega-menu-content,
.mega-menu-toggle[aria-expanded="true"]+.mega-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.mega-menu-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mega-menu-column {
  flex: 1;
  min-width: 200px;
}

.mega-menu-column h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--buttons-hover);
}

.mega-menu-column a {
  display: block;
  padding: 10px 20px 10px 15px;
  color: var(--text);
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

.mega-menu-column a:hover {
  background-color: var(--buttons-hover);
  margin-left: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {

  .mega-menu-item {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

/* Theme Toggle Styles */
.imgandtheme {
  display: flex;
  align-items: center;
  gap: 15px;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.logozelden {
  display: flex;
  width: 65px;
  border-radius: 100%;
  border: 2px solid #00000000;
  opacity: 0.7;
  margin: 15px;
  cursor: pointer;
}

.logozelden:hover {
  opacity: 1;
}

/* Keep your existing beta-gradient styles */
/* Stile base del bottone */
.beta-gradient {
  position: relative;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ffce00, #ffa500);
  color: black;
  font-weight: bold;
  cursor: pointer;
  overflow: visible;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Effetto al hover */
.beta-gradient:hover {
  background: linear-gradient(90deg, #ffce00, #ffa500);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Stellina animata - inizialmente nascosta */
.beta-gradient::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: gold;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%,
      68% 57%, 79% 91%, 50% 70%,
      21% 91%, 32% 57%, 2% 35%,
      39% 35%);
  opacity: 1;
  transition: all 0.3s ease;
  pointer-events: none;
  transform: translateX(-50%) scale(1.2);
  animation: sparkle 1.2s ease-out infinite;
}

/* Animazione della stellina più evidente */
@keyframes sparkle {
  0% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0px) scale(1);
  }

  30% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1.5) rotate(15deg);
  }

  60% {
    transform: translateX(-50%) translateY(-20px) scale(1.2) rotate(-15deg);
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.8);
  }
}

/* Effetto al click */
.beta-gradient:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* MOBILE MENU REVOLUTION - VERSIONE CORRETTA */
/* ==================== */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  margin-left: 20px;
  cursor: pointer;
  padding: 10px;
  position: relative;
}

.mobile-menu-toggle::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 100%;
  transform: translateX(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: gold;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%,
      68% 57%, 79% 91%, 50% 70%,
      21% 91%, 32% 57%, 2% 35%,
      39% 35%);
  opacity: 1;
  transition: all 0.3s ease;
  pointer-events: none;
  transform: translateX(-50%) scale(1.2);
  animation: sparkle 1.2s ease-out infinite;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  outline: none;
  background: none;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  position: relative;
  cursor: pointer;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--text);
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

/* OVERLAY VISIBILE */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}



/* CONTAINER VISIBILE */
.mobile-menu-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 400px;
  height: 100vh;
  transform: translateX(100%);
  overflow-x: hidden;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  margin: 15px;
  z-index: 9999999;
}

.mobile-menu-overlay.active .mobile-menu-container {
  transform: translateX(0);
}

/* HEADER FIXED */
.mobile-menu-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--navbar);
  border-radius: 10px;
}

/* Mobile Header Actions */
.mobile-menu-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Premium Trigger Button */
.premium-trigger {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.premium-icon {
  color: #ff9900;
  transition: transform 0.3s ease;
}

.premium-trigger:hover .premium-icon {
  transform: scale(1.2) rotate(15deg);
}

/* Premium Panel */
.premium-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--nav-hover);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.premium-panel.active {
  transform: translateX(0);
}

.premium-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--buttons-hover);
}

.premium-header h3 {
  color: #ff9900;
  font-size: 1.3rem;
  margin: 0;
  flex-grow: 1;
  z-index: 999;
}

.premium-header i {
  font-size: 1.5rem;
  color: #ff9900;
}

.premium-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.premium-content {
  margin-left: 10px;
  margin-right: 10px;
  flex-grow: 1;
}

.exclusive-functions {
  color: var(--text) !important;
  opacity: 1 !important;
  margin-bottom: 0;
  font-size: 1rem;
  display: block !important;
}

.premium-features {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
}

.premium-features li {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.premium-features .fa-check-circle {
  color: #4caf50;
}

.premium-features .fa-circle-xmark {
  color: #db4500;
}

.premium-button {
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.premium-button a {
  cursor: pointer;
  color: #000;
}

.premium-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Menu close */
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  margin: -5px;
}

/* CONTENUTO VISIBILE */
.mobile-menu-content {
  position: relative;
  display: flex;
  flex-direction: column;
  top: 10px;
  padding: 30px;
  width: 100%;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-menu-content a {
  display: flex !important;
  align-items: center;
  padding: 15px 20px;
  color: var(--text);
  font-size: 18px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s;
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-menu-content .beta-gradient {
  color: black;
}

.mobile-menu-content .beta-gradient:hover {
  background: linear-gradient(90deg, #ffce00, #ffa500);
  transform: translateX(5px);
}

.mobile-menu-content a:hover {
  background: var(--buttons-hover);
  transform: translateX(5px);
}


.mobile-menu-content a i {
  margin-right: 15px;
  font-size: 20px;
  min-width: 25px;
  text-align: center;
}

/* SEZIONI VISIBILI */
.mobile-menu-section {
  margin-bottom: 20px;
  width: 100%;
}

.mobile-menu-section h3 {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 992px) {
  .desktop-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Aggiungi queste regole per il pannello premium */
  .premium-panel {
    width: 100%;
    right: 0;
  }

  .premium-features {
    margin: 15px 0;
  }

  .premium-features li {
    font-size: 14px;
  }
}

/* Regole specifiche per dispositivi più piccoli */
@media (max-width: 576px) {
  .premium-header h3 {
    font-size: 1.1rem;
  }

  .premium-content p {
    font-size: 14px;
  }

  .premium-button {
    padding: 10px 15px;
    font-size: 14px;
  }
}

.is-mobile .mega-menu-item,
.is-mobile .desktop-menu {
  display: none;
}

.is-mobile .mobile-menu-toggle {
  display: block;
}


/* Popup */
.modal-content {
  background: none;
}

.modal-header,
.modal-body {
  display: flex;
  flex-direction: column;
  background-color: var(--body);
  color: var(--text);
  outline: none;
  border: none;
}

.modal-footer {
  display: flex;
  background-color: var(--body);
  color: var(--text);
  outline: none;
  border: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.modal-header,
.modal-body {
  display: flex;
  flex-direction: column;
  background-color: var(--body);
  color: var(--text);
  outline: none;
  border: none;
}

.modal-body .socials {
  display: flex;
  margin-top: 16px;
  flex-wrap: wrap;
  margin-top: 0px;
}

.modal-body .socials .fa-discord,
.modal-body .socials .fa-tiktok,
.modal-body .socials .fa-telegram,
.modal-body .socials .fa-youtube,
.modal-body .socials .fa-envelope {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 10px;
  margin-top: 10px;
}

.modal-body .socials .fa-discord {
  background-color: #3f51b5;
}

.modal-body .socials .fa-tiktok {
  background-color: #010101;
}

.modal-body .socials .fa-telegram {
  background-color: #0088cc;
}

.modal-body .socials .fa-youtube {
  background-color: red;
}

.modal-body .socials .fa-envelope {
  background-color: #4385f6;
}

.modal-body .socials .fa-discord:hover,
.modal-body .socials .fa-tiktok:hover,
.modal-body .socials .fa-telegram:hover,
.modal-body .socials .fa-youtube:hover,
.modal-body .socials .fa-envelope:hover {
  width: 80px;
}

.btn-secondary {
  color: white;
  font-size: 20px;
  padding: 10px 30px;
  background-color: #4e5058;
  margin-left: 10px;
  border-radius: 5px;
  /* cursor: pointer; */
  border: none;
  outline: none;
}

.btn-secondary:hover {
  background-color: #6d6f78;
}

.btn-secondary:active {
  background-color: #82858f;
}

/* ---------------- Main ---------------- */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30vh;
  padding-bottom: 2%;
  height: auto;
  min-width: 100%;
  z-index: 998;
}

.main img {
  display: flex;
  width: 250px;
  border-radius: 10%;
  border: 1px solid #363636;
  animation: mainimg 4s infinite ease-in-out;
}

@keyframes mainimg {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1)
  }
}

.main .testo {
  margin-left: 50px;
}

.main .testo .text-main {
  color: var(--text);
  font-size: 50px;
  font-weight: 700;
  display: inline-block;
  transition: .5s;
  transform-origin: right;
  transform: scaleX(1);
}

.main .testo .p-main {
  color: var(--text);
  font-size: 20px;
}

.main .bottoni {
  margin-top: 30px;
  margin-left: 40px;
  z-index: 2;
}

.main .bottoni .duebottoni,
.main .bottoni .duebottoni2,
.duebottoni2 {
  position: relative;
  color: var(--text);
  font-size: 20px;
  padding: 10px 30px;
  background-color: var(--buttons);
  margin-left: 10px;
  border-radius: 10px;
  outline: none;
  border: 1px solid var(--buttons-hover);
  z-index: 100;
  cursor: pointer;
  transition: .4s;
  box-shadow: inset 0px 0 0 0 var(--buttonsb-hover);
}

.quasiultimo .bottoni .duebottoni2 {
  box-shadow: inset 0px 0 0 0 var(--buttons2b-hover);
}

.main .bottoni .duebottoni2 {
  background-color: var(--buttons2);
  border: 1px solid var(--buttons2-hover);
  color: white;
  box-shadow: inset 0px 0 0 0 var(--buttons2b-hover);
}

.main .bottoni .duebottoni2:hover,
.quasiultimo .bottoni .duebottoni2:hover {
  transform: scale(0.95);
  box-shadow: inset 170px 0 0 0 var(--buttons2b-hover);
  border: 1px solid var(--buttons2b-hover);
}

.main .bottoni .duebottoni:hover,
.quasiultimo .bottoni .duebottoni:hover {
  color: var(--textb);
  transform: scale(0.95);
  box-shadow: inset 280px 0 0 0 var(--buttonsb-hover);
}

/* ---------------------------------------------------------------- Scheggia ---------------------------------------------------------------- */

.scheggia-zeldenref {
  border-radius: 13px;
  border: 2px solid #ffffff00;
  margin: 20px;
}

.scheggia-zeldenref:hover {
  border: 2px solid var(--text);
}

.modaller-margin {
  width: 100%;
  display: flex;
  justify-content: center;
}

.modaller2 {
  position: relative;
  display: flex;
  min-width: 57%;
  padding-top: 5%;
  padding-bottom: 4%;
  border-radius: 10px;
  background-image: linear-gradient(70deg, #12131a, #1f202c);
  box-shadow: 0 0 20px 0 #5858588e;
  z-index: 1;
}

.modaller-body2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  outline: none;
  border: none;
  margin-left: 64px;
  margin-right: 64px;
}

.modaller2 .modaller-body2 .modaller-text2 {
  font-weight: 600;
  z-index: 1;
}

.modaller2 .modaller-body2 .modaller-p2 {
  z-index: 1;
}

.modaller2 .modaller-body2 .modaller-image2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 95%;
  width: 100%;
  opacity: .4;
}

/* ---------------------------------------------------------------- Scheggia ---------------------------------------------------------------- */

.content {
  flex-direction: column;
}


/* Application */

#unisciti {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--nav);
  min-height: 45vh;
  /* Mantieni uguale a back-wrapper */
  padding-top: 2%;
  padding-bottom: 2%;
  margin-bottom: 50px;
}

.applicationbutton {
  font-size: 20px;
  padding: 10px 80px;
  background-color: var(--buttons);
  border-radius: 5px;
  outline: none;
  border: 1px solid var(--buttons-hover);
  cursor: pointer;
  transition: .4s;
  box-shadow: inset 0px 0 0 0 var(--buttonsb-hover);
}

.applicationbutton:active {
  transform: scale(0.96);
}

.applicationbutton {
  background-color: var(--buttons2);
  border: 1px solid var(--buttons2-hover);
  box-shadow: inset 0px 0 0 0 var(--buttons2b-hover);
}

.applicationbutton:hover {
  transform: scale(0.95);
  box-shadow: inset 300px 0 0 0 var(--buttons2b-hover);
  border: 1px solid var(--buttons2b-hover);
}

.text-center {
  color: var(--text);
}

.p-center {
  margin: 0;
  padding: 25px;
  color: var(--text);
  text-align: justify;
}

/* Application */

/* Main collapse */
.back-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 45vh;
  /* Stesso valore di #unisciti */
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 728px;
  margin: 0;
  padding: 0 20px;
  z-index: 50;
}

/* Titolo FAQ */
.faq {
  font-size: 35px;
  margin: 15px;
  margin-bottom: 30px;
  color: var(--text);
  text-align: center;
}

/* Accordion FAQ */
.parent-tab {
  margin-bottom: 8px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  border: 1px solid #2e3141;
  overflow: hidden;
}

.parent-tab label {
  background: var(--buttons);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: background 0.3s ease;
}

.parent-tab label:hover {
  background: var(--buttons-hover);
}

.parent-tab label span {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

/* Icona con transizione per apertura e chiusura */
.parent-tab label .icon {
  position: relative;
  height: 30px;
  width: 30px;
  font-size: 15px;
  color: var(--text);
  display: block;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.parent-tab label .icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ruota l'icona quando il checkbox è selezionato */
.parent-tab input:checked~label .icon {
  transform: rotate(-135deg);
}

/* Contenitore FAQ con transizione fluida sia in apertura che in chiusura */
.faq-content {
  max-height: 0;
  overflow: hidden;
  background: var(--nav);
  transition: max-height 0.4s ease;
}

/* Quando il checkbox è attivo, espandi il contenitore */
.parent-tab input:checked~.faq-content {
  max-height: 300px;
  /* Modifica questo valore se il contenuto è più alto */
}

/* Wrapper interno con padding fisso */
.faq-inner {
  padding: 25px 30px;
}

.faq-inner p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

/* Nascondi i checkbox */
input[type="checkbox"] {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .wrapper {
    padding: 0 10px;
  }

  .parent-tab label {
    padding: 15px 20px;
  }

  .faq-inner {
    padding: 15px 20px;
  }
}


/* Cards */
.tante-card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  z-index: 5;
  width: 80%;
  cursor: default;
  margin-top: 5%;
}

.tante-card .carta {
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 5%;
  padding-bottom: 8%;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 1px solid var(--buttons-hover);
  background-color: var(--nav);
  box-shadow: 0 0px 40px 0 #20202021;
  margin-bottom: 40px;
}



.tante-card .carta a {
  position: absolute;
  color: white;
  border: none;
  background-color: var(--buttons2);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: .4s;
  box-shadow: inset 0px 0 0 0 var(--buttons2b-hover);
}

.tante-card .carta a:hover {
  transform: scale(0.95);
  box-shadow: inset 300px 0 0 0 var(--buttons2b-hover);
}

.tante-card .carta a:active {
  background-color: var(--buttons2-active);
}

.tante-card .carta h1 {
  margin-bottom: 30px;
  color: var(--text);
}

.tante-card .carta .content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tante-card .carta .content .box {
  border-radius: 15px;
  width: 450px;
  transform: scale(.9) perspective(2500px) rotateX(23deg) rotateY(23deg) rotate(-9.8deg) translateX(-15px);
  box-shadow:
    -20px 20px 15px #0000004d,
    -10px 10px 10px #00000026;
  margin-right: 0px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tante-card .carta .content .box:hover {
  transform: scale(1) perspective(2500px) rotateX(0deg) rotateY(0deg) rotate(0deg) translateX(0px);
  box-shadow:
    0px 20px 25px #00000033,
    0px 15px 20px #0000001a;
  margin-right: 0px;
}




.tante-card .carta p {
  color: var(--text);
  margin-top: 40px;
  font-size: 20px;
}

@media (max-width: 1122px) {
  .tante-card .carta {
    padding-bottom: 12%;
  }

  .tante-card .carta .content .box {
    margin-left: -10px;
    width: 400px;
  }

  .tante-card .carta .content h1 {
    font-size: 28px;
  }

  .tante-card .carta .content p {
    font-size: 18px;
  }

  .tante-card .carta a {
    font-size: 16px;
  }
}

@media (max-width: 890px) {
  .tante-card .carta {
    padding-bottom: 12%;
  }

  .tante-card {
    width: 90%;
  }
}

@media(max-width: 562px) {
  .tante-card .carta {
    padding-bottom: 20%;
  }

  .tante-card .carta .content .box {
    width: 300px;
    border-radius: 10px;
  }

  .tante-card .carta .content p {
    font-size: 15px;
    margin-top: 20px;
    /* width: 110%; */
  }

  .tante-card .carta .content h1 {
    font-size: 25px;
  }

  .tante-card .carta a {
    position: initial;
    font-size: 12px;
    min-width: 100%;
    /* Scegli una larghezza adeguata */
    display: inline-block;
    width: fit-content;
    /* Impedisce ridimensionamenti strani */
    margin: 0;
    text-align: center;
    justify-content: center;
  }

  .tante-card .carta a:hover {
    box-shadow: inset 380px 0 0 0 var(--buttons2b-hover);
  }
}

@media(max-width: 368px) {
  .tante-card .carta {
    padding-top: 10%;
  }

  .tante-card .carta .content .box {
    width: 250px;
  }

  .tante-card .carta .content h1 {
    font-size: 20px;
  }
}

@media(max-width: 338px) {
  .tante-card .carta .content .box {
    width: 200px;
  }
}

@media(max-width: 276) {
  .tante-card .carta .content .box {
    width: 150px;
  }
}

/* Server */
.wrappera {
  position: relative;
  display: flex;
  width: 100%;
  padding-top: 7%;
  padding-bottom: 5%;
  z-index: 10;
  flex-wrap: wrap;
  cursor: default;
  justify-content: center;
}

.wrappera .containera {
  min-width: 20%;
  padding: 5vmin;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  border-radius: 16px;
}

.wrappera i {
  color: var(--text);
  font-size: 2.5em;
  text-align: center;
}

.wrappera span.num {
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 3em;
}

.wrappera span.text {
  color: var(--text);
  font-size: 1em;
  text-align: center;
  pad: 0.7em 0;
  font-weight: 400;
  line-height: 0;
}

@media (max-width: 743px) {
  .wrappera {
    flex-direction: column;
  }
}

@media (max-width: 467px) {
  .wrappera .container {
    padding-bottom: 3em;
    padding-top: 3em;
  }

  .wrappera i {
    font-size: 2em;
  }

  .wrappera span.num {
    font-size: 2em;
  }
}

/* RESET BASE */
.larger-servers * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SEZIONE PRINCIPALE */
.larger-servers {
  width: 100%;
  padding: 40px 20px;
  background-color: var(--navbar);
}

/* TITOLO */
.larger-servers-title {
  color: var(--text);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.larger-servers-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
}

/* GRIGLIA SERVER */
.servers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD SERVER */
.server-card {
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--nav);
  border: 1px solid var(--buttons-hover);
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  min-height: 90px;
}

.server-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* IMMAGINE SERVER */
.server-icon {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
}

/* CONTENUTO TESTO */
.server-content {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
}

.server-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline;
  /* Per la sottolineatura */
  position: relative;
}

.server-name::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.2s ease;
}

.server-card:hover .server-name::after {
  width: 100%;
}

.server-members {
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ICONA COLLABORAZIONE */
.collab-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .servers {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .server-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .larger-servers {
    padding: 30px 15px;
  }

  .servers {
    grid-template-columns: 1fr;
  }

  .server-card {
    min-height: 80px;
  }
}

/* Fine */
.quasiultimo {
  width: 100%;
  padding-top: 15%;
  padding-bottom: 10%;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.quasiultimo .stelle {
  position: absolute;
  display: flex;
  width: 20%;
  opacity: .2;
  z-index: 1;
  animation: stelle 16s infinite;
}

@keyframes stelle {
  0% {
    opacity: .2;
  }

  50% {
    opacity: .5;
  }

  100% {
    opacity: .2;
  }
}

.quasiultimo h1 {
  color: var(--text);
  width: 30%;
  font-weight: 700;
  z-index: 2;
  margin-bottom: 30px;
}

.quasiultimo .bottoni {
  margin-left: 40px;
  z-index: 2;
}

.quasiultimo .bottoni .duebottoni,
.quasiultimo .bottoni .duebottoni2 {
  color: var(--text);
  font-size: 20px;
  padding: 10px 30px;
  background-color: var(--buttons);
  margin-left: 10px;
  border-radius: 10px;
  /* cursor: pointer; */
  border: 1px solid var(--buttons-hover);
}

.quasiultimo .bottoni .duebottoni2 {
  background-color: var(--buttons2);
  border: 1px solid var(--buttons2-hover);
  color: white;
}

/* Modal */
.modaller {
  position: relative;
  display: flex;
  width: 100%;
  padding-top: 5%;
  padding-bottom: 4%;
  border-radius: 10px;
  background-image: linear-gradient(70deg, #12131a, #1f202c);
  box-shadow: 0 0 20px 0 #5858588e;
  z-index: 1;
}

.modaller-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  outline: none;
  border: none;
  margin-left: 64px;
}

.modaller .modaller-body .modaller-text {
  width: fit-content;
  font-weight: 600;
  z-index: 1;
}

.modaller .modaller-body .modaller-p {
  width: fit-content;
  z-index: 1;
}

.modaller .modaller-body .modaller-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 95%;
  width: 100%;
  opacity: .4;
}

.modaller .modaller-body .butsoni {
  width: 200px;
  color: white;
  font-size: 20px;
  padding: 10px 0px;
  background-color: #ffffff2d;
  margin: 0;
  border-radius: 5px;
  outline: none;
  border: none;
  z-index: 100;
  cursor: pointer;
  transition: .4s;
}

.modaller .modaller-body .butsoni:hover {
  transform: scale(0.95);
  border: none;
}




/* -------------------------------- Beta Program -------------------------------- */
/* Stile per il banner della Beta */
.beta-banner {
  background-color: var(--nav);
  padding: 40px 20px;
  text-align: center;
  /* border-top: 3px solid #f55138; */
  margin-bottom: 50px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
  width: 100%;
}

.beta-banner-content {
  margin: 0 auto;
}

.beta-banner h2 {
  color: var(--text);
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
}

.beta-banner p {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 25px;
}

.beta-button {
  background-color: #f55138;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.beta-button:hover {
  background-color: #e04a32;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(245, 81, 56, 0.4);
}



/* -------------------------------- Footer -------------------------------- */
footer {
  width: 100%;
  background: var(--nav);
}

footer h6 {
  color: var(--text);
  text-align: left;
  margin-top: 60px;
}

footer a {
  color: #697179;
  text-decoration: underline;
  cursor: pointer;
}

footer p {
  text-align: left;
}



/* -------------------------------- Responsives -------------------------------- */
@media (max-width: 1081px) {

  .main {
    display: flex;
    flex-direction: column;
  }

  .main img {
    margin-bottom: 50px;
  }

  .main .testo {
    text-align: center;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .main .bottoni {
    display: flex;
    justify-content: center;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .faq {
    font-size: 28px;
    margin: 15px;
    margin-bottom: 30px;
    color: var(--text);
    text-align: center;
  }

  .quasiultimo {
    display: flex;
    flex-direction: column;
    height: 50vh;
  }

  .quasiultimo h1 {
    width: 90%;
  }

  .quasiultimo .bottoni {
    margin-left: 0;
  }

  nav ul li a {
    font-size: 16px;
  }

  .modaller-body2 .modaller-text2 {
    font-size: 30px;
  }

  .modaller-body2 .modaller-p2 {
    font-size: 14px;
  }
}

@media (max-width: 991px) {

  .modaller-body .modaller-text {
    margin-top: 10px;
    font-size: 30px;
  }

  .modaller-body .modaller-p {
    font-size: 15px;
  }

  .modaller .modaller-body .butsoni {
    font-size: 15px;
  }
}

@media (max-width: 575px) {

  .modaller {
    width: 90%;
    margin-left: 5%;
  }

  .modaller-body {
    margin-left: 33px;
    margin-right: 33px;
  }

  .modaller-body .modaller-text {
    font-size: 25px;
  }

  .modaller-body .modaller-p {
    font-size: 15px;
  }

  .modaller .modaller-body .butsoni {
    font-size: 15px;
    margin-bottom: 10px;
  }
}

@media (max-width: 992px) {

  * {
    cursor: default;
  }

  .circle {
    display: none;
  }

  nav {
    display: flex;
    justify-content: space-between;
    min-height: 6vh;
  }

  nav .imgandtheme {
    margin-right: 40px;
  }

  nav img {
    width: 60px;
  }

  nav ul li {
    display: none;
  }

  .dropbtn {
    background-color: #00000000;
    color: var(--text);
    font-size: 26px;
    padding: 10px 15px;
    border: none;
    /* cursor: pointer; */
  }

  .dropdown1 {
    display: none;
  }

  .dropdown {
    position: relative;
    display: inline-block;
    margin-left: 40px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--nav);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

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

  .dropdown-content a:hover {
    background-color: #6d6f78
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: #4e5058;
  }

  .main img {
    width: 30%;
  }

  .main .testo .text-main {
    font-size: 30px;
    margin-bottom: 10px
  }

  .main .testo .p-main {
    font-size: 15px;
  }

  .main .bottoni .duebottoni {
    width: auto;
    text-align: center;
    font-size: 15px;
  }

  .main .bottoni .duebottoni2 {
    width: auto;
    text-align: center;
    font-size: 15px;
  }

  .modaller-body2 .modaller-text2 {
    margin-top: 10px;
    font-size: 25px;
  }

  .modaller-body2 .modaller-p2 {
    font-size: 13px;
  }

  /* .wrapper {
    margin-top: 30px;
  } */

  .quasiultimo {
    padding-top: 25%;
    padding-bottom: 20%;
  }

  .quasiultimo h1 {
    font-size: 25px;
  }

  .quasiultimo .bottoni {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .quasiultimo .stelle {
    width: 40%;
  }

  footer {
    flex-direction: column-reverse;
  }

  footer h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }
}

@media (max-width: 667px) {
  .main .bottoni {
    flex-wrap: wrap;
  }

  .main .bottoni .duebottoni,
  .main .bottoni .duebottoni2 {
    margin-top: 10px;
  }
}

@media (max-width: 547px) {
  .modaller-body2 {
    margin-left: 35px;
    margin-right: 35px;
  }

  .modaller-body2 .modaller-text2 {
    margin-top: 10px;
    font-size: 22px;
  }

  .modaller-body2 .modaller-p2 {
    font-size: 12px;
  }
}

@media (max-width: 429px) {
  .modaller-body2 {
    margin-left: 32px;
    margin-right: 32px;
  }

  .modaller-body2 .modaller-text2 {
    margin-top: 10px;
    font-size: 19px;
  }

  .modaller-body2 .modaller-p2 {
    font-size: 11px;
  }
}

@media (max-width: 317px) {
  .main .bottoni .duebottoni {
    font-size: 13px;
  }
}

@media (max-width: 252px) {
  .dropbtn {
    margin-left: -20px;
  }

  nav .imgandtheme img:nth-child(1) {
    width: 50px;
  }
}




.wrappers {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 365px;
  background: var(--nav);
  padding: 25px 25px 30px 25px;
  border-radius: 15px;
  box-shadow: 1px 7px 14px -5px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 10000;
}

.wrappers.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.wrappers img {
  max-width: 90px;
}

.wrappers .content header {
  font-size: 25px;
  font-weight: 600;
  color: var(--text);
}

.wrappers .content {
  margin-top: 10px;
}

.wrappers .content p {
  color: var(--text);
  margin: 5px 0 20px 0;
}

.wrappers .content .buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrappers .buttons button {
  padding: 10px 20px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  background: var(--buttons2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wrappers .buttons button:hover {
  transform: scale(0.97);
}

.wrappers .buttons .item {
  margin: 0 10px;
}

.wrappers .buttons a {
  color: var(--buttons2);
}

@media (max-width: 422px) {
  .wrappers {
    transform: scale(.8);
  }
}


/* Transizione solo per gli elementi essenziali */
body {
  transition: background-color 0.3s ease !important;
}