/* ============================================
   MOON VOTE — Premium Design System
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background: #0d0a1a;
  color: #D4D3E8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(100, 20, 180, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(246, 49, 252, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(59, 255, 158, 0.06) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; background: #0d0a1a; }
::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(246, 49, 252, 0.4); }
::-webkit-scrollbar-thumb:hover { background: rgba(246, 49, 252, 0.6); }

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.25s; }
.anim-delay-3 { animation-delay: 0.4s; }
.anim-delay-4 { animation-delay: 0.55s; }
.anim-delay-5 { animation-delay: 0.7s; }

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: #0d0a1a;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.loading-spinner {
  text-align: center;
  position: relative;
  width: 80px;
  height: 80px;
}
.spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #F631FC;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.spinner-ring-2 {
  inset: 6px;
  border-top-color: #3BFF9E;
  animation-duration: 1.5s;
  animation-direction: reverse;
}
.spinner-ring-3 {
  inset: 12px;
  border-top-color: #FF88FF;
  animation-duration: 2s;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  color: #B8B7D4;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.loading-dots span {
  animation: dotBounce 1.5s ease-in-out infinite;
  display: inline-block;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ===== ERROR STATE ===== */
.error-state { margin-top: 160px; padding: 60px 0; position: relative; z-index: 1; }
.error-content { text-align: center; max-width: 500px; margin: 0 auto; }
.error-icon { font-size: 64px; margin-bottom: 20px; }
.error-content h2 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.error-content p { color: #B8B7D4; font-size: 16px; line-height: 1.5; }
.error-ca {
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.25);
  border-radius: 12px;
  color: #FF4D4D;
  font-family: monospace;
  font-size: 13px;
  word-break: break-all;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(97, 95, 129, 0.2);
  background: rgba(13, 10, 26, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.header_items {
  display: flex;
  align-items: center;
  padding: 18px 0;
}
.header_item:first-child { flex-shrink: 0; }
.header_item:last-child { margin-left: auto; }
.header_item_right { display: flex; align-items: center; gap: 24px; }
.header_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.header_logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: none;
}
.header_powered_badge {
  font-size: 11px;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #8a82a8;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.header_navs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header_nav_btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #D4D3E8;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}
.header_nav_btn:hover {
  background: rgba(246, 49, 252, 0.12);
  border-color: rgba(246, 49, 252, 0.3);
  color: #FF88FF;
  transform: translateY(-1px);
}

/* ===== MAIN ===== */
main { position: relative; z-index: 1; flex: 1; }

/* ===== INTRO SECTION ===== */
.intro {
  width: 100%;
  margin-top: 110px;
  padding-bottom: 40px;
}
.intro_blocks {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* Token Image (Left on desktop, Top on mobile) */
.intro_block_left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.token-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.token-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 49, 252, 0.2) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}
.intro_block_image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(246, 49, 252, 0.15);
  box-shadow:
    0 0 0 8px rgba(246, 49, 252, 0.05),
    0 0 60px rgba(246, 49, 252, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.intro_block_image:hover {
  transform: scale(1.03);
  box-shadow:
    0 0 0 10px rgba(246, 49, 252, 0.08),
    0 0 80px rgba(246, 49, 252, 0.25),
    0 24px 80px rgba(0, 0, 0, 0.5);
}
.intro_block_money {
  position: absolute;
  left: -180px;
  top: -40px;
  z-index: 0;
  max-width: 650px;
  width: 100%;
  pointer-events: none;
  opacity: 0.7;
}

/* RIGHT COLUMN */
.intro_block_right { flex: 1; min-width: 0; }
.intro_block_teg {
  color: #F631FC;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 999px;
  width: fit-content;
  background: rgba(246, 49, 252, 0.08);
  border: 1px solid rgba(246, 49, 252, 0.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.intro_block_coin {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 12px;
  padding-bottom: 6px;
  background: linear-gradient(135deg, #FF2DF2, #F937FF 40%, #FF88FF 80%, #fff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  word-break: break-word;
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.intro_block_tittle {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.intro_block_tittle span {
  background: linear-gradient(90deg, #FF2DF2, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.intro_block_subtittle {
  color: #9e9cbf;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.intro_block_subtittle span {
  background: linear-gradient(90deg, #FF2DF2, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* CONTRACT ADDRESS */
.intro_block_adress {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.intro_block_adress_tittle { color: #7a78a0; font-size: 14px; font-weight: 500; }
.intro_block_adress_copy {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 220px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.intro_block_adress_copy:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 49, 252, 0.2);
}
.intro_block_adress_copy_input {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: transparent;
  outline: none;
  border: none;
  width: 100%;
  cursor: pointer;
}
.intro_block_adress_copy_icon {
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}
.intro_block_adress_copy_icon:hover { opacity: 0.5; }
.copy-notification {
  position: absolute;
  top: 50%;
  right: -90px;
  transform: translateY(-50%) translateX(-10px);
  background: #2DE37D;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(45, 227, 125, 0.3);
}
.copy-notification.show {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* PROGRESS BAR */
.intro_block_progress { width: 100%; margin-top: 28px; }
.intro_block_progress_vs {
  font-size: 11px;
  font-weight: 700;
  color: #7a78a0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
.intro_block_progress_vs span { color: #3BFF9E; }
.intro_block_progress_vs .progress_vs_no { color: #FF4D4D; }
.intro_block_progress_texts {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.intro_block_progress_text {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.progress_text_yes { color: #3BFF9E; }
.progress_text_no { color: #FF4D4D; }

@property --yes-pct {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}

.intro_block_progress_rect {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(90deg, #0f5c35 0%, #3BFF9E var(--yes-pct, 50%), #FF4D4D var(--yes-pct, 50%), #6b1616 100%);
  overflow: visible;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4), 0 0 20px rgba(59, 255, 158, 0.1);
  transition: --yes-pct 0.6s ease;
}

@keyframes sparkPulse {
  0%, 100% { box-shadow: 0 0 12px #fff, 0 0 24px rgba(255,255,255,0.5); transform: scaleY(1); }
  50% { box-shadow: 0 0 20px #fff, 0 0 40px rgba(255,255,255,0.8); transform: scaleY(1.4); }
}
.intro_block_progress_rect_now {
  position: absolute;
  left: var(--yes-pct, 50%);
  top: -1px; bottom: -1px;
  width: 4px;
  margin-left: -2px;
  background: #fff;
  border-radius: 4px;
  pointer-events: none;
  animation: sparkPulse 2s infinite ease-in-out;
  transition: left 0.6s ease;
  z-index: 2;
}
.intro_block_progress_rect_caption {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #6d6b8d;
  text-align: center;
}
.intro_block_progress_rect_lost {
  margin-top: 4px;
  color: #6d6b8d;
  text-align: right;
  font-size: 11px;
  font-weight: 500;
}

/* BENEFIT BANNER */
.intro_block_benefit {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 255, 158, 0.06), rgba(246, 49, 252, 0.04));
  border: 1px solid rgba(59, 255, 158, 0.15);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.5;
}
.intro_block_benefit span { color: #3BFF9E; font-weight: 700; }
.intro_block_benefit .benefit_ticker {
  background: linear-gradient(90deg, #FF2DF2, #FF88FF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* VOTE BUTTONS */
.intro_block_buttons {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}
.intro_block_button {
  outline: none;
  border: none;
  cursor: pointer;
  flex: 1;
  padding: 18px 0;
  border-radius: 16px;
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* YES button — glowing pink */
.intro_block_button_yes {
  background: linear-gradient(180deg, #F937FF 0%, #D618C9 100%);
  box-shadow: 0 6px 28px rgba(249, 55, 255, 0.25), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
@keyframes btnShine {
  0% { transform: translateX(-150%) skewX(-25deg); }
  20%, 100% { transform: translateX(150%) skewX(-25deg); }
}
.intro_block_button_yes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  animation: btnShine 5s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.intro_block_button_yes:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(249, 55, 255, 0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.intro_block_button_yes:active { transform: translateY(-1px); }

/* NO button — subtle dark */
.intro_block_button_no {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9e9cbf;
  font-weight: 500;
}
.intro_block_button_no:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #D4D3E8;
  transform: translateY(-2px);
}

.intro_block_info {
  margin-top: 24px;
  color: #5a587a;
  font-size: 13px;
  line-height: 1.5;
  max-width: 600px;
}
.intro_block_info span {
  background: linear-gradient(90deg, #FF2DF2, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ===== STICKY CTA (mobile) ===== */
.sticky_cta_bar { display: none; }
@media (max-width: 799px) {
  .sticky_cta_bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent 0%, rgba(13, 10, 26, 0.98) 30%);
    pointer-events: none;
  }
  .sticky_cta_bar_btn {
    pointer-events: auto;
    width: 100%;
    max-width: 380px;
    padding: 16px 24px;
    border: none;
    border-radius: 16px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #FFF;
    background: linear-gradient(180deg, #F937FF, #D618C9);
    box-shadow: 0 6px 24px rgba(249, 55, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
  }
  .sticky_cta_bar_btn:hover { transform: translateY(-2px); }
  .sticky_cta_bar_btn:active { transform: translateY(0); }
}

/* ===== INFORMATIONS ===== */
.informations {
  width: 100%;
  margin-top: 80px;
  margin-bottom: 100px;
  position: relative;
  z-index: 1;
}
.informations_blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.informations_rect {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}
.informations_rect:hover { border-color: rgba(246, 49, 252, 0.15); }
.informations_rect_content { padding: 28px 24px; }
.informations_rect_recent {
  color: #8a88b0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.informations_rect_items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: none;
}
.informations_rect_items::-webkit-scrollbar { display: none; }
.informations_rect_item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s, border-color 0.3s;
}
.informations_rect_item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.informations_rect_item_content {
  padding: 14px 16px;
  display: flex;
  align-items: center;
}
.informations_rect_item_logo {
  width: 38px; height: 38px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.informations_rect_item_texts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 12px;
  min-width: 0;
}
.informations_rect_item_texts_adress {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.informations_rect_item_texts_yes { color: #3BFF9E; font-weight: 700; }
.informations_rect_item_texts_no { color: #FF4D4D; font-weight: 700; }
.informations_rect_item_texts_text {
  color: #6d6b8d;
  font-size: 12px;
  font-weight: 400;
}
.informations_rect_item_vote {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.informations_rect_item_vote_green { color: #3BFF9E; }
.informations_rect_item_vote_red { color: #FF4D4D; }
.informations_rect_why {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.informations_rect_lists {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  padding-left: 20px;
}
.informations_rect_list {
  color: #b0afc8;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
.informations_rect_list span {
  background: linear-gradient(90deg, #F937FF, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  padding: 40px 0;
  margin-top: auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer_items { display: flex; align-items: center; }
.footer_item:last-child { margin-left: auto; }
.footer_powered {
  color: #5a587a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer_item_text {
  margin-top: 12px;
  color: #4a486a;
  max-width: 550px;
  font-size: 13px;
  line-height: 1.5;
}
.footer_item_icons { display: flex; gap: 12px; }
.footer_item_icon img {
  height: 44px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}
.footer_item_icon img:hover { opacity: 1; transform: translateY(-2px); }
.footer_copy {
  margin-top: 40px;
  color: #3a3855;
  text-align: center;
  font-size: 13px;
}

/* ===== MODALS ===== */
.modal { display: none; }
.modal_overlay {
  width: 100%; height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.modal_rect {
  width: 680px;
  max-width: calc(100% - 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 17, 40, 0.95);
  backdrop-filter: blur(24px);
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(246,49,252,0.05);
}
.modal_rect_content {
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
}
.modal_rect_content::-webkit-scrollbar { display: none; }
.modal_rect_close {
  position: absolute;
  right: 20px; top: 20px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1;
}
.modal_rect_close:hover { opacity: 0.6; transform: rotate(90deg); }
.modal_rect_up { display: flex; align-items: center; }
.modal_rect_up_logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(246, 49, 252, 0.15);
}
.modal_rect_up_texts { margin-left: 16px; }
.modal_rect_up_text_tittle {
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
}
.modal_confirm_text {
  margin-top: 24px;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-weight: 600;
}
.modal_confirm_vote {
  background: linear-gradient(90deg, #3BFF9E, #2DE37D);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal_confirm_vote_no {
  background: linear-gradient(90deg, #FF4D4D, #E32D2D);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal_confirm_dots { display: inline-block; margin-left: 2px; }
.modal_confirm_dots span {
  animation: dotBounce 2s ease-in-out infinite;
  display: inline-block;
  color: #FF88FF;
}
.modal_confirm_dots span:nth-child(2) { animation-delay: 0.3s; }
.modal_confirm_dots span:nth-child(3) { animation-delay: 0.6s; }
@keyframes dotBounce {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.3; }
  35% { transform: translateY(-8px); opacity: 1; }
}
.modal_rect_main {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
}
.modal_rect_main_content { padding: 18px; }
.modal_rect_main_tittle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
  font-size: 17px;
  font-weight: 700;
}
.modal_xp_text {
  background: linear-gradient(90deg, #F937FF, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal_rect_main_text {
  margin-top: 12px;
  color: #6d6b8d;
  font-size: 14px;
  line-height: 1.5;
}
.modal_rect_text {
  margin-top: 24px;
  color: #8a88b0;
  font-size: 15px;
  line-height: 1.5;
}
.modal_rect_text_pink {
  background: linear-gradient(90deg, #F937FF, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.modal_rect_text_utc { color: #fff; font-weight: 600; }
.modal_rect_buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.modal_rect_button {
  outline: none; border: none; cursor: pointer;
  width: 100%;
  padding: 18px 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.04);
  color: #b0afc8;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.modal_rect_button:hover { background: rgba(255,255,255,0.07); transform: translateY(-1px); }
.modal_rect_button_yes {
  background: linear-gradient(180deg, #F937FF, #D618C9) !important;
  color: #FFF !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(249, 55, 255, 0.2);
}
.modal_rect_button_yes:hover { box-shadow: 0 10px 32px rgba(249, 55, 255, 0.35); }
.modal_rect_button_no {
  background: linear-gradient(180deg, #E32D2D, #781515) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(227, 45, 45, 0.2);
}

/* ===== INFO MODALS (About / Rewards) ===== */
.modal_rect_info { max-width: 620px; }
.info_modal_title {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.info_modal_body p {
  color: #b0afc8;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.info_modal_body p:last-child { margin-bottom: 0; }
.info_modal_body strong { color: #fff; }
.info_modal_body em { color: #9e9cbf; font-style: italic; }
.highlight_pink {
  background: linear-gradient(90deg, #F937FF, #FF88FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.highlight_white { color: #fff; font-weight: 600; }
.info_divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 24px 0;
}
.info_sub_title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.info_list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.info_list li { color: #b0afc8; font-size: 14px; line-height: 1.5; }
.info_disclaimer { color: #5a587a !important; font-size: 12px !important; line-height: 1.5 !important; }


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* TABLET & BELOW */
@media (max-width: 1199px) {
  .container { padding: 0 20px; }
  .intro_blocks {
    flex-direction: column;
    gap: 40px;
  }
  .intro_block_left { width: 100%; justify-content: center; }
  .intro_block_right { width: 100%; text-align: center; }
  .intro_block_image { width: 260px; height: 260px; }
  .intro_block_money { display: none; }
  .intro_block_coin { font-size: 36px; }
  .intro_block_teg { margin: 0 auto; }
  .intro_block_tittle { text-align: center; font-size: 28px; }
  .intro_block_subtittle { text-align: center; }
  .intro_block_adress { justify-content: center; }
  .intro_block_info { margin-left: auto; margin-right: auto; text-align: center; }
  .informations_blocks { grid-template-columns: 1fr; }
}

/* SMALL SCREEN */
@media (max-width: 799px) {
  .container { padding: 0 16px; }
  .header_items { padding: 14px 0; }
  .header_logo img { height: 28px; }
  .header_powered_badge { display: none; }
  .header_nav_btn { font-size: 13px; padding: 6px 14px; border-radius: 10px; }
  .intro { margin-top: 90px; }
  .intro_block_image { width: 220px; height: 220px; }
  .intro_block_coin { font-size: 28px; }
  .intro_block_tittle { font-size: 24px; }
  .intro_block_subtittle { font-size: 15px; }
  .intro_block_buttons { flex-direction: column; gap: 12px; }
  .intro_block_button { padding: 16px 0; font-size: 15px; }
  .footer_items {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
  .footer_item:last-child { margin-left: 0; }
  .footer_item_text { text-align: center; max-width: 100%; }
  .informations_rect_content { padding: 20px 16px; }
}

/* MOBILE */
@media (max-width: 499px) {
  .header_items { padding: 10px 0; }
  .header_logo img { height: 24px; }
  .header_navs { gap: 6px; }
  .header_nav_btn { font-size: 12px; padding: 6px 12px; }
  .intro { margin-top: 80px; }
  .intro_block_image { width: 180px; height: 180px; }
  .intro_block_coin { font-size: 24px; margin-top: 8px; }
  .intro_block_tittle { font-size: 20px; }
  .intro_block_subtittle { font-size: 14px; }
  .intro_block_adress_copy { padding: 6px 14px; max-width: 180px; }
  .intro_block_progress_text { font-size: 13px; }
  .intro_block_progress_vs { font-size: 10px; }
  .intro_block_benefit { font-size: 12px; padding: 10px 12px; }
  .intro_block_info { font-size: 12px; }
  .informations_rect_item_content { padding: 10px 12px; }
  .informations_rect_item_logo { width: 32px; height: 32px; }
  .informations_rect_item_texts_adress { font-size: 12px; }
  .informations_rect_item_texts_text { font-size: 11px; }
  .informations_rect_why { font-size: 18px; }
  .informations_rect_list { font-size: 14px; }
  .informations_rect_lists { padding-left: 16px; gap: 16px; }
  .modal_rect_content { padding: 20px; }
  .modal_rect_up { flex-direction: column; gap: 12px; }
  .modal_rect_up_texts { margin-left: 0; text-align: center; }
  .modal_rect_up_text_tittle { font-size: 18px; text-align: center; }
  .modal_confirm_text { font-size: 18px; }
  .modal_rect_main_tittle { font-size: 15px; }
  .modal_rect_text { font-size: 13px; }
  .modal_rect_button { font-size: 15px; padding: 16px 0; }
  .info_modal_title { font-size: 20px; }
  .footer_item_icons { flex-direction: column; gap: 8px; align-items: center; }
  .footer_item_icon img { height: auto; max-width: 150px; }
  .footer_copy { font-size: 11px; margin-top: 28px; }
}

/* LARGE DESKTOP */
@media (min-width: 1200px) {
  .intro_block_left { margin-right: 20px; }
}
@media (min-width: 1400px) {
  .intro_block_image { width: 360px; height: 360px; }
  .intro_block_coin { font-size: 56px; }
}


/* ============================================
   LANDING PAGE — NO CA PROVIDED
   ============================================ */
.landing-page {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0a1a;
  overflow: hidden;
}
.landing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(100, 20, 180, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(246, 49, 252, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 20%, rgba(59, 255, 158, 0.08) 0%, transparent 50%);
  animation: landingBgShift 12s ease-in-out infinite alternate;
}
@keyframes landingBgShift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.landing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 580px;
  padding: 32px 24px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.landing-logo {
  height: 50px;
  width: auto;
  margin-bottom: 32px;
  filter: brightness(1.1);
}
.landing-title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.landing-title span {
  background: linear-gradient(135deg, #FF2DF2, #FF88FF, #3BFF9E);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
}
.landing-subtitle {
  color: #8a82a8;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.landing-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 16px;
  border-radius: 16px;
  border: 2px solid rgba(246, 49, 252, 0.2);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.landing-input-wrap:focus-within {
  border-color: rgba(246, 49, 252, 0.5);
  box-shadow: 0 0 30px rgba(246, 49, 252, 0.15);
}
.landing-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: "Inter", monospace;
  font-size: 14px;
  padding: 16px 20px;
  letter-spacing: 0.02em;
}
.landing-input::placeholder {
  color: #5a587a;
}
.landing-submit {
  background: linear-gradient(180deg, #3BF78E, #1A9B4D);
  border: none;
  cursor: pointer;
  padding: 16px 24px;
  color: #0d0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.landing-submit:hover {
  background: linear-gradient(180deg, #4ffa9a, #23b85c);
}
.landing-submit:active {
  transform: scale(0.95);
}
.landing-hint {
  color: #5a587a;
  font-size: 12px;
  margin-bottom: 40px;
}
.landing-example {
  color: #8a82a8;
  cursor: pointer;
  transition: color 0.2s;
  word-break: break-all;
}
.landing-example:hover { color: #FF88FF; }
.landing-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.landing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #b0afc8;
  font-size: 13px;
  font-weight: 500;
}
.landing-feature-icon { font-size: 16px; }
.landing-input-error {
  animation: inputShake 0.5s ease-in-out;
  border-color: #FF4D4D !important;
}
@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ===== MOBILE LANDING ===== */
@media (max-width: 499px) {
  .landing-title { font-size: 26px; }
  .landing-subtitle { font-size: 14px; margin-bottom: 24px; }
  .landing-input { font-size: 12px; padding: 14px 14px; }
  .landing-submit { padding: 14px 18px; }
  .landing-features { gap: 10px; }
  .landing-feature { font-size: 12px; padding: 8px 12px; }
  .landing-logo { height: 36px; margin-bottom: 24px; }
}
@media (max-width: 799px) {
  .landing-hint { margin-bottom: 28px; }
}

/* ===== MOBILE INFO MODAL FIX ===== */
@media (max-width: 799px) {
  .modal_rect_info {
    max-width: calc(100% - 24px);
    max-height: 85vh;
    border-radius: 20px;
  }
  .modal_rect_info .modal_rect_content {
    padding: 24px 18px;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .info_modal_title {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .info_modal_body p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .info_sub_title {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .info_list li {
    font-size: 13px;
    line-height: 1.5;
  }
  .info_list {
    gap: 8px;
    padding-left: 16px;
    margin-bottom: 14px;
  }
  .info_divider { margin: 18px 0; }
  .info_disclaimer { font-size: 11px !important; }
}
@media (max-width: 499px) {
  .modal_rect_info .modal_rect_content {
    padding: 20px 14px;
  }
  .info_modal_title { font-size: 18px; margin-bottom: 14px; }
  .info_modal_body p { font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
  .info_list li { font-size: 12px; }
}