:root {
  /* Marpel-inspired True Obsidian Charcoal + Crimson-Rose Palette */
  --bg-base: #0a0a0c;
  --bg-surface: #111114;
  --bg-elevated: #18181d;
  --bg-input: #0c0c0f;
  --bg-well: #09090b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-main: #f4f4f5;
  --text-muted: #9ca3af;
  --text-dim: #71717a;
  --accent: #e11d48;
  --accent-soft: #f43f5e;
  --accent-deep: #9f1239;
  --accent-grad: linear-gradient(135deg, #be123c 0%, #e11d48 52%, #f43f5e 100%);
  --gold: #f59e0b;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  /* Marpel-style Hollow (Default) & Solid (Hover) Rose-Plum SVG Cursors */
  --cursor-default: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='32'%20viewBox='0%200%2028%2032'%3E%3Cdefs%3E%3ClinearGradient%20id='g'%20x1='0.4'%20y1='0.1'%20x2='16.2'%20y2='24.4'%20gradientUnits='userSpaceOnUse'%3E%3Cstop%20offset='0'%20stop-color='%23ec849d'/%3E%3Cstop%20offset='.42'%20stop-color='%23c0698d'/%3E%3Cstop%20offset='.79'%20stop-color='%239e5581'/%3E%3Cstop%20offset='1'%20stop-color='%23924e7d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d='M1.8%201.8%20L26.2%2016%20L11.6%2016%20L5%2030.2%20Z'%20fill='none'%20stroke='url(%23g)'%20stroke-width='1.85'%20stroke-linejoin='round'%20stroke-linecap='round'/%3E%3C/svg%3E") 1 1, auto;
  --cursor-hover: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='32'%20viewBox='0%200%2028%2032'%3E%3Cdefs%3E%3ClinearGradient%20id='g'%20x1='0.4'%20y1='0.1'%20x2='16.2'%20y2='24.4'%20gradientUnits='userSpaceOnUse'%3E%3Cstop%20offset='0'%20stop-color='%23ec849d'/%3E%3Cstop%20offset='.42'%20stop-color='%23c0698d'/%3E%3Cstop%20offset='.79'%20stop-color='%239e5581'/%3E%3Cstop%20offset='1'%20stop-color='%23924e7d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d='M1.8%201.8%20L26.2%2016%20L11.6%2016%20L5%2030.2%20Z'%20fill='url(%23g)'%20stroke='url(%23g)'%20stroke-width='1.85'%20stroke-linejoin='round'%20stroke-linecap='round'/%3E%3C/svg%3E") 1 1, pointer;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: var(--cursor-default);
}

a,
a *,
a:hover,
a :hover,
button:not(:disabled),
button:not(:disabled) *,
[role="button"],
[role="button"] *,
label[for],
.switch,
.switch *,
.slider,
.checkbox-field,
.checkbox-field *,
.bento-sys-card,
.bento-sys-card *,
.list-row.clickable,
.list-row.clickable *,
.swatch,
input[type="color"],
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled),
select:not(:disabled),
summary {
  cursor: var(--cursor-hover);
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled,
button:disabled * {
  cursor: not-allowed;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse 65% 32% at 50% 0%, rgba(190, 18, 60, 0.14), transparent 72%),
    var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.55;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

code,
pre,
.cmd-name {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hidden {
  display: none !important;
}

/* Crisp SVG Icons */
.icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon-fill {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
  display: inline-block;
  flex-shrink: 0;
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.title-with-icon .icon {
  color: #fb7185;
}

/* ============================================================
   Public Landing & Marpel-style Floating Glass Navbar
   ============================================================ */

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 40;
  opacity: 0.92;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}

.landing-view {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 20px 24px 64px;
}

.app-shell {
  position: relative;
  z-index: 1;
}

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

.floating-navbar {
  position: sticky;
  top: 14px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  margin-bottom: 30px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(66, 22, 37, 0.78) 0%,
    rgba(24, 15, 22, 0.9) 46%,
    rgba(50, 19, 33, 0.82) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.58);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--accent-grad);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-brand-text {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

.top-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #d4d4d8;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: var(--cursor-hover);
  transition: color 0.15s ease, background 0.15s ease;
}

.top-nav-link:hover,
.top-nav-link[aria-expanded="true"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.top-nav-link[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.top-nav-pro {
  color: #ffffff;
}

.pro-micro-pill {
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(113, 63, 18, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.52);
  color: #fcd34d;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

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

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.nav-pill-btn .icon-fill {
  color: #7c89ff;
}

.nav-pill-login {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-pill-login:hover {
  background: rgba(225, 29, 72, 0.28);
  border-color: rgba(244, 63, 94, 0.55);
}

/* Mega-Menu Dropdown (Screenshot 1 exact matte charcoal look) */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(14, 14, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  animation: fadeIn 0.15s ease;
}

/* 2-Column Color-Bordered System Bento Cards */
.bento-systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.bento-sys-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 13px;
  background: #141418;
  border: 1px solid var(--bento-border, rgba(255, 255, 255, 0.12));
  background-image: linear-gradient(
    95deg,
    var(--bento-tint, rgba(255, 255, 255, 0.04)) 0%,
    rgba(20, 20, 24, 0.96) 52%
  );
  text-align: left;
  cursor: var(--cursor-hover);
  font-family: inherit;
  color: var(--text-main);
  transition: transform 0.14s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.bento-sys-card:hover {
  transform: translateY(-2px);
  background-color: #19191f;
  border-color: var(--bento-border-hover, rgba(255, 255, 255, 0.35));
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #0b0b0e;
  border: 1px solid var(--bento-border, rgba(255, 255, 255, 0.12));
  color: var(--bento-icon, #e4e4e7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-icon-box .icon {
  width: 21px;
  height: 21px;
}

.bento-sys-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-sys-desc {
  font-size: 12.5px;
  color: #a1a1aa;
  margin-top: 2px;
}

/* Marpel Screenshot 1 Exact Bento Accent Colors */
.bento-red {
  --bento-border: rgba(185, 28, 28, 0.65);
  --bento-border-hover: rgba(248, 113, 113, 0.9);
  --bento-tint: rgba(153, 27, 27, 0.22);
  --bento-icon: #e4e4e7;
}
.bento-amber {
  --bento-border: rgba(180, 120, 20, 0.65);
  --bento-border-hover: rgba(251, 191, 36, 0.9);
  --bento-tint: rgba(146, 84, 14, 0.22);
  --bento-icon: #e4e4e7;
}
.bento-yellow {
  --bento-border: rgba(161, 161, 20, 0.62);
  --bento-border-hover: rgba(234, 179, 8, 0.9);
  --bento-tint: rgba(133, 120, 14, 0.2);
  --bento-icon: #e4e4e7;
}
.bento-green {
  --bento-border: rgba(22, 163, 74, 0.65);
  --bento-border-hover: rgba(74, 222, 128, 0.9);
  --bento-tint: rgba(20, 110, 52, 0.24);
  --bento-icon: #e4e4e7;
}
.bento-cyan {
  --bento-border: rgba(14, 130, 165, 0.65);
  --bento-border-hover: rgba(56, 189, 248, 0.9);
  --bento-tint: rgba(12, 92, 120, 0.24);
  --bento-icon: #e4e4e7;
}
.bento-blue {
  --bento-border: rgba(37, 99, 235, 0.65);
  --bento-border-hover: rgba(96, 165, 250, 0.9);
  --bento-tint: rgba(30, 58, 138, 0.28);
  --bento-icon: #e4e4e7;
}
.bento-purple {
  --bento-border: rgba(109, 40, 217, 0.6);
  --bento-border-hover: rgba(167, 139, 250, 0.9);
  --bento-tint: rgba(76, 29, 149, 0.24);
  --bento-icon: #e4e4e7;
}
.bento-magenta {
  --bento-border: rgba(147, 51, 234, 0.62);
  --bento-border-hover: rgba(216, 180, 254, 0.9);
  --bento-tint: rgba(107, 33, 168, 0.25);
  --bento-icon: #e4e4e7;
}
.bento-rose {
  --bento-border: rgba(190, 24, 93, 0.65);
  --bento-border-hover: rgba(244, 114, 182, 0.9);
  --bento-tint: rgba(131, 24, 67, 0.24);
  --bento-icon: #fde047;
}

/* Hero (Minimal Clean Centerpiece with Rainbow Hover Ring) */
.hero-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 56px 24px 40px;
  box-shadow: none;
  text-align: center;
  position: relative;
  overflow: visible;
}

.hero-minimal {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: #fda4af;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.rainbow-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 32px;
}

.rainbow-title-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 54px;
  border-radius: 999px;
  cursor: var(--cursor-hover);
  isolation: isolate;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rainbow-title-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2.5px;
  background: linear-gradient(
    90deg,
    #ff4d8d,
    #f59e0b,
    #22c55e,
    #38bdf8,
    #a855f7,
    #fb7185,
    #ff4d8d
  );
  background-size: 260% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.rainbow-title-ring::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 77, 141, 0.36),
    rgba(245, 158, 11, 0.32),
    rgba(34, 197, 94, 0.3),
    rgba(56, 189, 248, 0.36),
    rgba(168, 85, 247, 0.4),
    rgba(255, 77, 141, 0.36)
  );
  background-size: 260% 100%;
  filter: blur(22px);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
  pointer-events: none;
}

.rainbow-title-ring:hover,
.rainbow-title-ring:focus-visible {
  transform: scale(1.04);
}

.rainbow-title-ring:hover::before,
.rainbow-title-ring:focus-visible::before {
  opacity: 1;
  transform: scale(1);
  animation: rainbowFlow 4s linear infinite;
}

.rainbow-title-ring:hover::after,
.rainbow-title-ring:focus-visible::after {
  opacity: 0.72;
  transform: scale(1);
  animation: rainbowFlow 4s linear infinite;
}

.rainbow-title-text {
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  background: linear-gradient(
    90deg,
    #ff4d8d 0%,
    #f59e0b 18%,
    #22c55e 36%,
    #38bdf8 54%,
    #a855f7 74%,
    #fb7185 90%,
    #ff4d8d 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowFlow 5.5s linear infinite;
  user-select: none;
}

@keyframes rainbowFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 260% 50%;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.owner-pass-box {
  max-width: 440px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #0c0c0f;
  border: 1px solid rgba(225, 29, 72, 0.38);
  text-align: left;
}

.owner-pass-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fda4af;
  margin-bottom: 10px;
}

.owner-pass-row {
  display: flex;
  gap: 8px;
}

.owner-pass-row input {
  flex: 1;
}

.oauth-hint {
  max-width: 680px;
  margin: 24px auto 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}

.oauth-hint-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.oauth-hint p {
  margin-bottom: 10px;
}

.oauth-hint code {
  color: #fda4af;
  background: #0b0b0e;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

/* ============================================================
   TANITIMLAR / Öne çıkan sistemler (Screenshot 2 & 3)
   ============================================================ */

.showcase-section,
.all-systems-section,
.landing-pricing {
  margin-top: 52px;
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.showcase-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 6px;
}

.showcase-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.btn-pill {
  border-radius: 999px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

.showcase-visual {
  background: #0b0b0e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.showcase-info-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.showcase-info-head h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.showcase-info-head p {
  font-size: 12.6px;
  color: #9ca3af;
  margin-top: 2px;
}

.showcase-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}

.showcase-icon.red,
.showcase-icon.yellow,
.showcase-icon.amber,
.showcase-icon.purple {
  background: #18181d;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}

.showcase-quote {
  font-size: 13px;
  color: #d4d4d8;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  line-height: 1.58;
}

.showcase-quote code {
  background: #1c1c22;
  color: #f4f4f5;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-info .btn {
  align-self: flex-start;
}

/* Visual Mockups Inside Showcase */
.mock-rank-card {
  position: relative;
  width: 100%;
  padding: 13px 13px 12px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 74% 36%, rgba(232, 121, 185, 0.36), transparent 56%),
    radial-gradient(circle at 18% 22%, rgba(30, 75, 107, 0.52), transparent 55%),
    linear-gradient(135deg, #071321 0%, #12182d 46%, #1f112c 78%, #0d0f1d 100%);
  border: 2px solid #e2be89;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.62);
}

.mock-rank-sakura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.mock-rank-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  z-index: 1;
  margin-top: 6px;
}

.mock-rank-crown {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.mock-rank-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #be123c 0%, #6d28d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  border: 2.5px solid #e2be89;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

.mock-rank-status {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #80848e;
  border: 3px solid #0d0f16;
  box-shadow: inset 0 0 0 3px #0d0f16;
}

.mock-rank-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.mock-rank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mock-rank-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.mock-mini-ico {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.mock-mini-ico.gold {
  fill: #f5b83d;
}

.mock-mini-ico.ring {
  fill: #93c5fd;
  color: #cbd5e1;
}

.mock-bar-row {
  margin-top: 5px;
}

.mock-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  color: #eef0fa;
  margin-bottom: 3px;
}

.mock-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mock-row-ico {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-pill-sv {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(26, 20, 16, 0.85);
  border: 1px solid #d9aa6e;
  color: #f7ddb4;
  font-size: 9px;
  font-weight: 700;
}

.mock-pill-rk {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(79, 60, 146, 0.78);
  border: 1px solid #9584df;
  color: #ede8ff;
  font-size: 9px;
  font-weight: 700;
}

.mock-bar-val {
  font-size: 9.2px;
  color: #e4e6f4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.mock-bar {
  height: 13px;
  border-radius: 999px;
  background: #211c34;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(26, 18, 10, 0.75);
}

.mock-bar-fill.gold {
  background: linear-gradient(90deg, #b97b42 0%, #dfaf74 52%, #f2cf9e 82%, #cc8d52 100%);
}

.mock-register-card {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #e11d48;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}

.mock-reg-header {
  font-weight: 800;
  color: #ffffff;
  font-size: 12.5px;
  margin-bottom: 2px;
}

.mock-reg-line {
  display: flex;
  justify-content: space-between;
  color: #a1a1aa;
}
.mock-reg-line strong { color: #f4f4f5; font-weight: 600; }

.mock-giveaway-card {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b1224 0%, #100e14 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
  text-align: center;
}

.mock-gw-title { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #fcd34d; }
.mock-gw-sub { font-size: 10px; color: #a1a1aa; margin: 2px 0 10px; }
.mock-gw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.mock-gw-grid span {
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d4d4d8;
}
.mock-gw-grid span.winner {
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.65), rgba(245, 158, 11, 0.4));
  border-color: #fcd34d;
  color: #ffffff;
  font-weight: 800;
}

.mock-ticket-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-tk-banner {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.34), rgba(24, 24, 29, 0.92), rgba(22, 163, 74, 0.18));
  border: 1px solid rgba(225, 29, 72, 0.38);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-tk-banner strong { font-size: 13px; color: #ffffff; }
.mock-tk-banner span { font-size: 11px; color: #d4d4d8; }

.mock-tk-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tbtn {
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  color: #fff;
}
.tbtn.blue { background: #2563eb; }
.tbtn.green { background: #16a34a; }
.tbtn.amber { background: #b91c1c; }
.tbtn.purple { background: #7c3aed; }

/* Pricing Grid */
.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-head p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  background: #111114;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(225, 29, 72, 0.6);
  background: linear-gradient(180deg, rgba(190, 18, 60, 0.16), #111114 60%);
  box-shadow: 0 14px 36px rgba(190, 18, 60, 0.16);
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(113, 63, 18, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  margin-bottom: 10px;
}

.price-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 14px;
  font-variant-numeric: tabular-nums;
}

.price-amount strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.price-amount span {
  font-size: 13px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 8px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.8px;
  color: #d4d4d8;
}

.price-features svg {
  color: var(--success);
  margin-top: 2px;
}

.form-error {
  color: #fca5a5;
  font-size: 13px;
  margin-top: 12px;
}

/* ============================================================
   Authenticated Dashboard Shell (Same Obsidian + Crimson Theme)
   ============================================================ */

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #0d0d10;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 16px;
  border-bottom: 1px solid var(--border);
}

.brand-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--accent-grad);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}

.status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #0d0d10;
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.guild-picker-wrap {
  margin-top: 16px;
  background: #131317;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.guild-picker-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.guild-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guild-mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.guild-picker-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 18px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #a1a1aa;
  font-size: 13.6px;
  font-weight: 600;
  cursor: var(--cursor-hover);
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.18) 0%, rgba(225, 29, 72, 0.05) 100%);
  border-color: rgba(225, 29, 72, 0.42);
  color: #ffffff;
}

.nav-item.active .icon {
  color: #fb7185;
}

.pro-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(113, 63, 18, 0.55);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.48);
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #131317;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.user-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.user-card-meta {
  min-width: 0;
  flex: 1;
}

.user-card-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-card-role {
  font-size: 11px;
  color: var(--text-muted);
}

.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-hover);
}

.icon-btn:hover {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
}

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

.metric-chip {
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  background: #131317;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Main Content */
.main {
  padding: 26px 32px 48px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.page-subtitle {
  font-size: 13.8px;
  color: var(--text-muted);
  margin-top: 2px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.16s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.kpi-card {
  background: #111114;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #be123c, #f43f5e);
  opacity: 0.8;
}

.kpi-card.compact {
  padding: 14px 18px;
}

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

.kpi-icon {
  color: var(--text-dim);
}

.kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.kpi-value {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.kpi-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Cards & Columns */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.two-col.wide-left {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
}

.mt-20 {
  margin-top: 20px;
}

.max-w-760 {
  max-width: 760px;
}

.card {
  background: #111114;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-header h2 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-desc code {
  background: #1b1b21;
  color: #fda4af;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-success {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.38);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.38);
}

/* Forms */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.span-2 {
  grid-column: span 2;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > span {
  font-size: 13px;
  font-weight: 600;
  color: #e4e4e7;
}

.field small {
  font-size: 12px;
  color: var(--text-dim);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
.select-control {
  width: 100%;
  background: #0c0c0f;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 10px 12px;
  font-size: 13.8px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
.select-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.22);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Buttons (Marpel crisp dark-pill & crimson primary) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: var(--cursor-hover);
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-lg {
  padding: 12px 22px;
  font-size: 14.2px;
}

.btn-primary {
  background: var(--accent-grad);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.93;
}

.btn-discord {
  background: var(--discord);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.32);
}

.btn-discord:hover:not(:disabled) {
  background: var(--discord-hover);
}

.btn-secondary {
  background: #1c1c22;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
}

.btn-secondary:hover:not(:disabled) {
  background: #25252d;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #ffffff;
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 7px 11px;
  font-size: 12.5px;
}

.btn-full {
  width: 100%;
}

/* Switches */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #0c0c0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.toggle-title {
  font-size: 14px;
  font-weight: 600;
}

.toggle-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: var(--cursor-hover);
  inset: 0;
  background: #27272a;
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--success);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

/* Discord Live Embed Preview */
.discord-preview {
  background: #313338;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

.discord-embed {
  background: #2b2d31;
  border-left: 4px solid #e11d48;
  border-radius: 4px;
  padding: 14px 16px;
}

.discord-embed-title {
  font-weight: 700;
  font-size: 15px;
  color: #f2f3f5;
  margin-bottom: 8px;
}

.discord-embed-desc {
  font-size: 13.5px;
  color: #dbdee1;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-embed-footer {
  margin-top: 12px;
  font-size: 11.5px;
  color: #949ba4;
}

.discord-btn-row {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.discord-btn-mock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.discord-btn-mock.primary {
  background: #5865f2;
  color: #ffffff;
}

/* Lists & Tables */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 8px 2px 2px;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #0c0c0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.list-row.clickable {
  cursor: var(--cursor-hover);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.list-row.clickable:hover {
  border-color: rgba(225, 29, 72, 0.5);
  background: #151217;
}

.list-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.list-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #1b1b21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12.5px;
  flex-shrink: 0;
  color: #f4f4f5;
}

.rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  flex-shrink: 0;
}

.rank-badge.top-1 {
  background: rgba(234, 179, 8, 0.16);
  border-color: rgba(234, 179, 8, 0.5);
  color: #fde047;
}

.rank-badge.top-2 {
  background: rgba(228, 228, 231, 0.14);
  border-color: rgba(228, 228, 231, 0.4);
  color: #f4f4f5;
}

.rank-badge.top-3 {
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(244, 63, 94, 0.5);
  color: #fda4af;
}

.list-title {
  font-size: 13.8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.empty-state {
  padding: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.2px;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #facc15;
}

.star-row svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Color & Inline Controls */
.inline-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type="color"] {
  width: 40px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: var(--cursor-hover);
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  cursor: var(--cursor-hover);
}

.checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-main);
  cursor: var(--cursor-hover);
  padding-bottom: 6px;
}

/* Generated Codes Box */
.code-box {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.34);
}

.code-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.code-box-label {
  font-size: 12px;
  color: #86efac;
  font-weight: 700;
}

.code-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.code-pre {
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #f8fafc;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Commands Grid */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  width: 220px !important;
  padding: 7px 11px !important;
  font-size: 13px !important;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cmd-card {
  background: #0c0c0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}

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

.cmd-name {
  font-size: 13px;
  font-weight: 700;
  color: #fda4af;
}

.cmd-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* System Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5, 5, 7, 0.84);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  background: #121216;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.15s ease;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 6px;
  color: #ffffff;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-subhead {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 14px 0 8px;
}

.modal-cmd-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.modal-cmd-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #1b1b21;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #fda4af;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Mini-tabs for Community Leaderboards */
.mini-tabs {
  display: inline-flex;
  gap: 4px;
  background: #0c0c0f;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.mini-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: var(--cursor-hover);
}

.mini-tab.active {
  background: #1f1f26;
  color: #ffffff;
}

/* Marpel-style Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 2200;
  width: min(420px, calc(100vw - 44px));
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #191216 0%, #120d10 100%);
  border: 1px solid rgba(244, 134, 162, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(244, 134, 162, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  animation: cookiePopIn 0.25s ease;
}

.cookie-banner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 134, 162, 0.72), transparent);
  pointer-events: none;
}

.cookie-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(244, 134, 162, 0.1);
  border: 1px solid rgba(244, 134, 162, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-body {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.cookie-text {
  font-size: 13.8px;
  line-height: 1.52;
  color: #d4ced4;
  margin-bottom: 14px;
}

.cookie-policy-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: var(--cursor-hover);
  transition: color 0.14s ease;
}

.cookie-policy-link:hover {
  color: #f486a2;
  text-decoration: underline;
}

.cookie-accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: none;
  border-radius: 11px;
  background: #f486a2;
  color: #140d11;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: var(--cursor-hover);
  box-shadow: 0 8px 20px rgba(244, 134, 162, 0.26);
  transition: background 0.15s ease, transform 0.12s ease;
}

.cookie-accept-btn:hover {
  background: #f89cb3;
  transform: translateY(-1px);
}

.cookie-accept-btn:active {
  transform: scale(0.98);
}

.cookie-policy-card {
  max-width: 520px;
}

@keyframes cookiePopIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  background: #18181d;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 500;
  max-width: 380px;
  animation: slideIn 0.2s ease;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   Flagship CazoPro V2 Landing — Editorial, Rank Studio & Explorer
   ============================================================ */

.hero-tagline {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #a1a1aa;
}

.hero-tagline strong {
  color: #f4f4f5;
  font-weight: 700;
}

/* Hairline Metrics Ribbon (Zero Boxes) */
.metrics-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 46px;
  padding: 18px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025) 50%, transparent);
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-item strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.metric-item strong.gold-num {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-item span {
  font-size: 11.5px;
  font-weight: 600;
  color: #8b8b96;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.metric-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

/* Editorial Sections */
.editorial-section {
  margin-top: 96px;
  padding-top: 12px;
}

.editorial-head {
  margin-bottom: 28px;
}

.editorial-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.editorial-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
}

.editorial-sub {
  margin-top: 8px;
  max-width: 660px;
  font-size: 14.5px;
  color: #9ca3af;
}

.editorial-sub code {
  background: rgba(255, 255, 255, 0.07);
  color: #fda4af;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12.5px;
}

/* Live Interactive Rank Card Studio */
.studio-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.studio-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-theme-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: var(--cursor-hover);
  transition: all 0.16s ease;
}

.theme-pill:hover {
  border-color: rgba(244, 134, 162, 0.45);
  color: #ffffff;
  background: rgba(244, 134, 162, 0.08);
}

.theme-pill.active {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.28), rgba(244, 134, 162, 0.16));
  border-color: #f486a2;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.22);
}

