/* ==========================================================================
   Sol Incinerator - Clean Modern CSS (No Frameworks)
   ========================================================================== */

:root {
  color-scheme: dark;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #141414;
  --bg-card: #0a0a0a;
  --bg-card-row: rgba(26, 26, 26, 0.6);
  --bg-card-row-hover: rgba(36, 36, 36, 0.85);

  --text-white: #ffffff;
  --text-title: #e5e5e5;
  --text-muted: #d0d3da;
  --text-dim: #788181;
  --text-nav: #4f4f4f;
  --text-nav-hover: #ffffff;

  --accent-purple: #9945ff;
  --accent-blue: #64a8f2;
  --accent-cyan: #14f195;
  --accent-green: #14f195;
  --accent-status-green: #14f195;
  --accent-orange: #ff8052;

  --gradient-primary: linear-gradient(225deg, #14F195 16.12%, #64A8F2 49.58%, #9945FF 83.36%);
  --gradient-btn: linear-gradient(90deg, #14F195 0%, #80ECFF 40.1%, #9945FF 100%);
  --gradient-text: linear-gradient(90deg, #14F195 0%, #80ECFF 35%, #9945FF 85%);
  --gradient-border: linear-gradient(90deg, rgba(20, 241, 149, 0.4), rgba(100, 168, 242, 0.4), rgba(153, 69, 255, 0.4));

  --border-subtle: 2px solid rgba(78, 83, 94, 0.3);
  --border-light: 1px solid #232323;
  --border-divider: 8px solid #151515;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1440px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Textured Matte Glassmorphism Design System */
  --glass-bg: rgba(12, 14, 20, 0.76);
  --glass-bg-hover: rgba(18, 20, 30, 0.88);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 255, 185, 0.35);
  --glass-blur: blur(22px) saturate(180%);
  --glass-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow-hover: 0 20px 48px -6px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 255, 185, 0.12), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-white);
  background-color: var(--bg-primary);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ultra-Minimalist Floating Glass Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background-color var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(20, 241, 149, 0.55);
}

::-webkit-scrollbar-thumb:active {
  background-color: rgba(20, 241, 149, 0.85);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Typography & Links */
a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: color var(--transition-normal);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Gradient Utilities */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* ==========================================================================
   Textured Matte Glassmorphism & Cursor Spotlight Effect
   ========================================================================== */
[data-spotlight] {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

/* Micro-Noise Texture Layer (Tactile Matte Glass Finish) */
[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

[data-spotlight]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    450px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(235, 0, 255, 0.14),
    rgba(0, 255, 185, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

[data-spotlight]:hover::before {
  opacity: 1;
}

[data-spotlight]:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-2px);
}

/* Tabular Numerals */
.stat_value,
.modal_detail_value,
.transactions_tabbles_tabble_text {
  font-variant-numeric: tabular-nums;
  -moz-font-feature-settings: "tnum";
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}

/* ==========================================================================
   Ambient Background Aurora Mesh & Floating Web3 Tokens
   ========================================================================== */
.ambient-aurora-mesh {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  contain: strict;
}

.solana-matrix-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 69, 255, 0.045) 1px, transparent 0),
    linear-gradient(90deg, rgba(153, 69, 255, 0.045) 1px, transparent 0);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 85%);
  pointer-events: none;
}

.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform, opacity;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.aurora-purple {
  top: -10vh;
  left: 10vw;
  width: 50vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(235, 0, 255, 0.12) 0%, rgba(235, 0, 255, 0.02) 55%, transparent 70%);
}

.aurora-cyan {
  top: 25vh;
  right: 6vw;
  width: 44vw;
  height: 44vh;
  background: radial-gradient(circle, rgba(0, 255, 185, 0.09) 0%, rgba(0, 255, 185, 0.02) 60%, transparent 75%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.aurora-blue {
  bottom: -12vh;
  left: 25vw;
  width: 50vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.07) 0%, rgba(235, 0, 255, 0.02) 50%, transparent 70%);
  animation-delay: -12s;
  animation-duration: 26s;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.38; }
  50% { transform: translate(3vw, 2vh) scale(1.05); opacity: 0.65; }
  100% { transform: translate(-2vw, -2vh) scale(0.96); opacity: 0.4; }
}

