:root {
  --bg: #0b0f14;
  --bg-2: #0f1621;
  --panel: rgba(18, 24, 33, 0.82);
  --text: #e6edf3;
  --muted: #9aa8b4;
  --accent: #22c55e;
  --accent-2: #16a34a;
  --line: rgba(148, 163, 184, 0.2);
  --hero-image: url("https://loremflickr.com/1600/900/fitness?lock=8901");
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(34, 197, 94, 0.12), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.08), transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

body.verify-only {
  background: var(--bg);
  position: relative;
}

body.verify-only::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

body.verify-only::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.92), rgba(11, 15, 20, 0.6));
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-hero {
  position: relative;
  padding: 32px 0 54px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.88), rgba(11, 15, 20, 0.45));
}

.site-hero > .container {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 18px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}

.hero-content {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #0b0f14;
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.35);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

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

main {
  padding: 48px 0 70px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.listing-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.pagination button {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.pagination button.active {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.detail-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  background: rgba(8, 12, 16, 0.85);
}

.footer .legal {
  margin-top: 10px;
  font-size: 0.9rem;
}

.verify-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: 40px 0;
}

.verify-box {
  width: min(420px, 90vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.verify-slider-wrap {
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(
      90deg,
      rgba(34, 197, 94, 0.25) 0%,
      rgba(34, 197, 94, 0.25) var(--verify-fill, 0%),
      rgba(12, 18, 26, 0.9) var(--verify-fill, 0%),
      rgba(12, 18, 26, 0.9) 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.verify-slider-wrap.success {
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(34, 197, 94, 0.15);
}

.verify-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
  cursor: pointer;
}

.verify-slider::-webkit-slider-runnable-track {
  height: 56px;
  background: transparent;
}

.verify-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 44px;
  width: 44px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8fafc, #cbd5f5);
  border: 2px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.verify-slider::-moz-range-track {
  height: 56px;
  background: transparent;
}

.verify-slider::-moz-range-thumb {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8fafc, #cbd5f5);
  border: 2px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.verify-status {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  pointer-events: none;
}

.verify-success {
  color: var(--accent);
}

.reveal {
  animation: floatIn 0.6s ease both;
}

.stagger > * {
  animation: floatIn 0.6s ease both;
  animation-delay: calc(var(--i) * 90ms);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    flex-direction: column;
    background: rgba(10, 14, 20, 0.9);
    position: absolute;
    right: 0;
    top: 50px;
    padding: 14px;
    border-radius: 12px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
