:root {
  --primary: #e50914;
  --primary-dark: #9f0710;
  --violet: #171717;
  --green: #e50914;
  --red: #e50914;
  --amber: #f6a622;
  --ink: #121212;
  --muted: #666a73;
  --line: #e7e7e7;
  --soft: #f6f6f6;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(10, 10, 10, 0.1);
  --radius: 8px;
  --sidebar: #111111;
  --sidebar-soft: #1b1b1b;
  --sidebar-text: #f8f8f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background:
    linear-gradient(115deg, rgba(229, 9, 20, 0.035), transparent 24%, rgba(17, 17, 17, 0.04) 52%, transparent 78%),
    repeating-linear-gradient(135deg, rgba(229, 9, 20, 0.035) 0 1px, transparent 1px 34px),
    var(--soft);
  background-size: 180% 180%, 96px 96px, auto;
  color: var(--ink);
  line-height: 1.7;
  transition: background 0.25s ease;
  animation: pageTextureDrift 18s ease-in-out infinite alternate;
}

body.vip-user {
  --primary: #d7a833;
  --primary-dark: #9b6a12;
  --green: #d7a833;
  --amber: #ffd66b;
  --soft: #fbf7eb;
  --line: #ead9ad;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 214, 107, 0.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(215, 168, 51, 0.16), transparent 30%),
    repeating-linear-gradient(135deg, rgba(155, 106, 18, 0.055) 0 1px, transparent 1px 34px),
    #fbf7eb;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  width: 292px;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  overflow: visible;
  background: var(--sidebar);
  border-left: 1px solid #252525;
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.12);
  transition: width 0.25s ease, padding 0.25s ease;
}

.sidebar-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  position: relative;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand {
  min-width: 0;
  flex: 1;
  color: #fff;
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: justify-content 0.25s ease, padding 0.25s ease;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #2f2f2f;
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.28);
}

.brand-text {
  min-width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-width 0.25s ease;
  max-width: 180px;
}

.brand small {
  display: block;
  color: #b7b7b7;
  font-size: 11px;
  font-weight: 600;
  margin-top: -4px;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}

.main-nav a,
.tab-link,
.chip,
.btn,
.icon-btn {
  border-radius: var(--radius);
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  color: #d7d7d7;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
  transform: translateX(-4px);
}

.main-nav a::before {
  display: none;
}

.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav a span {
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.18s ease, width 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.main-nav a:hover .nav-icon,
.main-nav a.active .nav-icon {
  color: var(--primary);
  background: #fff;
}

.header-actions,
.action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header .header-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #2c2c2c;
  flex-direction: column;
  align-items: stretch;
}

.site-header .header-actions .btn,
.site-header .header-actions .chip {
  width: 100%;
}

.site-header .header-actions .btn.secondary {
  color: #fff;
  background: var(--sidebar-soft);
  border-color: #2c2c2c;
}

.site-header .header-actions .chip {
  justify-content: center;
  min-height: 48px;
  color: #fff;
  background: #222;
  border: 1px solid #333;
}

.menu-toggle {
  display: grid;
  place-items: center;
  position: absolute;
  left: -39px;
  top: 10px;
  z-index: 3;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #343434;
  background: #151515;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.menu-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(-2px);
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(229, 9, 20, 0.7);
  outline-offset: 3px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body:not(.sidebar-collapsed) .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body:not(.sidebar-collapsed) .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body:not(.sidebar-collapsed) .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn,
.icon-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(229, 9, 20, 0.18);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn.success {
  background: var(--green);
}

.btn.danger {
  background: var(--red);
}

.btn.ghost {
  color: var(--primary-dark);
  background: #fff0f1;
}

.icon-btn {
  width: 42px;
  padding: 0;
}

.app-shell {
  min-height: 70vh;
  margin-right: 292px;
  transition: margin-right 0.25s ease;
}

body.sidebar-collapsed .site-header {
  width: 96px;
  padding-inline: 16px;
}

.btn::after,
.icon-btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  transition: left 0.45s ease;
}

.btn:hover::after,
.icon-btn:hover::after {
  left: 120%;
}

body.sidebar-collapsed .brand {
  justify-content: center;
  padding: 8px 0 14px;
}

body.sidebar-collapsed .brand-text {
  max-width: 0;
  opacity: 0;
}

