:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #172033;
  --muted: #667085;
  --line: #d8e1ee;
  --rose: #e64b7a;
  --rose-dark: #bd2f5e;
  --blue: #2563eb;
  --blue-soft: #eaf2ff;
  --teal: #12a884;
  --teal-soft: #e8fbf5;
  --amber: #f5aa24;
  --amber-soft: #fff5df;
  --violet: #7c3aed;
  --danger: #d92d20;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(21, 35, 61, 0.11);
  --shadow-soft: 0 10px 28px rgba(21, 35, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: 66px;
  background:
    linear-gradient(135deg, rgba(230, 75, 122, 0.08), transparent 32%),
    linear-gradient(225deg, rgba(18, 168, 132, 0.11), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f6f8fc 48%, #fff8f0 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn {
  min-height: 42px;
  border: 1px solid #cbd8ea;
  border-radius: var(--radius);
  padding: 10px 15px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(21, 35, 61, 0.06);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

button:hover,
.btn:hover {
  background: var(--blue-soft);
  border-color: #aac4ef;
  box-shadow: 0 11px 24px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.primary,
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--rose), var(--blue));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(230, 75, 122, 0.23);
}

.primary:hover,
.btn.primary:hover {
  background: linear-gradient(135deg, var(--rose-dark), #1d4ed8);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.danger-btn {
  border-color: rgba(217, 45, 32, 0.28);
  background: #fff3f1;
  color: var(--danger);
}

.danger-btn:hover {
  background: #ffe5e1;
  border-color: rgba(217, 45, 32, 0.44);
  box-shadow: 0 12px 24px rgba(217, 45, 32, 0.14);
}

.app-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: 66px;
  padding: 10px 22px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(90deg, #421547, #7f1b63 52%, #243c8f),
    linear-gradient(135deg, rgba(230, 75, 122, 0.2), rgba(18, 168, 132, 0.14));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(42, 15, 63, 0.22);
}

.top-brand,
.top-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-brand span,
.mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.top-brand strong {
  font-size: 18px;
}

.top-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-status span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #41f3a0;
  box-shadow: 0 0 0 4px rgba(65, 243, 160, 0.14);
}

.top-account {
  justify-content: end;
  min-width: 0;
}

.top-account > span:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.top-account b,
.top-account small {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-account small {
  color: rgba(255, 255, 255, 0.78);
}

.top-login {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
}

.sidebar {
  position: sticky;
  top: 66px;
  min-height: calc(100vh - 66px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(216, 225, 238, 0.9);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 12px 0 34px rgba(21, 35, 61, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
}

.brand span {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--rose), var(--amber) 52%, var(--teal));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(230, 75, 122, 0.22);
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

nav {
  display: grid;
  gap: 8px;
}

nav a {
  position: relative;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid transparent;
  color: #31405a;
  font-weight: 750;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

nav a::before {
  content: "";
  display: none;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--rose), var(--amber));
  margin-right: 10px;
  opacity: 0.75;
}

nav a:nth-child(2n)::before {
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

nav a:hover {
  background: #ffffff;
  border-color: #e5d5ee;
  color: var(--rose-dark);
  box-shadow: var(--shadow-soft);
}

nav a.active {
  background: linear-gradient(135deg, #ffffff, #fff3f7);
  border-color: rgba(230, 75, 122, 0.28);
  color: var(--rose-dark);
  box-shadow: var(--shadow-soft);
}

.nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(230, 75, 122, 0.15), rgba(37, 99, 235, 0.12));
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
}

nav a:nth-child(2n) .nav-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.13), rgba(18, 168, 132, 0.14));
  color: #1d4ed8;
}

.nav-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--rose);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.plan {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #dce7f4;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  display: grid;
  gap: 9px;
  box-shadow: var(--shadow-soft);
}

.plan b {
  font-size: 16px;
}

.plan span {
  color: var(--muted);
  font-size: 14px;
}

.plan span:last-of-type {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a5a00;
  font-weight: 800;
}

.plan a {
  color: var(--blue);
  font-weight: 800;
}

