@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
  scrollbar-gutter: stable;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0a0a0f;
  --surface-hover: #14141d;
  --ink: #ffffff;
  --muted: #8e8e9e;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ffffff;
  --accent-hover: #e8e8f0;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100vh;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black, transparent 60%);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 24px 6vw;
  max-width: 1400px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  background: rgba(20, 20, 27, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 20px;
  z-index: 1000;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  gap: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  align-items: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  opacity: 1;
  transform: translateY(-0.5px);
}

.nav-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  fill: none;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #101014;
}

.btn.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  background: var(--surface);
  border-color: #383846;
}

.btn.active-tab {
  background: var(--accent);
  color: #101014;
  border: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(164, 169, 244, 0.1);
  border: 1px solid rgba(164, 169, 244, 0.2);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.auth-panel {
  text-align: center;
  margin-bottom: 24px;
}

.auth-panel h1 {
  font-size: 28px;
  font-weight: 600;
}

.auth-form {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 400px;
  display: grid;
  gap: 20px;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group label {
  font-size: 13px;
  color: var(--muted);
}

.input-group input {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.input-group input:focus {
  border-color: var(--accent);
}

.auth-form .btn.primary {
  padding: 14px;
  font-size: 15px;
}

.dashboard {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  align-items: start;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 24px;
}

.legacy-bento-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legacy-profile-avatar {
  width: 48px;
  height: 48px;
  background: var(--line);
  border-radius: 50%;
  overflow: hidden;
}

.legacy-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-profile-info h3 {
  font-size: 16px;
  font-weight: 600;
}

.legacy-profile-info h3 span {
  color: var(--accent);
}

.legacy-profile-info p {
  font-size: 13px;
  color: var(--muted);
}

.bento-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.bento-nav .btn {
  flex: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.bento-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-item .label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-item .value {
  font-size: 15px;
  font-weight: 500;
}

.bento-item.full-width {
  grid-column: 1 / -1;
}

.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  z-index: 999;
}

.toast {
  min-width: 260px;
  padding: 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid #ef4444; }

@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-direction: column;
    gap: 16px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.statistics {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 0;
  margin-top: 40px;
}

.stats-bg-number {
  position: absolute;
  left: -4%;
  top: 10%;
  font-size: 380px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  line-height: 0.8;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.stats-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 12px;
}

.stats-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.stats-header p {
  color: var(--muted);
  font-size: 15px;
  max-width: 400px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.stats-card {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 169, 244, 0.3);
  background: rgba(20, 20, 27, 0.5); 
}

.stats-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.stats-card-title svg {
  color: var(--ink);
  width: 18px;
  height: 18px;
}

.stats-card-desc {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1; 
}

.stats-card-value {
  width: 100%;
  font-size: 32px;
  font-weight: 600;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
  color: var(--ink);
}

.stats-card-value span {
  color: var(--accent); 
}

.stats-card-footer {
  font-size: 12px;
  color: #4a4a5e; 
}

.page {
  animation: pageFadeIn 0.5s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.btn.primary {
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn.primary:hover::after {
  left: 100%;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.dashboard-page {
  gap: 28px;
  min-height: 100vh;
  padding-top: 18px;
  padding-bottom: 48px;
}

.dashboard-page::after {
  content: '';
  position: fixed;
  inset: auto 8% 18% auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(164, 169, 244, 0.14), rgba(164, 169, 244, 0));
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

.dashboard-header {
  
}

.dashboard-brand {
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.dashboard-nav {
  justify-content: center;
  flex: 1;
  gap: 28px;
  font-size: 13px;
}

.dashboard-nav a {
  opacity: 0.8;
}

.dashboard-actions {
  gap: 14px;
}

.dashboard-moon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dashboard-moon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dashboard-profile-chip {
  min-width: 110px;
  min-height: 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.chip-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.dashboard-hero {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 20px 0 8px;
}

.dashboard-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 10px;
}

.dashboard-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 30px rgba(164, 169, 244, 0.06);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.dashboard-sidebar-column,
.dashboard-main-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dashboard-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 31, 0.96), rgba(20, 20, 27, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
}

.user-card-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.user-avatar {
  width: 68px;
  height: 68px;
  padding: 3px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(240, 236, 255, 0.98), rgba(201, 200, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(164, 169, 244, 0.24);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  transform: scale(1.04);
}

.user-copy {
  min-width: 0;
}

.user-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
}

.user-id {
  color: var(--accent);
}

.user-copy p {
  margin-top: 4px;
  color: #bebed3;
  font-size: 14px;
}

.user-exit {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
}

.activation-card {
  padding: 24px 26px;
}

.section-heading {
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.activation-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 204px;
  gap: 12px;
}

.activation-input {
  width: 100%;
  min-height: 58px;
  background: rgba(16, 16, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-radius: 16px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}

.activation-input:focus {
  border-color: rgba(164, 169, 244, 0.7);
  box-shadow: 0 0 0 4px rgba(164, 169, 244, 0.12);
}

.activation-button {
  min-height: 58px;
  border-radius: 16px;
  font-size: 16px;
}

.inline-message {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.inline-message[data-state='success'] {
  color: #8ff0b8;
}

.inline-message[data-state='error'] {
  color: #ff8f98;
}

.dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-tabs .btn {
  min-height: 58px;
  border-radius: 16px;
  font-size: 15px;
}

.info-panel {
  padding: 26px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-tile {
  min-height: 118px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 18, 24, 0.72);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.tile-label {
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 600;
}

.tile-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.metric-card {
  padding: 24px 26px;
  min-height: 146px;
}

.metric-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
}

.metric-value {
  margin-top: 8px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.metric-foot {
  margin-top: 12px;
  color: #9f9fb7;
  font-size: 14px;
}

.clickable-card {
  overflow: hidden;
}

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .dashboard-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .dashboard-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page.dashboard-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dashboard-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .dashboard-tabs,
  .info-grid,
  .metrics-grid,
  .activation-form {
    grid-template-columns: 1fr;
  }

  .user-card {
    flex-direction: column;
    align-items: stretch;
  }

  .user-exit {
    align-self: flex-end;
  }

  .dashboard-hero {
    min-height: 90px;
  }

  .metric-value {
    font-size: 38px;
  }
}

.auth-page-shell {
  min-height: 100vh;
  gap: 26px;
}

.auth-header {
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.auth-nav {
  justify-content: center;
}

.auth-actions {
  gap: 14px;
}

.auth-screen {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 36px;
}

.auth-stage {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.auth-copy {
  text-align: center;
}

.auth-copy h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 8px;
}

.auth-copy p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
}

.auth-switch-link {
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.auth-form-card {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field-group label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.38);
  padding-left: 12px;
}

.auth-input-shell {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 16px;
  background: #16161e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-input-icon,
.auth-input-clear {
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 18px;
}

.auth-input-icon {
  width: 18px;
  height: 18px;
  justify-self: center;
  pointer-events: none;
}

.auth-input-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.auth-input-shell input {
  border: 0;
  outline: none;
  background: transparent;
  color: #f4f4f7;
  font-size: 16px;
  font-weight: 500;
  caret-color: var(--accent);
}

.auth-input-shell input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  font-size: 18px;
}

.auth-divider {
  position: relative;
  text-align: center;
  color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 26px);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-divider span {
  display: inline-block;
  padding: 0 12px;
}

.auth-secondary {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  background: rgba(24, 24, 31, 0.82);
  font-size: 15px;
}

@media (max-width: 760px) {
  .auth-screen {
    padding-top: 18px;
  }

  .auth-stage {
    max-width: 100%;
  }

  .auth-nav {
    justify-content: flex-start;
  }

  .auth-copy h1 {
    font-size: 30px;
  }
}

.launcher-settings-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-info {
  flex: 1;
  min-width: 0;
}

.setting-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.setting-desc {
  font-size: 12px;
  color: var(--muted);
}

.setting-control {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ram-slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ram-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  outline: none;
  cursor: pointer;
}

.ram-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(164,169,244,0.2);
  transition: box-shadow 0.2s;
}

.ram-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(164,169,244,0.25);
}

.ram-value-badge {
  min-width: 52px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(164,169,244,0.1);
  border: 1px solid rgba(164,169,244,0.2);
  border-radius: 8px;
  padding: 4px 8px;
}

.ram-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 0 2px;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 48px;
  height: 26px;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  padding: 3px;
}

.toggle-switch input:checked + .toggle-track {
  background: var(--accent);
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-track .toggle-thumb {
  transform: translateX(22px);
}

@media (max-width: 760px) {
  .setting-row {
    flex-direction: column;
    align-items: stretch;
  }
  .setting-control {
    flex: none;
    width: 100%;
  }
}

.products-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.products-grid--compact {
  gap: 18px;
}

.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 31, 0.96), rgba(20, 20, 27, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 169, 244, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
}

.product-card--featured {
  border-color: rgba(164, 169, 244, 0.3);
  background: linear-gradient(180deg, rgba(164, 169, 244, 0.08), rgba(20, 20, 27, 0.98));
  box-shadow: 0 16px 40px rgba(164, 169, 244, 0.1);
}

.product-card--featured:hover {
  border-color: rgba(164, 169, 244, 0.5);
  box-shadow: 0 24px 56px rgba(164, 169, 244, 0.18);
}

.product-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-badge--accent {
  background: rgba(164, 169, 244, 0.12);
  color: var(--accent);
  border-color: rgba(164, 169, 244, 0.25);
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex-grow: 1;
}

.product-price {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.product-currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.product-features li svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--accent);
}

.product-btn {
  margin-top: 4px;
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(20, 20, 27, 0.4);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.admin-table th, 
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table th {
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow);
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

select.activation-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b8b9e' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px !important;
}

.toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.release-layout { display: grid; grid-template-columns: minmax(330px, .72fr) minmax(520px, 1.28fr); gap: 24px; align-items: start; }
.release-upload-card { position: sticky; top: 112px; }
.release-form { display: grid; gap: 16px; }
.release-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.release-fields .activation-input { min-height: 48px; }
.release-dropzone { min-height: 180px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; border: 1px dashed rgba(164,169,244,.35); border-radius: 18px; color: var(--muted); background: rgba(164,169,244,.035); cursor: pointer; transition: .2s ease; }
.release-dropzone:hover, .release-dropzone.dragging { color: var(--ink); border-color: var(--accent); background: rgba(164,169,244,.09); transform: translateY(-1px); }
.release-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.release-dropzone svg { width: 34px; height: 34px; color: var(--accent); }
.release-dropzone strong { color: var(--ink); font-size: 15px; }
.release-dropzone span { font-size: 12px; }
.release-selected-files { max-height: 148px; overflow: auto; display: grid; gap: 7px; padding: 12px; border-radius: 12px; color: var(--muted); background: rgba(0,0,0,.13); font-size: 12px; }
.release-selected-files span { display: flex; justify-content: space-between; gap: 12px; }
.release-selected-files b { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.release-selected-files small { flex: 0 0 auto; color: var(--muted); }
.release-progress { height: 6px; overflow: hidden; border-radius: 99px; background: var(--line); }
.release-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .2s ease; }
.release-publish-button { min-height: 50px; }
.release-publish-button:disabled { opacity: .5; cursor: wait; }
.release-current-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.release-current-head .section-heading { margin: 0 0 4px; }
.release-current-head > div { display: flex; flex-direction: column; }
.release-current-head strong { font-size: 21px; }
.release-current-head small { color: var(--muted); font-size: 12px; }
.release-status { display: inline-flex; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.release-status.ok { color: #8ff0b8; background: rgba(74,222,128,.1); }
.release-status.missing { color: #ff8f98; background: rgba(239,68,68,.1); }
#releaseFilesBody code { color: var(--muted); font-size: 11px; }
@media (max-width: 1050px) { .release-layout { grid-template-columns: 1fr; } .release-upload-card { position: static; } }
@media (max-width: 640px) { .release-fields { grid-template-columns: 1fr; } }

.products-section, .statistics, .dashboard-grid, #panel-users, #panel-keys, #panel-files {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll { opacity: 1; }
}

@media (max-width: 760px), (update: slow) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .dashboard-page::after, .stats-bg-number { display: none; }
  body::before { opacity: 0.25; }
}

html {
  scroll-behavior: smooth;
}

.landing-body {
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  animation: landingPageIn 0.28s ease-out both;
  transition: opacity 0.18s ease;
}

.landing-body.page-leaving {
  opacity: 0;
  pointer-events: none;
}

@keyframes landingPageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.landing-body.payment-open {
  overflow: hidden;
}

.landing-bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1300px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.landing-bg-svg {
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 85%);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.landing-brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  fill: currentColor;
}

.brand-version {
  font-size: 13.5px;
  font-weight: 600;
  color: #8e8e9e;
  margin-left: 2px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  --nav-indicator-left: 0px;
  --nav-indicator-width: 0px;
  --nav-indicator-opacity: 0;
}

.landing-nav.has-indicator::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: var(--nav-indicator-width);
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  opacity: var(--nav-indicator-opacity);
  transform: translateX(var(--nav-indicator-left));
  transition:
    transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.34s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.18s ease;
  will-change: transform, width;
}

.landing-nav-link {
  color: #8e8e9e;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.landing-nav-link:hover {
  color: #ffffff;
}

.landing-nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.landing-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.landing-nav.has-indicator .landing-nav-link.active::after {
  display: none;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

.landing-lang-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.auth-actions-slot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.landing-btn-ghost:hover {
  opacity: 1;
}

.landing-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-btn-white:hover {
  background: #ebebed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.landing-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  min-height: calc(85vh - 74px);
  padding: 70px 0 100px;
}

.landing-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.landing-hero-content h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 24px;
}

.landing-hero-content p {
  font-size: 16px;
  line-height: 1.65;
  color: #8e8e9e;
  max-width: 500px;
  margin-bottom: 36px;
}

.landing-btn-hero {
  padding: 13px 38px;
  font-size: 15px;
  font-weight: 600;
}

.landing-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-cat-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
}

.hero-cat-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 169, 244, 0.16) 0%, rgba(138, 75, 245, 0.08) 45%, transparent 70%);
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}

