:root {
  --bg: #020b05;
  --bg-strong: #010805;
  --panel: rgba(7, 20, 14, 0.8);
  --panel-border: rgba(52, 255, 125, 0.6);
  --green: #38ff8b;
  --green-soft: #9fffcf;
  --green-dark: #1e7f4c;
  --text: #e7fff0;
  --muted: #89b59c;
  --shadow: rgba(17, 255, 110, 0.28);
  --card: rgba(10, 24, 17, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(27, 105, 59, 0.2), transparent 40%),
    linear-gradient(180deg, var(--bg-strong), var(--bg));
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

#matrixCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1150px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(1, 7, 3, 0.5);
  border-bottom: 1px solid rgba(56, 255, 139, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.18em;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(19, 71, 48, 0.3);
  color: var(--green);
  box-shadow: 0 0 14px rgba(56, 255, 139, 0.4);
}

.brand-text {
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.discord-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(88, 101, 242, 0.65);
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.14);
  color: #aeb7ff !important;
}

.discord-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.discord-link::after {
  display: none;
}

.discord-link:hover,
.discord-link:focus-visible {
  color: #ffffff !important;
  background: #5865f2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.45);
}

.admin-login-toggle,
.logout-btn {
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(7, 20, 14, 0.8);
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
  padding: 72px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-soft);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px rgba(56, 255, 139, 0.4);
}

