/* === BASE === */
body {
  margin: 0;
  padding: 0;
  font-family: "Orbitron", sans-serif;
  color: #fff;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #0a0a0f, #000000 85%);
}

.hidden {
  display: none !important; /* обязательно скрывает */
}

* {
  box-sizing: border-box;
}

/* === Контейнер формы === */
.container {
  max-width: 1100px; /* ширина побольше */
  margin: 40px auto;
  padding: 30px;
}

strong {
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}


/* Для оптимизации ввыклучил */
/* === CYBER AURA (пульсирующая дымка) === */
/* body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #8b5cf6 0%, transparent 70%),
              radial-gradient(circle at 30% 70%, #00ffe7 0%, transparent 70%),
              radial-gradient(circle at 70% 30%, #ec4899 0%, transparent 70%);
  background-size: 300% 300%;
  animation: pulseBg 20s ease-in-out infinite alternate;
  filter: blur(180px);
  opacity: 0.15;
  z-index: -2;
} */

/* @keyframes pulseBg {
  0% { background-position: 20% 30%; }
  50% { background-position: 80% 70%; }
  100% { background-position: 40% 20%; }
} */

/* === NEON GRID (Tron-сетка) === */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 231, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
}

/* Redium */
.raydium-card {
  background: rgba(20,20,20,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}
/* Для оптимизации ввыклучил */
/* .raydium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,255,231,0.3);
} */
.raydium-card h2 {
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.raydium-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: #0f0f0f;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.raydium-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}


/* affiliate-block */
.affiliate-title {
  text-align: center;
  margin-bottom: 2rem;
}
.affiliate-title p {
  font-size: 1.1rem;
  color: #bbb;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.referral-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.history-table th,
.history-table td {
  padding: 8px;
  text-align: left;
}

.table-wrapper {
  overflow-x: auto;
}
.table-wrapper {
  overflow-x: auto; /* скролл на маленьких экранах */
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px; /* чтобы на мобилке включался скролл */
}

.history-table th,
.history-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.history-table thead {
  background: #111;
}

.history-table .positive {
  color: #00ff9d;
  font-weight: bold;
}


/* support btn */
.support-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: #0f0f0f;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.support-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  font-weight: 800;
}
.logo span {
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}


#logoError {
  color: #ff4d6d;
  font-size: 0.9rem;
  margin-top: 8px;
  display: none;
}


/* === NAVIGATION === */
.nav a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 6px;
  white-space: nowrap;
}
.nav a.active,
.nav a:hover {
  color: #fff;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ffe7, #ec4899);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* === WALLET CARD === */
.wallet-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
}
.wallet-icon {
  width: 20px;
  height: 20px;
}
.copy-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}


/* 🔴 Дополнительный стиль для кнопки disconnect */
/* .disconnect-btn {
  color: #ff4d6d;         
  margin-left: 4px;         
} */
.disconnect-btn {
  color: #ff4d6d;           /* красный акцент */
  margin-left: 4px;         /* небольшой отступ от адреса */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;        /* убираем лишние отступы сверху/снизу */
  padding: 2px 4px;
}

/* Ховер на ПК */
.disconnect-btn:hover {
  color: #ff99aa;           /* светло-красный при наведении */
  background: rgba(255, 77, 109, 0.15); /* лёгкий фон */
  border-radius: 4px;
}


/* === CONNECT BUTTON === */
.connect-btn {
  padding: 10px 24px;
  border-radius: 8px;
  background: linear-gradient(270deg, #00ffe7, #8b5cf6, #ec4899);
  background-size: 600% 600%;
  border: none;
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: gradientFlow 6s ease infinite;
}
.connect-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 750px;
  margin: 2rem auto;
  padding: 0 1rem;
  z-index: 2;
  position: relative;
}



/* Для оптимизации ввыклучил */
/* === HEADINGS (с неоновой анимацией) === */
/* h1, h2 {
  text-align: center;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  animation: neonPulse 2.5s infinite alternate;
} */



h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
@keyframes neonPulse {
  from { text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
  to   { text-shadow: 0 0 20px rgba(236, 72, 153, 0.8); }
}

/* === CARDS === */
/* Карточка с формой */
.card {
  background: rgba(15, 15, 35, 0.85);
  padding: 40px; /* больше отступов */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.15);
}

/* Заголовок блока */
.card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #ff66cc;
  text-shadow: 0 0 15px rgba(255, 102, 204, 0.7);
}

/* Описание */
.desc {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 15px;
}

