:root {
  --bg: #050508;
  --bg-2: #0a0a0f;
  --bg-panel: rgba(15, 15, 20, 0.9);
  --panel: rgba(13, 13, 18, 0.8);
  --panel-strong: rgba(18, 18, 24, 0.96);
  --line: rgba(255, 34, 56, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --purple: #ff2238;
  --purple-soft: #ff8595;
  --purple-strong: #b91024;
  --green: #ff4d61;
  --green-soft: #ffa1ad;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.52);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 34, 56, 0.12), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(185, 16, 36, 0.08), transparent 28%),
    linear-gradient(180deg, #040406 0%, #08080c 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

a, button, input, select, textarea {
  pointer-events: auto !important;
}

body::before,
body::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  justify-self: start;
}

.brand-mark {
  display: inline-block;
  width: 36px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 34, 56, 0.75));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.12);
  filter: drop-shadow(0 0 16px rgba(255, 34, 56, 1));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgba(241, 243, 255, 0.82);
  grid-column: 2;
  justify-self: center;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.main-nav a:hover,
.login-link:hover,
.back-link:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.lang-button {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  min-width: 46px;
  cursor: pointer;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 34, 56, 0.14);
  border: 1px solid rgba(255, 34, 56, 0.32);
  border-radius: 12px;
  padding: 0.72rem 1rem;
  min-height: 42px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.login-link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%23ffffff' d='M19.76 6.05A17.43 17.43 0 0 0 16.06 4l-.31.64a16.03 16.03 0 0 1 4.38 2.13l-.37-.72ZM7.94 4.01A17.43 17.43 0 0 0 4.24 6.05l.37.72A16.03 16.03 0 0 1 8.99 4.65L7.94 4.01ZM20.12 15.34c-1.14 1.63-2.68 2.67-4.55 3.08l-.7-1.18c1.43-.36 2.69-1.2 3.58-2.36.42-.55.75-1.16.98-1.8-.53-.19-1.11-.34-1.72-.45-.31.3-.66.57-1.05.8-.33-.86-.82-1.62-1.46-2.24-.29.24-.56.5-.8.77-.24-.27-.51-.53-.8-.77-.64.62-1.13 1.38-1.46 2.24-.39-.23-.74-.5-1.05-.8-.61.11-1.19.26-1.72.45.23.64.56 1.25.98 1.8.89 1.16 2.15 2 3.58 2.36l-.7 1.18c-1.87-.41-3.41-1.45-4.55-3.08-.36-.52-.67-1.08-.92-1.68.2-.57.45-1.11.75-1.62.4-.67.9-1.28 1.48-1.8.56-.5 1.2-.9 1.9-1.18.65-.25 1.35-.41 2.08-.44.73.03 1.43.19 2.08.44.7.28 1.34.68 1.9 1.18.58.52 1.08 1.13 1.48 1.8.3.51.55 1.05.75 1.62-.25.6-.56 1.16-.92 1.68Z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.login-link.logged-in {
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
}

.login-link.logged-in::before {
  display: none;
}

.login-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.login-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 34, 56, 0.18);
  border-color: rgba(255, 34, 56, 0.44);
}

.profile-menu {
  position: relative;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: rgba(13, 13, 18, 0.98);
  border: 1px solid rgba(255, 34, 56, 0.2);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-dropdown-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-dropdown-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.profile-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: rgba(235, 244, 255, 0.85);
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.profile-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.profile-dropdown-item[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.profile-dropdown-item[disabled]:hover {
  background: transparent;
}

.primary-button,
.secondary-button,
.plan-button,
.payment-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:hover,
.secondary-button:hover,
.plan-button:hover,
.payment-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 34, 56, 0.28);
}

.primary-button {
  background: linear-gradient(135deg, #ff2238, #b91024);
  color: white;
  box-shadow: 0 14px 30px rgba(255, 34, 56, 0.35);
}

.small-button {
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
}

.large-button {
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--text);
  padding: 1rem 1.4rem;
  font-size: 0.94rem;
}

.hero {
  position: relative;
  padding: 72px 0 68px;
  overflow: visible;
  overflow-x: clip;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -60px;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 34, 56, 0.45) 0%, rgba(185, 16, 36, 0) 70%);
  animation: floatGlow1 14s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 480px;
  height: 480px;
  top: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 77, 97, 0.35) 0%, rgba(255, 34, 56, 0) 70%);
  animation: floatGlow2 16s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 35px) scale(1.18); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-45px, 40px) scale(0.92); }
}

/* Hero Character Right - C.C. Code Geass */
.hero-character {
  position: absolute;
  right: max(25px, calc(50% - 640px));
  bottom: 25px;
  height: 90%;
  max-height: 580px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: flex-end;
  opacity: 0.96;
  transform-origin: 50% 100%;
  animation: heroBreathing 5.2s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease, right 0.3s ease;
}

.hero-character-img {
  height: 100%;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 97%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 97%);
}

/* Hero Character Left - Lelouch Lamperouge (Zero) */
.hero-character-left {
  position: absolute;
  left: max(25px, calc(50% - 660px));
  bottom: 25px;
  height: 90%;
  max-height: 580px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: flex-end;
  opacity: 0.96;
  transform-origin: 50% 100%;
  animation: heroBreathingLeft 5.8s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease, left 0.3s ease;
}

.hero-character-left-img {
  height: 100%;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 97%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 97%);
}

/* Anime Idle Breathing Animation - C.C. with pulsating Geass crimson aura */
@keyframes heroBreathing {
  0% {
    transform: translateY(0) scale(1, 1);
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 28px rgba(255, 34, 56, 0.28));
  }
  38% {
    transform: translateY(-6px) scale(1.012, 1.018);
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 42px rgba(255, 34, 56, 0.44));
  }
  68% {
    transform: translateY(-3px) scale(1.006, 1.009);
    filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.96)) drop-shadow(0 0 35px rgba(255, 34, 56, 0.34));
  }
  100% {
    transform: translateY(0) scale(1, 1);
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 28px rgba(255, 34, 56, 0.28));
  }
}

/* Anime Idle Breathing Animation - Lelouch (Zero) with pulsating Royal Violet aura */
@keyframes heroBreathingLeft {
  0% {
    transform: translateY(0) scale(1, 1);
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 26px rgba(148, 54, 235, 0.30));
  }
  42% {
    transform: translateY(-7px) scale(1.012, 1.018);
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 42px rgba(148, 54, 235, 0.48)) drop-shadow(0 0 20px rgba(255, 34, 56, 0.22));
  }
  72% {
    transform: translateY(-3px) scale(1.006, 1.009);
    filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.96)) drop-shadow(0 0 32px rgba(148, 54, 235, 0.35));
  }
  100% {
    transform: translateY(0) scale(1, 1);
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 26px rgba(148, 54, 235, 0.30));
  }
}

@media (min-width: 1550px) {
  .hero-character {
    right: max(40px, calc(50% - 700px));
  }
  .hero-character-left {
    left: max(40px, calc(50% - 720px));
  }
}

@media (max-width: 1366px) {
  .hero-character {
    right: 15px;
    max-height: 520px;
  }
  .hero-character-img {
    max-width: 215px;
  }
  .hero-character-left {
    left: 15px;
    max-height: 520px;
  }
  .hero-character-left-img {
    max-width: 220px;
  }
}

@media (max-width: 1200px) {
  .hero-character {
    right: 10px;
    max-height: 460px;
    opacity: 0.70;
    z-index: 0;
  }
  .hero-character-img {
    max-width: 190px;
  }
  .hero-character-left {
    left: 10px;
    max-height: 460px;
    opacity: 0.70;
    z-index: 0;
  }
  .hero-character-left-img {
    max-width: 195px;
  }
}

@media (max-width: 1024px) {
  .hero-character {
    right: 5px;
    max-height: 380px;
    opacity: 0.25;
    z-index: 0;
  }
  .hero-character-img {
    max-width: 160px;
  }
  .hero-character-left {
    left: 5px;
    max-height: 380px;
    opacity: 0.25;
    z-index: 0;
  }
  .hero-character-left-img {
    max-width: 165px;
  }
}