/* Floating Watermark Solana Tokens */
.ambient-token-watermark {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.038;
  filter: drop-shadow(0 0 25px rgba(0, 255, 185, 0.12));
}

.ambient-token-watermark svg {
  width: 100%;
  height: 100%;
}

.token-pos-1 {
  top: 15vh;
  left: 5vw;
  width: 80px;
  height: 80px;
  animation: watermark-float-1 24s ease-in-out infinite alternate;
}

.token-pos-2 {
  top: 45vh;
  right: 6vw;
  width: 100px;
  height: 100px;
  animation: watermark-float-2 28s ease-in-out infinite alternate;
}

.token-pos-3 {
  top: 75vh;
  left: 8vw;
  width: 90px;
  height: 90px;
  animation: watermark-float-1 26s ease-in-out 3s infinite alternate;
}

@keyframes watermark-float-1 {
  0% { transform: translateY(0) rotate(-18deg) scale(1); }
  50% { transform: translateY(-16px) rotate(-12deg) scale(1.04); }
  100% { transform: translateY(12px) rotate(-22deg) scale(0.97); }
}

@keyframes watermark-float-2 {
  0% { transform: translateY(0) rotate(22deg) scale(1); }
  50% { transform: translateY(18px) rotate(26deg) scale(1.05); }
  100% { transform: translateY(-14px) rotate(18deg) scale(0.96); }
}

/* ==========================================================================
   Header Navigation (Pinned at Top: 0)
   ========================================================================== */
header {
  width: 100%;
  height: 72px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 101;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

header .container {
  height: 100%;
}

.header_item {
  display: flex;
  align-items: center;
}

header.header-hidden {
  transform: translate3d(0, -100%, 0);
}

/* ==========================================================================
   Top Marquee Ticker Bar (Placed Directly Under Header)
   ========================================================================== */
.top-marquee-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  align-items: center;
  background: rgba(6, 7, 10, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  z-index: 100;
  white-space: nowrap;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  contain: strict;
  user-select: none;
  cursor: default;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-marquee-bar.header-hidden {
  transform: translate3d(0, calc(-100% - 72px), 0);
}

.marquee-runway {
  position: relative;
  width: 100%;
  height: 32px;
  overflow: hidden;
  contain: layout paint;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.marquee-runway.is-ready {
  opacity: 1;
}

.marquee-item {
  position: absolute;
  top: 0;
  left: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
}

.marquee-item strong {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1;
}

.marquee-item .m-usd {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
}

.m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.m-dot.green { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.m-dot.gold { background: #ffd700; box-shadow: 0 0 6px #ffd700; }
.m-dot.purple { background: var(--accent-purple); box-shadow: 0 0 6px var(--accent-purple); }
.m-dot.blue { background: #4a9eff; box-shadow: 0 0 6px #4a9eff; }

.header_items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.header_item_logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: left center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, text-shadow 0.25s ease;
}

.header_item_logo:hover {
  transform: scale(1.04);
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.header_item_logo:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.header_item_logo img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform, filter;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.header_item_logo:hover img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 8px rgba(0, 255, 185, 0.5));
}

.header_item_navs {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.header_item_nav a {
  color: #8e95a5;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.header_item_nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gradient-text);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
  pointer-events: none;
}

.header_item_nav a:hover {
  color: var(--text-white);
}

.header_item_nav.header_item_nav_active a {
  color: var(--text-white);
  font-weight: 600;
}

.header_item_nav.header_item_nav_active a::before {
  opacity: 1;
  transform: scaleX(1);
}

/* ==========================================================================
   Header Right Group
   ========================================================================== */
.header_right_group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Header Connect Wallet Button
   ========================================================================== */
.header_connect_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 255, 185, 0.12), rgba(235, 0, 255, 0.12));
  border: 1px solid rgba(0, 255, 185, 0.35);
  color: var(--text-white);
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.btn_text_short {
  display: none;
}

.header_connect_btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 185, 0.22), rgba(235, 0, 255, 0.22));
  border-color: rgba(0, 255, 185, 0.65);
  box-shadow: 0 4px 20px rgba(0, 255, 185, 0.25), 0 0 14px rgba(235, 0, 255, 0.2);
  transform: translateY(-1px);
}

.header_connect_btn:active {
  transform: translateY(0) scale(0.97);
}