.main {
  width: min(100%, 1360px);
  padding: 30px 30px 96px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero,
.card,
.price,
.profile-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(216, 225, 238, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(230, 75, 122, 0.15), rgba(37, 99, 235, 0.12)),
    linear-gradient(180deg, #ffffff, #fff8fb 54%, #eff8ff);
  border-top: 5px solid var(--rose);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 0 34%, rgba(245, 170, 36, 0.18) 34% 46%, transparent 46%),
    linear-gradient(135deg, transparent 0 58%, rgba(18, 168, 132, 0.16) 58% 68%, transparent 68%);
  pointer-events: none;
}

.hero p,
.hero h1,
.hero-actions {
  position: relative;
  z-index: 1;
}

.hero p {
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(230, 75, 122, 0.11);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
  color: #172033;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.home-hero,
.vip-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid rgba(216, 225, 238, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.9), rgba(65, 38, 84, 0.78)),
    linear-gradient(135deg, rgba(230, 75, 122, 0.52), rgba(18, 168, 132, 0.25));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.hero-copy,
.auth-panel,
.member-panel {
  border-radius: var(--radius);
}

.hero-copy {
  min-height: 438px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(10, 16, 30, 0.84), rgba(10, 16, 30, 0.34) 62%, rgba(10, 16, 30, 0.12)),
    linear-gradient(135deg, rgba(230, 75, 122, 0.34), rgba(37, 99, 235, 0.18)),
    url("romance-sunset.jpg");
  background-size: cover;
  background-position: center 58%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1,
.vip-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: 50px;
  line-height: 1.04;
}

.hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.trust-strip,
.stats-grid,
.compare,
.form-pair,
.profile-meta {
  display: grid;
  gap: 10px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.trust-strip span,
.profile-meta span,
.profile-badge {
  border-radius: 999px;
  font-weight: 850;
}

.trust-strip span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-align: center;
}

.auth-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

.auth-panel h2 {
  font-size: 28px;
}

.form-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-line input {
  margin-top: 3px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid article {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 225, 238, 0.95);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.stats-grid b {
  display: block;
  color: var(--rose);
  font-size: 30px;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}

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

.discovery-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 238, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  display: grid;
  gap: 7px;
  align-content: start;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.discovery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 75, 122, 0.28);
  box-shadow: var(--shadow);
}

.discovery-card.hot {
  background:
    linear-gradient(135deg, rgba(230, 75, 122, 0.12), rgba(245, 170, 36, 0.1)),
    #ffffff;
}

.discovery-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--blue));
  color: #ffffff;
  font-weight: 900;
}

.discovery-card small {
  color: var(--muted);
  font-weight: 850;
}

.discovery-card strong {
  color: #16213a;
  font-size: 26px;
  line-height: 1.05;
}

.discovery-card em {
  color: #596981;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
}

.profile-progress {
  padding: 18px;
  border: 1px solid rgba(230, 75, 122, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(230, 75, 122, 0.12), rgba(37, 99, 235, 0.1)),
    #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.profile-progress .eyebrow {
  margin: 0 0 6px;
  color: var(--rose-dark);
  background: #ffffff;
}

.profile-progress h2 {
  margin: 0 0 12px;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(216, 225, 238, 0.8);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--amber));
}

.progress-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.feature-row .card {
  border-top: 4px solid var(--teal);
}

.feature-row .card:nth-child(2) {
  border-top-color: var(--rose);
}

.feature-row .card:nth-child(3) {
  border-top-color: var(--amber);
}

.home-section-title {
  margin-top: 8px;
}

.seo-language-strip {
  margin: 18px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.seo-language-strip h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.seo-language-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.seo-language-strip p + p {
  margin-top: 8px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price {
  padding: 22px;
}

.card:hover,
.profile-card:hover,
.price:hover {
  box-shadow: var(--shadow);
}

.narrow {
  max-width: 720px;
}

h1,
h2 {
  margin: 0 0 12px;
  color: #16213a;
  line-height: 1.15;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 21px;
}

p {
  line-height: 1.55;
}

label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  color: #26354f;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdbea;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #ffffff;
  color: var(--text);
  min-height: 42px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aebfd6;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  border-color: var(--blue);
}

input[type="checkbox"] {
  width: auto;
  min-height: 0;
  accent-color: var(--rose);
}

input[type="file"] {
  background: var(--surface-soft);
}

textarea {
  resize: vertical;
}

.flash {
  padding: 13px 15px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  border: 1px solid #9ee6d4;
  color: #075d49;
  font-weight: 800;
}

.flash.error {
  background: #fff0f3;
  border-color: #f2b3c3;
  color: #9d173d;
}

.top-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.search {
  min-width: min(380px, 100%);
}

.full-search {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr)) auto;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

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

