/* Olive abstract blur background with gray hacker theme and frosted glass UI
   Mobile-first, single stylesheet for "Solana Trending Tokens" style
*/

/* Color tokens */
:root{
  --panel: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.25);
  --text: #e7e7e7;
  --muted: #cbd5e1;
  --shadow: 0 12px 40px rgba(0,0,0,.5);
  --cta-text: #0c0c0c;
  --green: #9fe1a9;
  --green-dark: #6abf6a;
  --bg: #0e0f0b;
  --glow: rgba(120, 190, 80, .6);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }

/* Page base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #0d0f0a;
  /* olive abstract blur background with subtle grain/matte effect */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(120,180,80,.25), transparent 40%),
    radial-gradient(circle at 60% 40%, rgba(120,180,80,.25), transparent 40%);
  background-size: 500px 500px, 500px 500px;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* soft glow lines to imply neon hacker vibe */
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.04), transparent 40%);
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Header */
.site-header {
  padding: 1rem;
  text-align: center;
  color: #e9e9e9;
  z-index: 1;
  position: relative;
}

/* Main wrapper */
main { padding: 0; }

/* Hero: frosted glass with subtle grid */
.hero {
  display: grid;
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.25rem, 6vw, 3rem) 1rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.66); /* frosted glass on dark backdrop */
  border: 1px solid var(--border);
  backdrop-filter: saturate(1.25) blur(8px);
  -webkit-backdrop-filter: saturate(1.25) blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero > h1 {
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  margin: 0.25rem 0;
  font-weight: 900;
  color: #f0f0f0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-image {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0.4rem auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  background: rgba(0,0,0,.25);
}
.subhead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #e8f0e8;
  opacity: .95;
  margin: 0.25rem 0;
}
.hero-cta {
  display: inline-block;
  padding: 1rem 1.75rem;
  font-size: clamp(1.15rem, 3vw, 1.25rem);
  font-weight: 800;
  color: var(--cta-text);
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #b0e6ff 0%, #89e6ff 60%, #b0e6ff 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.hero-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 999px;
  color: #000;
}

/* Footer */
.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #e8e8e8;
  font-family: inherit;
}
.footer-ad a {
  color: #ffd166;
  text-decoration: none;
  font-weight: 700;
}
.footer-ad a:hover { text-decoration: underline; }

/* Focus ring */
a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive */
@media (min-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cta { padding: 1.15rem 2rem; font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 4rem 2rem; }
  .hero-image { width: min(70%, 820px); }
  .hero > h1 { font-size: 3rem; }
}