/* Грид для форм */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Upload box */
.upload-box {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 15px 0;
  cursor: pointer;
}
.upload-box:hover {
  border-color: #00ff9d;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input { display:none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #555;
  border-radius: 24px;
  transition: 0.3s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
input:checked + .slider {
  background: linear-gradient(90deg, #00ff9d, #ff4fd8);
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* Revoke grid */
.revoke-grid {
  display: flex;
  gap: 15px;
}
.revoke-card {
  flex: 1;
  background: rgba(0,0,0,0.5);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}
.revoke-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.revoke-card .fee {
  display: block;
  margin-top: 8px;
  color: #00ff9d;
  font-weight: bold;
}

/* Кнопка */
.launch-btn {
  margin-top: 20px;
  background: linear-gradient(90deg, #00ff9d, #ff4fd8);
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}
.launch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,0,255,0.3);
}






/* === FORMS === */
label {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}
input, textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
input:focus, textarea:focus {
  border-color: #a855f7;
  outline: none;
  box-shadow: 0 0 6px #a855f7;
}
textarea {
  min-height: 100px;
  resize: vertical;
}

/* === CHECKBOXES === */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 6px;
  background-color: #111;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  vertical-align: middle;
  margin-right: 6px;
}
input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: #a855f7;
}
input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 12px;
  color: white;
  font-weight: bold;
}

/* === BUTTONS === */
button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}
button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* === LOG AREA === */
#log {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  color: #00ff9d;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 2rem;
}

/* === PAGES === */
.page { display: none; }
.page.active { display: block; }

/* HERO */
/* === HERO SECTION === */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none; /* убрано свечение */
  margin-bottom: 1rem;
  /* text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);  */
}
.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none; /* убрано свечение */
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: #bbb; /* спокойный серый текст */
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
/* Подзаголовок в HERO */
.hero .subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}
/* WHAT ARE TOKENS section */
.tokens-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.tokens-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #bbb;
  max-width: 800px;
  margin: 0 auto;
}





/* === SUPPORT PAGE === */
.support-hero {
  text-align: center;
  padding-top: 40px;
}

.support-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #0a0a0a;
  background: linear-gradient(90deg,#00ffe7,#8b5cf6);
  box-shadow: 0 0 16px rgba(0,255,231,0.35);
  margin-bottom: 16px;
}

.support-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 8px 0 10px;
  background: linear-gradient(90deg,#ec4899,#8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.support-title .icon { filter: drop-shadow(0 0 10px rgba(236,72,153,0.6)); }






/* details summary — аккуратный FAQ */
details { background: rgba(0,0,0,0.25); border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
details[open] { background: rgba(0,0,0,0.35); }
summary {
  cursor: pointer;
  font-weight: 700;
  color: #e8eaff;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary:after { content: "▸"; margin-left: 8px; opacity: .6; }
details[open] summary:after { content: "▾"; }



.gradient-text {
  background: linear-gradient(90deg, #00ffe7, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  margin-top: 1rem;
  color: #bbb;
  font-size: 1.2rem;
}
.cta {
  margin-top: 2rem;
}
/* .cta-btn {
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cta-btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
} */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6, #ec4899);
  background-size: 200% 200%;
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.35);
  transition: all 0.3s ease;
}

/* hover-эффект */
.cta-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
  opacity: 0.95;
}


/* FEATURES */
.features {
  text-align: center;
  padding: 4rem 2rem;
}
.features h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.features .card {
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0); /* по умолчанию нет свечения */
}

.features .card:hover {
  background: rgba(0,0,0,0.85); /* чуть темнее при наведении */
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.6); /* неоновое свечение */
  transform: translateY(-6px); /* лёгкий подъём */
}
.card:hover{
  .card:hover {
  background: rgba(20, 20, 40, 0.9);   /* чуть ярче фон */
  transform: translateY(-3px);         /* лёгкий подъём */
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.25);
  transition: all 0.3s ease;
}

}
.features .card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* CTA FOOTER */
.cta-footer {
  text-align: center;
  padding: 4rem 2rem;
}
.cta-footer h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.cta-btn.big {
  font-size: 1.4rem;
  padding: 1.2rem 2.5rem;
}

