:root {
  --bg: #050508;
  --bg-elevated: #0a0a0f;
  --bg-card: #0d0d14;
  --bg-card-hover: #121219;
  --bg-input: #0a0a10;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --text: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --accent: #00d4ff;
  --accent-secondary: #7b61ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-glow-strong: rgba(0, 212, 255, 0.3);
  --gradient: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #ff6b9d 100%);
  --gradient-text: linear-gradient(135deg, #00d4ff 0%, #7b61ff 100%);
  --success: #00cc88;
  --danger: #ff4466;
  --warning: #ffaa00;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
html { scrollbar-color: rgba(255,255,255,0.1) var(--bg); scrollbar-width: thin; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 72px;
}

a { color: var(--accent); text-decoration: none; transition: all 0.2s ease; }
a:hover { opacity: 0.85; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #00b8e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
  opacity: 1;
}

.btn-glow {
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  filter: blur(16px);
  opacity: 0.5;
  z-index: -1;
  transition: opacity 0.3s ease;
}

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

.btn-glow:hover::before {
  opacity: 0.8;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  opacity: 1;
}

.btn-glass-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 212, 255, 0.15);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(123, 97, 255, 0.12);
  bottom: 0;
  right: 10%;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

.hero-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2), transparent 60%);
  top: 20%;
  right: 5%;
  animation: float-orb 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  z-index: 10;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fade-in-up 0.6s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-in-up 0.6s ease 0.1s backwards;
}

.hero-title-line {
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fade-in-up 0.6s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fade-in-up 0.6s ease 0.3s backwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: fade-in-up 0.6s ease 0.4s backwards;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; opacity: 1; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; opacity: 1; }
.terminal-dots span:nth-child(3) { background: #28c940; opacity: 1; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.terminal-line {
  white-space: nowrap;
}

.terminal-response {
  margin-top: 12px;
}

.terminal-response pre {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.6;
}

.t-prompt { color: var(--success); }
.t-cmd { color: var(--accent); }
.t-flag { color: var(--accent-secondary); }
.t-str { color: #f0a875; }
.t-url { color: var(--text-secondary); }
.t-key { color: var(--accent); }
.t-bool { color: var(--accent-secondary); }
.t-num { color: #ff6b9d; }

.stats-bar {
  position: relative;
  padding: 48px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
}

.bento {
  padding: 120px 0;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bento-large {
  grid-column: span 2;
}

.bento-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.bento-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.bento-visual {
  margin-top: 24px;
}

.bento-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow-x: auto;
}

.flow-node {
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
}

.flow-node-accent {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.flow-arrows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-line {
  width: 40px;
  height: 2px;
  background: var(--border-light);
}

.flow-arrow-single {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.endpoints-section {
  padding: 80px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.endpoints-marquee {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ep-chip {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ep-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.plan-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 100%);
}

.plan-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.plan-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.plan-tier {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: top;
  color: var(--text-muted);
}

.price-decimal {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.plan-features li {
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-features .check {
  color: var(--success);
  font-weight: bold;
}

.plan-features .x {
  color: var(--text-muted);
}

.feat-disabled {
  opacity: 0.5;
}

.btn-plan {
  width: 100%;
}

.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  pointer-events: none;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.auth-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  filter: blur(120px);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

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

.auth-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-error {
  background: rgba(255, 68, 102, 0.1);
  border: 1px solid rgba(255, 68, 102, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--danger);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-page {
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.search-header {
  text-align: center;
  margin-bottom: 48px;
}

.search-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.search-type-select {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.search-type-btn {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.search-type-btn:hover {
  border-color: var(--border-light);
  color: var(--text);
}

.search-type-btn.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.search-input-group {
  display: flex;
  gap: 12px;
}

.search-input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-credits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-credits strong {
  color: var(--accent);
}

.search-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.results-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.results-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.results-body {
  padding: 24px;
}

.results-json {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.results-empty {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

.topup-page {
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.topup-container {
  max-width: 600px;
  margin: 0 auto;
}

.topup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

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

.topup-header h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.topup-header p {
  color: var(--text-muted);
}

.topup-balance {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.topup-balance-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.topup-balance-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topup-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.topup-option {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topup-option:hover {
  border-color: var(--border-light);
}

.topup-option.selected {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}

.topup-option-credits {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.topup-option-price {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.topup-custom {
  margin-bottom: 32px;
}

.topup-custom-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.topup-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 24px 0;
  position: relative;
}

.topup-divider::before,
.topup-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.topup-divider::before { left: 0; }
.topup-divider::after { right: 0; }

.topup-discord {
  background: #5865F2;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.topup-discord-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.topup-discord h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.topup-discord p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.topup-discord-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-weight: 600;
}

.topup-notice {
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
}

.topup-notice-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.topup-notice-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dashboard-page {
  padding: 100px 24px 80px;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 700;
}

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

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-card-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-card-value {
  font-size: 2rem;
  font-weight: 700;
}

.dash-card-value.gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.credit-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 100px;
  margin-top: 16px;
  overflow: hidden;
}

.credit-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.dash-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.dash-section-title {
  font-size: 1rem;
  font-weight: 600;
}

.dash-section-body {
  padding: 24px;
}

.api-key-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.api-key-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-key-copy {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.api-key-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lookup-table {
  width: 100%;
  border-collapse: collapse;
}

.lookup-table th,
.lookup-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.lookup-table th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lookup-table td {
  font-size: 0.9rem;
}

.lookup-table tr:last-child td {
  border-bottom: none;
}

.lookup-type-badge {
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent);
}

.status-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-success {
  background: rgba(0, 204, 136, 0.1);
  color: var(--success);
}

.status-error {
  background: rgba(255, 68, 102, 0.1);
  color: var(--danger);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-large {
    grid-column: span 2;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-title { font-size: 2rem; }

  .hero-actions { flex-direction: column; }

  .stats-grid { gap: 24px; }
  .stat-divider { display: none; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }

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

  .footer-inner { flex-direction: column; text-align: center; }

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

  .search-input-group { flex-direction: column; }

  .topup-options { grid-template-columns: 1fr; }

  .lookup-table { font-size: 0.8rem; }
  .lookup-table th, .lookup-table td { padding: 8px 12px; }
}