body.sidebar-collapsed .main-nav a {
  justify-content: center;
  place-items: center;
  min-height: 48px;
  padding: 8px;
}

body.sidebar-collapsed .main-nav a > span:not(.nav-icon) {
  width: 0;
  opacity: 0;
}

body.sidebar-collapsed .nav-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  opacity: 1;
}

body.sidebar-collapsed .app-shell,
body.sidebar-collapsed .site-footer {
  margin-right: 96px;
}

body.sidebar-collapsed .sidebar-top {
  justify-content: center;
}

body.sidebar-collapsed .site-header .header-actions {
  display: none;
}

.admin-page {
  min-height: 100vh;
  background: #0b0b0b;
}

.admin-shell-side {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 10;
  width: 292px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  background: var(--sidebar);
  border-left: 1px solid #252525;
}

.admin-brand {
  flex: initial;
}

.admin-shell-nav {
  display: grid;
  gap: 8px;
}

.admin-shell-nav button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #d7d7d7;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: right;
  padding: 10px 12px;
}

.admin-shell-nav button:hover,
.admin-shell-nav button.active {
  color: #fff;
  background: var(--primary);
}

.admin-shell-main {
  min-height: 100vh;
  margin-right: 292px;
  background: var(--soft);
}

.admin-file-warning {
  margin: 18px clamp(16px, 4vw, 56px) 0;
  padding: 14px 16px;
  color: #7a1f00;
  background: #fff4e5;
  border: 1px solid #ffd097;
  border-radius: var(--radius);
  font-weight: 800;
}

.admin-file-warning a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.admin-page-head {
  margin: 0;
}

.section,
.hero,
.page-head,
.admin-layout,
.auth-wrap {
  padding-inline: clamp(16px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  min-height: 100vh;
  padding-top: 28px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 18% 44%, rgba(229, 9, 20, 0.3), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.09), transparent 22%),
    linear-gradient(135deg, #070707 0%, #151515 48%, #2b2b2b 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
  animation: gridDrift 16s linear infinite;
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.1), transparent);
  transform: translateX(-70%);
  animation: redScan 5.5s ease-in-out infinite;
}

.hero-copy {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.status,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  background: #fff0f1;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-head h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero p,
.page-head p,
.muted {
  color: var(--muted);
}

.hero p {
  max-width: 520px;
  font-size: 17px;
  color: #d6d6d6;
}

.vip-chip {
  color: #3e2a00;
  background: linear-gradient(135deg, #fff5c8, #d7a833 52%, #fff0ad);
  border: 1px solid rgba(128, 86, 8, 0.34);
  box-shadow: 0 0 0 1px rgba(255, 235, 167, 0.44), 0 10px 24px rgba(155, 106, 18, 0.24);
}

body.vip-user .site-header {
  background:
    linear-gradient(180deg, rgba(46, 31, 4, 0.98), rgba(14, 12, 8, 0.98)),
    #111;
  border-left-color: rgba(255, 214, 107, 0.28);
}

body.vip-user .brand-logo {
  box-shadow: 0 0 0 1px rgba(255, 214, 107, 0.26), 0 0 28px rgba(215, 168, 51, 0.26);
}

body.vip-user .main-nav a.active,
body.vip-user .main-nav a:hover {
  color: #2d2104;
  background: linear-gradient(135deg, #fff4bd, #d7a833);
}

body.vip-user .app-shell {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 214, 107, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 235, 0.64), rgba(251, 247, 235, 0));
}

body.vip-user .hero {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 214, 107, 0.28), transparent 30%),
    linear-gradient(135deg, #17110a 0%, #3a2605 48%, #080808 100%);
}

body.vip-user .hero::after {
  background: linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.18), transparent);
}

