:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-strong: #eef3f9;
  --text: #172033;
  --muted: #647084;
  --primary: #f4a000;
  --primary-dark: #d48600;
  --accent: #1e88e5;
  --gold: #f4a000;
  --danger: #ff6b6b;
  --border: rgba(23, 32, 51, 0.1);
  --shadow: 0 16px 42px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7ecf3;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  color: #0f172a;
}

.header-contact {
  display: grid;
  justify-items: end;
  margin-left: auto;
  padding-right: 10px;
  color: #f05a24;
  font-size: 12px;
}

.header-contact strong {
  color: #f05a24;
  font-size: 14px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 1 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--primary));
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-link.active,
.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 22px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 190px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.dropdown-panel a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.dropdown-panel a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 460px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 58px max(32px, calc((100vw - 1180px) / 2));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 28, 0.82), rgba(6, 15, 28, 0.22));
}

.slide-bg-one {
  background-image: url("./assets/football-hero.jpg");
}

.slide-bg-two {
  background-image: url("./assets/basketball-hero.jpg");
}

.slide-bg-three {
  background-image: url("./assets/stadium.jpg");
}

.slide-content {
  position: relative;
  max-width: 560px;
  z-index: 1;
}

.slide-content p {
  color: #ffd166;
  font-weight: 900;
}

.slide-content h1 {
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.slider-dots button.active {
  background: var(--gold);
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 36px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: center;
}

.hero::before {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.1;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.hero-subtitle,
.section p,
.site-footer {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 14px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03111d;
  box-shadow: 0 14px 34px rgba(51, 214, 159, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-danger {
  background: rgba(255, 107, 107, 0.12);
  color: #ffdada;
  border: 1px solid rgba(255, 107, 107, 0.35);
}

.microcopy {
  color: var(--muted);
}

.hero-card,
.feature-card,
.product-card,
.case-card,
.contact-card,
.detail-main,
.detail-side,
.model-list article,
.form-section,
.admin-panel,
.offer {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-card {
  padding: 32px;
}

.card-badge {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #03111d;
  font-weight: 800;
  background: var(--primary);
}

.hero-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 46px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.product-tabs span {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.product-tabs span:first-child {
  color: #03111d;
  background: var(--primary);
  border-color: transparent;
  font-weight: 800;
}

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

.product-card {
  min-height: 250px;
  padding: 24px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -42px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(247, 200, 107, 0.08);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 214, 159, 0.45);
}

.product-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 200, 107, 0.22), rgba(51, 214, 159, 0.2));
  font-size: 26px;
}

.product-card a {
  display: inline-flex;
  align-self: start;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.model-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.model-list article {
  padding: 26px;
  box-shadow: none;
}

.model-list span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--panel-strong);
  color: var(--primary);
  font-weight: 900;
}

.resources {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(51, 214, 159, 0.14), rgba(82, 168, 255, 0.12));
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-tags span {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.feature-card {
  padding: 24px;
  box-shadow: none;
}

.case-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.case-grid.large {
  grid-template-columns: repeat(2, 1fr);
}

.case-card,
.contact-card {
  padding: 22px;
  text-decoration: none;
}

.case-cover {
  height: 180px;
  margin: -4px -4px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(247, 200, 107, 0.26), rgba(82, 168, 255, 0.2));
}

.football-cover {
  background: url("./assets/football-card.jpg") center/cover;
}

.basketball-cover {
  background: url("./assets/basketball-card.jpg") center/cover;
}

.data-cover {
  background: url("./assets/stadium.jpg") center/cover;
}

.service-cover {
  background: url("./assets/football-hero.jpg") center/cover;
}

.page-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 48px;
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

body:has(.page-hero) {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.72), rgba(7, 17, 31, 0.96)),
    url("./assets/basketball-card.jpg") top center/cover fixed;
}

body:has(.page-hero) .site-header,
body:has(.page-hero) .site-footer {
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(16px);
}

body:has(.page-hero) .brand,
body:has(.page-hero) .brand span,
body:has(.page-hero) .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
}

body:has(.page-hero) .nav-link.active,
body:has(.page-hero) .nav-link:hover {
  color: #ffb000 !important;
}

.subpage-main,
body:has(.page-hero) main {
  min-height: 70vh;
}

