/* GrowVault — standalone stylesheet */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #eaf4ea;
  background-color: #0b1f13;
  background-image:
    radial-gradient(900px 500px at 10% -10%, rgba(96, 200, 120, 0.22), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(255, 210, 120, 0.14), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(120, 220, 180, 0.18), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(10, 30, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-family: "Fraunces", serif;
  font-size: 20px;
}

.brand-mark {
  font-size: 22px;
  filter: drop-shadow(0 2px 6px rgba(120, 220, 160, 0.5));
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: #cfe6d3;
}

.nav a:hover {
  color: #fff;
}

.cta-mini {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6bd18a, #f6c56b);
  color: #0b1f13;
  font-weight: 700;
  font-size: 13px;
}

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

/* Hero */
.hero {
  padding: 60px 0 30px;
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(107, 209, 138, 0.15);
  color: #a9e8ba;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 16px 0 14px;
  font-weight: 800;
}

.grad {
  background: linear-gradient(135deg, #7be0a2, #f6c56b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: #c6dccb;
  font-size: 18px;
  max-width: 560px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  color: #fff;
  background: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #4fbf7a, #f0b750);
  color: #0b1f13;
  box-shadow: 0 10px 30px rgba(79, 191, 122, 0.35);
}

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

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eaf4ea;
}

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

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #cfe6d3;
}

.hero-stats strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 26px;
  color: #fff;
}

.hero-stats span {
  font-size: 13px;
  color: #a6c1ac;
}

.hero-card {
  position: relative;
  height: 380px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 60, 40, 0.7), rgba(20, 40, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-card .glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(123, 224, 162, 0.35), transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

.pot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.sprite {
  font-size: 108px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

.sprite.s2 {
  position: absolute;
  top: 18%;
  left: 18%;
  font-size: 48px;
  animation-delay: -1s;
}

.sprite.s3 {
  position: absolute;
  bottom: 20%;
  left: 20%;
  font-size: 46px;
  animation-delay: -2.5s;
}

.sprite.s4 {
  position: absolute;
  top: 22%;
  right: 16%;
  font-size: 52px;
  animation-delay: -3.5s;
}

.pot-label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #d8f0dd;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 0;
  margin: 20px 0 40px;
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker 45s linear infinite;
  color: #cfe6d3;
  font-size: 14px;
}

.ticker-track span b {
  color: #f6c56b;
}

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

/* Section headings */
.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-head h2,
.how h2,
.faq h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-head p {
  color: #b9d0be;
  margin: 0;
}

/* Tabs */
.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto 20px;
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  border: 0;
  background: transparent;
  color: #cfe6d3;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.tab.is-active {
  background: linear-gradient(135deg, #4fbf7a, #f0b750);
  color: #0b1f13;
}

/* Filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #b9d0be;
  min-width: 260px;
}

.search input {
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #d8ecdd;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.chip.is-active {
  background: rgba(107, 209, 138, 0.2);
  border-color: rgba(107, 209, 138, 0.6);
  color: #eafff0;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  border-radius: 18px;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card .thumb img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.card .name {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card .stat {
  color: #b9d0be;
  font-size: 12px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Rarity colors */
.r-common {
  background: rgba(200, 200, 200, 0.18);
  color: #e8ecec;
}
.r-uncommon {
  background: rgba(120, 220, 160, 0.18);
  color: #b7f0c8;
}
.r-rare {
  background: rgba(108, 168, 245, 0.2);
  color: #b8d3ff;
}
.r-legendary {
  background: rgba(246, 197, 107, 0.2);
  color: #ffd98a;
}
.r-mythical {
  background: rgba(203, 132, 245, 0.22);
  color: #e2bcff;
}
.r-divine {
  background: rgba(245, 118, 165, 0.22);
  color: #ffbfd6;
}
.r-prismatic {
  background: linear-gradient(90deg, #7be0a2, #f6c56b, #cb84f5);
  color: #0b1f13;
}
.r-transcendent {
  background: linear-gradient(90deg, #ff7ea1, #f6c56b, #7be0a2, #6ab6ff);
  color: #0b1f13;
}

.card.r-ring-divine {
  box-shadow: inset 0 0 0 1px rgba(245, 118, 165, 0.55);
}
.card.r-ring-mythical {
  box-shadow: inset 0 0 0 1px rgba(203, 132, 245, 0.55);
}
.card.r-ring-legendary {
  box-shadow: inset 0 0 0 1px rgba(246, 197, 107, 0.55);
}
.card.r-ring-prismatic,
.card.r-ring-transcendent {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.empty {
  text-align: center;
  color: #b9d0be;
  padding: 40px 0;
}

/* How */
.how {
  padding: 80px 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
}

.steps li span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4fbf7a, #f0b750);
  color: #0b1f13;
  font-weight: 800;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.steps p {
  color: #b9d0be;
  margin: 0;
  font-size: 14px;
}

/* FAQ */
.faq {
  padding: 60px 0 100px;
}

.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: #a6c1ac;
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  color: #c6dccb;
  margin: 10px 0 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 40px;
  background: rgba(0, 0, 0, 0.25);
}

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

.muted {
  color: #a6c1ac;
  font-size: 13px;
}

.small {
  font-size: 12px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #12301f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 24px 24px;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #fff;
}

.modal p {
  color: #d5e6d9;
  margin: 0 0 16px;
}

.modal .row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.modal input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 15px;
  outline: none;
}

.modal input[type="text"]:focus {
  border-color: #6bd18a;
}

.modal .item-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.modal .item-hero img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.modal .actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 10px 0 6px;
}

.progress > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6bd18a, #f6c56b);
  transition: width 0.3s ease;
}

.check {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4fbf7a, #f0b750);
  color: #0b1f13;
  font-size: 34px;
  margin: 6px auto 12px;
  font-weight: 800;
}

.notice {
  font-size: 12px;
  color: #a6c1ac;
  text-align: center;
  margin-top: 8px;
}