.mini-pro {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.48);
  color: #fde047;
}

.studio-inputs {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.3fr) auto;
  gap: 20px;
  align-items: end;
}

.studio-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.studio-field span {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}

.studio-field strong {
  color: #fda4af;
  font-variant-numeric: tabular-nums;
}

.studio-field input[type="text"] {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 9px 13px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.studio-field input[type="text"]:focus {
  border-color: #f486a2;
}

.studio-field input[type="range"] {
  width: 100%;
  accent-color: #f43f5e;
  height: 6px;
  cursor: var(--cursor-hover);
}

.status-dots-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-choice {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-hover);
  transition: all 0.14s ease;
}

.status-choice.active {
  border-color: #f486a2;
  background: rgba(244, 134, 162, 0.16);
  transform: scale(1.08);
}

.sdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.sdot.online { background: #23a55a; }
.sdot.idle { background: #f0b232; }
.sdot.dnd { background: #f23f43; }
.sdot.offline { background: #80848e; box-shadow: inset 0 0 0 3px #141418; }

.studio-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  perspective: 1100px;
}

.studio-card-stage {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, filter 0.25s ease;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.65));
}

.studio-card-stage svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.studio-stage-hint {
  font-size: 12.5px;
  color: #8b8b96;
  text-align: center;
}

.studio-stage-hint strong {
  color: #fde047;
}

/* 5000 Level Grand Prize Spotlight Band */
.milestone-band {
  margin-top: 88px;
  padding: 36px 34px;
  position: relative;
  border-top: 1px solid rgba(250, 204, 21, 0.34);
  border-bottom: 1px solid rgba(250, 204, 21, 0.22);
  background: linear-gradient(
    95deg,
    rgba(234, 179, 8, 0.08) 0%,
    rgba(225, 29, 72, 0.06) 52%,
    transparent 100%
  );
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.milestone-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #facc15;
  margin-bottom: 8px;
}

.milestone-left h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 10px;
}