body.vip-user .hero .eyebrow,
body.vip-user .eyebrow {
  color: #3e2a00;
  background: linear-gradient(135deg, #fff7d2, #efc95b);
  border-color: rgba(128, 86, 8, 0.24);
}

body.vip-user .hero-media img {
  filter: drop-shadow(0 0 34px rgba(255, 214, 107, 0.34)) drop-shadow(0 28px 34px rgba(0, 0, 0, 0.58));
}

body.vip-user .btn {
  box-shadow: 0 8px 20px rgba(155, 106, 18, 0.12);
}

body.vip-user .btn.success,
body.vip-user .btn:not(.secondary):not(.ghost):not(.danger) {
  color: #2d2104;
  background: linear-gradient(135deg, #ffe88c, #d7a833);
  border-color: rgba(128, 86, 8, 0.18);
}

body.vip-user .btn.secondary,
body.vip-user .btn.ghost {
  color: #4a3207;
  background: #fff8df;
  border-color: rgba(155, 106, 18, 0.22);
}

body.vip-user .page-head {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 214, 107, 0.24), transparent 30%),
    linear-gradient(135deg, #fffdf3, #fbf0c9);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: #eaffef;
  background: rgba(17, 120, 56, 0.18);
  border: 1px solid rgba(62, 221, 111, 0.42);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-trust i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27e36f;
  box-shadow: 0 0 0 6px rgba(39, 227, 111, 0.12), 0 0 18px rgba(39, 227, 111, 0.74);
  animation: greenPulse 1.8s ease-in-out infinite;
}

.hero-trust .fake {
  color: #ffe8e8;
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(255, 77, 87, 0.48);
}

.hero-trust .fake i {
  background: #ff2734;
  box-shadow: 0 0 0 6px rgba(255, 39, 52, 0.13), 0 0 18px rgba(255, 39, 52, 0.78);
  animation-name: redPulse;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 500px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  border: 0;
}

.hero-media img {
  width: min(112%, 920px);
  max-width: none;
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 34px rgba(229, 9, 20, 0.34)) drop-shadow(0 28px 34px rgba(0, 0, 0, 0.58));
  animation: logoFloat 4.5s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: rotateSlow 18s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 28px rgba(229, 9, 20, 0.8);
}

.hero-orbit::before {
  top: 8%;
  left: 18%;
}

.hero-orbit::after {
  right: 12%;
  bottom: 16%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero .stat {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero .stat span {
  color: #d0d0d0;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(229, 9, 20, 0.18);
  border: 1px solid rgba(229, 9, 20, 0.36);
}

.stat,
.card,
.form-card,
.table-wrap,
.metric,
.admin-side,
.admin-content,
.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat {
  padding: 14px;
}

.stat strong,
.metric strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.section {
  padding-top: 54px;
  padding-bottom: 54px;
  animation: sectionReveal 0.78s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.section.alt {
  background: #fff;
}

.ready-section {
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(229, 9, 20, 0.18), transparent 28%),
    linear-gradient(180deg, #090909 0%, #151515 100%);
}

.ready-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.ready-section .section-head h2 {
  color: #fff;
}

.ready-section .btn.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
  animation: revealUp 0.72s ease both;
}

.section-head h2,
.card h3,
.form-card h2,
.admin-content h2 {
  margin: 0;
  line-height: 1.35;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 18px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.metric:hover,
.form-card:hover,
.quick-order-form:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.22);
  box-shadow: 0 18px 36px rgba(10, 10, 10, 0.1);
}

body.vip-user .section.alt {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 214, 107, 0.12), transparent 26%),
    #fffaf0;
}

body.vip-user .card,
body.vip-user .form-card,
body.vip-user .table-wrap,
body.vip-user .metric,
body.vip-user .quick-order-form,
body.vip-user .notice,
body.vip-user .payment-method,
body.vip-user .ticket-card {
  background: linear-gradient(180deg, #fffdf7, #fff8e1);
  border-color: rgba(155, 106, 18, 0.22);
  box-shadow: 0 14px 34px rgba(155, 106, 18, 0.12);
}

body.vip-user .card:hover,
body.vip-user .metric:hover,
body.vip-user .form-card:hover,
body.vip-user .quick-order-form:hover {
  border-color: rgba(155, 106, 18, 0.36);
  box-shadow: 0 22px 44px rgba(155, 106, 18, 0.18);
}

body.vip-user .ready-service-card {
  border-color: rgba(255, 214, 107, 0.36);
  box-shadow: 0 16px 34px rgba(155, 106, 18, 0.18);
}

body.vip-user .ready-service-card::after {
  background: linear-gradient(180deg, transparent, rgba(255, 214, 107, 0.2));
}

.service-card {
  display: grid;
  gap: 12px;
  animation: serviceCardIn 0.55s ease both;
}

.service-title,
.selected-service-icon {
  display: flex;
  gap: 12px;
  align-items: center;
}

.service-title {
  margin-bottom: 10px;
}

.service-title h3 {
  margin-top: 4px;
}

.service-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.1);
}

