:root {
  --liverpool-magenta: #e10098;
  --liverpool-magenta-dark: #c4007a;
  --liverpool-deep: #2f1832;
  --liverpool-ink: #242424;
  --liverpool-muted: #6c6c6c;
  --liverpool-line: #e8d9e7;
  --liverpool-soft: #faf6f9;
  --liverpool-card: #ffffff;
  --liverpool-shadow: 0 24px 60px rgba(76, 16, 55, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--liverpool-ink);
  background:
    radial-gradient(circle at top left, rgba(225, 0, 152, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff8fc 48%, #fff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--liverpool-deep);
  color: #fff;
}

.topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  overflow-x: auto;
}

.mainbar {
  background: var(--liverpool-magenta);
  box-shadow: 0 8px 24px rgba(225, 0, 152, 0.18);
}

.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--liverpool-line);
}

.category-strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  font-size: 13px;
  font-weight: 500;
}

.category-strip-inner a {
  white-space: nowrap;
  color: #3b3b3b;
}

.category-strip-inner a:hover {
  color: var(--liverpool-magenta);
}

.mainbar-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 12px;
  align-items: center;
}

.logo-link img {
  width: 100%;
  max-width: 180px;
  display: block;
}

.categories-button,
.session-button,
.form-actions button,
.filters-form button {
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--liverpool-magenta);
  font-weight: 700;
  padding: 10px 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categories-button:hover,
.session-button:hover,
.form-actions button:hover,
.filters-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.search-shell input,
.update-form input,
.filters-form input {
  width: 100%;
  height: 42px;
  border: 2px solid var(--liverpool-magenta);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-shell input:focus,
.update-form input:focus,
.filters-form input:focus {
  border-color: var(--liverpool-magenta);
  box-shadow: 0 0 0 4px rgba(225, 0, 152, 0.14);
}

.input-compact {
  max-width: 140px !important;
}

.hero-section {
  padding: 24px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--liverpool-magenta);
}

.hero-copy {
  width: 100%;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(225, 0, 152, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(76, 16, 55, 0.13);
}

.hero-copy h1,
.admin-heading h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.02;
}

.hero-copy p,
.section-heading p,
.admin-heading p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--liverpool-muted);
}

.hero-banner-rotator {
  position: relative;
  width: 100%;
  min-height: 330px;
  border-radius: 16px;
  border: 1px solid rgba(225, 0, 152, 0.16);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(76, 16, 55, 0.16);
  background: #f4e7f0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.hero-slide-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
}

.hero-slide-content span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-slide-content strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.04;
}

.hero-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.carousel-section,
.form-section,
.admin-main {
  padding: 14px 0 30px;
}

.benefits-strip {
  padding: 4px 0 16px;
}

.benefits-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.benefits-strip article {
  border: 1px solid var(--liverpool-line);
  border-radius: 14px;
  background: #fff;
  padding: 11px 13px;
}

.benefits-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #341a37;
}

.benefits-strip span {
  color: var(--liverpool-muted);
  font-size: 13px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(21px, 2.7vw, 30px);
}

.section-heading a {
  color: var(--liverpool-magenta);
  font-weight: 700;
}

.section-heading--stacked {
  display: block;
}

.card-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo-card,
.form-shell,
.admin-shell {
  background: var(--liverpool-card);
  box-shadow: var(--liverpool-shadow);
}

.promo-card {
  border-radius: 18px;
  overflow: hidden;
}

.promo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.promo-card div {
  padding: 14px;
}

.promo-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.promo-card p {
  margin: 0;
  color: var(--liverpool-muted);
  line-height: 1.45;
  font-size: 14px;
}

.form-shell,
.admin-shell {
  border-radius: 20px;
  padding: 20px;
}

.update-form {
  margin-top: 16px;
}

.field-grid,
.filters-form {
  display: grid;
  gap: 12px;
}

.field-grid {
  grid-template-columns: repeat(3, 1fr);
}

.field-grid label,
.filters-form label {
  display: grid;
  gap: 6px;
}