.subpage-hero,
body:has(.page-hero) .page-hero {
  padding-top: 110px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.subpage-hero h1,
body:has(.page-hero) .page-hero h1 {
  color: #ffffff;
}

.cooperation-document {
  padding-top: 0;
}

.unified-document,
.document-content,
.detail-main,
.detail-side,
.contact-card {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.9), rgba(13, 28, 49, 0.82)),
    url("./assets/basketball-card.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.unified-document {
  padding: clamp(26px, 4vw, 48px);
  border-radius: 28px;
}

.unified-document h2,
.document-content h2,
.unified-document h3,
.document-content h3,
.detail-main h2,
.detail-side h3,
.contact-card h3 {
  color: #ffffff;
}

.unified-document p,
.document-content p,
.detail-main p,
.contact-card p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 2;
}

.unified-document .doc-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.unified-document .doc-section:last-child {
  border-bottom: 0;
}

.contact-summary {
  border-radius: 22px;
  margin-top: 12px;
  padding: 24px !important;
  background: rgba(255, 169, 18, 0.14);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

.detail-main,
.detail-side {
  padding: 28px;
}

.detail-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-card span {
  font-size: 34px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 42%;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 28, 49, 0.92);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.offer,
.admin-panel,
.form-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.form-section {
  grid-template-columns: 0.9fr 1.1fr;
}

.source-box {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.lead-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.rich-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 26px;
  border-top: 1px solid var(--border);
}

.rich-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  text-decoration: none;
}

.editor-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.editor-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.editor-header,
.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.login-box,
.editor-form {
  margin-top: 22px;
}

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

.editor-grid .full {
  grid-column: 1 / -1;
}

.editor-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
}

.layout-manager {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.layout-manager h3 {
  margin-bottom: 14px;
}

.manager-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.manager-item label:has(textarea),
.manager-item label:nth-child(3) {
  grid-column: 1 / -1;
}

.manager-item.compact {
  grid-template-columns: 1fr auto;
}

.delete-item-btn {
  align-self: end;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .product-grid,
  .model-list,
  .case-grid,
  .case-grid.large,
  .contact-grid,
  .detail-layout,
  .rich-footer,
  .resources,
  .offer,
  .admin-panel,
  .form-section {
    grid-template-columns: 1fr;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .dropdown-panel {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 10px;
  }

  .hero-slider {
    height: 420px;
  }

  .slide {
    padding: 28px;
  }

  .floating-contact {
    right: 10px;
    top: auto;
    bottom: 14px;
  }

  .floating-contact a {
    padding: 10px 12px;
    font-size: 12px;
  }

  .section,
  .hero-card {
    padding: 28px;
  }

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

  .manager-item,
  .manager-item.compact {
    grid-template-columns: 1fr;
  }
}

.product-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.94)), url("./assets/football-card.jpg") center/cover;
}

.product-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.94)), url("./assets/basketball-card.jpg") center/cover;
}

.product-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.94)), url("./assets/stadium.jpg") center/cover;
}

.product-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.94)), url("./assets/football-hero.jpg") center/cover;
}

@media (max-width: 1100px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-menu.open {
    display: flex;
  }

  .dropdown-panel {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 8px;
  }
}

/* final visual polish */
.btn-primary {
  background: linear-gradient(135deg, #ffb000, #ff7a00) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(244, 160, 0, 0.28) !important;
}

.hero-card,
.feature-card,
.product-card,
.case-card,
.contact-card,
.detail-main,
.detail-side,
.model-list article,
.form-section,
.admin-panel,
.offer {
  background: #ffffff;
  border: 1px solid #e5eaf1;
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
}

.product-card {
  color: #ffffff;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
  border: 0;
}

.product-card p,
.product-card a {
  color: rgba(255, 255, 255, 0.9);
}

.product-card h3 {
  color: #ffffff;
}

.product-icon {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.product-card h3 {
  margin: 0 0 14px;
}

.product-card p {
  margin: 0;
}

.model-list article span {
  background: #fff7e6;
  color: #f08a00;
}

.resources {
  background: linear-gradient(135deg, #ffffff, #fff7e8);
}

.resource-tags span {
  background: #ffffff;
  color: #172033;
  border: 1px solid #e5eaf1;
}

.rich-footer {
  background: #172033;
  color: #ffffff;
  width: 100%;
  max-width: none;
  padding: 44px max(32px, calc((100vw - 1180px) / 2));
}

.rich-footer p,
.rich-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.floating-contact a {
  background: #ffffff;
  color: #172033;
  border-color: #e5eaf1;
}

@media (max-width: 1100px) {
  .header-contact {
    display: none;
  }
}

/* homepage mature layout additions */
.stats-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid #e5eaf1;
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
}

.stats-strip div {
  padding: 22px 26px;
  border-right: 1px solid #e5eaf1;
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #172033;
  font-size: 24px;
}

.stats-strip span {
  color: #647084;
  font-size: 14px;
}

.catalog {
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
}

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

.product-card {
  min-height: 320px;
  border-radius: 14px;
  padding: 54px 26px 26px;
}

.product-card::after {
  display: none;
}

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-card h3,
.case-card p {
  padding-left: 22px;
  padding-right: 22px;
}

.case-card p {
  padding-bottom: 22px;
}

.case-cover {
  height: 220px;
  margin: 0 0 18px;
  border-radius: 0;
}

@media (max-width: 860px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }
}

/* final closer-to-reference details */
.brand-mark {
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #56c271, #1e88e5) !important;
}

.brand span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.product-tabs {
  justify-content: center;
  border-bottom: 1px solid #e5eaf1;
  padding-bottom: 14px;
}

.product-tabs span {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #647084;
  position: relative;
}

.product-tabs span:first-child {
  background: transparent;
  color: #f08a00;
}

.product-tabs span:first-child::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -15px;
  height: 3px;
  background: #f08a00;
}