.lead {
  max-width: 700px;
  margin-top: 20px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn,
.price-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.primary-btn,
.price-card button {
  background: linear-gradient(135deg, var(--green), #0ad67a);
  color: #042111;
  box-shadow: 0 0 24px rgba(56, 255, 139, 0.25);
}

.secondary-btn {
  background: rgba(8, 30, 18, 0.55);
  color: var(--text);
}

.primary-btn:hover,
.secondary-btn:hover,
.price-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(56, 255, 139, 0.28);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 700px;
}

.meta-grid > div,
.hero-panel,
.details-card,
.price-card {
  background: rgba(10, 23, 17, 0.72);
  border: 1px solid rgba(56, 255, 139, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.meta-grid > div {
  padding: 18px 16px;
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 8px;
}

.hero-panels {
  display: grid;
  gap: 20px;
}

.hero-panel {
  padding: 24px 20px;
}

.panel-header {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 18px;
}

.hero-panel ul,
.check-list,
.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.9;
  color: var(--text);
}

.panel-note {
  margin-top: 18px;
  color: var(--green-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.benefits,
.pricing,
.future-products,
.info,
.reviews,
.checkout {
  padding-top: 36px;
  padding-bottom: 28px;
}

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading.left {
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 26px 20px;
  background: rgba(10, 23, 17, 0.72);
  border: 1px solid rgba(56, 255, 139, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(56, 255, 139, 0.08);
  border: 1px solid rgba(56, 255, 139, 0.25);
  color: var(--green);
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  padding: 24px 20px;
  text-align: center;
}

.price-card.featured {
  border-color: rgba(56, 255, 139, 0.7);
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(11, 52, 31, 0.8), rgba(9, 21, 16, 0.8));
}

.badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  padding: 0.38rem 0.7rem;
  background: rgba(56, 255, 139, 0.08);
  color: var(--green-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 18px;
  font-size: 2rem;
}

.price {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 18px rgba(56, 255, 139, 0.25);
}

.stock {
  margin-top: 10px;
  color: var(--green-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card.sold-out {
  opacity: 0.72;
  border-color: rgba(255, 124, 124, 0.5);
}

.price-card:nth-child(1) .stock {
  color: #9ef9bf;
}

.price-card:nth-child(2) .stock {
  color: #ffc857;
}

.price-card:nth-child(3) .stock {
  color: #ff7c7c;
}

.price-card p {
  margin: 18px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.future-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(10, 23, 17, 0.72);
  border: 1px solid rgba(56, 255, 139, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.future-product-card h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
}

.future-product-card p {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.future-product-card + .future-product-card {
  margin-top: 20px;
}

.future-product-price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.future-product-card .stock {
  margin-top: 14px;
}

.future-product-card .buy-btn {
  margin-top: 4px;
  white-space: nowrap;
}

.future-product-price-note {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ===== CUSTOMER ROLES ===== */
.role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  vertical-align: middle;
}

.role-badge.role-priv {
  background: rgba(56, 255, 139, 0.16);
  border: 1px solid rgba(56, 255, 139, 0.55);
  color: var(--accent);
}

.role-badge.role-mid {
  background: rgba(150, 170, 160, 0.14);
  border: 1px solid rgba(150, 170, 160, 0.4);
  color: #b9cfc4;
}

.priv-access-notice {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(56, 255, 139, 0.08);
  border: 1px solid rgba(56, 255, 139, 0.3);
  color: var(--accent);
  font-size: 0.86rem;
  line-height: 1.5;
}

.price-card.plan-locked {
  opacity: 0.55;
}

.profile-highlight {
  animation: profile-pulse 1.6s ease;
}

@keyframes profile-pulse {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 0 3px rgba(56, 255, 139, 0.45); }
}

.admin-role-wrap {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(56, 255, 139, 0.18);
}

.admin-role-wrap h4 {
  margin: 0 0 14px;
  color: var(--accent);
}

.admin-role-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-role-form input,
.admin-role-form select {
  flex: 1 1 200px;
  padding: 10px 12px;
  background: rgba(3, 14, 9, 0.85);
  border: 1px solid rgba(56, 255, 139, 0.28);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.admin-role-btn {
  padding: 10px 18px;
  border: 1px solid rgba(56, 255, 139, 0.5);
  border-radius: 10px;
  background: rgba(56, 255, 139, 0.14);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-role-btn:hover {
  background: rgba(56, 255, 139, 0.24);
}

.admin-role-btn.secondary {
  border-color: rgba(255, 68, 88, 0.45);
  background: rgba(255, 68, 88, 0.1);
  color: #ff8d9b;
}

.admin-role-btn.secondary:hover {
  background: rgba(255, 68, 88, 0.2);
}

.admin-role-status {
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.admin-role-status.success { color: var(--accent); }
.admin-role-status.error { color: #ff8d9b; }

.admin-role-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.admin-role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(3, 14, 9, 0.6);
  border: 1px solid rgba(56, 255, 139, 0.16);
  border-radius: 10px;
  font-size: 0.88rem;
}

.admin-role-badges small {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-role-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reviews-intro {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 255, 139, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(56, 255, 139, 0.08), transparent 48%),
    rgba(10, 23, 17, 0.78);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), inset 0 0 26px rgba(56, 255, 139, 0.03);
}

.review-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -52px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(56, 255, 139, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(56, 255, 139, 0.025);
}

.review-marker,
.review-status,
.review-source {
  position: relative;
  z-index: 1;
}

.review-marker {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(56, 255, 139, 0.32);
  border-radius: 6px;
  color: var(--green);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.review-status {
  margin: 22px 0 10px;
  color: var(--green-soft);
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.65;
}

.review-source {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed rgba(56, 255, 139, 0.3);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.review-submission {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-top: 24px;
  padding: 26px 22px;
  border: 1px solid rgba(56, 255, 139, 0.22);
  border-radius: 18px;
  background: rgba(10, 23, 17, 0.78);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.review-submission h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.review-submission > div > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-form label {
  display: grid;
  gap: 8px;
}

.review-form span {
  color: var(--green-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(56, 255, 139, 0.25);
  border-radius: 10px;
  background: rgba(2, 12, 8, 0.8);
  color: var(--text);
  font: inherit;
  padding: 0.8rem 0.9rem;
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

.review-submit,
.admin-review-action {
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #0ad67a);
  color: #042111;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.review-submit {
  min-height: 46px;
}

.review-form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.review-login-prompt {
  display: none;
}

.review-login-prompt.visible {
  display: block;
}

.review-login-prompt p {
  margin: 0 0 14px;
}

.admin-review-list-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(56, 255, 139, 0.18);
}

.admin-review-list-wrap h4 {
  margin: 0 0 14px;
  font-family: "Orbitron", sans-serif;
}

.admin-review-list {
  display: grid;
  gap: 10px;
}

.admin-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(56, 255, 139, 0.18);
  border-radius: 12px;
  background: rgba(2, 12, 8, 0.55);
}

.admin-review-item p {
  margin: 8px 0 0;
  color: var(--text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-review-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-review-actions {
  display: flex;
  align-items: start;
  gap: 8px;
}

.admin-review-action {
  min-height: 34px;
  padding: 0 10px;
}

.admin-review-action.delete {
  border-color: rgba(255, 124, 124, 0.5);
  background: rgba(255, 124, 124, 0.1);
  color: #ffb1b8;
}

.price-card button {
  width: 100%;
  border-radius: 10px;
  font-size: 0.95rem;
}

.buy-btn {
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.details-card {
  padding: 24px 22px;
}

.details-card h3 {
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.compatibility {
  padding-top: 18px;
  padding-bottom: 56px;
}

.compatibility-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.compatibility-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12, 25, 18, 0.8);
  border: 1px solid rgba(56, 255, 139, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 230px;
}

.compatibility-item img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(56, 255, 139, 0.3));
}

.checkout-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background: rgba(10, 23, 17, 0.78);
  border: 1px solid rgba(56, 255, 139, 0.2);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.checkout-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.checkout-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.order-form {
  display: grid;
  gap: 16px;
}

.order-form label {
  display: grid;
  gap: 8px;
}

.order-form span {
  color: var(--green-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-form input,
.order-form select {
  appearance: none;
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(2, 12, 8, 0.8);
  color: var(--text);
  border-radius: 12px;
  min-height: 50px;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.payment-wrap {
  display: grid;
  gap: 10px;
}

.payment-title {
  display: block;
  color: var(--green-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.payment-option {
  min-height: 48px;
  border: 1px solid rgba(56, 255, 139, 0.24);
  border-radius: 12px;
  background: rgba(4, 17, 12, 0.75);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.payment-option.selected {
  background: linear-gradient(135deg, rgba(56, 255, 139, 0.18), rgba(56, 255, 139, 0.08));
  border-color: rgba(56, 255, 139, 0.7);
  box-shadow: 0 0 18px rgba(56, 255, 139, 0.15);
}

.payment-option-coming-soon {
  cursor: not-allowed;
  opacity: 0.55;
}

.crypto-field {
  display: grid;
  gap: 8px;
}

.crypto-field.hidden {
  display: none;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(56, 255, 139, 0.18);
  background: rgba(2, 12, 8, 0.55);
}

.summary-label {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.order-summary strong {
  color: var(--text);
}

.checkout-submit {
  margin-top: 6px;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #0ad67a);
  color: #031c0e;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 50;
  padding: 20px;
}

.checkout-modal.hidden {
  display: none;
}

.checkout-modal-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(56, 255, 139, 0.3);
  background: rgba(6, 18, 13, 0.97);
  padding: 24px 22px 18px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.42);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(56, 255, 139, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.checkout-modal-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.modal-summary {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
}

.modal-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(2, 12, 8, 0.6);
  border: 1px solid rgba(56, 255, 139, 0.12);
}

.modal-summary span {
  color: var(--muted);
}

.modal-cta {
  width: 100%;
}

.admin-panel {
  padding-top: 18px;
  padding-bottom: 12px;
}

.admin-panel.hidden,
.login-modal.hidden,
.hidden {
  display: none !important;
}

.admin-box {
  padding: 22px;
  border-radius: 20px;
  background: rgba(10, 23, 17, 0.78);
  border: 1px solid rgba(56, 255, 139, 0.2);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.key-storage-controls {
  align-items: start;
}

.key-storage-controls label {
  min-width: 0;
}

.key-storage-controls label > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.key-storage-controls small {
  color: var(--muted);
  font-weight: 400;
}

.key-storage-list {
  display: grid;
  gap: 8px;
  min-height: 48px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(56, 255, 139, 0.18);
  border-radius: 10px;
  background: rgba(2, 12, 8, 0.45);
}

.stored-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(56, 255, 139, 0.28);
  border-radius: 8px;
  background: rgba(10, 29, 19, 0.85);
}

.stored-key-row input {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(56, 255, 139, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.key-remove-btn,
.key-add-btn {
  border: 1px solid rgba(56, 255, 139, 0.3);
  border-radius: 7px;
  background: rgba(56, 255, 139, 0.08);
  color: var(--text);
  cursor: pointer;
}

.key-remove-btn {
  width: 32px;
  height: 32px;
  color: #ff8791;
}

.key-add-btn {
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
}

.profile-orders {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(56, 255, 139, 0.18);
}

.profile-orders-heading,
.profile-order-topline,
.profile-order-details,
.profile-order-key {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.profile-orders-heading {
  color: var(--green-soft);
}

.profile-orders-heading span,
.profile-order-details,
.profile-orders-empty {
  color: var(--muted);
  font-size: 0.78rem;
}

.profile-orders-list {
  display: grid;
  gap: 8px;
}

.profile-order-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(56, 255, 139, 0.22);
  border-radius: 10px;
  background: rgba(2, 12, 8, 0.5);
}

.profile-order-status {
  color: var(--green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.profile-order-key {
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(56, 255, 139, 0.08);
}

.profile-order-key span {
  color: var(--muted);
  font-size: 0.75rem;
}

.profile-order-key strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.82rem;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-box h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.admin-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-controls label {
  display: grid;
  gap: 8px;
}

.admin-controls span {
  color: var(--green-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-controls input {
  min-height: 42px;
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(2, 12, 8, 0.8);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.admin-save {
  margin-top: 18px;
  min-height: 46px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--green), #0ad67a);
  color: #031c0e;
  font-weight: 800;
  cursor: pointer;
}

.login-modal,
.checkout-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  z-index: 60;
  padding: 20px;
}

.login-modal-card,
.checkout-modal-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(56, 255, 139, 0.3);
  background: rgba(6, 18, 13, 0.97);
  padding: 24px 22px 18px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.42);
}

.profile-modal-card {
  width: min(880px, calc(100vw - 28px));
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.profile-summary-item {
  padding: 12px 14px;
  border: 1px solid rgba(56, 255, 139, 0.16);
  border-radius: 12px;
  background: rgba(2, 12, 8, 0.55);
}

.profile-summary-item span,
.profile-section-head h4 {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.profile-summary-item strong {
  color: var(--text);
  font-size: 0.95rem;
  word-break: break-word;
}

.profile-sections {
  display: grid;
  gap: 14px;
}

.profile-section {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(56, 255, 139, 0.16);
  background: rgba(2, 12, 8, 0.55);
}

.profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-section-head h4 {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 255, 139, 0.2);
  color: var(--green);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-order-card--highlight {
  border-color: rgba(56, 255, 139, 0.32);
  background: rgba(56, 255, 139, 0.06);
}

.profile-purchase-list {
  display: grid;
  gap: 10px;
}

.profile-purchase-item {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(56, 255, 139, 0.14);
  background: rgba(1, 10, 6, 0.72);
}

.profile-purchase-item-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 8px;
}

.profile-purchase-item-title {
  color: var(--text);
  font-weight: 700;
}

.profile-purchase-item-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-purchase-item-key {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(56, 255, 139, 0.08);
  overflow-wrap: anywhere;
}

.profile-purchase-item-key span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-empty {
  margin: 0;
  color: var(--muted);
}

.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-auth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-auth-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  opacity: 0.8;
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 168px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(56, 255, 139, 0.22);
  background: rgba(3, 13, 8, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 8px;
  z-index: 20;
}

.user-menu-item {
  width: 100%;
  border: 1px solid rgba(56, 255, 139, 0.18);
  border-radius: 10px;
  background: rgba(56, 255, 139, 0.06);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.user-menu-item:hover,
.user-menu-item:focus-visible {
  background: rgba(56, 255, 139, 0.15);
  border-color: rgba(56, 255, 139, 0.42);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form span {
  color: var(--green-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-form input {
  min-height: 48px;
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(2, 12, 8, 0.8);
  color: var(--text);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 18px 0 42px;
  color: var(--muted);
  text-align: center;
}

/* ── Free Trial Banner ───────────────────────────────────── */
.free-trial-banner {
  padding: 0 0 48px;
}

.free-trial-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border: 1px solid rgba(56, 255, 139, 0.35);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: rgba(17, 255, 110, 0.04);
  box-shadow: 0 0 18px rgba(17, 255, 110, 0.08);
  flex-wrap: wrap;
}

.free-trial-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.free-trial-inner p {
  flex: 1;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  min-width: 180px;
}

.free-trial-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.free-trial-btn:hover,
.free-trial-btn:focus-visible {
  opacity: 0.85;
}

.discord-info-box {
  z-index: 8;
  width: min(280px, calc(100vw - 44px));
  padding: 16px;
  border: 1px solid rgba(56, 255, 139, 0.5);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: rgba(1, 12, 7, 0.92);
  box-shadow: 0 0 22px rgba(17, 255, 110, 0.18), inset 0 0 18px rgba(17, 255, 110, 0.06);
  backdrop-filter: blur(12px);
}

.discord-info-kicker {
  display: block;
  color: var(--green);
  font-family: "Orbitron", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
}

.discord-info-box p {
  margin: 8px 0 13px;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.45;
}

.discord-info-box a {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.discord-info-box a:hover,
.discord-info-box a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 10px var(--green);
}

@media (max-width: 860px) {
  .hero,
  .price-grid,
  .content-grid,
  .benefit-grid,
  .review-grid,
  .review-submission,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .discord-info-box {
    right: 12px;
    bottom: 12px;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .profile-section-head {
    flex-direction: column;
    align-items: start;
  }

  .future-product-card {
    flex-direction: column;
    align-items: start;
  }
}

/* Payment Containers */
.payment-section {
  margin: 16px 0;
  min-height: 80px;
}

.stripe-container,
.paypal-container,
.square-cash-app-container,
.crypto-container {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 255, 139, 0.2);
  background: rgba(2, 12, 8, 0.6);
}

.stripe-container.hidden,
.paypal-container.hidden,
.square-cash-app-container.hidden,
.crypto-container.hidden {
  display: none;
}

#card-element {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(2, 12, 8, 0.8);
}

.payment-error {
  color: #ff4458;
  font-size: 0.85rem;
  margin-top: 8px;
}

#paypal-button-container {
  padding: 8px 0;
}

.crypto-info {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.crypto-ticket-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #0ad67a);
  color: #042111;
  font-weight: 800;
  text-decoration: none;
}

.crypto-ticket-link:hover,
.crypto-ticket-link:focus-visible {
  box-shadow: 0 0 20px rgba(56, 255, 139, 0.32);
}

.checkout-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 255, 139, 0.3);
  background: rgba(2, 12, 8, 0.7);
  color: var(--text);
  text-align: center;
  font-size: 0.95rem;
}

.checkout-status.hidden {
  display: none;
}

.checkout-status-processing {
  background: rgba(56, 255, 139, 0.1);
  border-color: rgba(56, 255, 139, 0.4);
  color: var(--green);
}

.checkout-status-success {
  background: rgba(56, 255, 139, 0.15);
  border-color: rgba(56, 255, 139, 0.5);
  color: var(--green);
  font-weight: 600;
}

.checkout-status-error {
  background: rgba(255, 68, 88, 0.1);
  border-color: rgba(255, 68, 88, 0.4);
  color: #ff4458;
  font-weight: 600;
}

/* User Authentication Styles */
.user-auth-toggle {
  background: transparent;
  border: 1px solid rgba(56, 255, 139, 0.3);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.user-auth-toggle:hover {
  border-color: var(--green);
  background: rgba(56, 255, 139, 0.1);
  box-shadow: 0 0 12px rgba(56, 255, 139, 0.2);
}

.user-status-box {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 255, 139, 0.25);
  background: rgba(56, 255, 139, 0.08);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-status-box p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.logout-link {
  background: transparent;
  border: none;
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 0;
  font-weight: 600;
}

.logout-link:hover {
  color: #0ad67a;
}

.login-required-box {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 68, 88, 0.3);
  background: rgba(255, 68, 88, 0.08);
  margin-bottom: 16px;
  text-align: center;
}

.login-required-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-button {
  background: transparent;
  border: none;
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
  padding: 0;
  font-size: inherit;
}

.link-button:hover {
  color: #0ad67a;
}

.verification-message {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: center;
}

.resend-link {
  text-align: center;
  margin-top: 12px;
}

.resend-link .link-button {
  font-size: 0.85rem;
}