.text-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #111);
  font-size: 24px;
  font-weight: 900;
}

.selected-service-icon {
  margin-top: 8px;
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.selected-service-icon .service-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.admin-service-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  vertical-align: middle;
}

.service-card:nth-child(2n) {
  animation-delay: 0.04s;
}

.service-card:nth-child(3n) {
  animation-delay: 0.08s;
}

.ready-services-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ready-service-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #080808;
  border: 1px solid rgba(229, 9, 20, 0.38);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(229, 9, 20, 0.16);
  transform: translateY(0);
  animation: cardRise 0.7s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ready-service-card:nth-child(2) { animation-delay: 0.04s; }
.ready-service-card:nth-child(3) { animation-delay: 0.08s; }
.ready-service-card:nth-child(4) { animation-delay: 0.12s; }
.ready-service-card:nth-child(5) { animation-delay: 0.16s; }
.ready-service-card:nth-child(6) { animation-delay: 0.2s; }
.ready-service-card:nth-child(7) { animation-delay: 0.24s; }

.ready-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(229, 9, 20, 0.18));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ready-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: cardSweep 5.2s ease-in-out infinite;
}

.ready-service-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.ready-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 69, 0.88);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 38px rgba(229, 9, 20, 0.34);
}

.ready-service-card:hover::after {
  opacity: 1;
}

.ready-service-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.platform {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
}

.instagram {
  background: linear-gradient(135deg, #e50914, #111111);
}

.tiktok {
  background: linear-gradient(135deg, #111111, #e50914);
}

.youtube {
  background: #e50914;
}

.facebook {
  background: #171717;
}

.telegram {
  background: #3a3a3a;
}

.x {
  background: #111827;
}

.snapchat {
  background: #f6f6f6;
  color: #111111;
  border: 1px solid #d7d7d7;
}

.digital {
  background: linear-gradient(135deg, var(--green), #111111);
}

.service-meta,
.mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-meta li,
.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 7px;
}

.service-meta strong,
.mini-list strong {
  color: var(--ink);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px;
  gap: 12px;
  margin-bottom: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 800;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
  transform: translateY(-1px);
}

body.vip-user .field input,
body.vip-user .field select,
body.vip-user .field textarea,
body.vip-user .quick-order-form input,
body.vip-user .quick-order-form select,
body.vip-user .ticket-reply textarea {
  background: #fffdf5;
  border-color: rgba(155, 106, 18, 0.22);
}

body.vip-user .field input:focus,
body.vip-user .field select:focus,
body.vip-user .field textarea:focus,
body.vip-user .quick-order-form input:focus,
body.vip-user .quick-order-form select:focus {
  border-color: #d7a833;
  box-shadow: 0 0 0 3px rgba(215, 168, 51, 0.18);
}

.form-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.auth-wrap {
  display: grid;
  place-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.auth-wrap .form-card {
  width: min(100%, 520px);
}

.page-head {
  padding-top: 48px;
  padding-bottom: 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(229, 9, 20, 0.08), transparent 30%),
    #fff;
}

.page-head.compact h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.user-topbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px clamp(18px, 4vw, 42px);
  margin: 0 0 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(42, 9, 11, 0.96));
  border: 1px solid rgba(255, 30, 45, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.vip-member-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2px;
  padding: 18px clamp(18px, 4vw, 42px);
  margin: 0 0 14px;
  color: #2d2104;
  background:
    linear-gradient(135deg, rgba(255, 248, 215, 0.98), rgba(215, 168, 51, 0.92)),
    #d7a833;
  border: 1px solid rgba(128, 86, 8, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(155, 106, 18, 0.22);
}

.vip-member-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.35;
}

.vip-member-banner::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -15%;
  width: 70px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.46);
  animation: vipShine 3.4s ease-in-out infinite;
}

.vip-member-banner span,
.vip-member-banner strong,
.vip-member-banner p {
  position: relative;
  z-index: 1;
}

.vip-member-banner span {
  width: fit-content;
  padding: 4px 9px;
  color: #fff8d8;
  background: #3b2907;
  border-radius: var(--radius);
  font-weight: 900;
}

.vip-member-banner strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.vip-member-banner p {
  margin: 0;
  color: #5f430e;
  font-weight: 800;
}