@media (max-width: 768px) {
  .hero-character,
  .hero-character-left {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 auto 22px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--purple-soft);
  font-weight: 800;
  text-align: center;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(3.6rem, 5.2vw, 7.2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 0;
  color: #f2f4ff;
}

.shimmer-text {
  background: linear-gradient(135deg, #ff6b7d 0%, #ffffff 40%, #ff4d61 70%, #ff6b7d 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s ease-in-out infinite;
  display: inline-block;
  font-weight: 600;
  font-style: italic;
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-copy {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(241, 243, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: rgba(241, 243, 255, 0.7);
  font-size: 0.8rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: '•';
  color: var(--green);
}

.proof-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: rgba(241, 243, 255, 0.7);
  font-size: 0.9rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
  padding-right: 12px;
}

.avatar-stack span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-left: -8px;
  font-size: 0.9rem;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-soft);
  font-weight: 700;
}

.stars {
  color: #ffd66d;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(241, 243, 255, 0.7);
  font-size: 0.82rem;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip span::before {
  content: '◍';
  color: var(--purple-soft);
}

.features,
.setup,
.pricing {
  padding: 90px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2,
.setup-title,
.pricing-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--text);
}

.section-head h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.section-head p:last-child,
.setup-copy,
.pricing-copy {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.setup-card,
.plan-card,
.summary-card,
.purchase-card {
  position: relative;
  overflow: hidden;
  background: rgba(13, 22, 35, 0.82);
  border: 1px solid rgba(151, 170, 218, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  animation: floatCard 10s ease-in-out infinite;
}

.feature-card::before,
.setup-card::before,
.plan-card::before,
.summary-card::before,
.purchase-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(146, 129, 255, 0.04), transparent 42%, rgba(89, 216, 255, 0.02));
  pointer-events: none;
}

.feature-card {
  padding: 22px 20px;
  min-height: 180px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(139, 126, 249, 0.12);
  border: 1px solid rgba(139, 126, 249, 0.3);
  color: var(--purple-soft);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.setup-title,
.pricing-title {
  text-align: center;
  font-size: clamp(3.2rem, 5vw, 6rem);
}

.setup-copy,
.pricing-copy {
  text-align: center;
}

.stats-number {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
/* Detached Setup Steps Grid */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.setup-card {
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8, 16, 28, 0.82);
  border: 1px solid rgba(130, 160, 220, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(1, 6, 16, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.setup-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 34, 56, 0.38);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.52), 0 0 24px rgba(255, 34, 56, 0.12);
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 74px;
}

.stats-number {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.serif-heading {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(46, 213, 115, 0.12);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.28);
}

.small-label {
  margin: 18px 0 8px;
  color: #edf3ff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.small-text {
  margin: 0;
  color: rgba(169, 199, 225, 0.78);
  line-height: 1.65;
  font-size: 0.92rem;
  flex-grow: 1;
}

/* Step Pill Button (Steps 1, 2, 3) */
.step-pill-btn {
  margin-top: 28px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(130, 160, 220, 0.22);
  background: rgba(13, 20, 36, 0.65);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.step-pill-btn:hover {
  border-color: rgba(255, 34, 56, 0.55);
  background: rgba(20, 34, 58, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 34, 56, 0.15);
  transform: translateY(-2px);
}

.step-circle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 170, 230, 0.4);
  color: rgba(190, 215, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.03);
}

.step-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.step-btn-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}

.step-btn-sub {
  color: #7e94ac;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .setup-card {
    padding: 28px 22px;
  }
}

.game-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 12px;
}

.game-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: rgba(12, 19, 34, 0.72);
  border: 1px solid rgba(130, 160, 220, 0.22);
  color: rgba(235, 245, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  min-height: 42px;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.game-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 34, 56, 0.55);
  background: rgba(20, 32, 54, 0.88);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 34, 56, 0.16);
  color: #ffffff;
}

.game-pill-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.pricing-wrap {
  max-width: 860px;
  margin: 36px auto 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-header h3 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

.pricing-header p {
  margin: 10px 0 0;
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plan-card {
  padding: 22px 22px 18px;
  animation: floatCard 8s ease-in-out infinite;
  animation-delay: 0.6s;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: -30% 18% auto 18%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(139, 126, 249, 0.16), transparent 58%);
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.25), 0 18px 38px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 34, 56, 0.2);
}

.plan-card.active {
  border-color: rgba(255, 34, 56, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.25);
}