.milestone-left p {
  font-size: 14px;
  color: #b4b4c0;
  line-height: 1.6;
}

.milestone-left code {
  background: rgba(255, 255, 255, 0.08);
  color: #fde68a;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

.milestone-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 72px;
}

.mstep-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.75);
  margin-bottom: 4px;
}

.mstep-dot.gold {
  width: 16px;
  height: 16px;
  background: #facc15;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.95);
}

.mstep strong {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.mstep.crown strong {
  color: #fde047;
}

.mstep small {
  font-size: 11px;
  color: #8b8b96;
}

.mstep-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 34px;
}

.mstep-line.gold {
  background: linear-gradient(90deg, #f43f5e, #facc15);
}

/* Editorial Interactive Command Explorer (Zero Boxes) */
.explorer-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  width: min(340px, 100%);
}

.explorer-search-wrap .icon {
  color: #8b8b96;
  width: 15px;
  height: 15px;
}

.explorer-search-wrap input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  width: 100%;
  outline: none;
}

.explorer-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #9ca3af;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: var(--cursor-hover);
  transition: all 0.15s ease;
}

.exp-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.exp-tab.active {
  color: #ffffff;
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(244, 134, 162, 0.45);
}

.editorial-cmd-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

.editorial-cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
  cursor: var(--cursor-hover);
  transition: background 0.14s ease, padding-left 0.14s ease;
}

