

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:           #0e0e14;
  --bg-2:         #13131c;
  --bg-3:         #1a1a28;
  --bg-hover:     #1f1f30;

  --blue:         #5865f2;
  --blue-bright:  #7289da;
  --blue-glow:    rgba(88, 101, 242, 0.45);
  --blue-dim:     rgba(88, 101, 242, 0.12);
  --pink:         #eb459e;
  --pink-glow:    rgba(235, 69, 158, 0.4);
  --pink-dim:     rgba(235, 69, 158, 0.1);

  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0, 212, 255, 0.1);

  --green:        #57f287;

  --border:       rgba(255,255,255,0.06);
  --border-med:   rgba(255,255,255,0.1);

  --text:         #f2f3f5;
  --text-muted:   #8e9297;
  --text-faint:   #4f545c;

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.ambient-blob-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; left: -150px;
}
.ambient-blob-2 {
  width: 500px; height: 500px;
  background: var(--pink);
  bottom: -150px; right: -100px;
}
.ambient-blob-3 {
  width: 300px; height: 300px;
  background: var(--cyan);
  top: 40%; left: 55%;
  opacity: 0.08;
}

.page { position: relative; z-index: 1; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
  animation: fadeDown 0.5s ease both;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border-med);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: #6875f5;
  box-shadow: 0 4px 20px var(--blue-glow);
  transform: translateY(-1px);
}

.btn-pink {
  background: var(--pink);
  color: #fff;
}
.btn-pink:hover {
  background: #ef5eab;
  box-shadow: 0 4px 20px var(--pink-glow);
  transform: translateY(-1px);
}

.btn-outline-blue {
  background: var(--blue-dim);
  color: var(--blue-bright);
  border: 1px solid rgba(88,101,242,0.3);
}
.btn-outline-blue:hover {
  background: rgba(88,101,242,0.2);
  border-color: rgba(88,101,242,0.5);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

.hero {
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid rgba(88,101,242,0.25);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

.hero-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-heading .hl-blue { color: var(--blue-bright); }
.hero-heading .hl-pink { color: var(--pink); }
.hero-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-server-card {
  background: var(--bg-2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  overflow: visible;
  position: relative;
}

.server-card-banner {
  height: 100px;
  background: linear-gradient(135deg, #1e1f4a 0%, #2d1040 60%, #1a0a2e 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.server-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  
}

.server-card-body {
  position: relative;
  padding: 0 24px 28px;
}

.server-card-avatar {
  position: relative;
  z-index: 2;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--bg-2);
  background: var(--bg-3);
  margin: -36px 0 14px;
}

.server-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.server-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.server-card-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.sc-stat { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-muted); }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sc-dot.online  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.sc-dot.offline { background: var(--text-faint); }
.sc-stat strong { color: var(--text); font-weight: 600; }

.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.stat-num .accent { color: var(--blue-bright); }
.stat-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section { padding: 90px 0; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow.blue { color: var(--blue-bright); }
.section-eyebrow.pink { color: var(--pink); }
.section-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.section-hd { margin-bottom: 48px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}
/* ==========================================================
   Homepage Community Cards (matches partnerships page)
   ========================================================== */

.c-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.c-card:hover {
  background: var(--bg-3);
  border-color: var(--border-med);
  transform: translateY(-3px);
}

/* Premium card styling */
.c-card.premium {
  border-color: rgba(235,69,158,0.35);
  background: linear-gradient(
    160deg,
    var(--bg-2) 0%,
    rgba(235,69,158,0.07) 100%
  );
}

.c-card.premium:hover {
  border-color: rgba(235,69,158,0.6);
}

/* Featured card styling */
.c-card.featured {
  border-color: rgba(88,101,242,0.35);
}

.c-card.featured:hover {
  border-color: rgba(88,101,242,0.6);
}

/* Banner exactly like partnerships page */
.c-card-banner {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
}

/* Body wrapper */
.c-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tier badge */
.c-card-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  width: fit-content;
}

.c-card-tier.is-premium {
  background: var(--pink-dim);
  color: var(--pink);
  border-color: rgba(235,69,158,0.3);
}

.c-card-tier.is-featured {
  background: var(--blue-dim);
  color: var(--blue-bright);
  border-color: rgba(88,101,242,0.3);
}

/* Name */
.c-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* Category */
.c-card-type {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

/* Description */
.c-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* Reason box */
.c-card-reason {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.c-card-reason strong {
  color: var(--text);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 3px;
}

.c-card-action {
  margin-top: auto;
}

.empty-state {
  background: var(--bg-2);
  border: 1px dashed var(--border-med);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.empty-state-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.empty-state-body {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 24px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.feat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
  background: var(--bg-3);
  border-color: var(--border-med);
  transform: translateY(-3px);
}
.feat-icon { font-size: 2rem; margin-bottom: 18px; display: block; }
.feat-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feat-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

.join-section { padding: 90px 0; }
.join-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.join-left {
  padding: 64px 56px;
  border-right: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-2) 0%, rgba(88,101,242,0.06) 100%);
}
.join-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.join-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}
.join-meta { display: flex; gap: 28px; margin-bottom: 36px; }
.join-meta-item { font-size: 0.85rem; color: var(--text-muted); }
.join-meta-item strong { color: var(--text); font-weight: 700; display: block; font-size: 1.1rem; margin-bottom: 2px; }

.join-right {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.join-server-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.join-server-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg);
}
.join-server-info { flex: 1; min-width: 0; }
.join-server-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.join-server-online {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  flex-shrink: 0;
}

.octaweb-section {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.octaweb-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.octaweb-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.octaweb-body p:last-child { margin-bottom: 0; }
.octaweb-body a { color: var(--blue-bright); transition: color 0.15s; }
.octaweb-body a:hover { color: var(--text); }
.octaweb-aside {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.octaweb-aside-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}
.octaweb-aside-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer { padding: 48px 0 36px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 32px; opacity: 0.65; }
.footer-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-faint);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-faint); }
.footer-powered { font-size: 0.78rem; color: var(--text-faint); }
.footer-powered a { color: var(--text-muted); transition: color 0.15s; }
.footer-powered a:hover { color: var(--text); }

  .footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.footer-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.18);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 0 60px;
    gap: 48px;
  }
  .hero-server-card { max-width: 440px; }
  .join-box { grid-template-columns: 1fr; }
  .join-left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 36px; }
  .join-right { padding: 48px 36px; }
  .octaweb-grid { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(3),
  .stat-cell:nth-child(4) { border-bottom: none; }
  .stat-cell:nth-child(4) { border-right: none; }
}