.plan-card.active::after {
  background: radial-gradient(circle at center, rgba(255, 34, 56, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.plan-card.active:hover {
  box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.45), 0 0 24px rgba(255, 34, 56, 0.3), 0 18px 34px rgba(0, 0, 0, 0.65);
}

.plan-card.active:hover::after {
  opacity: 1;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #ff4d61, #b91024);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 0.38rem 0.7rem;
  box-shadow: 0 0 18px rgba(255, 34, 56, 0.45);
}

.plan-type {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.plan-price {
  margin-top: 18px;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.plan-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-description {
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(241,243,255,0.8);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.select-plan {
  background: rgba(139, 126, 249, 0.12);
  border-color: rgba(139, 126, 249, 0.3);
  color: var(--text);
  margin-top: 26px;
  padding: 0.95rem 1rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.select-plan:hover {
  box-shadow: 0 0 0 1px rgba(139, 126, 249, 0.3), 0 0 20px rgba(139, 126, 249, 0.18), 0 8px 16px rgba(93, 104, 255, 0.16);
}

.primary-plan {
  background: linear-gradient(135deg, #7d8fff, #5d6ef4);
  border-color: rgba(124, 140, 255, 0.55);
  color: #f5f7ff;
  box-shadow: 0 10px 20px rgba(93, 110, 244, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-plan:hover {
  box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.45), 0 0 18px rgba(0, 0, 0, 0.6), 0 12px 20px rgba(255, 34, 56, 0.2);
  transform: translateY(-2px);
  animation: bluePulse 2.2s ease-in-out infinite;
}

.checkout-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 34, 56, 0.12), transparent 36%),
    radial-gradient(circle at 82% 25%, rgba(148, 54, 235, 0.08), transparent 32%),
    radial-gradient(circle at 50% 85%, rgba(185, 16, 36, 0.06), transparent 45%),
    linear-gradient(180deg, #030305 0%, #060609 50%, #040407 100%) !important;
  min-height: 100vh;
}

.checkout-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  position: relative;
}

.checkout-page-wrap {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.checkout-section {
  padding: 100px 0 110px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 26px;
  align-items: start;
}

.summary-card,
.purchase-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 26px 26px 22px;
  background: rgba(9, 9, 13, 0.92) !important;
  border: 1px solid rgba(255, 34, 56, 0.24) !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.85), 0 0 24px rgba(255, 34, 56, 0.10) !important;
  backdrop-filter: blur(20px);
  animation: floatCard 12s ease-in-out infinite;
}

.summary-card::before,
.purchase-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.09), transparent 45%, rgba(148, 54, 235, 0.05)) !important;
  pointer-events: none;
  border-radius: inherit;
}

.summary-card {
  padding: 26px 24px 22px;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8595;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.summary-card h3,
.purchase-card h3 {
  margin: 18px 0 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  letter-spacing: -0.06em;
  color: #f8fafc;
}

.order-summary {
  margin-top: 22px;
  border: 1px solid rgba(255, 34, 56, 0.22) !important;
  border-radius: 18px;
  background: rgba(5, 5, 8, 0.92) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  padding: 18px 16px 10px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.summary-label,
.total-row {
  font-weight: 700;
}

.muted-row {
  color: var(--muted);
}

.total-row {
  padding-top: 18px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-price, .summary-row strong {
  font-weight: 700;
}

.purchase-card {
  padding: 22px 22px 18px;
}

.field-label {
  display: block;
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.purchase-card input {
  width: 100%;
  border: 1px solid rgba(255, 34, 56, 0.24) !important;
  border-radius: 12px;
  background: rgba(6, 6, 9, 0.95) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.purchase-card input:focus {
  border-color: rgba(255, 34, 56, 0.65) !important;
  box-shadow: 0 0 18px rgba(255, 34, 56, 0.28) !important;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.payment-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(8, 8, 12, 0.8);
  border: 1px solid rgba(255, 34, 56, 0.24);
  border-radius: 12px;
  color: var(--text);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.payment-option:hover {
  background: rgba(255, 34, 56, 0.08);
  border-color: rgba(255, 34, 56, 0.45);
  transform: translateY(-1px);
}

.payment-option.selected {
  background: linear-gradient(135deg, rgba(185, 16, 36, 0.22), rgba(10, 8, 12, 0.95)) !important;
  border-color: rgba(255, 34, 56, 0.7) !important;
  box-shadow: 0 0 22px rgba(255, 34, 56, 0.22) !important;
}

.method-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.85rem;
  background: rgba(255, 34, 56, 0.15);
  border: 1px solid rgba(255, 34, 56, 0.3);
  flex-shrink: 0;
}

.recommended {
  background: rgba(255, 34, 56, 0.14);
  color: #ff8595;
  border: 1px solid rgba(255, 34, 56, 0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  padding: 0.28rem 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.pp-badge {
  background: rgba(255, 34, 56, 0.15);
  color: #ff8595;
  border-color: rgba(255, 34, 56, 0.35);
}

.ltc-badge {
  background: rgba(255, 34, 56, 0.15);
  color: #ff8595;
  border-color: rgba(255, 34, 56, 0.38);
}

/* Payment panels */
.payment-panel {
  margin-top: 18px;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PayPal container */
.paypal-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.paypal-direct-box {
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid rgba(255, 34, 56, 0.2);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-step-instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(185, 16, 36, 0.25);
  color: #ff2238;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.paypal-me-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff2238 0%, #b91024 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 34, 56, 0.35);
  text-decoration: none;
}

.paypal-me-action:hover {
  background: linear-gradient(135deg, #ff3b50 0%, #cf1229 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 34, 56, 0.5);
  color: #fff;
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.input-with-button input {
  flex: 1;
}

.input-with-button .primary-button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
}

/* Crypto (LTC) container */
.crypto-box {
  background: rgba(6, 6, 9, 0.94) !important;
  border: 1px solid rgba(255, 34, 56, 0.22) !important;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

.crypto-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 34, 56, 0.18);
  padding-bottom: 12px;
}

.crypto-coin-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
}

.coin-symbol {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2238 0%, #b91024 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(255, 34, 56, 0.45);
}

.crypto-amount-badge {
  font-size: 0.88rem;
  color: var(--muted);
}

.crypto-amount-badge strong {
  color: #ff2238;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.crypto-body-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.crypto-qr-wrap {
  width: 130px;
  height: 130px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.crypto-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.crypto-qr-wrap .qr-hint {
  display: none;
}

.crypto-details-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label-sm {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.copy-input-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}

.copy-input-wrap input {
  font-size: 0.82rem;
  padding: 0.65rem 0.8rem;
  background: rgba(3, 3, 5, 0.95) !important;
  border: 1px solid rgba(255, 34, 56, 0.28) !important;
  border-radius: 10px;
  color: #fff;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.copy-input-wrap input:focus {
  border-color: rgba(255, 34, 56, 0.65) !important;
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.25) !important;
}

.btn-copy {
  background: rgba(255, 34, 56, 0.1);
  border: 1px solid rgba(255, 34, 56, 0.3);
  color: #f8fafc;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: rgba(255, 34, 56, 0.22);
  border-color: rgba(255, 34, 56, 0.55);
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.28);
  color: #fff;
}

.btn-copy.copied {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.5);
  color: #34d399;
}

.crypto-verify-section {
  border-top: 1px solid rgba(255, 34, 56, 0.18);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 600px) {
  .crypto-body-row {
    flex-direction: column;
    align-items: stretch;
  }
  .crypto-qr-wrap {
    margin: 0 auto;
  }
  .input-with-button {
    flex-direction: column;
  }
}

.checkout-account {
  border: 1px solid rgba(255, 34, 56, 0.24) !important;
  border-radius: 14px;
  background: rgba(6, 6, 9, 0.95) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  padding: 0.9rem 1rem;
}

.checkout-account-logged-out p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.checkout-discord-login {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.checkout-account-logged-in {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.checkout-account-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-account-name {
  font-weight: 600;
  color: var(--text);
}

.checkout-account-switch {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}

.checkout-account-switch:hover {
  color: var(--text);
}

.pay-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pay-button {
  width: 100%;
  margin-top: 22px;
  padding: 1rem 1.1rem;
  font-size: 1.04rem;
  background: linear-gradient(135deg, #ff2238 0%, #b91024 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 24px rgba(255, 34, 56, 0.28) !important;
  transition: all 0.25s ease;
}

.pay-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 34, 56, 0.45) !important;
}

.smallprint,
.legal {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal a {
  color: #ff8595;
  text-decoration: underline;
  transition: color 0.2s;
}

.legal a:hover {
  color: #ff2238;
}

.checkout-message {
  margin: 12px 0 0;
  min-height: 20px;
  color: var(--green-soft);
  font-weight: 600;
}

.site-footer {
  padding: 0 0 30px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}

.footer-brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.back-link {
  color: var(--muted);
}

.account-body {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 34, 56, 0.22), transparent 35%),
    radial-gradient(circle at 80% 25%, rgba(185, 16, 36, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.45) 0%, rgba(8, 6, 10, 0.58) 100%),
    url("assets/dashboard-bg.png");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center top, center top, center top, center 25%;
  background-size: cover, cover, cover, 135% auto;
  background-attachment: scroll, scroll, scroll, fixed;
  min-height: 100vh;
  color: var(--text);
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 16px;
  border-bottom: none;
  background: transparent;
}

.account-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.account-brand-mark {
  width: 34px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 34, 56, 0.8));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-name,
.brand-account {
  font-weight: 700;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-separator {
  color: rgba(241, 243, 255, 0.55);
  margin: 0 2px;
}

.account-user-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 34, 56, 0.28); background: rgba(255, 34, 56, 0.08); box-shadow: 0 0 12px rgba(255, 34, 56, 0.1);
  color: var(--text);
  font-weight: 600;
}

.avatar-mini {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d61, #b91024);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 34, 56, 0.6);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: lowercase;
  object-fit: cover;
  flex-shrink: 0;
}

img.avatar-mini {
  display: block;
}

.account-home-btn,
.account-logout-btn,
.primary-action,
.secondary-action {
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.account-home-btn,
.account-logout-btn {
  padding: 0.72rem 1rem;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255, 34, 56, 0.22);
  cursor: pointer;
}

.account-home-btn {
  background: rgba(16, 16, 24, 0.85); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.account-logout-btn {
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.18), rgba(185, 16, 36, 0.24));
  border-color: rgba(255, 34, 56, 0.45);
  box-shadow: 0 10px 20px rgba(185, 16, 36, 0.12);
}

.account-main {
  padding: 26px 0 80px;
}

.account-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.account-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 18px 18px 0 0;
  background: rgba(12, 10, 16, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-bottom: none;
  overflow-x: auto;
}

.account-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(235, 244, 255, 0.75);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.account-tab:hover {
  color: #ffffff;
  background: rgba(255, 34, 56, 0.12);
  border-color: rgba(255, 34, 56, 0.35);
}

.account-tab.active {
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.28), rgba(185, 16, 36, 0.32));
  color: #ffffff;
  border: 1px solid rgba(255, 34, 56, 0.65);
  box-shadow: 0 0 18px rgba(255, 34, 56, 0.3);
}

.account-panel {
  padding: 60px 28px 32px;
  border-radius: 0 0 22px 22px;
  background: rgba(12, 10, 16, 0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-top: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 34, 56, 0.08);
}

.account-panel h1 {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: var(--text);
}

.account-panel > p {
  margin: 14px 0 28px;
  color: rgba(236, 246, 255, 0.74);
  font-size: 1.05rem;
  max-width: 900px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.status-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .status-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.status-card {
  padding: 18px 20px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 34, 56, 0.22);
  background: rgba(16, 12, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), inset 0 0 16px rgba(255, 34, 56, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.status-card:hover {
  transform: translateY(-2px);
  background: rgba(26, 12, 20, 0.85);
  border-color: rgba(255, 34, 56, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 34, 56, 0.25);
}

.status-label {
  color: rgba(225, 239, 255, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.status-value {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--text);
}

/* Live Expiry Cooldown Timer */
.cd-timer-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: 'JetBrains Mono', 'Roboto Mono', 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  letter-spacing: -0.02em;
  color: #f0f7ff;
  line-height: 1.2;
}

.cd-segment {
  display: inline-flex;
  align-items: baseline;
}

.cd-val {
  color: #ffffff;
  font-weight: 800;
}

.cd-lbl {
  font-size: 0.65em;
  font-weight: 600;
  color: rgba(255, 34, 56, 0.75);
  margin-left: 1px;
  text-transform: lowercase;
}

.cd-colon {
  color: rgba(255, 34, 56, 0.35);
  font-weight: 500;
  margin: 0 1px;
  animation: cdColonPulse 1s infinite ease-in-out;
}

@keyframes cdColonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cd-sec-segment .cd-seconds {
  color: #6fe7b4;
  text-shadow: 0 0 10px rgba(111, 231, 180, 0.45);
}

.cd-footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 34, 56, 0.65);
  font-weight: 600;
}

.cd-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fe7b4;
  box-shadow: 0 0 8px #6fe7b4;
  display: inline-block;
  animation: cdDotBlink 1.5s infinite ease-in-out;
}

@keyframes cdDotBlink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.4; }
}

/* Urgent warning states for < 3 days and < 6 hours */
.cd-timer-wrap.cd-urgent-warning .cd-val {
  color: #ffd066;
}
.cd-timer-wrap.cd-urgent-warning .cd-sec-segment .cd-seconds {
  color: #ffd066;
  text-shadow: 0 0 10px rgba(255, 208, 102, 0.5);
}
.cd-timer-wrap.cd-urgent-critical .cd-val,
.cd-timer-wrap.cd-urgent-critical .cd-sec-segment .cd-seconds {
  color: #ff6e6e;
  text-shadow: 0 0 12px rgba(255, 110, 110, 0.6);
}
.pulse-urgent {
  background: #ff6e6e !important;
  box-shadow: 0 0 8px #ff6e6e !important;
}

.cd-expired-badge {
  color: #ff8585;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
}

.lifetime-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.infinity-symbol {
  color: #ff2238;
  font-size: 1.25em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 34, 56, 0.85);
}

.cd-pending-text {
  font-size: 1rem;
  color: rgba(225, 239, 255, 0.5);
  font-weight: 600;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}