.profile-card {
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
}

.profile-card img,
.avatar {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(230, 75, 122, 0.95), rgba(37, 99, 235, 0.88)),
    linear-gradient(45deg, var(--amber), var(--teal));
  color: #ffffff;
  font-size: 62px;
  font-weight: 900;
}

.profile-card > div {
  padding: 15px;
}

.profile-card h2 {
  margin-bottom: 6px;
}

.profile-card p {
  margin: 6px 0;
  color: #44536b;
}

.profile-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a5a00;
  font-size: 12px;
  font-weight: 900;
}

.profile-meta {
  grid-template-columns: repeat(auto-fit, minmax(80px, max-content));
}

.profile-meta span {
  padding: 5px 8px;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-size: 12px;
}

.featured-profile .btn {
  margin-top: 8px;
  width: 100%;
}

.dating-profile-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 260px;
  border-top: 4px solid var(--rose);
}

.dating-profile-card > div {
  padding: 0;
}

.profile-photo-wrap {
  position: relative;
  min-height: 260px;
  background: linear-gradient(135deg, rgba(230, 75, 122, 0.15), rgba(37, 99, 235, 0.12));
}

.profile-photo-wrap img,
.profile-photo-wrap .avatar {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 0;
}

.online-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #12a884;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(18, 168, 132, 0.28);
}

.dating-profile-card .profile-card-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.profile-title-row h2 {
  margin: 0;
}

.profile-title-row .profile-badge {
  margin: 0;
}

.profile-status-row,
.profile-section-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.profile-status-row span,
.profile-section-tabs span {
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #dfe7f2;
  color: #43516a;
  font-size: 12px;
  font-weight: 800;
}

.profile-section-tabs span {
  border-color: rgba(230, 75, 122, 0.2);
  background: #fff7fa;
  color: var(--rose-dark);
}

.profile-bio {
  min-height: 44px;
}

.inline {
  display: inline-block;
  margin: 5px 5px 0 0;
  vertical-align: top;
}

.inline input[name="ban_reason"] {
  min-width: 210px;
  width: 260px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.epay-pay {
  margin: 0;
}

.compact-actions,
.report-form,
.media-item {
  display: grid;
  gap: 8px;
}

.item {
  border: 1px solid #e0e8f2;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 13px;
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.item:nth-of-type(3n) {
  border-left-color: var(--rose);
}

.item:nth-of-type(3n + 1) {
  border-left-color: var(--teal);
}

.item small,
.item span,
.muted {
  color: var(--muted);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.media-grid img,
.media-grid video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef5ff;
  box-shadow: var(--shadow-soft);
}

.media-grid img {
  aspect-ratio: 1;
  object-fit: cover;
}

.video-frame {
  width: 100%;
  min-height: 70vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111827;
  box-shadow: var(--shadow);
}

.price {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--amber);
  background: linear-gradient(180deg, #ffffff, #fff9ed);
}

.vip-hero {
  grid-template-columns: minmax(0, 1fr) 220px;
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.94), rgba(189, 47, 94, 0.74)),
    linear-gradient(135deg, rgba(245, 170, 36, 0.4), rgba(37, 99, 235, 0.22));
}

.vip-mini {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  align-content: center;
  gap: 4px;
}

.vip-mini b {
  font-size: 32px;
}