.cat-logo-floating {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  animation: floatCat 6s ease-in-out infinite;
  transform-origin: center center;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.85));
}

@keyframes floatCat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.2deg);
  }
}

.landing-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.landing-section-header h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.landing-section-header p {
  font-size: 15px;
  color: #7b7b8a;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
}

.landing-stats-section {
  padding: 60px 0 100px;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.stat-card {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 38px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  background: #0c0c12;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.stat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #ffffff;
}

.stat-icon-circle svg {
  width: 22px;
  height: 22px;
}

.stat-number {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-plus {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 2px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 13px;
  color: #7b7b8a;
}

.shop-body {
  min-height: 100vh;
}

.shop-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 108px 20px 60px;
}

.shop-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding-bottom: 24px;
}

.shop-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8f94a2;
  font-size: 13px;
  font-weight: 700;
}

.shop-kicker span:first-child {
  color: #6f72bb;
  font-size: 11px;
}

.shop-hero h1 {
  margin: 0;
  color: #f4f4f7;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-lead {
  width: min(600px, 100%);
  margin: 0;
  color: #8f8f9a;
  font-size: 14.5px;
  line-height: 1.55;
}

.shop-tabs {
  position: relative;
  width: min(100%, 440px);
  min-height: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.shop-tab-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: #7478cf;
  box-shadow: 0 4px 18px rgba(116, 120, 207, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

.shop-tabs[data-active-tab="legit"] .shop-tab-glider {
  transform: translateX(100%);
}

.shop-tabs[data-active-tab="addons"] .shop-tab-glider {
  transform: translateX(200%);
}

.shop-tab {
  position: relative;
  z-index: 1;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7b8092;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.22s ease;
}

.shop-tab:hover {
  color: #c4c7d6;
}

.shop-tab.is-active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.shop-tab-note {
  min-height: 18px;
  color: #777b89;
  font-size: 13px;
  font-weight: 600;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shop-products.is-fade-out {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.shop-products-addons {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
}

.shop-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(10, 11, 13, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shop-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(13, 14, 18, 0.98);
}

.shop-product-card.is-featured {
  border-color: rgba(126, 130, 205, 0.35);
  box-shadow: 0 16px 44px rgba(116, 120, 207, 0.1);
}

.shop-card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 135px;
  overflow: hidden;
  border-radius: 10px;
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-card:hover .shop-card-art img {
  transform: scale(1.04);
}

.shop-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #838895;
  font-size: 12px;
  font-weight: 600;
}

.shop-card-meta span:last-child {
  color: #a3a8c7;
  text-align: right;
}

.shop-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.shop-card-head h2,
.shop-card-head strong {
  margin: 0;
  color: #d8dce6;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.shop-feature-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b8bcc8;
  font-size: 13px;
  font-weight: 600;
}

.shop-feature-list li {
  position: relative;
  padding-left: 20px;
}

.shop-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #8f93db;
  font-weight: 900;
  font-size: 11.5px;
}

.shop-buy-btn {
  margin-top: auto;
  min-height: 38px;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  background: #d8d9dd;
  color: #111216;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shop-buy-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: #111216;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.shop-buy-btn-accent {
  background: #7478cf;
  color: #ffffff;
}

.shop-buy-btn-accent:hover {
  background: #878be0;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(116, 120, 207, 0.25);
}

.landing-tariffs-section {
  padding: 60px 0 100px;
}

.landing-tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.tariff-card {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tariff-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
}

.tariff-card.featured {
  background: #0a0a10;
  border-color: rgba(255, 255, 255, 0.16);
}

.tariff-popular-badge {
  position: absolute;
  top: 32px;
  right: 30px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000;
  text-transform: uppercase;
}

.tariff-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.tariff-duration {
  font-size: 13px;
  color: #8e8e9e;
  margin-bottom: 22px;
}

.tariff-price-block {
  margin-bottom: 28px;
}

.tariff-price {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.tariff-subprice {
  font-size: 13px;
  color: #8e8e9e;
}

.tariff-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
  list-style: none;
  padding: 0;
}

.tariff-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #c4c4cf;
}

.tariff-check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #ffffff;
}