@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { flex-wrap: wrap; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .join-left { padding: 36px 28px; }
  .join-right { padding: 36px 28px; }
  .join-meta { flex-direction: column; gap: 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


.page-header {
  padding: 80px 0 60px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.page-header .hero-tag { margin-bottom: 24px; }
.page-header-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-header-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.tabs-wrap {
  padding: 0 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.15s ease;
  user-select: none;
}
.tab:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border-med);
}
.tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
  padding-bottom: 100px;
}

.p-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.p-card:hover {
  background: var(--bg-3);
  border-color: var(--border-med);
  transform: translateY(-3px);
}
.p-card.is-premium {
  border-color: rgba(235,69,158,0.35);
  background: linear-gradient(160deg, var(--bg-2) 0%, rgba(235,69,158,0.07) 100%);
}
.p-card.is-premium:hover { border-color: rgba(235,69,158,0.6); }
.p-card.is-featured {
  border-color: rgba(88,101,242,0.35);
}
.p-card.is-featured:hover { border-color: rgba(88,101,242,0.6); }

.p-card-banner {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
}

.p-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.p-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.p-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-3);
  object-fit: cover;
}

.p-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.p-card-badge.badge-premium {
  background: var(--pink-dim);
  color: var(--pink);
  border-color: rgba(235,69,158,0.3);
}
.p-card-badge.badge-featured {
  background: var(--blue-dim);
  color: var(--blue-bright);
  border-color: rgba(88,101,242,0.3);
}
.p-card-badge.badge-bumped {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: rgba(0,212,255,0.3);
  margin-left: 6px;
}
.p-card-badge.badge-default {
  background: var(--bg-3);
  color: var(--text-muted);
  border-color: var(--border);
}

.p-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.p-card-category {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.p-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.p-card-action { margin-top: auto; }
.p-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-bright);
  transition: color 0.15s, gap 0.15s;
}
.p-card-link:hover {
  color: var(--text);
  gap: 10px;
}
.p-card-link-secondary {
  opacity: 0.85;
  color: var(--blue-bright);
}
.p-card.is-premium .p-card-link:not(.p-card-link-secondary) { color: var(--pink); }
.p-card.is-premium .p-card-link:hover { color: var(--text); }