.editorial-cmd-row:hover {
  background: rgba(244, 134, 162, 0.05);
  padding-left: 16px;
}

.editorial-cmd-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.editorial-cmd-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.editorial-cmd-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #fda4af;
}

.editorial-cmd-desc {
  font-size: 12.8px;
  color: #9ca3af;
}

.cmd-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

.cmd-tag.new {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.cmd-tag.pro {
  background: rgba(245, 158, 11, 0.16);
  color: #fde047;
  border: 1px solid rgba(245, 158, 11, 0.42);
}

.cmd-tag.owner {
  background: rgba(225, 29, 72, 0.18);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.42);
}

.cmd-copy-hint {
  font-size: 11px;
  font-weight: 600;
  color: #71717a;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.editorial-cmd-row:hover .cmd-copy-hint {
  opacity: 1;
  color: #f486a2;
}

/* Minimal Architectural Footer */
.site-footer {
  margin-top: 96px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #8b8b96;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-link,
.footer-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: none;
  cursor: var(--cursor-hover);
  transition: color 0.14s ease;
}

.footer-link:hover,
.footer-link-btn:hover {
  color: #ffffff;
}

.footer-link.accent {
  color: #f486a2;
}

.footer-link.accent:hover {
  color: #fda4af;
}

/* ============================================================
   New Year Automation — Festive Notification & Opening Gift Box
   ============================================================ */