.single-col-layout {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.single-col-layout .centered-card {
  width: 100%;
  max-width: 520px;
}

.info-card,
.password-section {
  background: rgba(16, 12, 20, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 18px;
  padding: 24px 22px 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 0 18px rgba(255, 34, 56, 0.03);
}

.info-card h2,
.password-section h2 {
  margin: 0 0 18px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
}

.info-card p {
  margin: 0 0 18px;
  color: rgba(227, 239, 255, 0.76);
  line-height: 1.7;
}

.field-label {
  display: block;
  margin: 18px 0 10px;
  color: rgba(225, 239, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.info-card input,
.password-field input {
  width: 100%;
  border: 1px solid rgba(255, 34, 56, 0.28);
  background: rgba(10, 8, 14, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  border-radius: 12px;
  padding: 0.86rem 1rem;
  font-size: 1.02rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.info-card input:focus,
.password-field input:focus {
  background: rgba(16, 8, 18, 0.92);
  border-color: #ff2238;
  box-shadow: 0 0 16px rgba(255, 34, 56, 0.4);
}

.profile-actions,
.discord-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.primary-action,
.secondary-action {
  padding: 0.9rem 1.1rem;
  cursor: pointer;
}

.primary-action {
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.9), rgba(185, 16, 36, 0.95));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 34, 56, 0.4);
}

.primary-action.small {
  padding: 0.8rem 1.1rem;
  min-width: 146px;
}

.secondary-action {
  background: rgba(16, 16, 24, 0.85); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 34, 56, 0.25);
  color: var(--text);
}

/* ===== TELEMETRY STATUS CARDS (Redeem Tab) ===== */
.telemetry-grid {
  margin-bottom: 26px;
}

.telemetry-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(145deg, rgba(22, 14, 24, 0.78) 0%, rgba(10, 8, 14, 0.92) 100%);
  border: 1px solid rgba(255, 34, 56, 0.24);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.telemetry-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(30, 14, 28, 0.88) 0%, rgba(14, 10, 18, 0.96) 100%);
  border-color: rgba(255, 34, 56, 0.55);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.52), 0 0 24px rgba(255, 34, 56, 0.25);
}

.telemetry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-top .status-label {
  margin-bottom: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.telemetry-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 6px rgba(255, 34, 56, 0.4));
}

.telemetry-val {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.telemetry-val.text-emerald {
  color: #4ade80;
  text-shadow: 0 0 16px rgba(74, 222, 128, 0.4);
}

.telemetry-val.text-crimson {
  color: #ff3b53;
  text-shadow: 0 0 16px rgba(255, 34, 56, 0.45);
}

.telemetry-val.text-cyan {
  color: #67e8f9;
  text-shadow: 0 0 16px rgba(103, 232, 249, 0.4);
}

.telemetry-desc {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Pulsing Beacons */
.live-beacon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.live-beacon.beacon-emerald {
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80, 0 0 20px #4ade80;
  animation: beaconPulseGreen 1.8s infinite ease-in-out;
}

.live-beacon.beacon-crimson {
  background: #ff2238;
  box-shadow: 0 0 10px #ff2238, 0 0 20px #ff2238;
  animation: beaconPulseRed 1.8s infinite ease-in-out;
}

@keyframes beaconPulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px #4ade80; }
  50% { transform: scale(1.35); opacity: 0.7; box-shadow: 0 0 22px #4ade80; }
}

@keyframes beaconPulseRed {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px #ff2238; }
  50% { transform: scale(1.35); opacity: 0.7; box-shadow: 0 0 22px #ff2238; }
}

/* ===== ACTIVE LICENSE LINKED CARD ===== */
.active-license-card {
  width: 100%;
  max-width: 580px;
  border: 1px solid rgba(255, 34, 56, 0.35) !important;
  background: linear-gradient(145deg, rgba(28, 14, 22, 0.85) 0%, rgba(12, 8, 16, 0.96) 100%) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 34, 56, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px;
  padding: 28px 26px !important;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-lic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 34, 56, 0.15);
}

.active-lic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.active-lic-badge .active-lic-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px rgba(255, 34, 56, 0.6));
}

.active-lic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.active-lic-sub {
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 18px !important;
}

.active-lic-key-preview {
  background: rgba(8, 6, 12, 0.75);
  border: 1px solid rgba(255, 34, 56, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
}

.key-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.key-preview-row code {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff8595;
}

.active-lic-btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.pulse-action-btn {
  background: linear-gradient(135deg, #ff2238 0%, #b91024 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 34, 56, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: dlPulse 2.8s infinite ease-in-out;
}

@keyframes dlPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 34, 56, 0.45); }
  50% { box-shadow: 0 12px 34px rgba(255, 34, 56, 0.75); }
}

.pulse-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 34, 56, 0.65);
}

.btn-text-secondary {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  text-align: center;
}

.btn-text-secondary:hover {
  color: #ff8595;
  text-decoration: underline;
}

/* Redeem input chip badge */
.redeem-badge-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ff8595;
  background: rgba(255, 34, 56, 0.1);
  border: 1px solid rgba(255, 34, 56, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.password-section {
  margin-top: 22px;
}

.password-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes bluePulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.45), 0 0 14px rgba(255, 34, 56, 0.2), 0 12px 20px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 34, 56, 0.65), 0 0 26px rgba(255, 34, 56, 0.35), 0 14px 24px rgba(0, 0, 0, 0.6);
  }
}

@keyframes glowPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .feature-grid,
  .setup-grid,
  .plan-grid,
  .checkout-layout,
  .status-grid,
  .two-col-layout,
  .password-grid {
    grid-template-columns: 1fr;
  }

  .account-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .account-user-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .nav-actions .login-link {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .plan-button {
    width: 100%;
  }

  .summary-card,
  .purchase-card {
    padding: 18px 16px;
  }

  .account-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .account-tabs {
    gap: 8px;
  }

  .profile-actions,
  .discord-actions {
    flex-direction: column;
  }
}

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
  backdrop-filter: blur(16px);
  pointer-events: all;
  min-width: 260px;
  max-width: 380px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: toastIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border: 1px solid rgba(255,255,255,0.08);
}

.toast.toast-exit {
  animation: toastOut 0.22s ease forwards;
}

.toast-success {
  background: rgba(14, 38, 28, 0.96);
  border-color: rgba(111, 231, 180, 0.3);
}

.toast-error {
  background: rgba(38, 14, 20, 0.96);
  border-color: rgba(255, 90, 90, 0.3);
}

.toast-info {
  background: rgba(8, 24, 44, 0.96);
  border-color: rgba(255, 34, 56, 0.3);
}

.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-body { flex: 1; line-height: 1.4; }

.toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.toast-close:hover { color: rgba(255,255,255,0.85); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(40px) scale(0.88); }
}

/* ===== COPY KEY BUTTON ===== */
.key-copy-wrap {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
}
.key-copy-wrap input { flex: 1; }

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.72rem 1rem;
  background: rgba(255, 34, 56, 0.1);
  border: 1px solid rgba(255, 34, 56, 0.25);
  border-radius: 12px;
  color: #ff2238;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-copy:hover { background: rgba(255, 34, 56, 0.18); transform: translateY(-1px); }