.loading-state,
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.loading-state .spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.user-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cyan); }
.user-name   { font-weight: 600; font-size: .95em; }
.user-tag    { font-size: .78em; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }

.btn-logout {
  padding: 8px 18px;
  background: rgba(255,51,85,.12);
  border: 1px solid rgba(255,51,85,.35);
  border-radius: var(--radius-sm);
  color: #ff3355;
  font-weight: 600;
  font-size: .85em;
  cursor: pointer;
  transition: all .25s;
}
.btn-logout:hover { background: rgba(255,51,85,.22); transform: translateY(-1px); }

#login-section { max-width: 600px; margin: 0 auto; text-align: center; padding: 130px 20px; }
#login-section h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 16px;
}
#login-section p { color: var(--text-muted); font-size: 1.1em; margin-bottom: 40px; }

.btn-discord {
  background: #5865F2;
  color: white;
  padding: 16px 38px;
  font-size: 1em;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all .3s;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-discord:hover { background: #4752C4; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(88,101,242,.5); }

.loading { text-align: center; padding: 120px 20px; }
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

#dashboard-section { max-width: 1400px; margin: 0 auto; padding: 30px 5% 60px; }
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin-top: 24px; }

.sidebar { position: sticky; top: 24px; }
.sidebar-nav {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500; font-size: .9em;
  cursor: pointer;
  transition: all .2s;
  border: none; background: none;
  width: 100%; text-align: left;
}
.sidebar-item:hover { background: var(--bg-hover); color: var(--text); }
.sidebar-item.active {
  background: var(--blue-dim);
  color: var(--cyan);
  border: 1px solid rgba(0,150,255,.3);
}
.sidebar-item .icon { font-size: 1.1em; width: 20px; text-align: center; }
.sidebar-divider { height: 1px; background: var(--border); margin: 8px 0; }
.sidebar-section-label {
  font-size: .7em; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-faint);
  padding: 8px 14px 4px;
}

.panel { display: none; }
.panel.active { display: block; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-color, var(--cyan));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.stat-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.2em; font-weight: 800; color: var(--text); }
.stat-label { color: var(--text-muted); font-size: .82em; margin-top: 4px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
}
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05em; font-weight: 700;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
}

.server-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .2s;
}
.server-card:hover { border-color: var(--border-med); }
.server-card.premium {
  border-color: rgba(235,69,158,.5);
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--pink-dim) 100%);
}
.server-card.featured { border-color: rgba(88,101,242,.45); }

.server-icon { width: 70px; height: 70px; border-radius: 10px; flex-shrink: 0; object-fit: cover; }
.server-icon-placeholder {
  width: 70px; height: 70px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8em;
}
.server-info { flex: 1; min-width: 0; }
.server-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1em; font-weight: 800;
  margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.server-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.server-desc { color: var(--text-muted); font-size: .88em; margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.server-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: .78em; font-weight: 700; }
