:root {
  --bg-black: #08090a;
  --bg-card: #111417;
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --color-green: #22c55e;
  --color-green-glow: rgba(34, 197, 94, 0.3);
  --color-green-light: #4ade80;
  --color-green-dark: #16a34a;
  --text-white: #ffffff;
  --text-gray: #a1a1aa;
  --text-muted: #71717a;
  --font-main: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

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

html, body {
  min-height: 100%;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Ambient green aura glow */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28) 0%, rgba(16, 185, 129, 0.1) 50%, transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  right: -50px;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 1;
}

.page-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.9;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-gray);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:visited {
  color: var(--text-gray);
}

/* Main Hero */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4.5rem;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
}

/* Logo Centerpiece with Green Glow */
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.logo-backdrop-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, rgba(16, 185, 129, 0.15) 45%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 35px rgba(34, 197, 94, 0.25);
  border: 2px solid rgba(34, 197, 94, 0.25);
  background: #0d1013;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Powered by Ghost Saves badge */
.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem 0.4rem 1.05rem;
  background: #111417;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: all 0.25s ease;
}

.powered-badge:hover {
  background: #161a1e;
  border-color: var(--color-green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
  transform: translateY(-1px);
}

.powered-prefix {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.ghost-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.65rem 0.2rem 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ghost-badge-logo {
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.ghost-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.tm {
  font-size: 0.68em;
  opacity: 0.85;
  vertical-align: super;
  margin-left: 1px;
}

.hero-tagline {
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--text-gray);
  max-width: 540px;
  line-height: 1.6;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
  letter-spacing: -0.01em;
}

/* Green Primary Button */
.btn-dragonland {
  flex: 1.3;
  background: var(--color-green);
  color: #041407;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-dragonland:hover {
  background: #20b857;
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.6);
  transform: translateY(-2px);
}

.btn-thumb {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  background: #041407;
}

/* White/Black Secondary Button */
.btn-discord {
  flex: 1;
  background: #111417;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
  background: #171c21;
  border-color: var(--color-green);
  color: var(--color-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */
.site-footer {
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-inner a {
  color: var(--text-gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--color-green-light);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.25rem;
  }
  .hero-container {
    padding: 2.2rem 1.25rem 3.5rem;
  }
  .hero-logo {
    width: 110px;
    height: 110px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