.btn-copy.copied { background: rgba(111, 231, 180, 0.15); border-color: rgba(111, 231, 180, 0.35); color: #6fe7b4; }

/* ===== INSTALL GUIDE MODAL ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.modal-exit { animation: fadeOut 0.18s ease forwards; }

.modal-box {
  background: rgba(8, 20, 34, 0.98);
  border: 1px solid rgba(255, 34, 56, 0.2);
  border-radius: 22px;
  padding: 36px 32px;
  width: min(520px, 100%);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-box h2 { margin: 0 0 6px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; color: #f8fafc; }
.modal-box p.modal-sub { margin: 0 0 28px; color: #94a3b8; font-size: 0.9rem; }

.install-steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.install-step { display: flex; align-items: flex-start; gap: 14px; }

.step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 34, 56, 0.12);
  border: 1px solid rgba(255, 34, 56, 0.28);
  color: #ff2238;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text { font-size: 0.9rem; color: #c8e6f5; line-height: 1.5; }
.step-text strong { color: #f8fafc; }

.install-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 34, 56, 0.06);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 24px;
  font-size: 0.85rem;
  color: #c8e6f5;
  line-height: 1.45;
}
.install-notice-box strong { color: #ff2238; }
.install-notice-badge {
  background: rgba(255, 34, 56, 0.16);
  border: 1px solid rgba(255, 34, 56, 0.35);
  color: #ff2238;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 1px;
}

.sd-disguise-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 171, 0, 0.08);
  border: 1px solid rgba(255, 171, 0, 0.28);
  border-radius: 10px;
  padding: 8px 14px;
  margin: -14px 0 20px;
  font-size: 0.82rem;
  color: #ffe8b3;
}
.sd-disguise-banner strong { color: #ffd166; }
.sd-disguise-tag {
  background: rgba(255, 171, 0, 0.2);
  border: 1px solid rgba(255, 171, 0, 0.4);
  color: #ffd166;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

.btn-modal-cancel {
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255, 34, 56, 0.25);
  border-radius: 12px;
  color: #94a3b8;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s;
}
.btn-modal-cancel:hover { background: rgba(255, 34, 56, 0.1); border-color: rgba(255, 34, 56, 0.45); color: #ffffff; }

.btn-modal-download {
  padding: 0.8rem 1.4rem;
  background: linear-gradient(135deg, #ff2238, #b91024);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 20px rgba(255, 34, 56, 0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-modal-download:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 34, 56, 0.55); }

/* ===== SERVER STATUS DOT ===== */
.server-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255, 34, 56, 0.2);
}
.server-status-dot .dot { width: 7px; height: 7px; border-radius: 50%; background: #555; transition: background 0.4s; }
.server-status-dot.online .dot { background: #6fe7b4; box-shadow: 0 0 6px rgba(111, 231, 180, 0.6); animation: pulse 2s infinite; }
.server-status-dot.offline .dot { background: #ff6b6b; box-shadow: 0 0 6px rgba(255, 107, 107, 0.5); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ===== ADMIN PANEL ===== */
.admin-body {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 34, 56, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(185, 16, 36, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.75) 0%, rgba(8, 8, 12, 0.88) 100%),
    url("assets/dashboard-bg.png");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center top, center top, center top, center 25%;
  background-size: cover, cover, cover, 135% auto;
  background-attachment: scroll, scroll, scroll, fixed;
  min-height: 100vh;
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Ambient glow background orbs */
.admin-ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.18;
}
.admin-ambient-glow.glow-1 {
  top: -120px;
  left: 15%;
  background: radial-gradient(circle, #ff2238 0%, #d31027 70%, transparent 100%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}
.admin-ambient-glow.glow-2 {
  bottom: 10%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #ff334b 0%, #b91024 70%, transparent 100%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 70px) scale(1.1); }
  100% { transform: translate(-40px, 30px) scale(0.95); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -50px) scale(1.12); }
  100% { transform: translate(40px, -20px) scale(0.9); }
}

.admin-header, .admin-main, .admin-login-wrap {
  position: relative;
  z-index: 1;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 34, 56, 0.16);
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f8fafc 0%, #ff2238 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-create-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid rgba(255, 34, 56, 0.45);
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.25), rgba(185, 16, 36, 0.45));
  color: #f8fafc;
  box-shadow: 0 0 20px rgba(255, 34, 56, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}
.btn-create-key:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 34, 56, 0.5);
  border-color: rgba(255, 34, 56, 0.8);
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.4), rgba(185, 16, 36, 0.6));
}
.btn-create-key:active {
  transform: translateY(0) scale(0.98);
}

.btn-create-key-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 34, 56, 0.35);
  background: rgba(255, 34, 56, 0.12);
  color: #ff2238;
  transition: all 0.18s ease;
  font-family: 'Inter', sans-serif;
}
.btn-create-key-sm:hover {
  background: rgba(255, 34, 56, 0.25);
  color: #fff;
  border-color: #ff2238;
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.3);
}

.admin-main {
  padding: 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  position: relative;
  background: rgba(10, 23, 36, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 34, 56, 0.16);
  border-radius: 18px;
  padding: 20px 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--stat-glow, #ff2238), transparent);
  opacity: 0.85;
}
.admin-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 34, 56, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 34, 56, 0.12);
}
.stat-card-total::before { --stat-glow: #ff2238; }
.stat-card-active::before { --stat-glow: #6fe7b4; }
.stat-card-redeemed::before { --stat-glow: #ff4d61; }
.stat-card-revoked::before { --stat-glow: #ff6b6b; }
.stat-card-monthly::before { --stat-glow: #818cf8; }
.stat-card-lifetime::before { --stat-glow: #facc15; }

.admin-stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 8px;
}
.admin-stat-value {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f8fafc;
}

.admin-table-wrap {
  background: rgba(10, 23, 36, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 34, 56, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 34, 56, 0.12);
  gap: 16px;
  flex-wrap: wrap;
}
.admin-table-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.admin-search {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  width: 240px;
  outline: none;
  transition: all 0.2s ease;
}
.admin-search:focus {
  border-color: #ff2238;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.25);
}
.admin-search::placeholder { color: #8dafc4; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.admin-table th {
  text-align: left;
  padding: 14px 18px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 34, 56, 0.1);
  background: rgba(255, 255, 255, 0.015);
}
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 34, 56, 0.06);
  color: #c8e6f5;
  font-family: monospace;
  font-size: 0.82rem;
  transition: background 0.15s ease;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255, 34, 56, 0.05); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.status-active { background: rgba(111,231,180,0.12); color: #6fe7b4; border: 1px solid rgba(111,231,180,0.25); }
.status-active::before { background: #6fe7b4; box-shadow: 0 0 8px #6fe7b4; animation: pulseDot 1.8s infinite; }
.status-redeemed { background: rgba(255, 34, 56, 0.12); color: #ff4d61; border: 1px solid rgba(255, 34, 56, 0.3); }
.status-redeemed::before { background: #ff2238; box-shadow: 0 0 6px #ff2238; }
.status-issued { background: rgba(255,200,80,0.12); color: #ffc850; border: 1px solid rgba(255,200,80,0.25); }
.status-issued::before { background: #ffc850; box-shadow: 0 0 6px #ffc850; }
.status-revoked { background: rgba(255,90,90,0.12); color: #ff6b6b; border: 1px solid rgba(255,90,90,0.25); }
.status-revoked::before { background: #ff6b6b; }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }

.btn-admin-sm {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 34, 56, 0.22);
  background: rgba(255,255,255,0.04);
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s;
  margin-right: 4px;
}
.btn-admin-sm:hover {
  background: rgba(255, 34, 56, 0.12);
  color: #f8fafc;
  border-color: rgba(255, 34, 56, 0.5);
}
.btn-admin-sm.danger {
  border-color: rgba(255,90,90,0.3);
  color: #ff8585;
}
.btn-admin-sm.danger:hover {
  background: rgba(255,90,90,0.15);
  border-color: #ff8585;
}
.btn-admin-sm.delete {
  border-color: rgba(255,50,50,0.4);
  background: rgba(255,50,50,0.08);
  color: #ff5252;
}
.btn-admin-sm.delete:hover {
  background: rgba(255,50,50,0.25);
  color: #ffffff;
  border-color: #ff5252;
  box-shadow: 0 0 10px rgba(255,82,82,0.3);
}

.admin-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.admin-login-card {
  background: rgba(10, 23, 36, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 34, 56, 0.24);
  border-radius: 24px;
  padding: 44px 38px;
  width: min(420px, calc(100% - 40px));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 34, 56, 0.08);
  transition: transform 0.3s ease;
}
.admin-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.admin-login-card p {
  margin: 0 0 24px;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}
.btn-admin-login {
  width: 100%;
  padding: 0.95rem;
  background: linear-gradient(135deg, #ff2238, #b91024);
  border: none;
  border-radius: 14px;
  color: #050508;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(255, 34, 56, 0.3);
}
.btn-admin-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 34, 56, 0.5);
}
.admin-error {
  color: #ff8585;
  font-size: 0.85rem;
  margin-top: 14px;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   ✨ MODAL & DURATION SYSTEM STYLES
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.22s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.admin-modal-card {
  background: linear-gradient(160deg, rgba(12, 26, 42, 0.96) 0%, rgba(8, 16, 28, 0.98) 100%);
  border: 1px solid rgba(255, 34, 56, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 34, 56, 0.15);
  border-radius: 24px;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 34, 56, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 34, 56, 0.5);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.modal-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.25), rgba(185, 16, 36, 0.4));
  border: 1px solid rgba(255, 34, 56, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(255, 34, 56, 0.3);
}
.modal-header-title {
  margin: 0 0 4px 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
}
.modal-header-desc {
  margin: 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Form Styles */
.modal-form-group {
  margin-bottom: 20px;
}
.modal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}
.modal-label-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 34, 56, 0.1);
  color: #ff2238;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 34, 56, 0.2);
}
.modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.modal-input-icon {
  position: absolute;
  left: 14px;
  color: #ff2238;
  opacity: 0.85;
  pointer-events: none;
}
.modal-input {
  width: 100%;
  padding: 11px 14px 11px 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.modal-input:focus {
  border-color: #ff2238;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.25);
}
.modal-hint {
  font-size: 0.74rem;
  color: #8dafc4;
  margin-top: 6px;
  line-height: 1.35;
}

/* Checkbox */
.modal-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  cursor: pointer;
  user-select: none;
}
.modal-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ff2238;
  cursor: pointer;
}
.modal-checkbox-text {
  font-size: 0.82rem;
  color: #c8e6f5;
  font-weight: 500;
}

/* Preset buttons */
.duration-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.btn-preset {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 34, 56, 0.18);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-preset:hover {
  background: rgba(255, 34, 56, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 34, 56, 0.35);
}
.btn-preset.active {
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.25), rgba(185, 16, 36, 0.35));
  border-color: #ff2238;
  color: #f8fafc;
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.35);
}