.section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.catalog .section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.floating-contact {
  right: 0;
  gap: 0;
}

.floating-contact a {
  border-radius: 0;
  border-right: 0;
  background: #ff8a00;
  color: #ffffff;
  font-weight: 800;
}

.floating-contact a:nth-child(2) {
  background: #1e88e5;
}

.floating-contact a:nth-child(3) {
  background: #172033;
}

.page-hero {
  width: 100%;
  max-width: none;
  padding: 86px max(32px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, rgba(6, 15, 28, 0.82), rgba(6, 15, 28, 0.38)), url("./assets/stadium.jpg") center/cover;
  color: #ffffff;
}

.page-hero p,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

/* contact buttons pulse links */
.floating-contact a:nth-child(4),
.floating-contact a:nth-child(5) {
  animation: contactPulse 1.45s ease-in-out infinite;
}

.floating-contact a:nth-child(4) {
  background: #12b7f5 !important;
}

.floating-contact a:nth-child(5) {
  background: #25d366 !important;
}

@keyframes contactPulse {
  0%, 100% {
    transform: translateX(0) scale(1);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }
  50% {
    transform: translateX(-7px) scale(1.04);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }
}

/* round sticky floating contact */
.floating-contact {
  position: fixed !important;
  right: 18px !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transform: translateY(-50%) !important;
}

.floating-contact a {
  width: 78px !important;
  height: 78px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 4px solid #ffffff !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24) !important;
  animation: floatBubble 2.2s ease-in-out infinite !important;
}

