:root {
  --bnb-yellow: #f0b90b; /* Binance yellow */
  --bnb-yellow-600: #d39a00;
  --bnb-black: #0b0e11;
  --bnb-gray-900: #12161c;
  --bnb-gray-800: #1e2329;
  --bnb-gray-700: #2b3139;
  --text-primary: #eaecef;
  --text-secondary: #a7b1c2;
  --success: #34c759;
  --danger: #ff3b30;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: 
    radial-gradient(ellipse 1400px 700px at 50% -5%, rgba(240,185,11,0.035), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(240,185,11,0.01), transparent 80%),
    #0b0e11;
  color: var(--text-primary);
}

/* Subtle animated accent */
/* Remove extra overlays to avoid color stacking conflicts */
body::before, body::after { content: none; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.08); }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(240,185,11,0.35);
  }
  50% {
    box-shadow: 0 8px 32px rgba(240,185,11,0.5);
  }
}

/* Apply animations to elements */
.hero-content h1 {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.stat-box {
  animation: scaleIn 0.6s ease-out;
  animation-fill-mode: both;
}

.stat-box:nth-child(1) { animation-delay: 0.55s; }
.stat-box:nth-child(2) { animation-delay: 0.65s; }
.stat-box:nth-child(3) { animation-delay: 0.75s; }

.feature-step {
  animation: fadeInUp 0.7s ease-out;
  animation-fill-mode: both;
}

.feature-step:nth-child(1) { animation-delay: 0.2s; }
.feature-step:nth-child(2) { animation-delay: 0.35s; }
.feature-step:nth-child(3) { animation-delay: 0.5s; }

.step-number {
  animation: scaleIn 0.6s ease-out;
}

.faq-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }

/* Enhanced hover effects */
.stat-box {
  transform-origin: center;
}

.stat-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(240,185,11,0.4);
}

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

.feature-step h3 {
  transition: color 0.3s ease;
}

.feature-step:hover h3 {
  color: var(--bnb-yellow);
}

/* FAQ animations */
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(240,185,11,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
}

.faq-item[open] {
  background: linear-gradient(135deg, rgba(240,185,11,0.1), rgba(240,185,11,0.04));
  border-color: rgba(240,185,11,0.2);
}

.faq-item summary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item summary:hover {
  background: rgba(255,255,255,0.06);
}

.faq-item summary::after {
  content: '+';
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
              color 0.3s ease;
  color: var(--bnb-yellow);
}

.faq-item[open] summary::after {
  transform: rotate(45deg) scale(1.1);
  color: var(--bnb-yellow);
}

.faq-item[open] summary {
  background: linear-gradient(135deg, rgba(240,185,11,0.08), rgba(240,185,11,0.03));
  border-bottom: 1px solid rgba(240,185,11,0.15);
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  background: rgba(240,185,11,0.01);
}