.badge-premium { background: linear-gradient(135deg, var(--blue), var(--pink)); color: white; }
.badge-featured { background: linear-gradient(135deg, #FFB800, #e6a000); color: #1a1400; }
.badge-regular { background: var(--blue-dim); border: 1px solid rgba(88,101,242,.35); color: var(--blue-bright); }
.badge-cat { background: var(--bg-hover); border: 1px solid var(--border); color: var(--text-muted); font-weight: 500; }

.bump-timer { font-size: .8em; color: var(--text-muted); font-family: monospace; display: flex; align-items: center; gap: 5px; }
.bump-timer.ready { color: var(--green); }
.live-timer { font-family: monospace; font-size: .78em; }

.analytics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.chart-box { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.chart-title { font-size: .9em; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar { width: 100%; border-radius: 4px 4px 0 0; transition: height .5s ease; min-height: 4px; }
.bar-label { font-size: .7em; color: var(--text-muted); font-family: monospace; }
.bar-value { font-size: .72em; color: var(--cyan); font-weight: 700; font-family: monospace; }
.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: .82em; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.activity-feed { display: flex; flex-direction: column; gap: 10px; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid transparent;
  transition: border-color .2s;
}
.activity-item:hover { border-color: var(--border); }
.activity-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1em; flex-shrink: 0; }
.activity-text { flex: 1; }
.activity-title { font-size: .88em; font-weight: 600; margin-bottom: 2px; }
.activity-time { font-size: .75em; color: var(--text-muted); font-family: monospace; }

.notif-badge {
  background: #ff3355; color: white; border-radius: 50%;
  width: 18px; height: 18px; font-size: .7em; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}

.settings-group { margin-bottom: 24px; }
.settings-label { font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 12px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-info .title { font-size: .9em; font-weight: 600; margin-bottom: 3px; }
.settings-info .desc { font-size: .8em; color: var(--text-muted); }
.toggle { width: 44px; height: 24px; background: var(--bg-hover); border-radius: 12px; position: relative; cursor: pointer; transition: background .25s; flex-shrink: 0; border: none; }
.toggle.on { background: var(--blue); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform .25s; }
.toggle.on::after { transform: translateX(20px); }

.upgrade-banner {
  background: linear-gradient(135deg, var(--pink-dim), var(--blue-dim));
  border: 1px solid rgba(235,69,158,.3);
  border-radius: var(--radius-xl);
  padding: 28px; text-align: center; margin-bottom: 22px;
}
.upgrade-banner h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3em; font-weight: 800; margin-bottom: 8px; }
.upgrade-banner p { color: var(--text-muted); font-size: .9em; margin-bottom: 18px; }
.upgrade-perks { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.perk { display: flex; align-items: center; gap: 6px; font-size: .85em; color: var(--text-muted); }
.perk .check { color: var(--green); font-size: 1em; }

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  z-index: 1000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  padding: 36px; width: 100%; max-width: 520px;
  position: relative;
  animation: fadeUp .25s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal h3 { color: var(--cyan); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3em; font-weight: 800; margin-bottom: 22px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--text-muted); font-size: 1.4em; cursor: pointer; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--text-muted); font-size: .82em; font-weight: 600; margin-bottom: 7px; text-transform: uppercase; letter-spacing: .04em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: .92em; outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: var(--bg-2); }
.form-hint { color: var(--text-muted); font-size: .76em; margin-top: 5px; }
.char-count { text-align: right; font-size: .75em; color: var(--text-muted); font-family: monospace; margin-top: 4px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.modal-error {
  color: #ff3355; font-size: .85em; margin-top: 10px; display: none;
  background: rgba(255,51,85,.1); border: 1px solid rgba(255,51,85,.2);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.modal-success {
  color: var(--green); font-size: .85em; margin-top: 10px; display: none;
  background: rgba(87,242,135,.08); border: 1px solid rgba(87,242,135,.2);
  border-radius: var(--radius-sm); padding: 10px 12px;
}

.terminate-warning-box {
  background: rgba(255,51,85,.1); border: 1px solid rgba(255,51,85,.3);
  border-radius: 10px; padding: 16px; margin-bottom: 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.terminate-warning-box .warn-icon { font-size: 1.4em; flex-shrink: 0; line-height: 1.3; }
.terminate-warning-box .warn-text { font-size: .85em; color: #ffb3be; line-height: 1.5; }
.terminate-warning-box .warn-text strong { color: #ff3355; }
.terminate-confirm-name {
  background: rgba(255,51,85,.08); border: 1px solid rgba(255,51,85,.25);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text);
  font-family: monospace; font-size: .88em; width: 100%;
  outline: none; transition: border-color .2s;
}
.terminate-confirm-name:focus { border-color: #ff3355; }
.terminate-confirm-name::placeholder { color: rgba(255,255,255,.25); }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 3em; margin-bottom: 14px; opacity: .5; }
.empty-state h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2em; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: .9em; margin-bottom: 22px; }

.tab-bar { display: flex; gap: 4px; background: var(--bg-3); padding: 4px; border-radius: 10px; margin-bottom: 20px; width: fit-content; }
.tab { padding: 8px 16px; border-radius: 7px; font-size: .85em; font-weight: 600; cursor: pointer; border: none; background: none; color: var(--text-muted); transition: all .2s; }
.tab.active { background: var(--blue-dim); color: var(--cyan); }
.tab:hover:not(.active) { color: var(--text); }

.toast-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; font-size: .88em; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  animation: fadeUp .3s ease; min-width: 260px;
}
.toast.success { border-color: rgba(87,242,135,.4); }
.toast.error   { border-color: rgba(255,51,85,.4); }

.filter-bar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.search-input {
  flex: 1; min-width: 180px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: .88em;
  outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: var(--cyan); }
.filter-select {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: .88em;
  outline: none; cursor: pointer;
}
.filter-select option { background: var(--bg-2); }

.btn-danger {
  background: rgba(255,51,85,.12);
  color: #ff3355;
  border: 1px solid rgba(255,51,85,.3);
}
.btn-danger:hover { background: rgba(255,51,85,.22); }
.btn-sm { padding: 7px 14px !important; font-size: .8em !important; }

.nav { border-bottom: 1px solid var(--border); padding: 20px 5%; max-width: 1400px; margin: 0 auto; }
.nav-logo img { height: 52px; filter: drop-shadow(0 4px 12px rgba(0,150,255,.5)); }
.user-info { display: flex; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar-nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px; }
  .sidebar-item { white-space: nowrap; }
  .sidebar-divider, .sidebar-section-label { display: none; }
  .analytics-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .server-card { flex-direction: column; }
  .server-actions { width: 100%; }
  .server-actions .btn { flex: 1; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Payment / Upgrade page additions
   ============================================================ */

/* ── Page shell ───────────────────────────────────────────── */
.pay-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 5% 100px;
}

.state { display: none; }
.state.active { display: block; }

/* ── Centered message screens (no auth / not found / already premium) ── */
.center-box {
  text-align: center;
  padding: 90px 20px;
}
.center-box .c-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.center-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.center-box p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Loading screen ───────────────────────────────────────── */
.loading-wrap {
  text-align: center;
  padding: 110px 20px;
}
.loading-wrap .spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Step header ──────────────────────────────────────────── */
.step-header { margin-bottom: 32px; }
.step-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
}
.step-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Partnership banner ───────────────────────────────────── */
.partnership-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.partnership-banner img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: cover;
}
.partnership-banner .p-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.partnership-banner .p-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.no-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── Duration picker ──────────────────────────────────────── */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.duration-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.duration-card:hover {
  border-color: var(--border-med);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.duration-card.selected {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(235,69,158,0.15));
  box-shadow: 0 6px 24px rgba(235,69,158,0.25);
}
.duration-card .d-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.duration-card .d-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-bright);
}
.duration-card.selected .d-price { color: var(--pink); }
.duration-card .d-save {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Proceed button ───────────────────────────────────────── */
.btn-proceed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  background: var(--pink);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.btn-proceed:hover:not(:disabled) {
  background: #ef5eab;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--pink-glow);
}
.btn-proceed:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ── Payment card ─────────────────────────────────────────── */
.pay-card {
  background: var(--bg-2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.pay-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.order-summary {
  background: var(--bg-3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.order-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}
.order-row.total .order-val { color: var(--pink); font-size: 1.15rem; }
.order-label { color: var(--text-muted); font-size: 0.9rem; }
.order-val { font-weight: 600; color: var(--text); font-size: 0.9rem; }

/* ── SumUp widget container ───────────────────────────────── */
#sumup-card { min-height: 280px; }
#sumup-card iframe { border-radius: var(--radius-sm) !important; }

.pay-security {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 16px;
}
.pay-security svg { flex-shrink: 0; }

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  padding: 0;
  margin-top: 16px;
  transition: color 0.15s;
}
.btn-back-link:hover { color: var(--text); }

/* ── Success screen ───────────────────────────────────────── */
.success-wrap {
  text-align: center;
  padding: 60px 20px;
}
.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #2fb866);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(87,242,135,0.35);
  animation: pop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-wrap h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.success-wrap .s-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 8px;
}
.success-wrap .s-expiry {
  display: inline-block;
  background: rgba(87,242,135,0.1);
  border: 1px solid rgba(87,242,135,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 36px;
}

.btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  background: var(--blue);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.btn-dashboard:hover {
  background: #6875f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--blue-glow);
}

/* ── Error banner ─────────────────────────────────────────── */
.error-banner {
  background: rgba(237,66,69,0.1);
  border: 1px solid rgba(237,66,69,0.3);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #f38ba8;
  font-size: 0.875rem;
  margin-bottom: 20px;
  display: none;
}
.error-banner.show { display: block; }

/* ── Nav back link (payment page nav) ────────────────────── */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
}
.nav-back:hover {
  background: var(--bg-3);
  border-color: var(--border-med);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .duration-grid { grid-template-columns: repeat(2, 1fr); }
  .step-header h1 { font-size: 1.6rem; }
  .pay-card { padding: 22px; }
  
  .x-cta-section {
  padding: 60px 0;
}

.x-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.x-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  margin-bottom: 20px;
}

.x-cta-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.x-cta-sub {
  font-size: 1.05rem;
  color: var(--text-faint);
  max-width: 480px;
  margin-bottom: 28px;
}
.x-cta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}

.join-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.x-cta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .x-cta-heading {
    font-size: 1.5rem;
  }
}