.user-topbar.vip-topbar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  color: #2d2104;
  background:
    linear-gradient(135deg, rgba(255, 246, 202, 0.98), rgba(215, 168, 51, 0.94)),
    #d7a833;
  border-color: rgba(128, 86, 8, 0.32);
  box-shadow: 0 18px 40px rgba(155, 106, 18, 0.22);
}

.user-topbar.vip-topbar div {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(92, 59, 0, 0.14);
}

.user-topbar.vip-topbar span,
.user-topbar.vip-topbar strong {
  color: #2d2104;
}

.vip-status {
  position: relative;
  overflow: hidden;
}

.vip-status::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -20%;
  width: 40px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.54);
  animation: vipShine 2.8s ease-in-out infinite;
}

.user-topbar div {
  min-width: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.user-topbar span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.user-topbar strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric {
  padding: 18px;
}

.quick-order-form {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  animation: quickOrderEnter 0.74s ease both;
}

.quick-order-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(229, 9, 20, 0.04) 42px 43px);
  opacity: 0.75;
  transform: translateX(-58%);
  animation: formEnergySweep 8s ease-in-out infinite;
}

.quick-order-form > * {
  position: relative;
  z-index: 1;
}

.quick-order-form .field,
.quick-order-form .total-box,
.quick-order-form .order-limits,
.quick-order-form .btn {
  margin: 0;
}

.quick-order-form .field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.quick-order-form input,
.quick-order-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-order-form select {
  cursor: pointer;
}

.quick-order-form .order-limits,
.quick-order-form .total-box {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  color: var(--text);
  background: #f8f8f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  animation: softPulse 3.4s ease-in-out infinite;
}

body.vip-user .quick-order-form::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.22), transparent),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(155, 106, 18, 0.06) 42px 43px);
}

body.vip-user .quick-order-form .field,
body.vip-user .quick-order-form .total-box,
body.vip-user .quick-order-form .order-limits {
  background: rgba(255, 251, 235, 0.88);
  border-color: rgba(155, 106, 18, 0.2);
}

.quick-order-form .btn {
  grid-column: 1 / -1;
}

.google-btn {
  color: #111;
  background: #fff;
  border-color: #dedede;
}

.google-btn::before {
  content: "G";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-weight: 900;
}

.payment-stack,
.payment-methods {
  display: grid;
  gap: 16px;
}

.payment-methods h3 {
  margin: 0;
}

.payment-method {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #f8f8f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-method span {
  color: var(--muted);
  font-weight: 800;
}

.payment-method strong {
  color: var(--ink);
  font-size: 18px;
  direction: ltr;
  text-align: right;
}

.admin-service-form {
  margin-bottom: 18px;
}

.admin-dashboard-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.admin-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
}

.admin-panel h2,
.admin-panel h3 {
  margin-top: 0;
}

.admin-alert-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-inline-start: 22px;
}

.chart-row {
  display: grid;
  grid-template-columns: 120px minmax(120px, 1fr) 40px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.chart-row div {
  height: 10px;
  overflow: hidden;
  background: #f1f1f1;
  border-radius: 999px;
}

.chart-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #111);
  border-radius: inherit;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-inline-actions input,
td select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 9px;
}

.admin-inline-actions input {
  width: 110px;
}

.receipt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 800;
}