.ny-notify-bar {
  position: relative;
  z-index: 200;
  width: 100%;
  background: linear-gradient(90deg, #4c0519 0%, #881337 32%, #92400e 68%, #4c0519 100%);
  border-bottom: 1px solid rgba(253, 224, 71, 0.38);
  padding: 10px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.ny-notify-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #fff7ed;
}

.ny-spark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 12px #fde047;
  flex-shrink: 0;
}

.ny-test-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid #fde047;
  color: #fde047;
}

.ny-notify-btn {
  padding: 5px 13px;
  border-radius: 999px;
  border: none;
  background: #fde047;
  color: #1c1008;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: var(--cursor-hover);
  transition: transform 0.14s ease, background 0.14s ease;
}

.ny-notify-btn:hover {
  background: #fef08a;
  transform: translateY(-1px);
}

.ny-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3300;
}

.ny-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3200;
  background: radial-gradient(circle at 50% 45%, rgba(136, 19, 55, 0.36), rgba(6, 6, 10, 0.92) 68%);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.ny-gift-stage {
  position: relative;
  width: min(520px, 100%);
  padding: 36px 28px 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(24, 14, 22, 0.96) 0%, rgba(12, 10, 16, 0.98) 100%);
  border: 1px solid rgba(253, 224, 71, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(253, 224, 71, 0.32),
    0 32px 90px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(225, 29, 72, 0.26);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ny-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
}