.faq-item[open] p {
  animation: smoothExpand 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes smoothExpand {
  0% {
    opacity: 0;
    max-height: 0;
    transform: translateY(-8px);
    padding: 0 20px;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    max-height: 600px;
    transform: translateY(0);
    padding: 20px;
  }
}

/* Button animations */
.btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Scroll-based animations */
.section {
  opacity: 1;
  animation: fadeInUp 0.8s ease-out;
}

/* Smooth transitions on all elements */
* {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(11,14,17,0.75);
  border-bottom: 1px solid rgba(240,185,11,0.08);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-mark { 
  width: 80px; 
  height: 80px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(240,185,11,0.25));
  border-radius: 8px;
}

.brand-name { 
  font-weight: 700; 
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.nav { 
  display: none; 
  gap: 28px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav a:hover { 
  color: var(--bnb-yellow);
}

.btn {
  appearance: none;
  border: 0;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--bnb-gray-700);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { 
  background: linear-gradient(135deg, var(--bnb-yellow), var(--bnb-yellow-600)); 
  color: #111; 
  box-shadow: 0 4px 12px rgba(240,185,11,0.3);
}
.btn-primary:hover { 
  background: linear-gradient(135deg, var(--bnb-yellow-600), #b8940a); 
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240,185,11,0.4);
}
.btn-accent { 
  background: linear-gradient(135deg, rgba(240,185,11,0.1), rgba(240,185,11,0.05)); 
  border: 1px solid var(--bnb-yellow); 
  color: var(--bnb-yellow);
  backdrop-filter: blur(8px);
}
.btn-accent:hover { 
  background: linear-gradient(135deg, rgba(240,185,11,0.15), rgba(240,185,11,0.08)); 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,185,11,0.2);
}
.btn-ghost { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.15); 
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* Wallet dropdown */
.menu { 
  position: absolute; 
  top: 56px; 
  right: 20px; 
  min-width: 220px; 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 12px; 
  background: rgba(11,14,17,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  padding: 6px; 
  z-index: 20;
}

.menu[hidden] { 
  display: none;
}

.menu .menu-item { 
  width: 100%; 
  text-align: left; 
  padding: 11px 14px; 
  background: transparent; 
  border: 0; 
  color: var(--text-primary); 
  border-radius: 8px; 
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.menu .menu-item:hover { 
  background: rgba(240,185,11,0.1);
  color: var(--bnb-yellow);
}

/* Utilities */
.text-subtle { color: var(--text-secondary); }
.muted { opacity: .8; }

/* Rewards page */
.reward-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.panel { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px; }
.panel h2 { margin: 0 0 8px; font-size: 22px; }
.row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.row:last-child { border-bottom: 0; }
.row .label { color: var(--text-secondary); }
.row .value { font-weight: 700; font-size: 18px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.note { font-size: 12px; color: var(--text-secondary); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }

@media (max-width: 859px) {
  .reward-grid { grid-template-columns: 1fr; }
}

/* Hero Section */
.hero { 
  padding: 80px 0 60px; 
  position: relative;
}

.hero-content {
  margin-bottom: 56px;
  max-width: 720px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, rgba(240,185,11,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

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

.stat-box {
  background: linear-gradient(135deg, rgba(240,185,11,0.05), rgba(240,185,11,0.01));
  border: 1px solid rgba(240,185,11,0.15);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: rgba(240,185,11,0.35);
  background: linear-gradient(135deg, rgba(240,185,11,0.08), rgba(240,185,11,0.03));
  transform: translateY(-2px);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--bnb-yellow);
}

/* Features Section */
.section-features {
  background: linear-gradient(180deg, rgba(240,185,11,0.02), transparent);
  border-top: 1px solid rgba(240,185,11,0.1);
  border-bottom: 1px solid rgba(240,185,11,0.1);
  padding: 80px 0;
}

.section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 0 56px;
  max-width: 500px;
}

.features-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
  position: relative;
}

/* Horizontal connectors */
.features-flow::before,
.features-flow::after {
  content: '';
  position: absolute;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(240,185,11,0.2) 0%, 
    rgba(240,185,11,0.2) 70%,
    transparent 100%);
  z-index: 0;
}

.features-flow::before {
  left: 28px;
  right: 28px;
  width: calc(100% - 56px);
}

.feature-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bnb-yellow), #f0a000);
  color: #111;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(240,185,11,0.35), 
              inset 0 1px 0 rgba(255,255,255,0.3);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.feature-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feature-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Improved connectors - arrows removed */
.features-flow::after {
  display: none;
}

.feature-step::after {
  display: none;
}

.feature-step:last-child::after {
  display: none;
}

@media (max-width: 1024px) {
  .features-flow {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-flow::before {
    display: none;
  }

  .feature-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 0;
    grid-row: 1 / 3;
  }

  .feature-step h3 {
    grid-column: 2;
    align-self: flex-end;
  }

  .feature-step p {
    grid-column: 2;
  }

  .feature-step::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 56px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(180deg, 
      rgba(240,185,11,0.2) 0%, 
      rgba(240,185,11,0.1) 100%);
    z-index: 1;
  }

  .feature-step:last-child::after {
    display: none;
  }
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--bnb-yellow);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: rgba(255,255,255,0.04);
}

.faq-item[open] summary {
  background: linear-gradient(135deg, rgba(240,185,11,0.06), rgba(240,185,11,0.02));
  border-bottom: 1px solid rgba(240,185,11,0.15);
}

.faq-item p {
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  background: rgba(240,185,11,0.01);
}

.hero-card {
  background: linear-gradient(135deg, rgba(240,185,11,0.08), rgba(240,185,11,0.02));
  border: 1px solid rgba(240,185,11,0.25);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(240,185,11,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero-card::after { 
  content:""; 
  position:absolute; 
  inset:-2px -2px auto auto; 
  width:180px; 
  height:180px; 
  background: radial-gradient(closest-side, rgba(240,185,11,0.15), rgba(240,185,11,0)); 
  filter: blur(16px); 
  opacity:.6; 
}
.stat { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin: 10px 0; 
  padding: 12px 14px; 
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-radius: 12px;
}
.stat + .stat { margin-top: 8px; }
.stat-label { color: var(--text-secondary); font-size: 14px; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--bnb-yellow); }

.section { padding: 56px 0; }
.section.subtle { position: relative; background: transparent; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section.subtle .container {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
  padding: 18px 20px 26px;
}
.section.subtle .container:hover { border-color: rgba(255,255,255,0.12); }
.cols { display: grid; grid-template-columns: 1fr; gap: 18px; }
.col.card { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; background: rgba(255,255,255,0.03); }
.list { margin: 0; padding-left: 18px; color: var(--text-secondary); }

.section h2 { font-size: 28px; margin: 0 0 12px; }
.section .section-lead { color: var(--text-secondary); margin-bottom: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; }
.kpi:hover { border-color: rgba(240,185,11,0.30); background: rgba(240,185,11,0.04); }
.kpi-label { color: var(--text-secondary); }
.kpi-value { font-size: 22px; font-weight: 700; }

.faq { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 12px 16px; background: rgba(255,255,255,0.03); }
.faq + .faq { margin-top: 10px; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); }

.footer-links { display: flex; gap: 20px; align-items: center; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(240,185,11,0.1);
  color: var(--bnb-yellow);
  border: 1px solid rgba(240,185,11,0.2);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(240,185,11,0.2);
  border-color: rgba(240,185,11,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240,185,11,0.2);
}

#viewContract {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(240,185,11,0.3);
}

#viewContract:hover {
  color: var(--bnb-yellow);
  border-bottom-color: var(--bnb-yellow);
}

@media (min-width: 860px) {
  .nav { display: inline-flex; }
  .cols { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 859px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 36px; }
  .hero-content h1 { font-size: 40px; }
  .hero-stats { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-wrap: wrap; }
}


