/*
 * Discord-inspired storefront design.
 * Lives in custom.css so it survives theme updates.
 * Palette: blurple #5865F2, Discord green #23A55A, deep navy backgrounds.
 */

:root {
  --dc-blurple: 88, 101, 242;
  --dc-blurple-light: 129, 140, 255;
  --dc-green: 35, 165, 90;
  --dc-pink: 235, 69, 158;
}

::selection { background: rgba(var(--dc-blurple), .45); color: #fff; }

html { scroll-padding-top: 90px; }

/* Overall size of the whole store. Raise/lower this one number to scale everything. */
html { font-size: 15px !important; }

/* Slim, on-brand scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(var(--dc-blurple), .55) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(var(--dc-blurple), .5); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--dc-blurple), .8); background-clip: padding-box; border: 2px solid transparent; }

/* ───────────── Announcement bar ───────────── */
.sa-announcement {
  background: linear-gradient(90deg, #4752c4, #5865F2 45%, #7983ff 70%, #5865F2);
  background-size: 200% 100%;
  animation: dc-shimmer 12s linear infinite;
  font-weight: 600;
  letter-spacing: .01em;
}
@keyframes dc-shimmer { to { background-position: 200% 0; } }

/* ───────────── Navbar ───────────── */
.sa-navbar .rounded-full {
  background: rgba(14, 15, 24, .72) !important;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(var(--dc-blurple-light), .22) !important;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 40px -18px rgba(var(--dc-blurple), .55);
}
.sa-navbar-logo img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(var(--dc-blurple-light), .35), 0 6px 18px -6px rgba(var(--dc-blurple), .6); }
.sa-navbar-logo span { font-weight: 800; letter-spacing: -.01em; }
.sa-navbar-link { border-radius: 999px; font-weight: 600; }
.sa-navbar-link:hover { background: rgba(var(--dc-blurple), .14) !important; color: #fff !important; }
.sa-navbar-link.text-t-primary { background: rgba(var(--dc-blurple), .2) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(var(--dc-blurple-light), .3); }
.sa-navbar-cart:hover { background: rgba(var(--dc-blurple), .16) !important; color: #fff !important; }

/* ───────────── Buttons ───────────── */
.sa-btn { font-weight: 700; letter-spacing: .005em; border-radius: 14px; }
.sa-btn--primary.sa-btn--solid {
  background: linear-gradient(135deg, #6d79ff 0%, #5865F2 55%, #4752c4 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px -8px rgba(var(--dc-blurple), .85), inset 0 1px 0 rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .12);
}
.sa-btn--primary.sa-btn--solid:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -8px rgba(var(--dc-blurple), 1), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.sa-btn--secondary.sa-btn--outline,
.sa-btn--secondary.sa-btn--solid {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(var(--dc-blurple-light), .28);
  backdrop-filter: blur(8px);
}
.sa-btn--secondary.sa-btn--outline:hover,
.sa-btn--secondary.sa-btn--solid:hover {
  background: rgba(var(--dc-blurple), .16);
  border-color: rgba(var(--dc-blurple-light), .6);
}
.sa-btn i { transition: transform .2s ease; }
.sa-btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* ───────────── Hero ───────────── */
.sa-hero { isolation: isolate; }
.sa-hero-title {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  text-shadow: 0 2px 40px rgba(var(--dc-blurple), .25);
}
.sa-hero-title .mk,
.sa-section-title .mk,
.hl-accent .mk {
  background: linear-gradient(100deg, #8c97ff 0%, #5865F2 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(var(--dc-blurple), .45));
}
.sa-hero-subtitle { font-size: 1.15rem; max-width: 40rem; line-height: 1.65; }

.sa-hero-eyebrow {
  background: rgba(var(--dc-blurple), .12) !important;
  border-color: rgba(var(--dc-blurple-light), .3) !important;
  color: #dfe2ff !important;
  box-shadow: 0 0 30px -10px rgba(var(--dc-blurple), .8);
  backdrop-filter: blur(8px);
}
.sa-hero-eyebrow span.bg-accent-500 {
  background: linear-gradient(135deg, #6d79ff, #5865F2) !important;
  letter-spacing: .08em;
}

.hero-bg-glow { opacity: .95; filter: saturate(1.3); }
.sa-hero::after {
  /* soft fade into the page below */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 140px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgb(var(--cl-background)));
  z-index: 0;
}
.sa-hero .wrap { z-index: 1; }

/* Floating Discord glyph orbs behind the hero */
.sa-hero::before {
  content: "\f392"; /* fa-discord */
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  position: absolute;
  right: -2.5rem; top: 12%;
  font-size: clamp(14rem, 30vw, 28rem);
  line-height: 1;
  color: rgba(var(--dc-blurple), .07);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
  animation: dc-float 9s ease-in-out infinite;
}
@keyframes dc-float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-18px) rotate(-8deg); }
}

/* Hero chips + trust line */
.sa-hero .rounded-badge.border {
  background: rgba(255, 255, 255, .04) !important;
  border-color: rgba(var(--dc-blurple-light), .22) !important;
  color: #dfe2ff !important;
  font-weight: 600;
}
.sa-hero .text-xs.text-t-muted { font-weight: 600; letter-spacing: .02em; }
.sa-hero .text-xs.text-t-muted svg { color: rgb(var(--dc-green)); }

/* ───────────── Section headers ───────────── */
.sa-section-header { margin-bottom: 2.75rem; }
.sa-section-title { font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sa-section-subtitle { max-width: 38rem; margin-inline: auto; }
.sa-section-eyebrow,
.sa-section-header [class*="eyebrow"] {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: rgba(var(--dc-blurple), .14);
  border: 1px solid rgba(var(--dc-blurple-light), .28);
  color: #c9ceff !important;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* ───────────── Cards (shared glass look) ───────────── */
.sa-product-card,
.sa-stats-item,
.sa-features-item,
.sa-feedback-card,
.sa-steps--grid .sa-steps-item,
.sa-faq-item {
  background: linear-gradient(180deg, rgba(var(--cl-surface-raised), .85), rgba(var(--cl-surface), .9)) !important;
  border: 1px solid rgba(var(--dc-blurple-light), .14) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sa-product-card:hover,
.sa-features-item:hover,
.sa-feedback-card:hover,
.sa-stats-item:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--dc-blurple-light), .5) !important;
  box-shadow: 0 24px 60px -22px rgba(var(--dc-blurple), .6), 0 0 0 1px rgba(var(--dc-blurple), .25), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* Product cards */
.sa-product-card { overflow: hidden; }
.sa-product-card img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sa-product-card:hover img { transform: scale(1.05); }
.sa-product-card-title { font-weight: 800; letter-spacing: -.02em; }
.sa-product-card-price {
  font-weight: 800;
  background: linear-gradient(100deg, #9aa4ff, #5865F2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sa-product-card-badges > * {
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-weight: 700;
}

/* Stats */
.sa-stats-item { padding: 1.75rem 1rem; text-align: center; }
.sa-stats-item [class*="text-3xl"],
.sa-stats-item [class*="text-4xl"],
.sa-stats-item [class*="font-heading"] {
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff, #aeb5ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Feature icons */
.sa-features-item i,
.sa-features-icon {
  color: #fff;
}
.sa-features-item [class*="rounded"][class*="bg-accent"],
.sa-features-icon {
  background: linear-gradient(135deg, #6d79ff, #5865F2) !important;
  box-shadow: 0 10px 24px -8px rgba(var(--dc-blurple), .9);
  color: #fff !important;
}

/* Step icons (grid variant) */
.sa-steps-icon {
  background: linear-gradient(135deg, #6d79ff, #5865F2) !important;
  box-shadow: 0 10px 24px -8px rgba(var(--dc-blurple), .9);
  color: #fff !important;
}

/* Timeline variant: number badge on the line, text in its own card beside it */
.sa-steps--timeline .sa-steps-items { gap: 1.25rem; }
.sa-steps--timeline .sa-steps-item { align-items: center; }
.sa-steps--timeline .sa-steps-item > span {
  width: 2.5rem; height: 2.5rem;
  background: linear-gradient(135deg, #6d79ff, #5865F2) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(var(--dc-blurple), .14), 0 10px 24px -8px rgba(var(--dc-blurple), .9);
}
.sa-steps--timeline .sa-steps-item > div {
  flex: 1; padding: .85rem 1.15rem;
  background: linear-gradient(180deg, rgba(var(--cl-surface-raised), .85), rgba(var(--cl-surface), .9));
  border: 1px solid rgba(var(--dc-blurple-light), .14);
  border-radius: 16px;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: transform .25s ease, border-color .25s ease;
}
.sa-steps--timeline .sa-steps-item:hover > div { transform: translateX(4px); border-color: rgba(var(--dc-blurple-light), .45); }
/* the vertical connector line, aligned to the badge centre */
.sa-steps--timeline .absolute.left-5 {
  left: 1.25rem; top: 1.25rem; bottom: 1.25rem; width: 2px;
  background: linear-gradient(180deg, rgba(var(--dc-blurple), .7), rgba(var(--dc-blurple), .08)) !important;
}

/* Reviews: gold stars like Discord's rating colour */
.sa-feedback-card [aria-label*="stars"] svg,
.sa-feedbacks svg.text-warning { color: #F0B232 !important; filter: drop-shadow(0 0 6px rgba(240, 178, 50, .35)); }

/* Single product/group: centre it instead of leaving it stranded on the left */
.sa-products-items:has(> .sa-products-item:only-child) {
  grid-template-columns: minmax(0, 540px) !important;
  justify-content: center;
}


/* FAQ */
.sa-faq-item { padding: .25rem .25rem; }
.sa-faq-item:hover { border-color: rgba(var(--dc-blurple-light), .4) !important; }

/* Search / inputs */
.sa-searchbar,
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  background: rgba(var(--cl-surface), .8);
  border-color: rgba(var(--dc-blurple-light), .2);
  border-radius: 14px;
}
.sa-searchbar:focus-within,
input:focus,
textarea:focus {
  border-color: rgba(var(--dc-blurple-light), .7) !important;
  box-shadow: 0 0 0 4px rgba(var(--dc-blurple), .18);
  outline: none;
}

/* Footer */
.sa-footer {
  border-top: 1px solid rgba(var(--dc-blurple-light), .16);
  background: linear-gradient(180deg, transparent, rgba(var(--dc-blurple), .06));
}
.sa-footer-link { transition: color .2s ease, padding-left .2s ease; }
.sa-footer-link:hover { color: #fff; padding-left: 4px; }
.sa-footer a[href*="discord"]:hover { color: rgb(var(--dc-blurple-light)); }

/* ───────────── Discord community section (custom-html) ───────────── */
.dc-community {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60rem 28rem at 0% 0%, rgba(var(--dc-blurple), .32), transparent 60%),
    radial-gradient(40rem 24rem at 100% 100%, rgba(var(--dc-pink), .12), transparent 60%),
    linear-gradient(180deg, #14162a, #0f1020);
  border: 1px solid rgba(var(--dc-blurple-light), .3);
  box-shadow: 0 30px 80px -30px rgba(var(--dc-blurple), .65), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dc-community::before {
  content: "\f392"; font-family: "Font Awesome 6 Brands";
  position: absolute; right: -2rem; bottom: -4rem;
  font-size: 20rem; line-height: 1; color: rgba(var(--dc-blurple), .08);
  transform: rotate(-14deg); pointer-events: none;
}
.dc-community__copy, .dc-server { position: relative; z-index: 1; }

.dc-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem; border-radius: 999px;
  background: rgba(var(--dc-blurple), .18);
  border: 1px solid rgba(var(--dc-blurple-light), .35);
  color: #d5d9ff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.dc-title {
  margin: 1rem 0 .75rem;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #fff;
}
.dc-title span {
  background: linear-gradient(100deg, #9aa4ff, #5865F2 50%, #c084fc);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dc-text { color: rgb(var(--cl-t-muted)); font-size: 1.05rem; line-height: 1.7; max-width: 32rem; }
.dc-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.dc-join {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 14px;
  background: linear-gradient(135deg, #2dc770, #23A55A);
  color: #fff; font-weight: 800;
  box-shadow: 0 12px 30px -10px rgba(var(--dc-green), .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, filter .2s ease;
}
.dc-join:hover { transform: translateY(-2px); filter: brightness(1.08); }
/* Telegram-blue variant of the join button */
.dc-join--tg {
  background: linear-gradient(135deg, #3cb9f5, #229ED9);
  box-shadow: 0 12px 30px -10px rgba(34, 158, 217, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.dc-tgnote { color: #a3a7be; font-size: .9rem; line-height: 1.55; padding: .35rem .5rem .75rem; }
.dc-ghost {
  display: inline-flex; align-items: center;
  padding: .85rem 1.4rem; border-radius: 14px;
  border: 1px solid rgba(var(--dc-blurple-light), .35);
  background: rgba(255, 255, 255, .04);
  color: #fff; font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}
.dc-ghost:hover { background: rgba(var(--dc-blurple), .2); border-color: rgba(var(--dc-blurple-light), .7); }

/* Mock Discord server card */
.dc-server {
  background: #1e1f2e;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  transform: rotate(1.6deg);
  transition: transform .4s ease;
}
.dc-community:hover .dc-server { transform: rotate(0deg) translateY(-4px); }
.dc-server__head { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.dc-server__icon { width: 3rem; height: 3rem; border-radius: 16px; object-fit: cover; box-shadow: 0 0 0 2px rgba(var(--dc-blurple), .6); }
.dc-server__name { color: #fff; font-weight: 800; display: flex; align-items: center; gap: .4rem; }
.dc-server__name i { color: rgb(var(--dc-blurple-light)); font-size: .85rem; }
.dc-server__meta { color: #a3a7be; font-size: .8rem; display: flex; align-items: center; gap: .4rem; margin-top: .15rem; }
.dc-dot { width: .55rem; height: .55rem; border-radius: 50%; background: rgb(var(--dc-green)); box-shadow: 0 0 0 3px rgba(var(--dc-green), .25); }
.dc-channels { padding-top: .9rem; display: grid; gap: .15rem; }
.dc-channels__label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7d819b; margin: .6rem 0 .25rem .4rem; }
.dc-channel { display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem; border-radius: 8px; color: #a3a7be; font-weight: 600; font-size: .92rem; }
.dc-channel i { width: 1rem; text-align: center; opacity: .75; font-size: .85rem; }
.dc-channel--active { background: rgba(var(--dc-blurple), .22); color: #fff; }

@media (max-width: 860px) {
  .dc-community { grid-template-columns: 1fr; }
  .dc-server { transform: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sa-hero::before, .sa-announcement, .dc-server { animation: none !important; transition: none !important; }
}