.header_wallet_icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.header_connect_btn:hover .header_wallet_icon {
  transform: scale(1.12);
}

.mobile_drawer_actions {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile_drawer_connect_btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
}

.mobile_nav_toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mobile_nav_toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.hamburger_bar {
  width: 18px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile_nav_toggle.active .hamburger_bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile_nav_toggle.active .hamburger_bar:nth-child(2) {
  opacity: 0;
}

.mobile_nav_toggle.active .hamburger_bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile_nav_drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(9, 10, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  z-index: 102;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile_nav_drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile_nav_links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.mobile_nav_link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #c0c4cc;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.mobile_nav_link:hover,
.mobile_nav_link:focus {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}

@media (max-width: 899px) {
  .mobile_nav_toggle {
    display: flex;
  }
  .mobile_nav_drawer {
    display: block;
  }
}

/* ==========================================================================
   Hero Section (Main) & Canvas Ember Sparks
   ========================================================================== */
main {
  width: 100%;
  margin-top: 104px;
  padding: 60px 0 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.hero_canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.intro_items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.intro_item:first-child {
  flex: 1;
  max-width: 620px;
}

.intro_item:last-child {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Hero Protocol Grant Incentive Elements */
.hero_grant_note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: #8E95A5;
  line-height: 1.4;
}

.hero_grant_note svg {
  flex-shrink: 0;
  color: #14F195;
}

.hero_grant_note strong {
  color: #14F195;
  font-weight: 700;
}

.grant_note_wrap {
  display: inline;
}

.intro_item_tittle {
  color: var(--text-white);
  font-size: 82px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3.28px;
}

.intro_item_tittle span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro_item_text {
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.36px;
  max-width: 480px;
}

.intro_item_button {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.36px;
  text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), opacity var(--transition-fast);
  box-shadow: 0 8px 24px rgba(235, 0, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn_light_sweep {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-160%) skewX(-22deg);
  animation: btnSweep 4.5s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}

@keyframes btnSweep {
  0%, 65% { transform: translateX(-160%) skewX(-22deg); }
  100% { transform: translateX(260%) skewX(-22deg); }
}

.intro_item_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 255, 185, 0.35);
  opacity: 0.95;
}

.intro_item_button:active {
  transform: translateY(0);
}

.intro_item_image {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ==========================================================================
   Ecosystem Trust Bar
   ========================================================================== */
.trust_bar {
  width: 100%;
  padding: 36px 0;
  background: #050505;
  border-bottom: var(--border-divider);
}

.trust_bar_label {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.trust_bar_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.trust_logo_item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.88;
  transition: opacity var(--transition-normal), color var(--transition-normal), transform var(--transition-fast);
  cursor: default;
}

.trust_logo_item:hover {
  opacity: 1;
  color: var(--text-white);
  transform: translateY(-1px);
}

.trust_logo_item svg,
.trust_logo_item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform var(--transition-fast), filter var(--transition-normal);
}

.trust_logo_item:hover img,
.trust_logo_item:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(235, 0, 255, 0.4));
}

/* ==========================================================================
   Live Dynamic Stats Counters Section
   ========================================================================== */