.floating-contact a:nth-child(1) {
  background: linear-gradient(135deg, #ff9d00, #ff6b00) !important;
}

.floating-contact a:nth-child(2) {
  background: linear-gradient(135deg, #2fa7ff, #1174d8) !important;
  animation-delay: 0.12s !important;
}

.floating-contact a:nth-child(3) {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
  animation-delay: 0.24s !important;
}

.floating-contact a:nth-child(4) {
  background: linear-gradient(135deg, #20c5ff, #0ea5e9) !important;
  animation-delay: 0.36s !important;
}

.floating-contact a:nth-child(5) {
  background: linear-gradient(135deg, #28e070, #16a34a) !important;
  animation-delay: 0.48s !important;
}

.floating-contact a:hover {
  transform: scale(1.12) rotate(4deg) !important;
}

@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@media (max-width: 860px) {
  .floating-contact {
    right: 10px !important;
    gap: 8px !important;
  }

  .floating-contact a {
    width: 58px !important;
    height: 58px !important;
    border-width: 3px !important;
    font-size: 11px !important;
  }
}

/* pill floating contact override */
.floating-contact {
  position: fixed !important;
  right: 14px !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  transform: translateY(-50%) !important;
}

.floating-contact a {
  width: 124px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 2px solid #ffffff !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18) !important;
  animation: contactPillFloat 2.4s ease-in-out infinite !important;
}

.floating-contact a span {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.floating-contact .contact-tg {
  background: linear-gradient(135deg, #ff9d00, #ff6b00) !important;
}

.floating-contact .contact-bot {
  background: linear-gradient(135deg, #2fa7ff, #1174d8) !important;
  animation-delay: 0.1s !important;
}

.floating-contact .contact-owner {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
  animation-delay: 0.2s !important;
}

.floating-contact .contact-qq {
  background: linear-gradient(135deg, #20c5ff, #0ea5e9) !important;
  animation-delay: 0.3s !important;
}

.floating-contact .contact-wa {
  background: linear-gradient(135deg, #28e070, #16a34a) !important;
  animation-delay: 0.4s !important;
}

.floating-contact a:hover {
  transform: translateX(-6px) scale(1.04) !important;
}

@keyframes contactPillFloat {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

@media (max-width: 860px) {
  .floating-contact {
    right: 8px !important;
    gap: 6px !important;
  }

  .floating-contact a {
    width: 104px !important;
    height: 36px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .floating-contact a span {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 11px !important;
  }
}

/* app icon floating contact style */
.floating-contact {
  position: fixed !important;
  right: 18px !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transform: translateY(-50%) !important;
}

.floating-contact .contact-app {
  width: 82px !important;
  height: auto !important;
  display: grid !important;
  justify-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #172033 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  animation: appIconFloat 2.4s ease-in-out infinite !important;
}

.floating-contact .contact-app:nth-child(2) {
  animation-delay: 0.16s !important;
}

.floating-contact .contact-app:nth-child(3) {
  animation-delay: 0.32s !important;
}

.floating-contact .contact-app span {
  width: 66px !important;
  height: 66px !important;
  min-width: 66px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22) !important;
}

.floating-contact .contact-app img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  display: block !important;
}

.floating-contact .contact-app strong {
  display: block !important;
  color: #172033 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.9) !important;
}

.floating-contact .contact-app:hover {
  transform: translateX(-6px) scale(1.06) !important;
}

@keyframes appIconFloat {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-4px) translateY(-4px);
  }
}

@media (max-width: 860px) {
  .floating-contact {
    right: 8px !important;
    gap: 10px !important;
  }

  .floating-contact .contact-app {
    width: 64px !important;
  }

  .floating-contact .contact-app span {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 15px !important;
  }

  .floating-contact .contact-app img {
    width: 36px !important;
    height: 36px !important;
  }

  .floating-contact .contact-app strong {
    font-size: 11px !important;
  }
}

/* restore five floating contact blocks with leading app icons */
.floating-contact {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  transform: translateY(-50%) !important;
}

.floating-contact .contact-pill {
  width: 142px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 26px 0 0 26px !important;
  color: #ffffff !important;
  text-align: left !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16) !important;
  animation: contactBlockFloat 2.2s ease-in-out infinite !important;
}

.floating-contact .contact-pill span {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-size: 16px !important;
}

.floating-contact .contact-pill img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  display: block !important;
}

.floating-contact .contact-tg {
  background: #ff8a00 !important;
}

.floating-contact .contact-bot {
  background: #1e88e5 !important;
  animation-delay: 0.1s !important;
}

.floating-contact .contact-owner {
  background: #172033 !important;
  animation-delay: 0.2s !important;
}

.floating-contact .contact-qq {
  background: #19b5e9 !important;
  animation-delay: 0.3s !important;
}

.floating-contact .contact-wa {
  background: #22c55e !important;
  animation-delay: 0.4s !important;
}

.floating-contact .contact-pill:hover {
  transform: translateX(-8px) !important;
}

@keyframes contactBlockFloat {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

@media (max-width: 860px) {
  .floating-contact .contact-pill {
    width: 118px !important;
    height: 46px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .floating-contact .contact-pill span {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }

  .floating-contact .contact-pill img {
    width: 19px !important;
    height: 19px !important;
  }
}

/* replace homepage slider images */
.slide-bg-one {
  background-image: url("./assets/slide-hacker.jpg") !important;
}

.slide-bg-two {
  background-image: url("./assets/slide-football.jpg") !important;
}

.slide-bg-three {
  background-image: url("./assets/slide-handshake.jpg") !important;
}

/* custom hacker banner ratio */
.slide-bg-one {
  background-size: cover !important;
  background-position: center 38% !important;
}

.hero-slider {
  height: 520px !important;
}

@media (max-width: 860px) {
  .hero-slider {
    height: 430px !important;
  }

  .slide-bg-one {
    background-position: center center !important;
  }
}

/* first slider uses user-provided hacker image */
.slide-bg-one {
  background-image: url("./assets/custom-hacker.jpg") !important;
  background-size: cover !important;
  background-position: center 38% !important;
}

/* rollback slider frame and restore hacker image */
.hero-slider {
  height: 460px !important;
}

.slide-bg-one {
  background-image: url("./assets/slide-hacker.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
}

@media (max-width: 860px) {
  .hero-slider {
    height: 420px !important;
  }
}

/* product tabs links */
.product-tabs a {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
  cursor: pointer !important;
}

.product-tabs a:first-child {
  color: var(--primary) !important;
  position: relative !important;
}

.product-tabs a:first-child::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -20px !important;
  height: 3px !important;
  background: var(--primary) !important;
}

.detail-main p[data-config-text="detailContentDescription"] {
  white-space: pre-line;
}

.page-hero p[data-config-text="modelsPageDescription"] {
  white-space: pre-line;
  max-width: 980px;
  text-align: left;
}

/* organized admin editor sections */
.editor-config-section {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.editor-config-section .compact-heading {
  text-align: left;
  margin-bottom: 14px;
}

.editor-config-section .compact-heading h3 {
  margin: 0 0 6px;
  color: #0f1b33;
}

.editor-config-section .compact-heading p,
.manager-tip {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
}

.inline-manager {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed #f59e0b;
  border-radius: 16px;
  background: #fffaf0;
}

.inline-manager h3 {
  margin: 0 0 6px;
  color: #92400e;
}

.document-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.doc-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.doc-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #b45309;
}

.doc-section h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #111827;
}

.doc-section p {
  margin: 0;
  line-height: 1.8;
  color: #374151;
  white-space: pre-line;
}

.doc-subsection {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.doc-subsection:last-child {
  margin-bottom: 0;
}

.doc-subsection h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #1f2937;
}

.doc-subsection p {
  margin: 0;
  line-height: 1.7;
  color: #4b5563;
  white-space: pre-line;
}

body:has(.page-hero) .detail-main,
body:has(.page-hero) .detail-side,
body:has(.page-hero) .document-content,
body:has(.page-hero) .contact-card {
  background:
    linear-gradient(145deg, rgba(7, 17, 31, 0.9), rgba(13, 28, 49, 0.82)),
    url("./assets/basketball-card.jpg") center/cover !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3) !important;
}

body:has(.page-hero) .detail-main,
body:has(.page-hero) .document-content {
  max-width: 920px;
  padding: clamp(34px, 5vw, 58px) !important;
}

body:has(.page-hero) .detail-main p,
body:has(.page-hero) .document-content p {
  max-width: 760px;
}

body:has(.page-hero) .doc-section,
body:has(.page-hero) .doc-subsection {
  padding: clamp(22px, 3vw, 34px) !important;
}

body:has(.page-hero) .detail-main h2,
body:has(.page-hero) .detail-side h3,
body:has(.page-hero) .document-content h2,
body:has(.page-hero) .document-content h3,
body:has(.page-hero) .document-content h4,
body:has(.page-hero) .contact-card h3 {
  color: #ffffff !important;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

body:has(.page-hero) .detail-main p,
body:has(.page-hero) .document-content p,
body:has(.page-hero) .contact-card p {
  color: rgba(255, 255, 255, 0.88) !important;
}

body:has(.page-hero) .doc-subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800;
}

body:has(.page-hero) .doc-subsection h4 {
  color: #ffffff !important;
  font-weight: 900;
}

body:has(.page-hero) .doc-section,
body:has(.page-hero) .doc-subsection {
  background: rgba(7, 17, 31, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.18);
}

.doc-conclusion {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left-color: #d97706;
}

.doc-conclusion h3 {
  color: #92400e;
}

.doc-conclusion p {
  color: #78350f;
}

.welcome-body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.34), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(14, 165, 233, 0.22), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(30, 64, 175, 0.28), transparent 32%),
    linear-gradient(180deg, #08142f 0%, #020617 58%, #00030d 100%);
  color: #ffffff;
}

.welcome-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  isolation: isolate;
}

.welcome-screen::before,
.welcome-screen::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(125,211,252,0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 1.4px);
  background-size: 90px 90px, 140px 140px, 220px 220px;
  background-position: 0 0, 45px 70px, 120px 30px;
  opacity: 0.72;
  z-index: -2;
  animation: star-drift 42s linear infinite;
}

.welcome-screen::after {
  background-size: 60px 60px, 110px 110px, 180px 180px;
  opacity: 0.42;
  filter: blur(0.2px);
  animation: star-drift-reverse 58s linear infinite, star-twinkle 3.6s ease-in-out infinite;
}

.meteor-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.meteor-field span {
  position: absolute;
  top: -12%;
  left: 50%;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95));
  border-radius: 999px;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.9));
  animation: meteor-fall 3s linear infinite;
}