.btn-tariff-dark {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-tariff-dark:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: #111116;
  transform: translateY(-1px);
}

.btn-tariff-white {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  color: #000000 !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-tariff-white:hover {
  background: #ebebed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.payment-modal-card {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: rgba(8, 9, 10, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  padding: 20px 24px 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
  animation: paymentModalIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.payment-modal-close svg {
  width: 17px;
  height: 17px;
}

.payment-product-line {
  color: #9aa2ad;
  font-size: 15px;
  margin-bottom: 10px;
}

.payment-product-line strong {
  color: #8e91d1;
  font-weight: 600;
}

.payment-method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.payment-method-option {
  min-height: 42px;
  border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #090a0d;
  color: #aeb4c0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.payment-method-option:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.payment-method-option.is-selected {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.payment-input {
  width: 100%;
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090a0d;
  color: #dfe4ec;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-input {
  padding: 0 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.payment-input::placeholder {
  color: #6f7481;
}

.payment-input:focus {
  border-color: rgba(129, 129, 174, 0.75);
  background: #0d0e12;
}

.payment-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.payment-promo-row .payment-input {
  margin-bottom: 0;
}

.payment-apply-btn,
.payment-submit-btn,
.payment-funpay-btn {
  min-height: 44px;
  border: none;
  border-radius: 22px;
  background: #7d7dab;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.payment-apply-btn:hover,
.payment-submit-btn:hover,
.payment-funpay-btn:hover {
  background: #8a8ab8;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(125, 125, 171, 0.24);
}

.payment-apply-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.payment-check-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  color: #7d7dab;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.payment-price-note {
  display: none;
  margin: -2px 0 8px;
  color: #9ea4d8;
  font-size: 12px;
}

.payment-price-note.is-visible {
  display: block;
}

.payment-submit-btn {
  width: 100%;
}

.payment-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0;
}

.payment-or::before,
.payment-or::after {
  content: '';
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.payment-funpay-btn {
  width: 100%;
}

.payment-status {
  display: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #d7d7df;
  font-size: 13px;
  line-height: 1.55;
}

.payment-status.is-visible {
  display: block;
  animation: paymentStatusIn 0.18s ease;
}

@keyframes paymentModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes paymentStatusIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-reviews-section {
  padding: 60px 0 100px;
  overflow: hidden;
}

.reviews-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.reviews-track-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  padding: 6px 0;
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

.reviews-track-left {
  animation: marqueeToLeft 36s linear infinite;
}

.reviews-track-right {
  animation: marqueeToRight 36s linear infinite;
}

.reviews-track-wrapper:hover .reviews-track,
.review-card:hover {
  animation-play-state: paused !important;
}

@keyframes marqueeToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.review-card {
  width: 360px;
  min-width: 360px;
  flex-shrink: 0;
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  box-sizing: border-box;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #0d0d14;
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.review-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.review-stars {
  color: #ffb703;
  font-size: 13px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #9c9cae;
}

.landing-faq-section {
  padding: 60px 0 100px;
}

.landing-faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-plus {
  font-size: 20px;
  font-weight: 400;
  color: #8e8e9e;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  display: inline-block;
  line-height: 1;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: #8e8e9e;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  opacity: 1;
  padding-bottom: 20px;
}

.landing-visual-section {
  padding: 60px 0 100px;
  max-width: 1040px;
  margin: 0 auto;
}

.visual-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.visual-header-row h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: #ff0000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.35);
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: radial-gradient(circle at center, rgba(138, 75, 245, 0.12) 0%, rgba(5, 5, 8, 0.95) 75%), #050508;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
}

.video-embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.video-frame-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-frame:hover .video-play-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.18);
}

