/* Home landing page (inspired by coconutmc.com / playhyping.com), theme palette */
.hp { max-width: 1080px; margin: 30px auto 50px; padding: 0 18px; font-family: Sora, Montserrat, sans-serif; }

/* Intro band */
.hp-intro {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 40px 36px;
  border: 1px solid var(--package-border, #2b3a54);
  background:
    radial-gradient(700px 300px at 100% -30%, color-mix(in oklab, var(--main-color) 24%, transparent), transparent 60%),
    linear-gradient(120deg, var(--second-background, #1e283a), var(--fourth-background, #1c2637));
}
.hp-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--main-color, #8b5cf6); }
.hp-intro h1 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; line-height: 1.05; }
.hp-intro p.hp-tag { margin: 12px 0 0; max-width: 560px; color: var(--secondary-text-color, #aeaeae); font-size: 15px; line-height: 1.7; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.hp-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 11px;
  text-decoration: none; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(180deg, var(--light-green, #a78bfa), var(--main-color, #8b5cf6));
}
.hp-btn:hover { filter: brightness(1.08); }
.hp-ip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 11px; cursor: pointer;
  background: var(--background-color, #131b28); border: 1px solid var(--package-border, #2b3a54);
  color: #fff; font-family: inherit; font-size: 14px; font-weight: 600;
}
.hp-ip:hover { border-color: var(--main-color, #8b5cf6); }
.hp-ip i { color: var(--secondary-text-color, #aeaeae); }
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good, #34d399); box-shadow: 0 0 8px #34d399; }
.hp-online { margin-top: 16px; font-size: 13px; color: var(--secondary-text-color, #aeaeae); }
.hp-online b { color: #fff; }

/* Widgets row */
.hp-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }

/* Sections */
.hp-section { margin-top: 44px; text-align: center; }
.hp-section .hp-eyebrow { text-align: center; }
.hp-h2 { margin: 8px 0 0; font-size: 28px; font-weight: 800; color: #fff; }
.hp-h2 + .hp-lead { margin: 8px auto 0; max-width: 540px; color: var(--secondary-text-color, #aeaeae); font-size: 14px; }

.hp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; text-align: left; }
.hp-card {
  padding: 24px; border-radius: 16px;
  background: var(--second-background, #1e283a); border: 1px solid var(--package-border, #2b3a54);
  transition: transform .16s ease, border-color .16s ease;
}
.hp-card:hover { transform: translateY(-3px); border-color: var(--main-color, #8b5cf6); }
.hp-card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--main-color) 16%, transparent); color: var(--main-color, #8b5cf6); font-size: 24px; margin-bottom: 14px;
}
.hp-card h3 { margin: 0; font-size: 17px; font-weight: 800; color: #fff; }
.hp-card p { margin: 8px 0 0; font-size: 13.5px; color: var(--secondary-text-color, #aeaeae); line-height: 1.65; }

/* FAQ */
.hp-faq { max-width: 720px; margin: 26px auto 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.hp-faq details {
  border: 1px solid var(--package-border, #2b3a54); border-radius: 12px; background: var(--second-background, #1e283a);
  overflow: hidden;
}
.hp-faq summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 14.5px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; color: var(--main-color, #8b5cf6); font-size: 20px; font-weight: 800; }
.hp-faq details[open] summary::after { content: "-"; }
.hp-faq details > p { margin: 0; padding: 0 18px 16px; color: var(--secondary-text-color, #aeaeae); font-size: 13.5px; line-height: 1.7; }

/* Discord CTA */
.hp-cta {
  margin-top: 44px; text-align: center; padding: 40px 24px; border-radius: 20px;
  border: 1px solid var(--package-border, #2b3a54);
  background:
    radial-gradient(600px 260px at 50% -40%, rgba(88, 101, 242, 0.30), transparent 60%),
    linear-gradient(120deg, var(--second-background, #1e283a), var(--fourth-background, #1c2637));
}
.hp-cta h2 { margin: 0; font-size: 26px; font-weight: 800; color: #fff; }
.hp-cta p { margin: 10px auto 0; max-width: 460px; color: var(--secondary-text-color, #aeaeae); font-size: 14px; }
.hp-cta a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 13px 24px; border-radius: 11px;
  text-decoration: none; font-weight: 800; font-size: 14px; color: #fff; background: #5865f2;
}
.hp-cta a:hover { filter: brightness(1.08); }

@media (max-width: 820px) {
  .hp-widgets, .hp-cards { grid-template-columns: 1fr; }
}

/* Monthly goal card */
.hp-goal { padding: 22px 24px; border-radius: 16px; background: var(--second-background, #1e283a); border: 1px solid var(--package-border, #2b3a54); }
.hp-goal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hp-goal-title { font-size: 14px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.hp-goal-title i { color: var(--main-color, #8b5cf6); font-size: 18px; }
.hp-goal-pct { font-size: 14px; font-weight: 800; color: var(--main-color, #8b5cf6); }
.hp-goal-track { height: 12px; border-radius: 999px; background: var(--background-color, #131b28); overflow: hidden; border: 1px solid var(--package-border, #2b3a54); }
.hp-goal-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--light-green, #a78bfa), var(--main-color, #8b5cf6)); }
.hp-goal-note { margin: 10px 0 0; font-size: 12.5px; color: var(--secondary-text-color, #aeaeae); }

/* Store category listing page */
.store-hero { text-align: center; margin: 8px 0 26px; font-family: Sora, sans-serif; }
.store-hero-title { margin: 8px 0 0; font-size: 32px; font-weight: 800; color: #fff; }
.store-hero-sub { margin: 10px auto 0; max-width: 520px; color: var(--secondary-text-color, #aeaeae); font-size: 14px; line-height: 1.6; }
.store-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.store-cat {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; text-decoration: none;
  background: var(--second-background, #1e283a); border: 1px solid var(--package-border, #2b3a54);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.store-cat:hover { transform: translateY(-3px); border-color: var(--main-color, #8b5cf6); box-shadow: 0 18px 38px -20px var(--main-color, #8b5cf6); }
.store-cat-media {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 12px; overflow: hidden;
  background: var(--fourth-background, #1c2637); display: flex; align-items: center; justify-content: center;
}
.store-cat-media img { width: 100%; height: 100%; object-fit: cover; }
.store-cat-initial { font-family: Sora, sans-serif; font-weight: 800; font-size: 30px; color: var(--main-color, #8b5cf6); }
.store-cat-body { flex: 1; min-width: 0; font-family: Sora, sans-serif; }
.store-cat-body h3 { margin: 0; font-size: 17px; font-weight: 800; color: #fff; }
.store-cat-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--secondary-text-color, #aeaeae); }
.store-cat > i { color: var(--secondary-text-color, #aeaeae); font-size: 24px; }
@media (max-width: 640px) { .store-cats { grid-template-columns: 1fr; } }

/* Category cards - CloudSMP style (colored gradient + tilted artwork) */
.cat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cat-card {
  position: relative; overflow: hidden; min-height: 178px; border-radius: 18px; padding: 28px 30px;
  display: flex; flex-direction: column; justify-content: center; text-decoration: none;
  background: linear-gradient(135deg, var(--g1, #8b5cf6), var(--g2, #6d28d9));
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -18px var(--g2, #6d28d9); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.18), transparent 55%); }
.cat-card-text { position: relative; z-index: 2; max-width: 62%; font-family: Sora, sans-serif; }
.cat-card-text h3 { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: .5px; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.cat-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: rgba(255,255,255,0.92); font-weight: 700; font-size: 13px; }
.cat-card-count { display: block; margin-top: 6px; color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; }
.cat-card-art {
  position: absolute; right: 30px; bottom: -14px; width: 188px; height: 188px; object-fit: contain;
  transform: rotate(-18deg); filter: drop-shadow(0 12px 20px rgba(0,0,0,0.4)); pointer-events: none; z-index: 1;
}
.cat-card-initial {
  position: absolute; right: 26px; bottom: -18px; z-index: 1; pointer-events: none;
  font-family: Sora, sans-serif; font-weight: 900; font-size: 120px; color: rgba(255,255,255,0.18);
}
@media (max-width: 640px) {
  .cat-cards { grid-template-columns: 1fr; }
  .cat-card-art { width: 150px; height: 150px; right: 18px; }
}