.vip-mini span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.price.highlight {
  border-top-color: var(--rose);
  background: linear-gradient(180deg, #ffffff, #fff2f6);
}

.feature-list {
  margin: 16px 0 18px;
  padding-left: 20px;
  color: #40506a;
  line-height: 1.7;
}

.compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare > div {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
}

.compare b {
  color: var(--rose-dark);
  font-size: 22px;
}

.compare span {
  color: var(--muted);
  font-weight: 750;
}

.payment-card {
  border-top: 5px solid var(--teal);
}

.payment-card-top {
  margin-bottom: 18px;
  border: 2px solid rgba(18, 168, 132, 0.34);
  border-top: 7px solid var(--teal);
  box-shadow: var(--shadow);
}

.payment-card-top h1 {
  margin-top: 4px;
}

.bank-box {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid rgba(18, 168, 132, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #eefdf9);
}

.bank-box b {
  color: var(--teal-dark);
}

.bank-box p {
  margin-bottom: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.payment-order {
  gap: 12px;
}

.payment-slip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.payment-slip div {
  padding: 12px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid var(--line);
}

.payment-slip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-slip strong {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: 18px;
}

.copy-source {
  width: 100%;
  min-height: 128px;
  margin-top: 12px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.copy-btn {
  margin-top: 10px;
}

.price::before {
  content: "VIP";
  position: absolute;
  right: 18px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #172033;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.price strong {
  display: block;
  color: var(--rose);
  font-size: 44px;
  line-height: 1;
  margin: 14px 0;
}

.admin-order {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

article.card > .item:first-of-type,
section.card > .item:first-of-type {
  margin-top: 0;
}

.quick-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 45;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  display: flex;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(90deg, #4a164f, #7c1b64 56%, #263d86);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(33, 19, 64, 0.28);
}

.quick-dock a {
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 850;
}

.quick-dock b {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  color: var(--rose-dark);
  font-size: 12px;
}

::selection {
  background: rgba(230, 75, 122, 0.22);
}

@media (max-width: 980px) {
  body {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .app-topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
  }

  .top-brand {
    justify-content: center;
  }

  .top-account {
    justify-content: center;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero,
  .vip-hero,
  .compare {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-copy h1,
  .vip-hero h1 {
    font-size: 42px;
  }

  .top-row {
    align-items: stretch;
    flex-direction: column;
  }

  .full-search {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main {
    padding: 22px;
  }

  .dating-profile-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .main,
  .sidebar,
  .hero,
  .home-hero,
  .vip-hero,
  .hero-copy,
  .auth-panel {
    padding: 16px;
  }

  .main {
    padding-bottom: 96px;
  }

  .full-search,
  .admin-order,
  .discovery-grid,
  .form-pair,
  .trust-strip,
  .stats-grid,
  .profile-progress,
  .payment-slip {
    grid-template-columns: 1fr;
  }

  .progress-actions {
    justify-content: stretch;
  }

  .sidebar {
    gap: 14px;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  nav a {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 14px;
  }

  nav a::before {
    width: 3px;
    height: 18px;
    margin-right: 7px;
  }

  .plan {
    padding: 13px;
  }

  .hero::after {
    opacity: 0.35;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-copy h1,
  .vip-hero h1 {
    font-size: 31px;
  }

  .profiles {
    grid-template-columns: 1fr;
  }

  .dating-profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo-wrap,
  .profile-photo-wrap img,
  .profile-photo-wrap .avatar {
    min-height: 230px;
  }

  .profile-title-row,
  .quick-dock {
    align-items: stretch;
  }

  .quick-dock {
    width: calc(100vw - 16px);
    bottom: 8px;
    border-radius: var(--radius);
    overflow-x: auto;
    justify-content: flex-start;
  }

  .quick-dock a {
    min-width: 112px;
  }

  button,
  .btn,
  .inline,
  .inline input[name="ban_reason"] {
    width: 100%;
  }
}

@media (max-width: 430px) {
  nav {
    grid-template-columns: 1fr;
  }
}

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

.profile-manager,
.danger-zone {
  align-self: start;
}

.quick-manage,
.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-manage .btn {
  justify-content: space-between;
  min-width: 160px;
}

.quick-manage span {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(230, 75, 122, 0.12);
  color: var(--rose-dark);
  font-weight: 800;
}

.management-actions form {
  margin: 0;
}

.danger-zone {
  border-color: rgba(217, 45, 32, 0.22);
  background: #fff8f7;
}

.settings-block {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(216, 225, 238, 0.95);
  border-radius: var(--radius);
  background: #f8fbff;
}

.settings-block h2 {
  margin-top: 0;
}

.stripe-pay {
  text-decoration: none;
}

@media (max-width: 900px) {
  .profile-control-grid {
    grid-template-columns: 1fr;
  }
}