.ny-modal-test-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #fde047;
  margin-bottom: 14px;
}

/* 3D Animated Gift Box */
.ny-gift-box {
  position: relative;
  width: 148px;
  height: 152px;
  margin: 18px auto 12px;
  cursor: var(--cursor-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  animation: giftWobble 0.55s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.ny-gift-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.45) 0%, rgba(225, 29, 72, 0.26) 48%, transparent 72%);
  filter: blur(14px);
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.ny-gift-lid {
  position: relative;
  width: 156px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 3;
  transform-origin: left bottom;
  transition: transform 0.55s cubic-bezier(0.2, 1.15, 0.3, 1), opacity 0.45s ease;
}

.ny-lid-ribbon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
}

.ny-bow {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 28px;
}

.ny-bow-left,
.ny-bow-right {
  position: absolute;
  top: 2px;
  width: 34px;
  height: 22px;
  border: 5px solid #facc15;
  border-radius: 50% 50% 0 50%;
  background: rgba(250, 204, 21, 0.18);
}

.ny-bow-left {
  left: 2px;
  transform: rotate(-16deg);
}

.ny-bow-right {
  right: 2px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(16deg);
}

.ny-bow-knot {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 18px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: linear-gradient(180deg, #fef08a, #ca8a04);
}

.ny-gift-base {
  position: relative;
  width: 138px;
  height: 98px;
  margin-top: -2px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #be123c 0%, #881337 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  z-index: 2;
}

.ny-base-ribbon-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #facc15 0%, #d97706 100%);
}