.receipt-link img {
  width: 54px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.link-button {
  cursor: pointer;
  color: var(--primary-dark);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.admin-profile-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.profile-data {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.profile-data div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.profile-data dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-data dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.ticket-list,
.admin-ticket-list {
  display: grid;
  gap: 16px;
}

.ticket-card {
  display: grid;
  gap: 14px;
}

.admin-ticket-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
}

.ticket-head,
.ticket-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.ticket-head strong {
  color: var(--ink);
  font-size: 18px;
}

.ticket-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.ticket-chat {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ticket-message {
  max-width: min(76%, 560px);
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.ticket-message.admin {
  justify-self: end;
  color: #fff;
  background: #121212;
  border-color: #121212;
}

.ticket-message.user {
  justify-self: start;
  background: #fff;
}

.ticket-message small {
  display: block;
  margin-bottom: 5px;
  color: inherit;
  opacity: 0.75;
  font-size: 12px;
}

.ticket-message p {
  margin: 0;
  white-space: pre-wrap;
}

.ticket-reply {
  display: grid;
  gap: 10px;
}

.ticket-reply textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font: inherit;
}

.admin-ticket-reply select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.admin-inline-actions .btn,
td .btn {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  color: #384152;
  background: #f8f9fd;
  font-size: 13px;
}

body.vip-user table {
  background: #fffdf7;
}

body.vip-user th {
  color: #3e2a00;
  background: #fff3c4;
}

body.vip-user td {
  border-bottom-color: rgba(155, 106, 18, 0.14);
}

.status {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
}

.status.done {
  color: #111111;
  background: #eeeeee;
}

.status.pending {
  color: #8a5c00;
  background: #fff5d8;
}

.status.failed {
  color: #b42332;
  background: #ffe8ec;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 54px;
}

.admin-side,
.admin-content {
  padding: 16px;
}

.admin-side {
  align-self: start;
  position: sticky;
  top: 90px;
}

.admin-side a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius);
  font-weight: 800;
  color: #303848;
}

.admin-side a:hover,
.admin-side a.active {
  background: #eef2ff;
  color: var(--primary-dark);
}

.notice {
  padding: 14px 16px;
  color: #384152;
  background: #fffdf5;
  border-color: #f4d47c;
}

.total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  padding: 14px;
  background: #fff5f6;
  border: 1px solid #ffc8cc;
  border-radius: var(--radius);
}

.total-box strong {
  font-size: 22px;
  color: var(--primary);
}

body.vip-user .total-box {
  color: #2d2104;
  background: #fff2bd;
  border-color: rgba(155, 106, 18, 0.28);
}

body.vip-user .total-box strong {
  color: #8a5a05;
}

.toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 44px));
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background: #172033;
  padding: 13px 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.22s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 34px clamp(16px, 4vw, 56px);
  color: #d9e1ef;
  margin-right: 292px;
  background: #0f0f0f;
}

body.vip-user .site-footer {
  color: #fff2bd;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 214, 107, 0.16), transparent 32%),
    linear-gradient(135deg, #17110a, #2d1e05);
  border-top: 1px solid rgba(255, 214, 107, 0.18);
}

body.vip-user .site-footer h3,
body.vip-user .footer-brand {
  color: #ffd66b;
}

body.vip-user .site-footer p,
body.vip-user .site-footer a {
  color: #fff1bd;
}

.site-footer p,
.site-footer a {
  color: #b9c2d1;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-size: 24px;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.015);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 74px 74px;
  }
}

@keyframes redScan {
  0%,
  100% {
    transform: translateX(-72%);
    opacity: 0;
  }
  45%,
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(72%);
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes particleRise {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
  45% {
    transform: translate3d(18px, -28px, 0) scale(1.35);
    opacity: 1;
  }
  75% {
    transform: translate3d(-12px, 16px, 0) scale(0.85);
    opacity: 0.65;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes chartPulse {
  0%,
  100% {
    filter: brightness(0.85);
    transform: scaleY(0.9);
  }
  50% {
    filter: brightness(1.18);
    transform: scaleY(1);
  }
}

@keyframes pageTextureDrift {
  from {
    background-position: 0% 0%, 0 0, 0 0;
  }
  to {
    background-position: 100% 42%, 96px 96px, 0 0;
  }
}

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

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

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

@keyframes cardSweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes quickOrderEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes formEnergySweep {
  0%,
  100% {
    transform: translateX(-58%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(58%);
    opacity: 0.85;
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(229, 9, 20, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(229, 9, 20, 0.08);
  }
}

@keyframes greenPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(39, 227, 111, 0.12), 0 0 18px rgba(39, 227, 111, 0.74);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 10px rgba(39, 227, 111, 0.06), 0 0 28px rgba(39, 227, 111, 0.95);
  }
}

@keyframes redPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 39, 52, 0.13), 0 0 18px rgba(255, 39, 52, 0.78);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 10px rgba(255, 39, 52, 0.07), 0 0 28px rgba(255, 39, 52, 0.98);
  }
}

