@font-face {
  font-family: "bakbakone";
  src: url("/BakbakOne-Regular.d187facf.ttf");
}

:root{
  --bg: #06060a;
  --bg2:#0b0b12;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.66);

  --brand: #00ea00;
  --brand2:#38ff38;
  --accent: #ffc83d;

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 24px;

  --container: 1120px;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(0,234,0,0.12), transparent 55%),
              radial-gradient(900px 700px at 85% 30%, rgba(255,200,61,0.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.bg-glow{
  position: fixed;
  inset: -200px;
  background:
    radial-gradient(600px 500px at 20% 30%, rgba(0,234,0,0.12), transparent 60%),
    radial-gradient(650px 500px at 80% 25%, rgba(255,200,61,0.12), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(6,6,10,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.topbar-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-links{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-account{
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-name{
  font-family: "bakbakone", ui-sans-serif, system-ui;
  letter-spacing: .3px;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-mark{
  display: inline-flex;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.brand-mark .dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0,234,0,0.95);
  box-shadow: 0 0 18px rgba(0,234,0,0.35);
}

/* Buttons */
.btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: .2px;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

.btn:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active{
  transform: translateY(0px);
}

.btn-primary{
  background: linear-gradient(180deg, rgba(0,234,0,0.20), rgba(0,234,0,0.08));
  border-color: rgba(0,234,0,0.35);
  box-shadow: 0 0 0 4px rgba(0,234,0,0.08);
}

.btn-primary:hover{
  background: linear-gradient(180deg, rgba(0,234,0,0.28), rgba(0,234,0,0.10));
  border-color: rgba(0,234,0,0.55);
}

.btn-ghost{
  background: rgba(255,255,255,0.03);
}

.header{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero */
.hero{
  padding: 56px 0 26px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.pill{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-weight: 600;
  width: fit-content;
}

.pill-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255,200,61,0.35);
}

.hero h1{
  font-family: "bakbakone", ui-sans-serif, system-ui;
  font-size: 3rem;
  line-height: 1.05;
  margin: 16px 0 14px;
  letter-spacing: .2px;
}

.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 58ch;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 18px;
}

.hero-meta{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 18px;
}

.meta-item{
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.meta-title{
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 6px;
}

.meta-value{
  font-weight: 750;
}

.integrations{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  font-size: .9rem;
}

.hero-visual{
  display: grid;
  gap: 12px;
  justify-items: end;
}

.frame{
  width: 100%;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}

.frame img{
  display: block;
  width: 100%;
  height: auto;
}

.hint{
  color: rgba(255,255,255,0.62);
  font-size: .92rem;
  text-align: right;
}

/* Sections */
.section{
  padding: 56px 0;
}

.section.alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-head{
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 74ch;
}

.section-head h2{
  font-family: "bakbakone", ui-sans-serif, system-ui;
  font-size: 2rem;
  margin: 0;
}

.section-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Cards */
.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step{
  padding: 18px 18px;
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,200,61,0.12);
  border: 1px solid rgba(255,200,61,0.24);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 10px;
}

.step h3, .feature h3{
  margin: 8px 0 8px;
  font-size: 1.1rem;
}

.step p, .feature p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.features{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature{
  padding: 18px;
}

.icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,234,0,0.10);
  border: 1px solid rgba(0,234,0,0.22);
  margin-bottom: 10px;
}

/* CTAs */
.cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cta{
  padding: 22px;
}

.cta h2{
  font-family: "bakbakone", ui-sans-serif, system-ui;
  font-size: 1.65rem;
  margin: 0 0 10px;
}

.cta p{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

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

.mini-note{
  color: rgba(255,255,255,0.55);
  font-size: .9rem;
}

.discord-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.qr{
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
}

.qr img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wide */
.wide{
  padding: 18px;
}

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

.wide h3{
  margin: 0 0 6px;
}

.wide p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

.wide-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Social */
.social{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.social-label{
  color: rgba(255,255,255,0.55);
}

.social-link{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.85);
}

.social-link:hover{
  text-decoration: none;
  border-color: rgba(255,255,255,0.22);
}

/* Footer */
.footer{
  padding: 40px 0 56px;
}

.footer-inner{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 18px;
}

.fineprint{
  margin: 10px 0;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  font-size: .95rem;
}

/* ===== Existing dropdown styles from your old CSS are still compatible ===== */
.topbar .userbar {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding-bottom: 6px;
}

.topbar .userbar .user-name {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  text-align: right;
}

.topbar .userbar .avatar {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  border: 2px solid rgba(255,200,61,0.65);
  background: transparent;
}

.topbar .userbar .menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: rgba(8,8,14,0.96);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 8px;
  display: none;
  min-width: 190px;
  text-align: left;
  box-shadow: var(--shadow);
}

.topbar .userbar:hover .menu,
.topbar .userbar:focus-within .menu {
  display: block;
}

.menu .menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.88);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 650;
}

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

/* Responsive */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-visual{
    justify-items: stretch;
  }
  .hint{
    text-align: left;
  }
  .hero h1{
    font-size: 2.5rem;
  }
  .cta-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px){
  .steps, .features{
    grid-template-columns: 1fr;
  }
  .hero-meta{
    grid-template-columns: 1fr;
  }
  .discord-row{
    grid-template-columns: 1fr;
  }
  .qr{
    width: 150px;
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce){
  .btn{
    transition: none;
  }
}