.ny-base-ribbon-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 18px;
  background: linear-gradient(90deg, #d97706 0%, #fef08a 50%, #d97706 100%);
}

/* Opened State */
.ny-gift-box.opened {
  animation: none;
  transform: scale(0.76);
  margin: 0 auto -10px;
}

.ny-gift-box.opened .ny-gift-lid {
  transform: translate(-34px, -54px) rotate(-36deg);
  opacity: 0.92;
}

.ny-gift-box.opened .ny-gift-glow {
  opacity: 1;
  transform: scale(1.45);
}

.ny-opening-hint {
  font-size: 13.5px;
  font-weight: 600;
  color: #fde68a;
  margin-top: 8px;
}

.ny-reward-reveal {
  width: 100%;
  margin-top: 6px;
  animation: nyRevealPop 0.42s cubic-bezier(0.2, 1.15, 0.3, 1);
}

.ny-year-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fde047;
  margin-bottom: 6px;
}

.ny-reward-title {
  font-size: clamp(22px, 3.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 52%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.ny-reward-sub {
  font-size: 14px;
  color: #d4d4d8;
  margin-bottom: 18px;
}

.ny-reward-sub strong {
  color: #fde047;
}

.ny-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0a0910;
  border: 1.5px solid rgba(250, 204, 21, 0.58);
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.14);
  margin-bottom: 14px;
}

