:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --pink: #ff4fd8;
  --violet: #8c52ff;
  --gold: #d6b46c;
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  color: var(--text);
  overflow-x: hidden;
  background: transparent;
  font-family: Arial, sans-serif;
}

body {
  position: relative;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.95) contrast(1.03);
  pointer-events: none;
}

.overlay-soft {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
}

.home-clean {
  min-height: 100vh;
}

.home-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.minimal-home-inner {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  text-align: center;
}

.home-logo-img {
  width: min(520px, 82vw);
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.18));
}

.home-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

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

.btn-primary {
  background: linear-gradient(45deg, var(--pink), var(--violet));
  color: white;
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 20px;
}

.page-topbar {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-topbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.page-card {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 32px;
  background: rgba(13, 13, 20, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.page-card-wide {
  max-width: 1420px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header.center {
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(38px, 7vw, 88px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 79, 216, 0.16);
}

h2 {
  font-size: 24px;
  font-weight: 800;
}

.hero-text {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.55;
}

.hero-text.small {
  max-width: 900px;
  font-size: 16px;
}

.subline {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95em;
}

.back-link,
.mini-link {
  color: var(--muted);
  font-size: 14px;
}

.reserve-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 22px;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 16px;
}

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

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

select option {
  color: #000;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.menu-header,
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

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

.bottle-scroll {
  max-height: 430px;
  overflow-y: auto;
  padding-right: 8px;
  border-radius: 18px;
}

.bottle-scroll::-webkit-scrollbar {
  width: 8px;
}

.bottle-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
}

.menu-category {
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.menu-category-title {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 13px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item-name {
  font-weight: 700;
}

.menu-item-price {
  font-size: 14px;
  color: var(--muted);
}

.small-btn {
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
}

.add-btn {
  min-width: 70px;
}

.cart-block {
  margin-top: 18px;
}

.cart-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 12px;
}

.empty-state {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 4px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-name {
  font-weight: 700;
}

.cart-item-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-badge {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}

.info-line {
  margin-top: 12px;
  color: var(--muted);
}

.info-line.strong {
  color: #fff;
  font-weight: 800;
}

.checkout-actions,
.center-actions,
.pay-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.ticket-card,
.success-card {
  max-width: 760px;
}

.ticket-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 0 22px;
}

.ticket-price {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: white;
}

.ticket-desc {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

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

.qr-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin-top: 10px;
}

.qr-image {
  max-width: 300px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.qr-order-id {
  margin: 16px 0;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .reserve-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-clean,
  .home-center,
  .page-shell {
    padding: 14px;
  }

  .page-card {
    border-radius: 24px;
    padding: 18px;
  }

  .page-topbar {
    margin-bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .home-buttons,
  .checkout-actions,
  .center-actions,
  .pay-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .menu-item,
  .cart-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item-right {
    width: 100%;
    justify-content: flex-start;
  }

  .home-logo-img {
    width: min(360px, 86vw);
  }
}