/* Custom duration inputs */
.duration-custom-container {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.custom-val-input {
  width: 110px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.2s;
}
.custom-val-input:focus {
  border-color: #ff2238;
  box-shadow: 0 0 12px rgba(255, 34, 56, 0.25);
}
.custom-unit-select {
  flex: 1;
  padding: 10px 14px;
  background: #091726;
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  cursor: pointer;
}
.custom-unit-select:focus {
  border-color: #ff2238;
}

/* Live Preview Card */
.duration-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 34, 56, 0.06);
  border: 1px dashed rgba(255, 34, 56, 0.35);
  border-radius: 12px;
}
.preview-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.preview-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ff2238;
}
.preview-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.btn-modal-cancel {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 34, 56, 0.2);
  background: transparent;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.btn-modal-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ff2238, #d31027);
  color: #050508;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 34, 56, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}
.btn-modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 34, 56, 0.55);
}
.btn-modal-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success View in Modal */
.success-card {
  text-align: center;
  padding: 10px 0;
}
.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(111, 231, 180, 0.15);
  border: 1px solid rgba(111, 231, 180, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(111, 231, 180, 0.3);
  animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.key-box-wrap {
  margin: 20px 0;
  background: rgba(4, 12, 22, 0.8);
  border: 1px solid rgba(255, 34, 56, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}
.key-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.key-box-code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff2238;
  letter-spacing: 0.06em;
  user-select: all;
  text-shadow: 0 0 12px rgba(255, 34, 56, 0.4);
  word-break: break-all;
}
.key-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.key-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 34, 56, 0.2);
  color: #f8fafc;
}
.key-badge.highlight {
  background: rgba(255, 34, 56, 0.15);
  border-color: rgba(255, 34, 56, 0.4);
  color: #ff2238;
}

.copy-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-copy.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 34, 56, 0.25);
  color: #f8fafc;
}
.btn-copy.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ff2238;
}
.btn-copy.primary {
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.85), rgba(185, 16, 36, 0.95));
  border: 1px solid rgba(255, 34, 56, 0.6);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 34, 56, 0.35);
}
.btn-copy.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 34, 56, 0.55);
}

/* ==========================================================================
   ✨ PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* --- 1. Hero Animated Gradient Shimmer --- */
.hero h1 span {
  background: linear-gradient(135deg, #ff6b7d 0%, #ff2238 35%, #f8fafc 60%, #b91024 85%, #ff6b7d 100%);
  background-size: 260% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientShimmer 5s linear infinite;
  display: inline-block;
  padding-right: 0.25em;
  padding-bottom: 0.05em;
  margin-right: -0.15em;
}

@keyframes textGradientShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- 2. Eyebrow Floating Glow Badge --- */
.eyebrow {
  display: table;
  margin: 0 auto 22px auto;
  text-align: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 34, 56, 0.07);
  border: 1px solid rgba(255, 34, 56, 0.24);
  box-shadow: 0 0 16px rgba(255, 34, 56, 0.1);
  animation: eyebrowFloat 4s ease-in-out infinite;
}

@keyframes eyebrowFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(255, 34, 56, 0.1);
    border-color: rgba(255, 34, 56, 0.22);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(255, 34, 56, 0.28);
    border-color: rgba(255, 34, 56, 0.42);
  }
}

/* --- 3. Glossy Sheen Sweep on Action Buttons --- */
.primary-button,
.plan-button.primary-plan,
.primary-action,
.btn-modal-download {
  position: relative;
  overflow: hidden;
}

.primary-button::after,
.plan-button.primary-plan::after,
.primary-action::after,
.btn-modal-download::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  animation: buttonSheenSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes buttonSheenSweep {
  0% { left: -70%; }
  22% { left: 150%; }
  100% { left: 150%; }
}

/* --- 4. Interactive Dynamic Spotlight on Cards --- */
.setup-card,
.plan-card,
.status-card,
.info-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
}

.setup-card::before,
.plan-card::before,
.status-card::before,
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 34, 56, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.setup-card:hover::before,
.plan-card:hover::before,
.status-card:hover::before,
.info-card:hover::before {
  opacity: 1;
}

.setup-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 34, 56, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 34, 56, 0.12);
}

/* --- 5. Lifetime Plan Card Aura Glow Border --- */
.plan-card.active {
  animation: auraGlow 4s ease-in-out infinite alternate;
}

@keyframes auraGlow {
  0% {
    box-shadow: 0 0 18px rgba(185, 16, 36, 0.2), 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 34, 56, 0.32);
  }
  100% {
    box-shadow: 0 0 36px rgba(255, 34, 56, 0.38), 0 14px 44px rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 34, 56, 0.58);
  }
}

/* --- 6. Platform Pills Interactive Hover --- */
.game-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}

.game-pill:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(255, 34, 56, 0.55);
  background: rgba(255, 34, 56, 0.09);
  box-shadow: 0 8px 22px rgba(255, 34, 56, 0.18);
  color: #f8fafc;
}

/* --- 7. Scroll Reveal Transitions --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* --- 8. Dashboard Tab Slide & Fade In --- */
.account-tab-panel {
  animation: tabPanelSlide 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabPanelSlide {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- 9. Dashboard Status Cards Hover Lift --- */
.status-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

.status-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 34, 56, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 34, 56, 0.1);
}

/* --- 10. Breathing Glow on Active Download Button --- */
#client-download-btn:not(:disabled) {
  animation: downloadButtonPulse 3s ease-in-out infinite;
}

@keyframes downloadButtonPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(185, 16, 36, 0.28);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 12px 38px rgba(255, 34, 56, 0.55), 0 0 24px rgba(255, 34, 56, 0.35);
    transform: translateY(-2px);
  }
}

/* --- 11. Sequential Step Slide-In in Install Modal --- */
.install-modal-active .install-step {
  opacity: 0;
  animation: stepEntrance 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.install-modal-active .install-step:nth-child(1) { animation-delay: 0.08s; }
.install-modal-active .install-step:nth-child(2) { animation-delay: 0.16s; }
.install-modal-active .install-step:nth-child(3) { animation-delay: 0.24s; }
.install-modal-active .install-step:nth-child(4) { animation-delay: 0.32s; }
.install-modal-active .install-step:nth-child(5) { animation-delay: 0.40s; }

@keyframes stepEntrance {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 12. Micro-Interaction on Copy Button --- */
.btn-copy {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.btn-copy:active {
  transform: scale(0.94);
}

.btn-copy.copied {
  animation: copyPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes copyPop {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===================================================
   13. DUAL-EDITION SELECTOR (Client Tab)
   =================================================== */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.edition-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 34, 56, 0.16);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.edition-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 34, 56, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.edition-card.selected {
  border-color: #ff2238;
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.1) 0%, rgba(18, 21, 28, 0.8) 100%);
  box-shadow: 0 8px 30px rgba(255, 34, 56, 0.22);
}

.edition-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 34, 56, 0.12);
  color: #ff8595;
  border: 1px solid rgba(255, 34, 56, 0.2);
}

.edition-badge.ghost-badge {
  background: rgba(255, 34, 56, 0.15);
  color: #ff4d61;
  border-color: rgba(255, 34, 56, 0.35);
}

.edition-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.edition-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #f8fafc;
}

.edition-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.edition-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.edition-features li {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.edition-select-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}

.edition-card.selected .edition-select-indicator {
  background: #b91024;
  border-color: #ff2238;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 34, 56, 0.45);
}

.client-download-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.client-status-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.selected-edition-summary {
  font-size: 0.85rem;
  color: #94a3b8;
}

.selected-edition-summary strong {
  color: #f1f5f9;
}

/* ===================================================
   14. WEB GUI DASHBOARD TAB
   =================================================== */
.webgui-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.webgui-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.webgui-popout-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.webgui-popout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.webgui-panic-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.webgui-panic-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.webgui-panic-btn:active {
  transform: translateY(1px);
}

.webgui-status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 34, 56, 0.16);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.webgui-status-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.webgui-dot-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.webgui-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.webgui-dot.online {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.webgui-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.webgui-status-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.webgui-sub-info {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.webgui-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.webgui-tag.ghost {
  background: rgba(255, 34, 56, 0.12);
  border-color: rgba(255, 34, 56, 0.28);
  color: #ff4d61;
}

.webgui-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.webgui-search-wrap {
  position: relative;
  width: 100%;
}

.webgui-search-wrap input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 34, 56, 0.16);
  border-radius: 12px;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.webgui-search-wrap input:focus {
  border-color: #ff2238;
  box-shadow: 0 0 0 3px rgba(255, 34, 56, 0.2);
}

.webgui-search-wrap .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.category-pills {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.category-pill.active {
  background: #b91024;
  border-color: #ff2238;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 34, 56, 0.45);
}

.modules-grid,
.standalone-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.webgui-tip-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 34, 56, 0.08);
  border: 1px solid rgba(255, 34, 56, 0.22);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  flex-wrap: wrap;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 34, 56, 0.08);
}

.webgui-tip-banner .tip-sep {
  color: rgba(255, 255, 255, 0.2);
}