.field-grid label span,
.filters-form label span {
  font-size: 13px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.form-actions p {
  margin: 0;
  color: var(--liverpool-muted);
}

.admin-body {
  background: linear-gradient(180deg, #fff6fb 0%, #ffffff 100%);
}

.admin-title-block {
  color: #fff;
  display: grid;
  gap: 4px;
}

.admin-title-block strong {
  font-size: 18px;
}

.filters-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  align-items: end;
  margin-bottom: 16px;
}

.secondary-action {
  border: 1px solid var(--liverpool-magenta);
  background: #fff;
  color: var(--liverpool-magenta);
}

.row-danger {
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #ffe7f4;
  color: #9a004f;
  cursor: pointer;
}

.row-danger:hover {
  background: #ffd4ea;
}

.table-shell {
  overflow: auto;
  border: 1px solid var(--liverpool-line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--liverpool-line);
  text-align: left;
  font-size: 13px;
}

thead {
  background: var(--liverpool-soft);
}

tbody tr:hover {
  background: #fff7fc;
}

@media (max-width: 980px) {
  .mainbar-inner {
    grid-template-columns: 1fr;
    padding: 16px 0;
    gap: 10px;
  }

  .hero-grid,
  .card-carousel,
  .benefits-strip-inner,
  .field-grid,
  .filters-form {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: span 1;
  }

  .hero-banner-rotator {
    min-height: 320px;
  }

  .section-heading {
    display: block;
  }

  .form-actions {
    flex-direction: column;
    align-items: start;
  }

  .categories-button,
  .session-button,
  .form-actions button,
  .filters-form button {
    width: 100%;
  }

  .hero-copy h1,
  .admin-heading h1 {
    line-height: 1.05;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .mainbar {
    box-shadow: 0 6px 22px rgba(225, 0, 152, 0.22);
  }

  .container {
    width: calc(100% - 20px);
  }

  .topbar-inner {
    min-height: 32px;
    gap: 10px;
    font-size: 12px;
  }

  .category-strip-inner {
    min-height: 38px;
    gap: 12px;
    font-size: 13px;
  }

  .logo-link img {
    max-width: 156px;
  }

  .hero-section {
    padding: 22px 0 14px;
  }

  .hero-copy,
  .form-shell,
  .admin-shell {
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 34px rgba(76, 16, 55, 0.15);
  }

  .hero-copy h1,
  .admin-heading h1 {
    margin-bottom: 10px;
    font-size: clamp(26px, 8.5vw, 34px);
  }

  .hero-copy p,
  .section-heading p,
  .admin-heading p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-banner-rotator {
    min-height: 250px;
    border-radius: 20px;
  }

  .hero-slide-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-slide-content strong {
    margin-top: 6px;
    font-size: clamp(21px, 7vw, 29px);
  }

  .hero-dots {
    right: 12px;
    bottom: 12px;
  }

  .carousel-section,
  .form-section,
  .admin-main {
    padding: 14px 0 28px;
  }

  .benefits-strip {
    padding: 4px 0 16px;
  }

  .benefits-strip article {
    border-radius: 14px;
    padding: 12px 14px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .section-heading h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .promo-card {
    border-radius: 18px;
  }

  .promo-card img {
    aspect-ratio: 16 / 10;
  }

  .update-form,
  .filters-form {
    margin-top: 16px;
  }

  .field-grid,
  .filters-form {
    gap: 12px;
  }

  .field-grid label,
  .filters-form label {
    gap: 6px;
  }

  .search-shell input,
  .update-form input,
  .filters-form input {
    height: 48px;
    border-radius: 11px;
    font-size: 16px;
  }

  .form-actions {
    margin-top: 16px;
    gap: 10px;
    align-items: stretch;
  }

  .form-actions button {
    position: sticky;
    bottom: 10px;
    z-index: 5;
    box-shadow: 0 10px 24px rgba(225, 0, 152, 0.22);
  }

  .filters-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .table-shell {
    border-radius: 14px;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 12px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 16px);
  }

  .topbar-inner {
    gap: 8px;
  }

  .topbar-inner span:nth-child(n + 3) {
    display: none;
  }

  .mainbar-inner {
    padding: 12px 0;
  }

  .categories-button,
  .session-button,
  .form-actions button,
  .filters-form button {
    border-radius: 10px;
    padding: 11px 14px;
  }

  .hero-copy,
  .form-shell,
  .admin-shell {
    padding: 15px;
    border-radius: 16px;
  }

  .hero-banner-rotator {
    min-height: 220px;
    border-radius: 16px;
  }

  .hero-slide-content span {
    font-size: 11px;
  }

  .hero-slide-content strong {
    font-size: clamp(19px, 7vw, 24px);
  }

  .section-heading h2 {
    font-size: clamp(20px, 7vw, 24px);
  }

  .card-carousel {
    gap: 12px;
  }

  .promo-card div {
    padding: 14px;
  }

  .field-grid label span,
  .filters-form label span {
    font-size: 13px;
  }
}