.meteor-field span:nth-child(1) { left: 8%; animation-delay: 0s; animation-duration: 2.8s; }
.meteor-field span:nth-child(2) { left: 24%; animation-delay: 0.7s; animation-duration: 3.6s; }
.meteor-field span:nth-child(3) { left: 41%; animation-delay: 1.3s; animation-duration: 3.1s; }
.meteor-field span:nth-child(4) { left: 58%; animation-delay: 0.4s; animation-duration: 4s; }
.meteor-field span:nth-child(5) { left: 75%; animation-delay: 1.8s; animation-duration: 3.4s; }
.meteor-field span:nth-child(6) { left: 90%; animation-delay: 2.2s; animation-duration: 3.2s; }
.meteor-field span:nth-child(7) { left: 15%; animation-delay: 2.7s; animation-duration: 4.2s; }
.meteor-field span:nth-child(8) { left: 35%; animation-delay: 3.1s; animation-duration: 3.8s; }
.meteor-field span:nth-child(9) { left: 68%; animation-delay: 2.9s; animation-duration: 4.4s; }
.meteor-field span:nth-child(10) { left: 82%; animation-delay: 3.5s; animation-duration: 3.5s; }

@keyframes meteor-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(135deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-780px, 780px, 0) rotate(135deg);
    opacity: 0;
  }
}