.video-play-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 3px;
}

.video-frame h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.video-frame p {
  font-size: 14px;
  color: #8e8e9e;
  max-width: 440px;
}

.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 40px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand-col {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-col h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #7b7b8a;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4c4cf;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-link {
  color: #8e8e9e;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  color: #585866;
  font-size: 13px;
}

.privacy-main {
  max-width: 1040px;
  padding-top: 76px;
  padding-bottom: 100px;
}

.privacy-hero {
  max-width: 780px;
  margin-bottom: 32px;
}

.privacy-updated {
  color: #8e8e9e;
  font-size: 14px;
  margin-bottom: 14px;
}

.privacy-hero h1 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.privacy-hero > p:last-child {
  color: #b9b9c7;
  font-size: 17px;
  line-height: 1.7;
}

.privacy-content {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
}

.privacy-summary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 22px 24px;
  margin-bottom: 34px;
}

.privacy-summary p,
.privacy-section p,
.privacy-section li {
  color: #b9b9c7;
  font-size: 15px;
  line-height: 1.75;
}

.privacy-section {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.privacy-section:last-child {
  padding-bottom: 0;
}

.privacy-section h2 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.privacy-section p + p,
.privacy-section ul + p {
  margin-top: 12px;
}

.privacy-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.privacy-section li + li {
  margin-top: 8px;
}

.auth-container-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px;
  position: relative;
  z-index: 1;
}

