.menu-page {
  position: relative;
  min-height: 100vh;
  padding: 26px 18px 40px;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.menu-bg-suits {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-suit {
  position: absolute;
  font-weight: 900;
  opacity: 0.06;
  filter: blur(1px);
  user-select: none;
}

.bg-suit-spade {
  top: 6%;
  left: 4%;
  font-size: 10rem;
  color: #fff8ec;
}

.bg-suit-heart {
  top: 18%;
  right: 7%;
  font-size: 12rem;
  color: #c1121f;
}

.bg-suit-diamond {
  bottom: 8%;
  left: 10%;
  font-size: 11rem;
  color: #d4a64f;
}

.bg-suit-club {
  bottom: 10%;
  right: 8%;
  font-size: 10rem;
  color: #f3ede5;
}

.bg-card {
  position: fixed;
  width: 180px;
  height: 250px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(38, 20, 24, 0.88), rgba(17, 10, 12, 0.76));
  box-shadow:
    0 20px 40px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.bg-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
}

.bg-card::after {
  content: "♠";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4.5rem;
  color: rgba(255,248,236,0.12);
}

.bg-card-left {
  top: 20%;
  left: -35px;
  transform: rotate(-18deg);
}

.bg-card-right {
  right: -35px;
  bottom: 14%;
  transform: rotate(16deg);
}

.menu-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, 100%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-block {
  max-width: 720px;
}

.brand-kicker {
  margin-bottom: 8px;
  color: #e7c987;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-emblem {
  width: 88px;
  height: 118px;
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(180deg, #fffaf4, #f2e8dc);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    0 18px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.45);
  color: #111111;
  overflow: hidden;
}

.brand-emblem::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.08);
  pointer-events: none;
}

.brand-emblem span {
  position: relative;
  z-index: 1;
  color: #111111;
}

.brand-emblem span:first-child {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.brand-emblem span:last-child {
  align-self: center;
  font-size: 2.2rem;
  line-height: 1;
}

.brand-block h1 {
  margin-bottom: 8px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 22px rgba(193, 18, 31, 0.18);
}

.brand-suits {
  display: flex;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 900;
}

.brand-suits span:nth-child(1),
.brand-suits span:nth-child(4) {
  color: #fff8ec;
}

.brand-suits span:nth-child(2) {
  color: #e63946;
}

.brand-suits span:nth-child(3) {
  color: #d4a64f;
}

.brand-subtitle {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.menu-status {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 12px 24px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.status-pill__label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill__value {
  font-size: 1.05rem;
  font-weight: 800;
}

.featured-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(19, 33, 65, 0.92), rgba(8, 77, 47, 0.76));
}

.featured-banner__glow {
  position: absolute;
  inset: auto -60px -80px auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.35), transparent 65%);
  pointer-events: none;
}

.featured-banner__cards {
  position: relative;
  width: 94px;
  height: 94px;
  flex-shrink: 0;
}

.mini-card {
  position: absolute;
  width: 62px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 24px rgba(0,0,0,0.24);
}

.mini-card-back {
  left: 0;
  top: 8px;
  transform: rotate(-12deg);
  background:
    linear-gradient(135deg, #1d4ed8, #0f172a);
}

.mini-card-front {
  right: 2px;
  top: 0;
  transform: rotate(10deg);
  background: linear-gradient(180deg, #fffaf4, #f5ede2);
  color: #111111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  font-weight: 900;
}

.mini-card-front span:last-child {
  font-size: 1.4rem;
  align-self: center;
  color: #111111;
}

.featured-banner__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.featured-banner__tag {
  margin-bottom: 8px;
  color: #f0c46a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-banner h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.featured-banner p {
  margin-bottom: 0;
  max-width: 720px;
  color: var(--text-soft);
  line-height: 1.55;
}

.featured-banner__button {
  position: relative;
  z-index: 1;
  min-width: 150px;
  text-align: center;
}

.tables-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}

.section-kicker {
  margin-bottom: 6px;
  color: #e7c987;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.section-suit-line {
  display: flex;
  gap: 12px;
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.95;
}

.section-suit-line span:nth-child(1),
.section-suit-line span:nth-child(4) {
  color: #fff8ec;
}

.section-suit-line span:nth-child(2) {
  color: #e63946;
}

.section-suit-line span:nth-child(3) {
  color: #d4a64f;
}

.section-note {
  color: var(--text-soft);
  font-weight: 600;
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 20px;
}

.table-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    opacity var(--transition-fast);
}

.table-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.table-card--locked {
  opacity: 0.88;
}

.table-card--locked:hover {
  transform: none;
}

.table-card__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 18%, transparent 40%),
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 32%);
  pointer-events: none;
}

.table-card__inner-border {
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.table-card__corner {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 900;
  opacity: 0.92;
}

.table-card__corner--top {
  top: 14px;
  right: 16px;
  align-items: center;
}

.table-card__corner--bottom {
  bottom: 12px;
  left: 14px;
  align-items: center;
  transform: rotate(180deg);
  opacity: 0.82;
}

.table-card__corner-rank {
  font-size: 0.85rem;
}

.table-card__corner-suit {
  font-size: 0.9rem;
  margin-top: 3px;
}

.table-card__top,
.table-card__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.table-card__middle {
  position: relative;
  z-index: 1;
  margin: 18px 0;
}

.table-card__subtitle {
  margin-bottom: 7px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,248,236,0.78);
}

.table-card__title {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.table-card__description {
  max-width: 86%;
  margin-bottom: 0;
  color: rgba(255,248,236,0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.table-card__buyin-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 28px;
}

.table-card__buyin-label {
  color: rgba(255,248,236,0.66);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.table-card__buyin {
  font-size: 1.28rem;
  font-weight: 900;
}

.table-card__button {
  min-width: 138px;
}

@media (max-width: 980px) {
  .featured-banner {
    flex-direction: column;
    align-items: start;
  }

  .tables-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu-page {
    padding-inline: 12px;
  }

  .table-card,
  .featured-banner {
    padding: 20px;
  }

  .table-card__top,
  .table-card__bottom {
    flex-direction: column;
    align-items: start;
  }

  .brand-title-row {
    align-items: flex-start;
  }

  .brand-emblem {
    width: 58px;
    height: 58px;
  }

  .brand-block h1 {
    font-size: 2.7rem;
  }
}

.brand-title-row--logo {
  display: block;
}

.brand-logo {
  display: block;
  width: min(340px, 100%);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
}

@media (max-width: 640px) {
  .brand-logo {
    width: min(260px, 100%);
  }
}