.stats {
  width: 100%;
  padding: 60px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat_card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat_value_wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat_value {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.76px;
  color: var(--text-white);
  font-variant-numeric: tabular-nums;
}

.stat_unit {
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat_label {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.stat_sublabel {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   Security Architecture Diagram Section
   ========================================================================== */
.security {
  width: 100%;
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.security_tittle {
  color: var(--text-title);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2.56px;
}

.security_subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.security_diagram_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.security_card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.security_card_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.security_card_step {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(235, 0, 255, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(235, 0, 255, 0.3);
}

.security_card:last-child .security_card_step {
  background: rgba(0, 255, 185, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(0, 255, 185, 0.3);
}

.security_badge_tag {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
}

.security_card_tittle {
  margin-top: 24px;
  color: var(--text-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.44px;
}

.security_card_text {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.security_trust_guarantees {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.security_guarantee_item {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.security_guarantee_icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 255, 185, 0.1);
  border: 1px solid rgba(0, 255, 185, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.security_guarantee_content h4 {
  color: var(--text-white);
  font-size: 17px;
  font-weight: 600;
}

.security_guarantee_content p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}

/* ==========================================================================
   Infos Section
   ========================================================================== */
.infos {
  width: 100%;
  margin-top: 80px;
  margin-bottom: 120px;
}

.infos_up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.infos_up_block {
  width: 100%;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.infos_up_block:hover {
  transform: translateY(-2px);
}

.infos_up_block_content {
  padding: 48px 40px;
  position: relative;
  z-index: 2;
}

.infos_up_block_icon {
  width: 48px;
  height: 48px;
}

.infos_up_block_tittle {
  margin-top: 36px;
  color: var(--text-white);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.76px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.infos_up_block_tittle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.infos_up_block_tittle span img {
  width: 18px;
  height: 18px;
}

.infos_up_block_text {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.34px;
}

.infos_bottom {
  margin-top: 24px;
  width: 100%;
}

.infos_bottom .infos_up_block {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.infos_bottom .infos_up_block_content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.infos_up_block_bottom_tittle {
  color: var(--text-white);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.76px;
  margin-top: 36px;
}

.infos_up_block_bottom_tittle span {
  color: var(--accent-green);
}

.infos_up_block_image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 54%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  filter: drop-shadow(-8px 12px 28px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-normal);
}

.infos_bottom .infos_up_block:hover .infos_up_block_image {
  transform: scale(1.02);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how {
  width: 100%;
  padding: 100px 0;
  background: var(--bg-secondary);
}

.how_tittle {
  color: var(--text-title);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2.56px;
}

.how_blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.how_block {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.how_block:hover {
  transform: translateY(-4px);
}

.how_block_content {
  padding: 40px 32px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.how_block_icon {
  height: 56px;
  width: auto;
}

.how_block_tittle {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.12px;
}

.how_block_text {
  margin-top: 20px;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.32px;
  flex-grow: 1;
}

.how_block_step {
  color: var(--text-white);
  opacity: 0.7;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin-top: 32px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Transactions / Live Rewards Table Section (Premium Web3 Terminal)
   ========================================================================== */
.transactions {
  width: 100%;
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.transactions_header_wrap {
  text-align: center;
  margin-bottom: 40px;
}

.transactions_tittle {
  color: var(--text-title);
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.transactions_subtitle {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 580px;
  margin: 12px auto 0 auto;
  line-height: 1.5;
}

.live_badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 255, 185, 0.08);
  border: 1px solid rgba(0, 255, 185, 0.28);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 255, 185, 0.15);
}

.live_dot_wrapper {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.live_pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(0, 255, 185, 0.45);
  animation: livePulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@property --rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes solana-shimmer {
  0% { --rotation: 0deg; }
  100% { --rotation: 360deg; }
}

@keyframes eh-live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.65);
  }
  70% {
    opacity: 0.8;
    box-shadow: 0 0 0 7px rgba(20, 241, 149, 0);
  }
}

@keyframes livePulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Premium Card Wrapper */
.transactions_card_wrapper {
  width: 100%;
  background: rgba(10, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.transactions_terminal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal_header_left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal_signal_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14f195;
  animation: eh-live-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.terminal_title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.terminal_header_right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal_stat_pill {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal_pill_green {
  color: #00ffb9;
  background: rgba(0, 255, 185, 0.06);
  border-color: rgba(0, 255, 185, 0.2);
}

.transactions_tabbles {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.transactions_tabbles_tabble {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.transactions_tabbles_tabble_tittle {
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
  text-align: left;
}

tr:first-child .transactions_tabbles_tabble_tittle:first-child {
  padding-left: 22px;
}

tr:first-child .transactions_tabbles_tabble_tittle:last-child {
  text-align: right;
  padding-right: 22px;
}

.transactions_tabbles_tabble_line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  transition: background-color 0.18s ease;
  animation: txRowFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes txRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transactions_tabbles_tabble_line td {
  padding: 15px 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  vertical-align: middle;
}

.transactions_tabbles_tabble_line:hover td {
  background: rgba(0, 255, 185, 0.025);
}

.transactions_tabbles_tabble_line td:first-child {
  padding-left: 22px;
}

.transactions_tabbles_tabble_line td:last-child {
  padding-right: 22px;
  text-align: right;
}

/* Cell Micro-Components */
.tx_user_wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tx_wallet_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tx_user_wrapper:hover .tx_wallet_badge {
  transform: scale(1.08);
}

.tx_user_address {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.tx_reward_badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 255, 185, 0.07);
  border: 1px solid rgba(0, 255, 185, 0.24);
  color: #00ffb9;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(0, 255, 185, 0.35);
  box-shadow: 0 2px 8px rgba(0, 255, 185, 0.08);
}

.tx_block_num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #717686;
}

.tx_hash_wrapper {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8e95a5;
  transition: color var(--transition-fast);
  cursor: default;
}

.tx_hash_wrapper:hover {
  color: var(--accent-cyan);
}

.tx-time-cell {
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.transactions_tabbles_tabble_line .col-status {
  text-align: right;
  vertical-align: middle;
}

.transactions_tabbles_tabble_done {
  color: #00ffb9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 9999px;
  background: rgba(0, 255, 185, 0.08);
  border: 1px solid rgba(0, 255, 185, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(0, 255, 185, 0.12);
}

.transactions_tabbles_tabble_done svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: block;
}

.transactions_tabbles_tabble_done span {
  display: inline-block;
  line-height: 1;
}

.transactions_terminal_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-dim);
}

.terminal_footer_info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal_footer_info svg {
  color: #00ffb9;
  flex-shrink: 0;
}

.terminal_footer_verify {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8e95a5;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq {
  width: 100%;
  padding: 100px 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq_tittle {
  color: var(--text-title);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2.56px;
}

.faq_subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq_list {
  max-width: 960px;
  margin: 60px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq_item {
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq_item.faq_item_open {
  border-color: rgba(0, 255, 185, 0.3);
}

.faq_question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition-fast);
  position: relative;
  z-index: 2;
}

.faq_question:hover {
  color: var(--accent-cyan);
}

.faq_icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast);
}

.faq_item.faq_item_open .faq_icon {
  transform: rotate(45deg);
  background: rgba(0, 255, 185, 0.15);
  color: var(--accent-cyan);
}

.faq_answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.faq_item.faq_item_open .faq_answer {
  grid-template-rows: 1fr;
}

.faq_answer_inner {
  overflow: hidden;
}

.faq_answer_content {
  padding: 0 28px 28px 28px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  width: 100%;
  padding: 48px 0 56px 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer_up {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer_socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer_social_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.footer_social_link:hover {
  color: #14F195;
  background: rgba(20, 241, 149, 0.1);
  border-color: rgba(20, 241, 149, 0.3);
  transform: translateY(-2px);
}

.footer_copyright {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 20px;
}

.footer_legal_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.legal_link_btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.legal_link_btn:hover {
  color: #00ffb9;
  text-decoration-color: #00ffb9;
}

.legal_dot {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* ==========================================================================
   Compact Glassmorphic Legal Modal
   ========================================================================== */
.legal_modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal_modal.is-open {
  opacity: 1;
  visibility: visible;
}

.legal_modal_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal_modal_dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: rgba(14, 16, 23, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 255, 185, 0.05);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.legal_modal.is-open .legal_modal_dialog {
  transform: scale(1);
}

.legal_modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal_badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: #00ffb9;
  background: rgba(0, 255, 185, 0.1);
  border: 1px solid rgba(0, 255, 185, 0.25);
  border-radius: 6px;
  margin-bottom: 6px;
}

.legal_modal_title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.legal_close_btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal_close_btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: scale(1.05);
}

.legal_modal_body {
  padding: 22px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.68;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.legal_modal_body::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}

.legal_modal_body::-webkit-scrollbar-track {
  background: transparent;
}

.legal_modal_body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background-clip: content-box;
  transition: background-color var(--transition-fast);
}

.legal_modal_body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(20, 241, 149, 0.6);
}

.legal_modal_body h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0 8px 0;
}

.legal_modal_body h4:first-child {
  margin-top: 0;
}

.legal_modal_body p {
  margin: 0 0 12px 0;
}

.legal_modal_body ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.legal_modal_body li {
  margin-bottom: 5px;
}

.legal_callout {
  padding: 12px 16px;
  background: rgba(0, 255, 185, 0.06);
  border-left: 3px solid #00ffb9;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
  font-size: 13px;
  color: #d1fae5;
}

.legal_modal_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(10, 11, 16, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal_footer_note {
  font-size: 12px;
  color: var(--text-dim);
}

.legal_action_btn {
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  background: #00ffb9;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal_action_btn:hover {
  background: #00dfa2;
  box-shadow: 0 0 15px rgba(0, 255, 185, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 599px) {
  .legal_modal {
    padding: 12px;
  }
  .legal_modal_dialog {
    max-height: 90vh;
    border-radius: 16px;
  }
  .legal_modal_header {
    padding: 16px 18px 12px;
  }
  .legal_modal_body {
    padding: 16px 18px;
    font-size: 13px;
  }
  .legal_modal_footer {
    padding: 14px 18px;
    flex-direction: column-reverse;
    gap: 10px;
    text-align: center;
  }
  .legal_action_btn {
    width: 100%;
  }
  .footer_legal_links {
    flex-wrap: wrap;
    font-size: 12px;
  }
}



/* ==========================================================================
   Scroll Reveal Animations (IntersectionObserver)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-title] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-title].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Modern Rendering & Paint Optimization
   ========================================================================== */

.transactions_tabbles {
  contain: layout paint;
}

.faq_list {
  contain: layout paint;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Mobile (320px - 599px) */
@media (max-width: 599px) {
  .header_item:nth-child(2) {
    display: none;
  }

  header .container {
    padding: 0 16px;
  }

  .header_items {
    height: 100%;
    padding: 0;
    gap: 10px;
  }

  .header_item_logo {
    font-size: 14.5px;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header_item_logo img {
    width: 22px;
    height: 22px;
  }

  .header_right_group {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn_text_full {
    display: none;
  }

  .btn_text_short {
    display: inline;
  }

  .header_connect_btn {
    padding: 5px 9px;
    font-size: 11.5px;
    gap: 5px;
    border-radius: 6px;
  }

  .header_connect_btn .header_wallet_icon {
    width: 14px;
    height: 14px;
  }

  .mobile_nav_toggle {
    width: 34px;
    height: 34px;
  }

  .top-marquee-bar {
    top: 60px;
    height: 30px;
  }

  .top-marquee-bar.header-hidden {
    transform: translate3d(0, calc(-100% - 60px), 0);
  }

  main {
    margin-top: 90px;
    padding: 28px 0 48px 0;
  }

  .intro_items {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .intro_item:first-child {
    max-width: 100%;
  }

  .intro_item_tittle {
    font-size: clamp(28px, 7.5vw, 40px);
    letter-spacing: -1.2px;
    line-height: 1.15;
    word-break: break-word;
  }

  .intro_item_text {
    margin: 16px auto 0 auto;
    font-size: 15px;
    line-height: 1.55;
  }

  .intro_item_button {
    margin-top: 24px;
    padding: 16px 20px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  .hero_grant_note {
    display: block;
    margin: 14px auto 0 auto;
    max-width: 320px;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: #8E95A5;
  }

  .hero_grant_note svg {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 5px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .grant_note_wrap {
    display: block;
    margin-top: 2px;
  }

  .intro_item_image {
    max-width: 88%;
    margin: 0 auto;
    display: block;
  }

  .trust_bar {
    padding: 24px 0;
  }

  .trust_bar_grid {
    justify-content: center;
    gap: 12px 18px;
  }

  .trust_logo_item {
    font-size: 13px;
    gap: 6px;
  }

  .trust_logo_item svg,
  .trust_logo_item img {
    width: 20px;
    height: 20px;
  }

  .stats {
    padding: 36px 0;
  }

  .stats_grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat_card {
    padding: 16px 12px;
  }

  .stat_value {
    font-size: clamp(20px, 6vw, 26px);
    letter-spacing: -0.8px;
  }

  .stat_unit {
    font-size: 14px;
  }

  .stat_label {
    font-size: 12px;
    margin-top: 6px;
  }

  .stat_sublabel {
    font-size: 10.5px;
    margin-top: 2px;
  }

  .security {
    padding: 48px 0;
  }

  .security_tittle,
  .how_tittle,
  .transactions_tittle,
  .faq_tittle {
    font-size: clamp(24px, 6.8vw, 32px);
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }

  .security_subtitle,
  .how_subtitle,
  .faq_subtitle {
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
    margin-top: 8px;
    padding: 0 8px;
  }

  .security_diagram_grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .security_card {
    padding: 20px 16px;
  }

  .security_badge_tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .security_card_tittle {
    font-size: 18px;
    margin-top: 14px;
  }

  .security_card_text {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 10px;
  }

  .security_card_text code {
    word-break: break-all;
  }

  .security_trust_guarantees {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .security_guarantee_item {
    padding: 16px;
    gap: 12px;
  }

  .security_guarantee_content h4 {
    font-size: 15px;
  }

  .security_guarantee_content p {
    font-size: 13px;
  }

  .infos {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .infos_up {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .infos_up_block_content {
    padding: 24px 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .infos_up_block_tittle {
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-top: 18px;
    gap: 10px;
  }

  .infos_up_block_tittle span {
    font-size: 12px;
    padding: 4px 8px;
  }

  .infos_up_block_text {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 14px;
  }

  .infos_bottom {
    margin-top: 14px;
  }

  .infos_bottom .infos_up_block {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    padding: 24px 18px 20px 18px;
  }

  .infos_bottom .infos_up_block_content {
    max-width: 100%;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }

  .infos_up_block_bottom_tittle {
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-top: 18px;
  }

  .infos_up_block_image {
    position: relative;
    display: block;
    right: auto;
    bottom: auto;
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 20px auto 0 auto;
    opacity: 1;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  }

  .how {
    padding: 48px 0;
  }

  .how_blocks {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .how_block {
    padding: 20px 16px;
  }

  .how_block_content {
    padding: 0;
    align-items: flex-start;
    text-align: left;
  }

  .how_block_step {
    margin-top: 16px;
    font-size: 12px;
  }

  .how_block_tittle {
    font-size: 18px;
    margin-top: 10px;
  }

  .how_block_text {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 8px;
  }

  .transactions_tittle {
    font-size: 32px;
    letter-spacing: -1px;
    gap: 10px;
  }

  .transactions_subtitle {
    font-size: 13.5px;
    margin-top: 8px;
    padding: 0 10px;
  }

  .transactions_card_wrapper {
    margin-top: 24px;
    border-radius: var(--radius-sm);
  }

  .transactions_terminal_header {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .terminal_header_right {
    width: 100%;
    justify-content: space-between;
  }

  .transactions_terminal_footer {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
  }

  .transactions, .faq {
    padding: 48px 0;
  }

  .col-block,
  .col-tx {
    display: none !important;
  }

  .transactions_tabbles {
    margin-top: 0;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
    background: transparent;
    padding: 0;
  }

  table.transactions_tabbles_tabble {
    min-width: 380px;
    width: 100% !important;
    border-collapse: collapse;
  }

  .col-user {
    width: auto;
    white-space: nowrap !important;
  }

  .col-reward {
    width: auto;
    white-space: nowrap !important;
  }

  .col-time {
    width: auto;
    white-space: nowrap !important;
  }

  .col-status {
    width: auto;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap !important;
  }

  .transactions_tabbles_tabble_tittle {
    padding: 10px 10px;
    font-size: 11px;
  }

  .transactions_tabbles_tabble_line td {
    padding: 12px 10px;
    font-size: 12px;
  }

  table.transactions_tabbles_tabble th:last-child,
  table.transactions_tabbles_tabble td:last-child {
    text-align: right !important;
    padding-right: 14px !important;
  }

  table.transactions_tabbles_tabble th:first-child,
  table.transactions_tabbles_tabble td:first-child {
    padding-left: 14px !important;
  }

  .transactions_tabbles_tabble_done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 10.5px;
    line-height: 1;
    white-space: nowrap !important;
    vertical-align: middle;
    border-radius: var(--radius-sm);
  }

  .transactions_tabbles_tabble_done svg {
    width: 12px;
    height: 12px;
  }

  .tx_wallet_badge {
    width: 18px;
    height: 18px;
    border-radius: 4px;
  }

  .tx_wallet_badge svg {
    width: 10px;
    height: 10px;
  }

  .faq_list {
    margin-top: 24px;
    gap: 10px;
  }

  .faq_question {
    padding: 16px 18px;
    font-size: 14.5px;
    text-align: left;
  }

  .faq_answer_content {
    padding: 0 18px 16px 18px;
    font-size: 13.5px;
    line-height: 1.6;
  }

  footer {
    padding: 28px 0;
  }

  .footer_up {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .footer_copyright {
    font-size: 12px;
    padding: 0 8px;
  }
}

/* Tablet (600px - 899px) */
@media (min-width: 600px) and (max-width: 899px) {
  header {
    height: 64px;
  }

  .header_item:nth-child(2) {
    display: none;
  }

  .top-marquee-bar {
    top: 64px;
    height: 30px;
  }

  .top-marquee-bar.header-hidden {
    transform: translate3d(0, calc(-100% - 64px), 0);
  }

  main {
    margin-top: 94px;
  }

  .intro_items {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .intro_item_tittle {
    font-size: 58px;
    letter-spacing: -2.32px;
  }

  .intro_item_text {
    margin: 24px auto 0 auto;
  }

  .intro_item_image {
    max-width: 80%;
    margin: 0 auto;
  }

  .trust_bar_grid {
    justify-content: center;
  }

  .stats_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security_diagram_grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .infos_bottom .infos_up_block_content {
    max-width: 60%;
  }

  .infos_up_block_image {
    max-width: 44%;
    opacity: 0.85;
  }

  .how_blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .how_tittle,
  .transactions_tittle,
  .security_tittle,
  .faq_tittle {
    font-size: 48px;
  }
}

/* Small Laptops (900px - 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
  .intro_item_tittle {
    font-size: 64px;
    letter-spacing: -2.56px;
  }

  .security_diagram_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how_blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .infos_bottom .infos_up_block_content {
    max-width: 56%;
  }

  .infos_up_block_image {
    max-width: 48%;
    opacity: 0.95;
  }
}

/* ==========================================================================
   Card Shimmer Sweep
   ========================================================================== */
.stat_card,
.security_card,
.security_guarantee_item,
.how_block,
.faq_item {
  position: relative;
  overflow: hidden;
}

.stat_card::before,
.security_card::before,
.security_guarantee_item::before,
.how_block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: translateX(-160%) skewX(-25deg);
  animation: cardSweep 8s infinite ease-in-out;
  pointer-events: none;
  z-index: 2;
}

@keyframes cardSweep {
  0% { transform: translateX(-160%) skewX(-25deg); }
  30% { transform: translateX(200%) skewX(-25deg); }
  100% { transform: translateX(200%) skewX(-25deg); }
}

/* ==========================================================================
   Minimalist Glass Back To Top Button
   ========================================================================== */
.back_to_top_btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  color: #8e95a5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: var(--glass-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease,
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              color 0.2s ease;
  user-select: none;
  touch-action: manipulation;
}

body.modal_active .back_to_top_btn {
  opacity: 0 !important;
  pointer-events: none !important;
}

.back_to_top_btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back_to_top_btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.back_to_top_btn:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(0, 255, 185, 0.35);
  color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 255, 185, 0.15);
  transform: translateY(-2px);
}

.back_to_top_btn:hover svg {
  transform: translateY(-1px);
}

.back_to_top_btn:active {
  transform: translateY(0) scale(0.95);
}

/* ==========================================================================
   Mobile Ergonomics, Safe Area Insets & High-DPI Smartphone Optimization
   ========================================================================== */
@media (max-width: 599px) {
  :root {
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
    --sar: env(safe-area-inset-right, 0px);
  }

  /* Safe touch ergonomics */
  button, a, .faq_question, .intro_item_button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  button:active, .intro_item_button:active {
    transform: scale(0.97);
  }

  /* Header & Marquee Precision Stacking */
  header {
    top: 0;
    height: 60px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  header.header-hidden {
    transform: translate3d(0, -100%, 0);
  }

  .top-marquee-bar {
    top: 60px;
    height: 30px;
  }

  .top-marquee-bar.header-hidden {
    transform: translate3d(0, calc(-100% - 60px), 0);
  }

  .marquee-runway {
    height: 30px;
  }

  .marquee-item {
    font-size: 11.5px;
    gap: 0.4rem;
  }

  main {
    margin-top: 90px;
  }


  .back_to_top_btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 40px;
    height: 40px;
  }

  /* Full responsive mobile modal */
  .modal_rect_content {
    padding: 28px 16px 20px 16px;
    width: 94vw;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
  }

  .modal_close_btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer {
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