.welcome-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: clamp(34px, 7vw, 78px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 58, 138, 0.34));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  animation: welcome-float 6s ease-in-out infinite;
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,255,255,0.38), rgba(56,189,248,0.08), rgba(251,146,60,0.22), rgba(255,255,255,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: border-aurora 5s linear infinite;
}

.welcome-kicker {
  margin: 0 0 18px;
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: 0.38em;
}

.welcome-card h1 {
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 8rem);
  line-height: 1;
  text-shadow: 0 0 28px rgba(96, 165, 250, 0.7);
}

.welcome-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  color: #f8fafc;
}

.welcome-en-title,
.welcome-tip {
  color: #cbd5e1;
}

.welcome-tip {
  margin-top: 28px;
}

.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.welcome-btn {
  min-width: 180px;
  padding: 16px 28px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.welcome-btn:hover {
  transform: translateY(-3px);
}

.welcome-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.35);
}

.welcome-btn.secondary {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.35);
}

@keyframes star-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-120px, 160px, 0) rotate(0.001deg);
  }
}

@keyframes star-drift-reverse {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(130px, -110px, 0) scale(1.04);
  }
}

@keyframes star-twinkle {
  0%, 100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.68;
  }
}

@keyframes welcome-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes border-aurora {
  0% {
    opacity: 0.55;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    filter: hue-rotate(42deg);
  }
  100% {
    opacity: 0.55;
    filter: hue-rotate(0deg);
  }
}

.admin-dashboard-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #07111f 0%, #12213a 46%, #07111f 100%);
  color: #ffffff;
}

.admin-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.admin-login-card,
.dashboard-panel {
  background: rgba(255, 255, 255, 0.96);
  color: #172033;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.admin-login-card {
  width: min(460px, 100%);
  margin: 80px auto;
  padding: 42px;
}

.admin-login-card h1,
.dashboard-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(36px, 5vw, 58px);
}

.admin-login-card label {
  display: grid;
  gap: 10px;
  margin: 26px 0 18px;
  font-weight: 800;
}

.admin-login-card input,
.table-header input {
  width: 100%;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.dashboard-panel {
  padding: 30px;
}

.dashboard-header,
.table-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-cards,
.dashboard-grid {
  display: grid;
  gap: 16px;
}

.dashboard-cards {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.dashboard-cards article,
.dashboard-box {
  background: #f7f9fc;
  border: 1px solid #e5eaf1;
  border-radius: 20px;
  padding: 20px;
}

.dashboard-cards span,
.dashboard-cards small {
  display: block;
  color: #647084;
}

.dashboard-cards strong {
  display: block;
  margin: 8px 0;
  font-size: 36px;
  color: #07111f;
}

.dashboard-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 18px 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5eaf1;
}

.stat-row:last-child {
  border-bottom: 0;
}

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

.lead-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.lead-table th,
.lead-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5eaf1;
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  color: #647084;
  font-size: 13px;
}

.empty-state {
  color: #647084;
}

@media (max-width: 860px) {
  .dashboard-header,
  .table-header {
    display: grid;
  }

  .dashboard-cards,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