.auth-card-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 42px 38px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 40px rgba(164, 169, 244, 0.02);
  transition: all 0.3s ease;
}

.auth-header {
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.15;
}

.auth-header p {
  font-size: 14px;
  line-height: 1.5;
  color: #8e8e9e;
}

.auth-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form-group label {
  font-size: 13.5px;
  font-weight: 500;
  color: #d1d1db;
}

.auth-input {
  width: 100%;
  padding: 13.5px 16px;
  border-radius: 12px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: #12121a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.auth-input::placeholder {
  color: #4c4c5c;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover, 
.auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000;
  -webkit-box-shadow: 0 0 0px 1000px #edf3fe inset;
  border-radius: 12px;
}

.btn-auth-primary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  color: #000000 !important;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-auth-primary:hover:not(:disabled) {
  background: #ebebed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-auth-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-switch-row {
  text-align: center;
  font-size: 13.5px;
  color: #8e8e9e;
  margin-bottom: 18px;
}

.auth-switch-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 13.5px;
  font-family: inherit;
  transition: opacity 0.2s;
}

.auth-switch-link:hover {
  text-decoration: underline;
}

.btn-auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.btn-auth-secondary:hover {
  background: #14141e;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.auth-status-alert {
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 18px;
  line-height: 1.45;
  display: none;
}

.auth-status-alert.is-visible {
  display: block;
  animation: fadeInStatus 0.3s ease;
}

.auth-status-alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.auth-status-alert.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.auth-status-alert.info {
  background: rgba(164, 169, 244, 0.12);
  border: 1px solid rgba(164, 169, 244, 0.3);
  color: #c4c8ff;
}