@keyframes vipShine {
  0%,
  45% {
    transform: translateX(0) rotate(22deg);
    opacity: 0;
  }
  55% {
    opacity: 1;
  }
  100% {
    transform: translateX(360px) rotate(22deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .admin-shell-side {
    position: static;
    width: auto;
  }

  .admin-shell-main {
    margin-right: 0;
  }

  .site-header {
    position: sticky;
    bottom: auto;
    width: auto;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 10px 12px;
    align-items: center;
    padding: 14px clamp(16px, 4vw, 56px);
    background: rgba(17, 17, 17, 0.96);
    border-left: 0;
    border-bottom: 1px solid #2b2b2b;
  }

  .brand {
    flex: initial;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .brand-text {
    max-width: 180px;
    opacity: 1;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: grid;
    position: static;
    left: auto;
    top: auto;
    box-shadow: none;
  }

  body:not(.sidebar-collapsed) .menu-toggle span:nth-child(1),
  body:not(.sidebar-collapsed) .menu-toggle span:nth-child(2),
  body:not(.sidebar-collapsed) .menu-toggle span:nth-child(3) {
    transform: none;
    opacity: 1;
  }

  .main-nav {
    position: absolute;
    inset-inline: 16px;
    top: calc(100% + 8px);
    z-index: 30;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .main-nav a {
    min-height: 44px;
    padding: 10px 12px;
    color: #303030;
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    justify-content: end;
  }

  .site-header .header-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .site-header .header-actions .btn,
  .site-header .header-actions .chip {
    width: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .app-shell,
  .page-head,
  .site-footer {
    margin-right: 0;
  }

  body.sidebar-collapsed .site-header {
    width: auto;
    padding: 14px clamp(16px, 4vw, 56px);
  }

  body.sidebar-collapsed .brand-text,
  body.sidebar-collapsed .site-header .header-actions {
    font-size: inherit;
  }

  body.sidebar-collapsed .main-nav a {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  body.sidebar-collapsed .main-nav a > span:not(.nav-icon) {
    width: auto;
    opacity: 1;
  }

  body.sidebar-collapsed .app-shell,
  body.sidebar-collapsed .site-footer {
    margin-right: 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 0;
  }

  .hero-media {
    min-height: 320px;
  }

  .grid.cols-4,
  .grid.cols-3,
  .ready-services-grid,
  .dashboard-grid,
  .user-topbar,
  .user-topbar.vip-topbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .sidebar-top {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .header-actions .btn {
    flex: 1;
  }

  .hero h1,
  .page-head h1 {
    font-size: 34px;
    line-height: 1.28;
  }

  .hero p {
    font-size: 16px;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .grid.cols-3,
  .grid.cols-4,
  .ready-services-grid,
  .dashboard-grid,
  .user-topbar,
  .user-topbar.vip-topbar,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ready-service-card {
    border-radius: 14px;
  }

.section-head {
  align-items: start;
  flex-direction: column;
}
}

.dashboard-notifications {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  border-inline-start: 5px solid var(--primary);
}

.notification-card h3 {
  margin: 6px 0;
}

.notification-meta {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.professional-faq {
  display: grid;
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}

.faq-card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(229, 9, 20, 0.12);
}

.faq-card summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #111;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.faq-card summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.faq-card p {
  margin: 0;
  padding: 0 74px 20px 20px;
  font-size: 16px;
  line-height: 2;
}

.faq-card[open] {
  border-color: rgba(229, 9, 20, 0.26);
  box-shadow: 0 18px 42px rgba(10, 10, 10, 0.08);
}

.ticket-head strong,
.ticket-message small,
.ticket-message p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ticket-head span {
  flex: 0 0 auto;
  padding: 4px 9px;
  color: var(--primary-dark);
  background: #fff0f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

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

.seo-link-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.seo-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 9, 20, 0.35);
  box-shadow: 0 18px 34px rgba(229, 9, 20, 0.12);
}

.seo-link-card span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.seo-link-card strong {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .seo-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-card {
    padding: 14px;
  }

  .field input,
  .field select,
  .field textarea,
  .ticket-reply textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .form-card .btn,
  .ticket-reply .btn {
    width: 100%;
  }

  .ticket-head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ticket-head span {
    align-self: flex-start;
  }

  .ticket-chat {
    max-height: min(58vh, 420px);
    padding: 10px;
  }

  .ticket-message {
    max-width: 94%;
    padding: 9px 10px;
    font-size: 14px;
  }

  .ticket-reply textarea,
  #ticket-message {
    min-height: 118px;
  }
}

@media (max-width: 520px) {
  .seo-link-grid {
    grid-template-columns: 1fr;
  }
}