/* FOOTER */
/* === FOOTER === */
/* .footer {
  background: rgba(10, 10, 25, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1rem;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: auto; 
} */
/* === FOOTER === */
.footer {
  background: rgba(10, 10, 25, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1rem;
  color: #aaa;
  font-size: 0.95rem;
  text-align: center;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

/* неоновая линия сверху */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00ffe7, #8b5cf6, #ec4899);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
}


/* контейнер */
.footer-container {
  max-width: 1200px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* вместо space-between */
  align-items: center;
  gap: 30px;                 /* равные отступы */
  text-align: center;
}


/* бренд */
.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

/* ссылки */
.footer-links,
.footer-social {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-social a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 6px;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a.active,
.footer-social a:hover,
.footer-social a.active {
  color: #fff;
}

.footer-links a::after,
.footer-social a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ffe7, #ec4899);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-links a:hover::after,
.footer-links a.active::after,
.footer-social a:hover::after,
.footer-social a.active::after {
  width: 100%;
}

/* нижняя часть */
.footer-bottom {
  margin-top: 1.5rem;
}

.footer-copy {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #666;
}



/* === PUBLIC/PRIVATE LINKS (Terms & Privacy) === */
.public-private {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

.public-private a {
  color: #aaa;
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s ease;
}

.public-private a:hover {
  color: #00ffcc; /* неоновый акцент при наведении */
  text-shadow: 0 0 6px rgba(0,255,204,0.6);
}



/* Для адаптива */


/* === HEADER === */
/* .header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
  width: 100%;
  box-sizing: border-box; 
} */
/* .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
} */
.header {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* .header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
} */
.header-container {
  display: flex;
  justify-content: space-between; /* делим на левую и правую стороны */
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

.header-left {
  display: flex;
  align-items: center;
}


/* .header-right {
  display: flex;
  align-items: center; 
  gap: 10px;            
  align-items: baseline;
} */
/* правая часть */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px; /* расстояние между кошельком и бургером */
}
/* Overlay для меню */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 99;
}
.overlay.active {
  display: block;
}


/* Контейнер */
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* ЛОГО */
.logo {
  max-height: 36px;
  height: auto;
  width: auto;
}
.brand {
  font-size: 2.2rem;
  font-weight: 900;
}

/* НАВИГАЦИЯ */
/* .nav {
  display: flex;
  gap: 40px;
  position: static;    
  transform: none;     
  margin: 0 auto;      
} */
/* навигация в центре */
.nav {
  flex: 1;                       /* занимает оставшееся место */
  display: flex;
  justify-content: center;       /* центрируем */
  gap: 40px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem; /* увеличил размер */
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #00ffcc;
  text-shadow: 0 0 6px rgba(0,255,204,0.8);
}

/* CONNECT Кнопка */
.connect-btn {
  background: linear-gradient(90deg, #00c6ff, #ff4ecd);
  border: none;
  padding: 16px 32px;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
}

/* БУРГЕР */
/* Чтобы кошелёк и бургер не вылазили */
.wallet-box, .burger {
  flex-shrink: 0;
}
/* Центрируем wallet-box */
/* .wallet-box {
  display: flex;
  justify-content: center;
  align-items: center;
} */

/* кошелёк */
.wallet-card {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;          
}
/*  */


/* .burger {
  display: flex;              
  align-items: center;        
  justify-content: center;    
  background: linear-gradient(90deg, #7f5cff, #ff4ecd);
  border: none;
  width: 40px;                
  height: 40px;              
  border-radius: 12px;
  font-size: 1.2rem;          
  color: white;
  cursor: pointer;
  margin-left: 8px;          
  padding: 0;                 
} */
/* бургер */
/* Бургер по умолчанию скрыт */
.burger {
  display: none;
}
/* .burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;          
  height: 40px;
  background: linear-gradient(90deg, #7f5cff, #ff4ecd);
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  padding: 0;
} */

/* Контейнер для выравнивания */
section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

/* Заголовки секций */
section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Текст */
section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto 30px auto;
}

/* FAQ */
.faq-item {
  margin: 20px 0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #ff4fd8;
}

.faq-item p {
  font-size: 1rem;
  color: #ccc;
}

/* === Контейнер формы === */
.container {
  max-width: 1100px; /* ширина побольше */
  margin: 40px auto;
  padding: 30px;
}

/* Карточка с формой */
.card {
  background: rgba(15, 15, 35, 0.85);
  padding: 40px; /* больше отступов */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.15);
}

/* Заголовок блока */
.card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #ff66cc;
  text-shadow: 0 0 15px rgba(255, 102, 204, 0.7);
}

/* === Grid Layout для двух колонок === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
  align-items: start;
}

/* Элементы формы */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / span 2;
}

.form-group label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #eee;
}

/* Инпуты и текстовые поля */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  height: 55px; /* выше */
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 25, 0.9);
  color: #fff;
  font-size: 1.05rem;
  transition: 0.25s ease;
  box-sizing: border-box;
}

/* textarea */
.form-group textarea {
  min-height: 150px;
  resize: none;
  line-height: 1.5;
  font-size: 1.05rem;
}

/* file-input */
input[type="file"] {
  height: auto;
  padding: 6px 0;
  font-size: 0.95rem;
}

/* Ховер/Фокус */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00ffcc;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}