.webgui-tip-banner strong {
  color: #ff4d61;
}

/* Module Cards (Dashboard & Standalone) */
.webgui-mod-card,
.mod-card {
  background: rgba(16, 10, 18, 0.48);
  border: 1px solid rgba(255, 34, 56, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.webgui-mod-card:hover,
.mod-card:hover {
  transform: translateY(-4px);
  background: rgba(26, 12, 20, 0.62);
  border-color: rgba(255, 34, 56, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 34, 56, 0.2);
}

.webgui-mod-card.enabled,
.mod-card.enabled {
  border-color: rgba(255, 34, 56, 0.85);
  background: linear-gradient(135deg, rgba(38, 10, 16, 0.78) 0%, rgba(16, 10, 18, 0.85) 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 34, 56, 0.35);
  animation: modGlowPulse 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modGlowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 34, 56, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(255, 34, 56, 0); }
  100% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 34, 56, 0.25); }
}

.webgui-mod-header,
.mod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.webgui-mod-title-box,
.mod-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.webgui-mod-title,
.mod-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #f8fafc;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.webgui-badges-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.webgui-cat-pill,
.mod-cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.webgui-mod-card.enabled .webgui-cat-pill,
.mod-card.enabled .mod-cat-badge {
  background: rgba(255, 34, 56, 0.18);
  color: #ff4d61;
  border-color: rgba(255, 34, 56, 0.45);
}

.mod-rightclick-hint {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff6b7d;
  background: rgba(255, 34, 56, 0.12);
  border: 1px solid rgba(255, 34, 56, 0.28);
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}

.webgui-mod-card:hover .mod-rightclick-hint,
.mod-card:hover .mod-rightclick-hint {
  background: rgba(255, 34, 56, 0.25);
  border-color: rgba(255, 34, 56, 0.6);
  color: #ffffff;
}

.webgui-mod-desc,
.mod-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Custom Large Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

input:checked + .slider {
  background: linear-gradient(135deg, #ff2238, #b91024);
  border-color: #ff6b7d;
  box-shadow: 0 0 16px rgba(255, 34, 56, 0.7);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.modules-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  color: #64748b;
}

.modules-empty p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

/* ===================================================
   SELF DESTRUCT SYSTEM (Anti-Screenshare / AnyDesk)
   =================================================== */
.webgui-selfdestruct-btn {
  background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(127, 29, 29, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.webgui-selfdestruct-btn:hover {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.55);
}

.webgui-selfdestruct-btn:active {
  transform: translateY(1px);
}

.panic-button,
.webgui-panic-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.panic-button:hover,
.webgui-panic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.65);
}

.panic-button:active,
.webgui-panic-btn:active {
  transform: translateY(1px);
}

.selfdestruct-box {
  border: 1.5px solid rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(239, 68, 68, 0.2) !important;
  max-width: 540px !important;
}

.selfdestruct-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  width: fit-content;
  margin-bottom: 0.85rem;
}

.selfdestruct-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.sd-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.2s;
}

.sd-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.sd-option.selected {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.sd-option input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: #ef4444;
  cursor: pointer;
}

.sd-opt-content strong {
  color: #f8fafc;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.35rem;
}

