*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #ffffff;
  --color-text: #2c2c2c;
  --color-accent: #ffd700;
  --color-accent-soft: #ffec4d;
  --color-border: #b0b0b0;
  --color-footer: #f5f5f5;
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-mark {
  color: var(--color-accent);
  width: 42px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-4deg) translateY(-2px);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #5c5c5c;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0 20px;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}

.mobile-menu a {
  padding: 0 4vw;
  color: #5c5c5c;
}

.mobile-menu .btn {
  margin: 0 4vw;
}

.btn {
  font-family: inherit;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-primary:hover {
  background: #f2c800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
}

.hero {
  padding: 80px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #7a7a7a;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: #6d6d6d;
}

.whale-card {
  background: #fffef4;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 24px;
}

.whale-icon {
  color: var(--color-accent);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  animation: float 4s ease-in-out infinite;
}

.whale-icon svg {
  width: 100%;
  height: auto;
}

.whale-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  text-align: center;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a7a7a;
  margin: 0 0 4px;
}

.stat-value {
  margin: 0;
  font-weight: 700;
}

.utility-section,
.payouts-section,
.how-section,
.staking-section,
.faq-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-text {
  max-width: 520px;
  color: #6d6d6d;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.utility-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.payouts-inner,
.staking-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.chart-card {
  background: #ffffff;
  display: grid;
  gap: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-tag {
  background: var(--color-accent-soft);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 160px;
}

.chart span {
  display: block;
  background: var(--color-accent);
  border-radius: 8px 8px 2px 2px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-number {
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dashboard {
  display: grid;
  gap: 24px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.wallet-card {
  display: grid;
  gap: 20px;
}

.wallet-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label,
#stake-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #5c5c5c;
}

.contact-form input,
#stake-form input {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
}

.contact-form input:focus,
#stake-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.progress {
  background: #f5f5f5;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--color-accent);
  animation: progress 5s ease-in-out infinite;
}

.helper-text {
  margin: 0;
  font-size: 14px;
  color: #6d6d6d;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #efefef;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 16px;
  cursor: pointer;
}

.faq-item:hover {
  background: var(--color-footer);
}

.faq-panel {
  display: none;
  padding: 0 20px 16px;
  color: #6d6d6d;
}

.faq-item.active + .faq-panel {
  display: block;
}

.faq-icon {
  color: var(--color-accent);
  font-size: 20px;
}

.site-footer {
  background: var(--color-footer);
  padding: 40px 0;
  margin-top: 40px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  width: min(460px, 92vw);
  display: grid;
  gap: 16px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}

.footer-links,
.footer-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #5c5c5c;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes progress {
  0%,
  100% {
    width: 58%;
  }
  50% {
    width: 78%;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 60px 0 80px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