/* Upload box img */
.upload-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* центр по горизонтали */
  border: 2px dashed rgba(0, 255, 157, 0.7);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-box:hover {
  border-color: #00ff9d;
  background: rgba(0, 255, 157, 0.05);
}
.upload-box.dragover {
  border-color: #ff66cc;
  background: rgba(255, 102, 204, 0.1);
}
.upload-box img {
  max-width: 100%;
}
.logo-preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

#logoPreview {
  max-width: 200px;
  max-height: 200px;
  border-radius: 12px;
}


/* адаптив */
@media (max-width: 980px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-card.highlight { order: -1; }
  .hero {
    padding: 4rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }
  .tokens-info h2 {
    font-size: 1.8rem;
  }
  .tokens-info p {
    font-size: 1rem;
  }
}

/* === МОБИЛЬНЫЙ АДАПТИВ === */
@media (max-width: 900px) {
  /* .nav {
    display: none;   
    margin: 0;       
  } */
  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;          
    height: 40px;
    background: linear-gradient(90deg, #7f5cff, #ff4ecd);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    padding: 0;
  }
  .header{
    margin-top: 15px;
  }
  .logo {
    max-height: 40px;  /* меньше, чтобы бургер и кошелёк были на одной линии */
  }
  .nav {
    display: none; /* скрыто по умолчанию */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 240px;
    background: rgba(10,10,20,0.95);
    padding: 80px 20px 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 200;
  }
  .nav.open {
    display: flex; /* показываем только когда JS добавит open */
    justify-content: flex-start;
  }
  .nav a {
    font-size: 1.2rem;
    color: #fff;
  }
  .burger {
    display: block;
    z-index: 101;
    margin: auto;
  }
  .wallet-box {
    margin-left: auto;
  }
  .wallet-card,
  .connect-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .header-container {
    justify-content: center;
    /* gap: 65px; равномерный зазор */
    display: flex;
    flex-direction: column;
  }

}

/* Адаптив */
@media (max-width: 768px) {
  /* .header {
    flex-wrap: wrap;
  } */
  .container {
    padding: 0 16px;        /* равные поля слева и справа */
  }
  .header-container {
    justify-content: center;
    gap: 5px;
  }
  .card h2{
    font-size: 1.2rem;
  }
  h1, h2 {
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;         /* не расползается по всей ширине */
    font-size: 27px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: auto;
  }
  .wallet-box {
    gap: 4px;
    /* width: 100%; */
    justify-content: center;
    /* margin-top: 10px; */
  }

  .disconnect-btn {
    font-size: 12px;
    margin-left: 2px;
    padding: 0 3px;
  }
  /* .header-left{
    display: flex;
    justify-content: flex-start;
  } */

  .wallet-card {
    padding: 2px 6px;
    font-size: 0.65rem;
    border-radius: 6px;
    background: rgba(20,20,20,0.8);
  }

  .wallet-card span {
    max-width: 60px; /* ещё меньше */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  .wallet-icon {
    width: 14px;
    height: 14px;
  }

  /* на мобилке скрываем только копирование, но оставляем крестик */
  .wallet-card .copy-btn:not(.disconnect-btn) {
    display: none;
  }

  .connect-btn {
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 12px;
    width: 150px;
    /* width: 40px; */
    height: 40px;
    margin: auto;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links,
  .footer-social {
    justify-content: center;
  }
  .affiliate-title p {
    padding: 0 8px;
    font-size: 1rem;
    line-height: 1.5;
  }
  .card {
    margin: 16px auto;       /* промежутки между карточками */
    padding: 20px;           /* внутри карточек побольше воздуха */
    max-width: 95%;          /* чуть уже экрана */
  }

  .referral-box {
    flex-direction: column;
    gap: 12px;
  }

  .referral-box input {
    width: 100%;
  }
  .hero {
    padding: 0rem 1rem;
  }
  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .hero .subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .cta-btn {
    display: inline-block;
    width: 100%;
    max-width: 260px;
    margin: 1rem auto 0;
    font-size: 1rem;
  }
  .tokens-info {
    padding: 1.5rem 1rem;
  }
  .tokens-info h2 {
    font-size: 1.4rem;
  }
  .tokens-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}


@media (max-width: 600px) {
  .referral-box {
    flex-direction: column;
    align-items: stretch;
  }
  .referral-box input {
    max-width: 100%;
  }
  .referral-box button {
    align-self: center;
    margin-top: 8px;
  }
  .history-table {
    font-size: 0.8rem;
  }
  .history-table th,
  .history-table td {
    padding: 6px;
  }
}

/* маленькие телефоны */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .subtitle {
    font-size: 0.9rem;
  }
  .tokens-info h2 {
    font-size: 1.2rem;
  }
  .tokens-info p {
    font-size: 0.85rem;
  }
}