.ny-code-box code {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #fef08a;
  word-break: break-all;
  text-align: left;
}

.ny-copy-btn {
  padding: 7px 14px;
  border-radius: 9px;
  border: none;
  background: #fde047;
  color: #1c1008;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  flex-shrink: 0;
  cursor: var(--cursor-hover);
  transition: background 0.14s ease;
}

.ny-copy-btn:hover {
  background: #fef08a;
}

.ny-reward-note {
  font-size: 12.5px;
  color: #9ca3af;
  margin-bottom: 18px;
}

.ny-reward-note code {
  color: #fda4af;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 5px;
}

.ny-reward-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ny-floating-gift-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2150;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(253, 224, 71, 0.58);
  background: linear-gradient(135deg, #9f1239 0%, #b45309 100%);
  color: #fef9c3;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: var(--cursor-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px rgba(250, 204, 21, 0.25);
  transition: transform 0.15s ease;
}

.ny-floating-gift-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

@keyframes giftWobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-6deg) scale(1.03); }
  40% { transform: rotate(6deg) scale(1.05); }
  60% { transform: rotate(-4deg) scale(1.03); }
  80% { transform: rotate(4deg) scale(1.02); }
}

@keyframes nyRevealPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .kpi-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col,
  .two-col.wide-left,
  .commands-grid,
  .showcase-grid,
  .milestone-band,
  .editorial-cmd-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .studio-inputs {
    grid-template-columns: 1fr;
  }
  .metrics-ribbon {
    gap: 16px;
    padding: 16px;
  }
  .metric-divider {
    display: none;
  }
  .milestone-track {
    flex-wrap: wrap;
    justify-content: center;
  }
  .mstep-line {
    display: none;
  }
  .floating-navbar {
    flex-wrap: wrap;
  }
  .top-nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .main {
    padding: 18px 16px 36px;
  }
  .form-grid,
  .pricing-grid,
  .bento-systems-grid,
  .showcase-card {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .span-2 {
    grid-column: span 1;
  }
}
