:root {
  --bg-image: url('assets/mio-sfondo.jpg') no-repeat center center fixed;
  --bg-size: cover;
}

* { margin:0; padding:0; box-sizing:border-box; font-family: 'Segoe UI', system-ui, sans-serif; }

body {
  background: var(--bg-image);
  background-size: var(--bg-size, auto);
  color: #ecf5ff;
  min-height: 100vh;
  padding: 18px;
  line-height: 1.6;
}

.glass {
  background: rgba(20, 20, 35, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 26px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1000;
}

/* ===== LOGO PICCOLO ===== */
.logo {
  display: flex;
  align-items: center;
}

.logo-header {
  height: 40px;
  width: auto;
  display: block;
}

.menu-wrapper {
  display: flex;
  align-items: center;
}

.hamburger {
  background: none;
  border: none;
  font-size: 30px;
  color: #ecf5ff;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  display: none;
  z-index: 1001;
}
.hamburger:hover { color: #22d1f8; }

.dropdown-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  z-index: 9999;
}
.dropdown-menu a {
  color: #c4d6ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  transition: 0.2s;
  white-space: nowrap;
}
.dropdown-menu a:hover { color: #22d1f8; }

.connect-btn {
  background: #22d1f8;
  border: none;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  color: #0b1022;
  cursor: pointer;
  transition: 0.2s;
}
.connect-btn:hover { background: #39d0d8; transform: scale(1.02); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px 0;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    z-index: 9999;
  }
  .dropdown-menu.open { display: flex; }
  .dropdown-menu a {
    padding: 14px 22px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 16px;
  }
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 50px 24px;
  margin-bottom: 44px;
}

.warning-banner {
  background: rgba(255, 80, 80, 0.12);
  color: #ff8a8a;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 28px;
  font-size: 14px;
  border: 1px solid rgba(255,80,80,0.15);
}

/* ===== TITOLI COLORATI ===== */

/* LAUNCHCOIN – fucsia/rosa */
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.3);
}

/* Solana Token Creator – viola come LaunchCoin (prima) */
.subtitle {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #7c3aed, #8c6eef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

/* from concept to token... – bianco/azzurro */
.sub-subtitle {
  font-size: 20px;
  color: #c4d6ff;
  margin-bottom: 30px;
}
.cta {
  font-size: 18px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #22d1f8, #39d0d8);
  border: none;
  border-radius: 60px;
  font-weight: 700;
  color: #0b1022;
  cursor: pointer;
  transition: 0.3s;
}
.cta:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(34,209,248,0.3); }

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  font-size: 18px;
}
.stat-item .token-name {
  display: block;
  color: #22d1f8;
  font-weight: 600;
}
.stat-item small {
  display: block;
  font-size: 13px;
  color: #8899bb;
  line-height: 1.4;
  margin-top: 4px;
}

/* ===== RESTO INVARIATO ===== */
.how-to {
  max-width: 840px;
  margin: 44px auto;
  padding: 36px 40px;
}
.how-to h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #22d1f8;
}
.lead {
  font-size: 17px;
  color: #abc4ff;
  margin-bottom: 24px;
  line-height: 1.7;
}
.how-to ul {
  list-style: none;
}
.how-to li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 16px;
  line-height: 1.6;
}
.highlight {
  color: #8c6eef;
  font-weight: 600;
}
.winner {
  margin-top: 28px;
  font-size: 26px;
  font-weight: 700;
  color: #22d1f8;
}

.community {
  max-width: 840px;
  margin: 44px auto;
  padding: 36px 40px;
}
.community h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #22d1f8;
}
.community p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.community hr {
  margin: 28px 0;
  border-color: rgba(255,255,255,0.06);
}
.disclaimer {
  font-size: 14px;
  color: #99aacd;
  line-height: 1.7;
}
.support {
  color: #22d1f8;
  font-weight: 500;
  margin-top: 16px;
}

.container {
  max-width: 740px;
  margin: 28px auto 50px;
  padding: 36px 40px;
}
.container h2 {
  font-size: 32px;
  margin-bottom: 6px;
  color: #22d1f8;
}
.sub {
  color: #abc4ff;
  margin-bottom: 24px;
  font-size: 16px;
}
.step-indicator {
  font-size: 15px;
  color: #22d1f8;
  margin-bottom: 16px;
}
label {
  display: block;
  margin: 22px 0;
  font-weight: 500;
  font-size: 16px;
}
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 15px;
  margin-top: 4px;
  transition: 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #22d1f8;
  background: rgba(0,0,0,0.5);
  outline: none;
}
.hint {
  font-size: 13px;
  color: #667;
  margin: -6px 0 16px;
}
.nav-buttons {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}
button[type="button"] {
  background: linear-gradient(135deg, #22d1f8, #39d0d8);
  border: none;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  color: #0b1022;
  cursor: pointer;
  transition: 0.2s;
}
button[type="button"]:hover { transform: scale(1.02); box-shadow: 0 0 20px rgba(34,209,248,0.25); }

.options {
  margin: 24px 0;
}
.options p {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
}
.fee { color: #ff8a8a; font-size: 13px; }
.free { color: #4cdcc1; font-size: 13px; }

.liquidity-row {
  margin: 26px 0;
  background: rgba(0,0,0,0.2);
  padding: 18px 22px;
  border-radius: 18px;
}
.liquidity-row label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
}
.max { color: #22d1f8; font-size: 13px; }
.token-select {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.token-select select {
  width: auto;
  min-width: 90px;
  padding: 10px;
}
.token-select input { flex: 1; min-width: 140px; }
.usd-value { color: #8899bb; font-size: 13px; }

.price-display {
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.2);
  padding: 12px 18px;
  border-radius: 14px;
  margin-top: 4px;
  font-size: 15px;
}
.fee-row select { width: 100%; }

footer {
  text-align: center;
  padding: 28px;
  color: #667;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 44px;
}

.wallet-modal {
  max-width: 400px;
  margin: 70px auto;
  padding: 36px 28px;
  text-align: center;
}
.wallet-modal h2 {
  margin-bottom: 22px;
  font-size: 22px;
  color: #22d1f8;
}
.wallet-modal ul { list-style: none; padding: 0; }
.wallet-modal li { margin: 10px 0; }
.wallet-modal button {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  width: 100%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 12px 16px;
  border-radius: 40px;
  font-size: 15px;
}
.wallet-modal button img { width: 28px; height: 28px; object-fit: contain; }
.wallet-modal button:hover { background: rgba(255,255,255,0.12); }
.wallet-modal .back {
  background: transparent;
  color: #22d1f8;
  margin-top: 18px;
}

.faq-item {
  margin: 26px 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-item h3 {
  color: #22d1f8;
  margin-bottom: 6px;
  font-size: 19px;
}
.how-to-list {
  list-style: none;
  margin: 16px 0;
}
.how-to-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 16px;
}
/* ===== ICONE STATS (BONK, FLOKI, SHIB) ===== */
.stat-icon {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto 6px;
}

wcm-modal,
w3m-modal,
wcm-overlay,
[class*="walletconnect"] {
  z-index: 999999 !important;
  position: fixed !important;
}