@keyframes fadeInStatus {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 540px) {
  .auth-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

.profile-container-section {
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.profile-card {
  display: block !important;
  width: 100%;
  background: #060608;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px 48px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.profile-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 32px 0;
  letter-spacing: -0.01em;
  text-align: left;
}

.profile-main-grid {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.profile-avatar-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #0e0e14;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.profile-avatar-icon {
  width: 56px;
  height: 56px;
  color: #ffffff;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
}

.profile-info-row:last-child {
  border-bottom: none;
}

.profile-info-label {
  color: #8e8e9e;
  font-weight: 500;
}

.profile-info-value {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

.profile-hwid-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-reset-hwid {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset-hwid:hover {
  background: rgba(255, 255, 255, 0.16);
}

.activation-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 36px;
  margin-top: 10px;
}

.activation-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.activation-section p {
  font-size: 13.5px;
  color: #8e8e9e;
  margin: 0 0 20px 0;
}

.activation-input-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.activation-input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.activation-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-activate {
  height: 50px;
  padding: 0 36px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  color: #000000;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-activate:hover:not(:disabled) {
  background: #ebebed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-activate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.profile-client-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-download-client {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: none;
  color: #000000 !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-download-client:hover:not(:disabled) {
  background: #ebebed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-download-client:disabled {
  background: #50505c;
  color: #121218 !important;
  cursor: not-allowed;
}

.btn-support-profile {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.btn-support-profile:hover {
  background: #14141e;
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .profile-card {
    padding: 28px 20px;
  }
  .profile-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .activation-input-row {
    flex-direction: column;
  }
  .btn-activate {
    width: 100%;
  }
}

.animate-on-scroll {
  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;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
@media (max-width: 1024px) {
  .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 50px 0 70px;
  }
  .landing-hero-content {
    align-items: center;
    text-align: center;
  }
  .landing-hero-content p {
    max-width: 580px;
  }
  .cat-logo-floating {
    max-width: 280px;
  }
  .shop-main {
    padding-top: 100px;
  }
  .shop-hero h1 {
    font-size: 38px;
  }
  .shop-products,
  .shop-products-addons {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .landing-header-inner {
    padding: 0 20px;
  }
  .landing-nav {
    display: none;
  }
  .landing-stats-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .landing-tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .visual-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-links-col {
    text-align: left;
  }
  .shop-main {
    padding: 100px 20px 60px;
  }
  .shop-hero {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .landing-main {
    padding: 0 18px;
  }
  .shop-main {
    padding: 96px 16px 50px;
  }
  .shop-hero {
    min-height: auto;
    gap: 12px;
  }
  .shop-hero h1 {
    font-size: 30px;
  }
  .shop-lead {
    font-size: 13.5px;
  }
  .shop-tabs {
    width: min(100%, 320px);
  }
  .shop-product-card {
    padding: 13px;
    border-radius: 14px;
  }
  .shop-card-art {
    max-height: 130px;
  }
  .shop-card-meta,
  .shop-card-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }
  .shop-card-meta span:last-child {
    text-align: right;
  }
  .shop-card-head h2,
  .shop-card-head strong {
    font-size: 22px;
  }
  .payment-modal {
    padding: 14px;
  }
  .payment-modal-card {
    max-height: calc(100dvh - 28px);
    padding: 28px 20px 22px;
    border-radius: 22px;
  }
  .payment-method-list {
    grid-template-columns: 1fr;
  }
  .payment-method-option {
    min-height: 40px;
  }
  .payment-promo-row {
    grid-template-columns: 1fr;
  }
  .payment-product-line,
  .payment-input,
  .payment-apply-btn,
  .payment-submit-btn,
  .payment-funpay-btn {
    font-size: 14px;
  }
  .privacy-main {
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .privacy-content {
    border-radius: 20px;
    padding: 26px 20px;
  }
  .privacy-summary {
    padding: 18px;
  }
  .review-card {
    width: 300px;
    min-width: 300px;
    padding: 20px;
  }
}

.dashboard-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.dashboard-card,
.info-panel {
  background: #08080c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 13px;
  color: #8e8e9e;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.metric-foot {
  font-size: 12px;
  color: #555566;
}

.dashboard-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dashboard-tabs .btn {
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.dashboard-tabs .active-tab {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2) !important;
}

.dashboard-tabs .btn.ghost {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #8e8e9e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dashboard-tabs .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.table-container {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.admin-table th {
  background: #040406;
  color: #8e8e9e;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #dedee8;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.modal-card {
  background: #08080c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8) !important;
}

.modal-overlay {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}



/* ─── Marketplace Styles ─────────────────────────────────────────────── */

.market-body {
  min-height: 100vh;
}

.market-main-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.market-top-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.market-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.market-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 16px;
  width: min(340px, 100%);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.market-search-box:focus-within {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.market-search-box .search-icon {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.market-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
}

.market-search-box input::placeholder {
  color: #6b7280;
}

.market-actions-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.market-select {
  background: rgba(14, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.market-select.compact {
  padding: 6px 10px;
  font-size: 12px;
}

.market-select option {
  background: #0f0f17;
  color: #fff;
}

.market-items-count {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.market-filters-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.market-filter-group {
  display: flex;
  align-items: center;
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3px;
  gap: 4px;
}

.filter-chip {
  background: transparent;
  border: none;
  color: #8e8e9e;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: #ffffff;
}

.filter-chip.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.market-user-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.market-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.market-upload-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.market-my-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.market-my-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Market Cards Grid */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.market-card {
  background: rgba(13, 13, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.market-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.market-card-top {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #000;
}

.card-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}

.badge-config {
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.badge-script {
  background: rgba(99, 102, 241, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.card-price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}

.card-price-badge.price-paid {
  background: rgba(0, 0, 0, 0.8);
  color: #ffb703;
  border: 1px solid rgba(255, 183, 3, 0.35);
  backdrop-filter: blur(6px);
}

.card-price-badge.price-free {
  background: rgba(34, 197, 94, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.market-card-thumb {
  width: 100%;
  height: 100%;
}

.market-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.market-card:hover .market-card-thumb img {
  transform: scale(1.05);
}

.market-card-body {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.market-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #f3f4f6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.card-tag {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.market-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.card-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-author-name {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
}

.verified-icon-small {
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fbbf24;
}

.card-rating .rating-count {
  font-size: 11.5px;
  color: #6b7280;
  font-weight: 400;
}

.market-empty {
  text-align: center;
  padding: 60px 20px;
  color: #8e8e9e;
  font-size: 15px;
}

/* Modals */
.market-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.market-modal-box {
  background: #09090e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
  width: 100%;
  position: relative;
}

.upload-modal-box {
  max-width: 620px;
  padding: 28px;
}

.details-modal-box {
  max-width: 1120px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.my-submissions-box {
  max-width: 720px;
  padding: 28px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #c7d2fe;
  line-height: 1.45;
  margin-bottom: 20px;
}

.modal-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Upload Form */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.type-radio {
  cursor: pointer;
}

.type-radio input {
  display: none;
}

.type-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.type-radio input:checked + .type-pill {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.file-drop-area {
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-drop-area:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.file-drop-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #9ca3af;
}

.image-preview-box {
  position: relative;
  margin-top: 10px;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.image-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-preview-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

/* Details Modal View (Screenshot 2) */
.details-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.market-breadcrumbs {
  font-size: 13.5px;
  color: #6b7280;
  font-weight: 500;
}

.market-breadcrumbs span:last-child {
  color: #e5e7eb;
}

.details-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

@media (max-width: 860px) {
  .details-layout-grid {
    grid-template-columns: 1fr;
  }
}

.details-media-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.details-media-card img {
  width: 100%;
  height: auto;
  display: block;
}

.details-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.details-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag-chip {
  font-size: 12px;
  font-weight: 500;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 8px;
}

.details-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #9ca3af;
}

.details-stats-row .stars-gold {
  color: #fbbf24;
  margin-left: 4px;
}

.details-desc-box {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.details-desc-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #ffffff;
}

.details-desc-box p {
  color: #9ca3af;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-line;
  margin: 0;
}

/* Right Column Cards */
.details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.verified-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.author-rating {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-rating .star-icon {
  color: #fbbf24;
}

.payment-box-head {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.payment-box-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 16px;
}

.payment-box-total strong {
  font-size: 20px;
  color: #ffffff;
}

.checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.checkout-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.reviews-box-head {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.review-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A user's uploaded avatar replaces the initial-letter circle above. The
   circle keeps its gradient background as the fallback. */
.card-author-avatar img,
.author-avatar img,
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Replaces the review form when the server would refuse the review anyway —
   the user's own listing, or one they have already reviewed. */
.review-form-note {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.review-username {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.review-date {
  font-size: 11px;
  color: #6b7280;
}

.review-stars-val {
  font-size: 11.5px;
  color: #9ca3af;
}

.review-body {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.4;
}

.add-review-form {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.review-inputs-row {
  display: flex;
  gap: 8px;
}

.review-inputs-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12.5px;
  outline: none;
}

.review-submit-btn {
  background: #ffffff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* User Submissions */
.my-submissions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.my-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.my-item-info strong {
  font-size: 14.5px;
  color: #fff;
}

.my-item-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.status-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.status-chip.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-chip.approved {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-chip.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Header balance and user widget */
.header-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 10px;
}

.user-balance-chip .plus-sign {
  color: #8b5cf6;
  font-size: 14px;
}

.header-username-link {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
}

.btn-logout-small {
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-logout-small:hover {
  background: #e5e7eb;
}


.market-card-top-noimg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 0;
}

.card-type-badge-inline {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.card-price-badge-inline {
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}


/* ─── Solid Premium Inputs for Upload Modal ───────────────────────── */
.upload-form .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}

.upload-form label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #d1d5db !important;
}

.upload-form .required {
  color: #ef4444 !important;
}

.upload-form input[type="text"],
.upload-form input[type="number"],
.upload-form textarea {
  width: 100% !important;
  background: #111116 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s !important;
}

.upload-form input[type="text"]:focus,
.upload-form input[type="number"]:focus,
.upload-form textarea:focus {
  background: #16161f !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
}

.upload-form input[type="text"]::placeholder,
.upload-form input[type="number"]::placeholder,
.upload-form textarea::placeholder {
  color: #555566 !important;
  font-size: 13.5px !important;
}

.upload-form textarea {
  min-height: 95px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
}

.upload-form .form-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-top: 10px !important;
}

.upload-form .btn {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.upload-form .btn.primary {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
}

.upload-form .btn.primary:hover {
  background: #e5e7eb !important;
}

.upload-form .btn.ghost {
  background: #14141c !important;
  color: #9ca3af !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.upload-form .btn.ghost:hover {
  color: #ffffff !important;
  background: #1b1b26 !important;
}

/* Keep the brand and account actions readable on narrow screens. */
@media (max-width: 600px) {
  .landing-header-inner { height: auto; min-height: 74px; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .landing-brand { flex-shrink: 0; }
  .landing-brand-logo { flex-shrink: 0; }
  .landing-header-actions { width: 100%; justify-content: flex-end; gap: 8px; }
  .auth-actions-slot { gap: 8px; }
  .landing-header-actions .landing-btn-white, .landing-header-actions .landing-btn-ghost { padding: 8px 14px; }
}

.shop-buy-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Legit uses the existing tariff artwork and its own product label. */
.shop-products-legit .shop-card-art { position: relative; }
.shop-legit-label {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 9px;
  background: #171822; color: #fff; border: 1px solid #7478cf;
  border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.shop-tab:focus-visible, .js-open-legit:focus-visible { outline: 2px solid #a6a9ef; outline-offset: 3px; }
#legitModalDescription { color: #b7b8c6; line-height: 1.6; }
#legitModal .payment-submit-btn:disabled { opacity: .6; cursor: default; }
/* Media applications follow the site's existing monochrome palette. */
.media-main { display:grid; grid-template-columns:1fr 1.05fr; gap:80px; max-width:1120px; padding:76px 32px 100px; align-items:start; }
.media-eyebrow { color:#8e8e9e; font-size:13px; margin:0 0 18px; }
.media-intro h1 { font-size:clamp(32px,4vw,48px); line-height:1.12; letter-spacing:-.035em; margin:0 0 22px; }
.media-intro > p:not(.media-eyebrow) { color:#a6a6b2; line-height:1.75; font-size:16px; max-width:440px; }
.media-details { border-top:1px solid #ffffff1a; margin-top:42px; padding-top:24px; }
.media-details h2 { font-size:16px; margin:0 0 10px; }
.media-details p { color:#8e8e9e; line-height:1.75; font-size:14px; }
.media-form-panel { background:#0e0e13; border:1px solid #ffffff1a; padding:30px; border-radius:16px; min-width:0; }
.media-form-panel h2 { margin:0 0 12px; font-size:22px; letter-spacing:-.02em; }
.media-hint, .media-field small { color:#9999a9; font-size:12px; line-height:1.65; }
.media-hint a, .media-message a { color:#eee; text-underline-offset:3px; }
.media-form-panel fieldset { padding:0; margin:24px 0 0; border:0; min-width:0; display:grid; gap:22px; }
.media-field { display:grid; gap:9px; }
.media-field label { font-size:14px; font-weight:600; }
.media-field input { width:100%; min-width:0; box-sizing:border-box; padding:13px 14px; background:#08080c; color:#fff; border:1px solid #ffffff26; border-radius:8px; font:inherit; font-size:14px; }
.media-field input:focus-visible { outline:2px solid #c6c6d1; outline-offset:3px; }
.media-field input:disabled { opacity:.6; }
.media-form-panel button { justify-content:center; cursor:pointer; border:0; font:inherit; font-size:14px; min-height:46px; }
.media-form-panel button:disabled { opacity:.5; cursor:default; }
.media-status { border-left:2px solid #b4b4c4; padding:12px 16px; margin-top:24px; background:#ffffff05; overflow-wrap:anywhere; }
.media-status strong { font-size:14px; }
.media-status p { color:#a6a6b2; font-size:13px; line-height:1.6; margin:10px 0 0; }
.media-message { font-size:13px; line-height:1.6; overflow-wrap:anywhere; margin:16px 0 0; }
.media-admin-table td { vertical-align:top; overflow-wrap:anywhere; max-width:280px; }
@media (max-width:1150px) {
  .landing-header-inner { height:auto; min-height:74px; flex-wrap:wrap; gap:8px 16px; padding-top:12px; padding-bottom:12px; }
  .landing-header .landing-nav:not(#adminNav) { display:flex; order:3; width:100%; overflow-x:auto; gap:24px; padding-bottom:5px; }
  .landing-nav-link { flex-shrink:0; }
}
@media (max-width:760px) {
  .media-main { grid-template-columns:1fr; gap:28px; padding:40px 18px 60px; }
  .media-form-panel { padding:24px 20px; }
  .media-details { margin-top:24px; padding-top:18px; }
}