.sd-opt-content p {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

.sd-steps {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sd-step {
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: monospace;
  transition: color 0.2s;
}

.sd-step.done {
  color: #34d399;
  font-weight: 600;
}

.btn-selfdestruct-confirm {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-selfdestruct-confirm:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
  transform: translateY(-1px);
}

.btn-selfdestruct-confirm:active {
  transform: translateY(1px);
}

/* ===================================================
   MODULE KEYBIND & PROPERTY CONFIGURATION STYLES
   =================================================== */
.mod-action-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mod-settings-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-settings-pill:hover {
  background: rgba(255, 34, 56, 0.15);
  border-color: rgba(255, 34, 56, 0.4);
  color: #ff4d61;
}

.mod-settings-pill.open {
  background: #b91024;
  border-color: #ff2238;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 34, 56, 0.55);
}

/* Customization Drawer (Opened on Right Click) */
.mod-properties-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  animation: accordionExpand 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes accordionExpand {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Keybind section inside drawer */
.prop-bind-section {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.bind-controls-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.keybind-btn-large {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-family: 'Inter', monospace, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  user-select: none;
}

.keybind-btn-large:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.keybind-btn-large.bound {
  background: rgba(255, 34, 56, 0.18);
  border-color: rgba(255, 34, 56, 0.45);
  color: #ff4d61;
}

.keybind-btn-large.recording {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fca5a5;
  animation: recordingBreathing 1.2s infinite ease-in-out;
}

@keyframes recordingBreathing {
  0% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.85); }
  100% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
}

.keybind-clear-btn-large {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s;
}

.keybind-clear-btn-large:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.bind-hint-text {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.prop-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.prop-name {
  color: #cbd5e1;
  font-weight: 600;
}

.prop-val-badge {
  color: #ff6b7d;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.84rem;
  background: rgba(255, 34, 56, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}

.prop-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prop-slider {
  flex: 1;
  accent-color: #ff2238;
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease;
}

.prop-slider:hover {
  background: rgba(255, 255, 255, 0.18);
}

.prop-num-input {
  width: 62px;
  height: 32px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.2rem 0.35rem;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-family: monospace;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.prop-num-input:focus {
  border-color: #ff2238;
  box-shadow: 0 0 0 3px rgba(255, 34, 56, 0.2);
}

.prop-select {
  width: 100%;
  background: #0f1117;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.86rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.prop-select:focus {
  border-color: #ff2238;
  box-shadow: 0 0 0 3px rgba(255, 34, 56, 0.2);
}

.prop-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
}

.prop-color-input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  height: 28px;
  width: 48px;
  cursor: pointer;
  padding: 0;
}

/* ===================================================
   GLOBAL WEBSITE & DASHBOARD ANIMATIONS
   =================================================== */

/* Smooth Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Dashboard Tab Slide Transition */
.account-tab-panel {
  animation: tabSlideFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Glowing Beacon Pulse */
.live-beacon {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: beaconPulse 1.8s infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes beaconPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Button Click Ripple Animation */
@keyframes buttonRippleAnim {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Card Float Animation */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Interactive Platform Pills Hover */
.game-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.game-pill:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 34, 56, 0.45);
  box-shadow: 0 8px 25px rgba(255, 34, 56, 0.2);
}

/* Button Shine Sweep Effect */
.primary-button,
.plan-button.primary-plan,
.primary-action,
.btn-modal-download {
  position: relative;
  overflow: hidden;
}

.primary-button::after,
.plan-button.primary-plan::after,
.primary-action::after,
.btn-modal-download::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.primary-button:hover::after,
.plan-button.primary-plan:hover::after,
.primary-action:hover::after,
.btn-modal-download:hover::after {
  transform: translateX(100%);
}

/* Sleek Active / Disabled Module State Pill */
.mod-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  user-select: none;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  transition: all 0.25s ease;
}

.mod-state-pill.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.mod-state-pill.active .mod-state-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.webgui-mod-card.settings-open, .mod-card.settings-open {
  border-color: rgba(255, 34, 56, 0.5) !important;
  box-shadow: 0 0 20px rgba(255, 34, 56, 0.25);
}

.btn-stealth-camou {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-stealth-camou:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* ========================================================
   YOUTUBE DISGUISE (Boss Key / Screenshare Camouflage)
   ======================================================== */
.youtube-disguise {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #0f0f0f;
  color: #f1f1f1;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', 'Arial', sans-serif;
  overflow: hidden;
  user-select: none;
}

.yt-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.yt-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-icon-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.yt-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.yt-logo svg {
  width: 93px;
  height: 20px;
}

.yt-center {
  flex: 0 1 732px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.yt-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  height: 40px;
  border: 1px solid #303030;
  border-radius: 40px;
  overflow: hidden;
  background: #121212;
}

.yt-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 16px;
  color: #fff;
  font-size: 16px;
}

.yt-search-btn {
  width: 64px;
  height: 100%;
  background: #222222;
  border: none;
  border-left: 1px solid #303030;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yt-search-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.yt-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222222;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yt-icon-text {
  font-size: 18px;
  cursor: pointer;
}

.yt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #b91024;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.yt-layout {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.yt-sidebar {
  width: 240px;
  background: #0f0f0f;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.yt-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: #f1f1f1;
}

.yt-nav-item:hover {
  background: #272727;
}

.yt-nav-item.active {
  background: #272727;
  font-weight: 700;
}

.yt-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.yt-feed {
  flex: 1;
  padding: 16px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yt-chips {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.yt-chip {
  background: #272727;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.yt-chip.active {
  background: #f1f1f1;
  color: #0f0f0f;
  font-weight: 600;
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px 16px;
}

.yt-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.yt-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.yt-thumb-1 { background: linear-gradient(135deg, #1e3a8a, #065f46); }
.yt-thumb-2 { background: linear-gradient(135deg, #701a75, #1e1b4b); }
.yt-thumb-3 { background: linear-gradient(135deg, #831843, #3b0764); }
.yt-thumb-4 { background: linear-gradient(135deg, #1c1917, #292524); }
.yt-thumb-5 { background: linear-gradient(135deg, #14532d, #064e3b); }
.yt-thumb-6 { background: linear-gradient(135deg, #7c2d12, #451a03); }

.yt-thumbnail::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.yt-timestamp {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.yt-card-info {
  display: flex;
  gap: 12px;
}

.yt-channel-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: #d31027;
}

.yt-pic-1 { background: #10b981; }
.yt-pic-2 { background: #f59e0b; }
.yt-pic-3 { background: #6366f1; }
.yt-pic-4 { background: #ec4899; }
.yt-pic-5 { background: #14b8a6; }
.yt-pic-6 { background: #ef4444; }

.yt-card-text h4 {
  margin: 0 0 4px 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #f1f1f1;
}

.yt-card-text p {
  margin: 0;
  font-size: 12.5px;
  color: #aaa;
  line-height: 1.4;
}

/* ===== STANDARD EDITION BLOCKED STATE FOR WEB GUI ===== */
.standard-edition-blocked {
  grid-column: 1 / -1;
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid rgba(255, 34, 56, 0.25);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  backdrop-filter: blur(14px);
  max-width: 680px;
  margin: 24px auto;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.edition-blocked-badge {
  display: inline-block;
  background: rgba(185, 16, 36, 0.16);
  border: 1px solid rgba(185, 16, 36, 0.38);
  color: #ff2238;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.standard-edition-blocked h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.edition-blocked-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.edition-blocked-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(150, 185, 255, 0.14);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  margin-bottom: 22px;
}
.blocked-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.blocked-feature-row .feat-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.blocked-feature-row strong {
  display: block;
  font-size: 0.94rem;
  color: #f8fafc;
  margin-bottom: 4px;
}
.blocked-feature-row p {
  font-size: 0.84rem;
  color: #8bb3cb;
  line-height: 1.45;
  margin: 0;
}
.edition-blocked-sub {
  font-size: 0.86rem;
  color: #628ea6;
  margin: 0;
  line-height: 1.5;
}
.edition-blocked-sub strong {
  color: #ff2238;
}

/* ==========================================================================
   💥 EARTHQUAKE SCREEN SHAKE & SCREEN RUMBLE (1.5-2 SECONDS)
   ========================================================================== */
@keyframes earthquakeRumble {
  0% { transform: translate(0px, 0px) rotate(0deg); }
  8% { transform: translate(-8px, 6px) rotate(-1.8deg); filter: blur(0.4px); }
  16% { transform: translate(9px, -7px) rotate(1.6deg); }
  24% { transform: translate(-10px, 5px) rotate(-1.4deg); }
  32% { transform: translate(8px, 8px) rotate(1.8deg); filter: blur(0.6px); }
  40% { transform: translate(-9px, -7px) rotate(-1.2deg); }
  48% { transform: translate(11px, 6px) rotate(1.5deg); }
  56% { transform: translate(-8px, 7px) rotate(-1.7deg); }
  64% { transform: translate(7px, -6px) rotate(1.2deg); filter: blur(0.3px); }
  72% { transform: translate(-6px, 5px) rotate(-1deg); }
  80% { transform: translate(6px, -4px) rotate(0.9deg); }
  88% { transform: translate(-4px, 3px) rotate(-0.5deg); }
  96% { transform: translate(2px, -2px) rotate(0.2deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); filter: none; }
}

body.earthquake-shake {
  animation: earthquakeRumble 0.1s linear infinite !important;
  overflow-x: hidden !important;
  position: relative !important;
}

body.earthquake-shake::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 34, 56, 0.28), rgba(185, 16, 36, 0.2), transparent 75%);
  pointer-events: none;
  z-index: 99998;
  animation: shockwaveFlash 0.12s ease-in-out infinite alternate;
}

@keyframes shockwaveFlash {
  from { opacity: 0.35; filter: brightness(1.2); }
  to { opacity: 0.85; filter: brightness(1.6); }
}

/* ==========================================================================
   🎉 CELEBRATION POPUP MODAL (CENTER OF SCREEN)
   ========================================================================== */
.celebration-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  z-index: 99999;
  padding: 20px;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#celebration-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100000;
}

.celebration-modal-box {
  position: relative;
  z-index: 100001;
  width: min(520px, 94vw);
  background: linear-gradient(145deg, rgba(16, 16, 22, 0.98), rgba(8, 8, 12, 0.99));
  border: 1px solid rgba(255, 34, 56, 0.45);
  border-radius: 28px;
  padding: 36px 30px 30px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 34, 56, 0.25), 0 24px 60px rgba(0, 0, 0, 0.7);
  animation: celebrationPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  overflow: hidden;
}

@keyframes celebrationPop {
  0% { transform: scale(0.65) translateY(35px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.celebration-glow-ring {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 34, 56, 0.45), rgba(185, 16, 36, 0.25), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.celebration-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 34, 56, 0.22), rgba(255, 34, 56, 0.22));
  border: 1px solid rgba(255, 34, 56, 0.6);
  color: #ff2238;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(255, 34, 56, 0.25);
}

.celebration-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 25%, #ff2238 70%, #ff4d61 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.celebration-subtitle {
  margin: 12px 0 20px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.celebration-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 9px 18px;
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.celeb-plan-icon {
  font-size: 1.1rem;
}

.celeb-plan-tag {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.celebration-key-box {
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 34, 56, 0.28);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 26px;
  text-align: left;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.4);
}

.celeb-key-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.celeb-key-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 14px;
}

.celeb-key-display code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ff2238;
  letter-spacing: 0.05em;
  user-select: all;
  word-break: break-all;
}

.celeb-discord-bound {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.celeb-discord-bound strong {
  color: #ff2238;
  font-weight: 700;
}

.celebration-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.celeb-download-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff2238, #b91024);
  box-shadow: 0 6px 24px rgba(255, 34, 56, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  color: #fff;
}

.celeb-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 34, 56, 0.65);
}

.celeb-continue-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.celeb-continue-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   📡 LIVE BLOCKCHAIN RADAR (CHECKOUT LTC)
   ========================================================================== */
.crypto-radar-box {
  background: linear-gradient(135deg, rgba(6, 6, 9, 0.96), rgba(3, 3, 5, 0.98)) !important;
  border: 1px solid rgba(255, 34, 56, 0.35) !important;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65), inset 0 0 14px rgba(255, 34, 56, 0.08) !important;
  transition: all 0.35s ease;
}

.crypto-radar-box.radar-detected {
  border-color: rgba(52, 211, 153, 0.85);
  background: linear-gradient(135deg, rgba(6, 46, 32, 0.9), rgba(10, 28, 22, 0.95));
  box-shadow: 0 0 32px rgba(52, 211, 153, 0.4);
}

.radar-pulse-ring {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2238;
  box-shadow: 0 0 12px #ff2238;
  position: relative;
  z-index: 2;
}

.crypto-radar-box.radar-detected .radar-dot {
  background: #34d399;
  box-shadow: 0 0 14px #34d399;
}

.radar-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 34, 56, 0.65);
  animation: radarWave 1.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.crypto-radar-box.radar-detected .radar-wave {
  border-color: rgba(52, 211, 153, 0.85);
}

@keyframes radarWave {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.65); opacity: 0; }
}

.radar-text-wrap {
  flex: 1;
  min-width: 0;
}

.radar-status-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.radar-status-sub {
  font-size: 0.77rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.35;
}

.crypto-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0 8px;
}

.crypto-or-divider::before,
.crypto-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-or-divider span {
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ==========================================================================
   ✨ CREATIVE ANIMATIONS & AMBIENT GLOW FOR MAIN SITE & DASHBOARD
   ========================================================================== */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.orb-primary {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 34, 56, 0.28), rgba(185, 16, 36, 0.15), transparent 70%);
  top: 10%;
  left: 5%;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-secondary {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 34, 56, 0.22), rgba(185, 16, 36, 0.1), transparent 70%);
  top: 45%;
  right: 5%;
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Interactive Cyber Pill Shimmer */
.cyber-interactive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 34, 56, 0.08);
  border: 1px solid rgba(255, 34, 56, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff2238;
  box-shadow: 0 0 16px rgba(255, 34, 56, 0.15);
  animation: cyberPulse 3s ease-in-out infinite;
}

@keyframes cyberPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 34, 56, 0.15); border-color: rgba(255, 34, 56, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 34, 56, 0.35); border-color: rgba(255, 34, 56, 0.6); }
}

/* Card Hologram Edge on Hover */
.plan-card:hover, .setup-card:hover, .info-card:hover {
  box-shadow: 0 0 30px rgba(255, 34, 56, 0.16), 0 16px 36px rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(255, 34, 56, 0.45) !important;
}

/* Animated Gradient on Action Buttons */
.primary-button, .primary-action, .primary-plan {
  background-size: 200% auto !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.primary-button:hover, .primary-action:hover, .primary-plan:hover {
  background-position: right center !important;
}





