/*
Theme Name: MAX ESPORTS Cafe
Theme URI: https://maxesportscafe.com
Author: MAX ESPORTS
Description: A responsive multilingual WordPress theme for MAX ESPORTS Yokohama.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: max-esports
*/

/*
Theme Name: MAX ESPORTS Cafe
Theme URI: https://maxesportscafe.com/
Author: MAX ESPORTS
Description: A responsive multilingual WordPress theme for MAX ESPORTS Yokohama.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: max-esports
*/

:root {
  --max-orange: #f26a00;
  --max-orange-2: #ff8a1f;
  --max-ink: #111214;
  --max-dark: #17191d;
  --max-muted: #666b73;
  --max-line: #e7e8eb;
  --max-soft: #f5f6f7;
  --max-white: #ffffff;
  --max-blue: #2c6cff;
  --max-green: #1f9d63;
  --max-red: #df2f2f;
  --max-shadow: 0 22px 60px rgba(17, 18, 20, 0.10);
  --max-radius: 28px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--max-ink);
  background: var(--max-white);
  font-family: Inter, "Noto Sans JP", "Noto Sans SC", "Noto Sans KR",
    "Yu Gothic", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.max-container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 220px;
}

.brand-link img {
  width: 100%;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #26282c;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 2px;
  background: var(--max-orange);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: var(--max-soft);
  border: 1px solid var(--max-line);
  border-radius: 999px;
}

.lang-button {
  min-width: 39px;
  height: 34px;
  padding: 0 9px;
  color: #666a72;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lang-button.is-active {
  color: var(--max-white);
  background: var(--max-ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--max-ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--max-white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 82% 14%, rgba(242, 106, 0, 0.16), transparent 23%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.23;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 18, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 620px;
  gap: 56px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--max-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--max-orange);
  border-radius: 99px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 .accent {
  display: block;
  color: var(--max-orange);
}

:lang(zh-CN) .hero h1 {
  gap: 0.16em;
  line-height: 0.96;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: #50545c;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 650;
}

.hero-welcome {
  max-width: 610px;
  margin: 15px 0 0;
  padding-left: 18px;
  color: #5d626a;
  border-left: 3px solid var(--max-orange);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.max-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--max-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.max-button.primary {
  color: var(--max-white);
  background: var(--max-ink);
  box-shadow: 0 12px 24px rgba(17, 18, 20, 0.18);
}

.max-button.primary:hover {
  background: var(--max-orange);
  border-color: var(--max-orange);
}

.max-button.secondary {
  color: var(--max-ink);
  background: var(--max-white);
}

.hero-visual {
  position: relative;
}

.hero-logo-card {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px;
  background:
    radial-gradient(circle at 50% 40%, rgba(242, 106, 0, 0.21), transparent 42%),
    var(--max-ink);
  border-radius: 40px;
  box-shadow: var(--max-shadow);
}

.hero-logo-card::before,
.hero-logo-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-logo-card::before {
  width: 430px;
  height: 430px;
}

.hero-logo-card::after {
  width: 530px;
  height: 530px;
}

.hero-logo-card img {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  border-radius: 26px;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: -24px;
  bottom: 34px;
  width: 154px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--max-white);
  background: var(--max-orange);
  border: 8px solid var(--max-white);
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  transform: rotate(8deg);
  white-space: pre-line;
}

.quick-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(17, 18, 20, 0.06);
}

.fact {
  padding: 22px 24px;
  border-right: 1px solid var(--max-line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.fact span {
  display: block;
  margin-top: 5px;
  color: var(--max-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.max-section {
  padding: 112px 0;
}

.max-section.soft {
  background: var(--max-soft);
}

.max-section.dark {
  color: var(--max-white);
  background: var(--max-ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 56px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 600;
}

.dark .section-heading p {
  color: #aeb2ba;
}

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

.area-card {
  position: relative;
  grid-column: span 6;
  min-height: 430px;
  overflow: hidden;
  padding: 34px;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: var(--max-radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--max-shadow);
}

.area-card.featured {
  color: var(--max-white);
  background:
    radial-gradient(circle at 100% 0, rgba(223, 47, 47, 0.28), transparent 40%),
    var(--max-ink);
  border-color: var(--max-ink);
}

.area-card::after {
  content: attr(data-area);
  position: absolute;
  right: 18px;
  bottom: -33px;
  color: rgba(17, 18, 20, 0.035);
  font-size: 150px;
  font-weight: 950;
  line-height: 1;
}

.area-card.featured::after {
  color: rgba(255, 255, 255, 0.05);
}

.area-card[data-area="A"] {
  border-top: 5px solid var(--max-ink);
}

.area-card[data-area="B"] {
  border-top: 5px solid var(--max-blue);
}

.area-card[data-area="C"] {
  border-top: 5px solid var(--max-green);
}

.area-card.featured {
  border-top: 5px solid var(--max-red);
}

.area-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.area-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--max-white);
  background: var(--max-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.featured .area-label {
  background: var(--max-red);
}

.area-seats {
  color: var(--max-muted);
  font-size: 13px;
  font-weight: 850;
}

.featured .area-seats {
  color: #b8bbc2;
}

.area-card h3 {
  position: relative;
  z-index: 2;
  margin: 26px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.area-card .area-lead {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 650;
}

.featured .area-lead {
  color: #c9ccd2;
}

.spec-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.spec-list li {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--max-line);
  font-size: 14px;
  font-weight: 800;
}

.featured .spec-list li {
  border-color: rgba(255, 255, 255, 0.13);
}

.spec-list span {
  color: var(--max-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured .spec-list span {
  color: #969ba5;
}

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

.rate-card {
  overflow: hidden;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: var(--max-radius);
}

.featured-rate {
  color: var(--max-white);
  background:
    linear-gradient(135deg, rgba(242, 106, 0, 0.22), transparent 56%),
    var(--max-ink);
  border-color: var(--max-ink);
}

.rate-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--max-line);
}

.featured-rate .rate-head {
  border-color: rgba(255, 255, 255, 0.13);
}

.rate-head > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  color: var(--max-white);
  background: var(--max-orange);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 950;
}

.rate-head h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rate-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rate-columns.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rate-columns > div {
  min-width: 0;
  padding: 22px 18px 24px;
  border-right: 1px solid var(--max-line);
}

.rate-columns > div:last-child {
  border-right: 0;
}

.featured-rate .rate-columns > div {
  border-color: rgba(255, 255, 255, 0.13);
}

.rate-columns span,
.rate-columns small {
  display: block;
  color: var(--max-muted);
  font-size: 12px;
  font-weight: 850;
}

.featured-rate .rate-columns span,
.featured-rate .rate-columns small {
  color: #afb3bb;
}

.rate-columns strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--max-orange);
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-notes {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 18px;
  margin-top: 18px;
}

.price-notes .member-note {
  margin: 0;
}

.cash-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  color: var(--max-white);
  background: var(--max-ink);
  border-radius: 18px;
}

.cash-note span {
  color: var(--max-orange);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.cash-note strong {
  margin-top: 3px;
  font-size: 13px;
}

.bonus-panel {
  padding: 38px;
  margin-top: 32px;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: var(--max-radius);
}

.bonus-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.75fr);
  align-items: end;
  gap: 26px;
  margin-bottom: 26px;
}

.bonus-heading .section-kicker {
  margin-bottom: 8px;
}

.bonus-heading h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.bonus-heading > p {
  margin: 0;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 650;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--max-line);
  border-radius: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--max-orange) rgba(17, 18, 20, 0.08);
}

.table-scroll:focus-visible {
  outline: 3px solid rgba(242, 106, 0, 0.34);
  outline-offset: 3px;
}

.bonus-table,
.night-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
}

.bonus-table th,
.bonus-table td,
.night-table th,
.night-table td {
  padding: 20px 16px;
  border-right: 1px solid var(--max-line);
  border-bottom: 1px solid var(--max-line);
  text-align: center;
  white-space: nowrap;
}

.bonus-table th:last-child,
.bonus-table td:last-child,
.night-table th:last-child,
.night-table td:last-child {
  border-right: 0;
}

.bonus-table tbody tr:last-child td,
.night-table tbody tr:last-child td {
  border-bottom: 0;
}

.bonus-table th,
.night-table th {
  color: var(--max-white);
  background: var(--max-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.bonus-table td,
.night-table td {
  background: var(--max-white);
  font-size: 16px;
  font-weight: 800;
}

.bonus-table tbody tr:nth-child(even) td {
  background: #fff8f1;
}

.bonus-table td strong,
.bonus-table .total-value,
.night-table .night-price {
  font-size: 20px;
  font-weight: 950;
}

.bonus-table .bonus-value {
  color: var(--max-orange);
}

.bonus-table .total-value {
  color: var(--max-white);
  background: var(--max-orange) !important;
}

.table-note {
  margin: 16px 0 0;
  color: var(--max-muted);
  font-size: 14px;
  font-weight: 650;
}

.night-panel {
  padding: 38px;
  margin-top: 32px;
  color: var(--max-white);
  background:
    radial-gradient(circle at 86% 4%, rgba(242, 106, 0, 0.2), transparent 28%),
    var(--max-ink);
  border-radius: var(--max-radius);
  box-shadow: var(--max-shadow);
}

.numbered-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.numbered-heading > span {
  color: var(--max-orange);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  line-height: 1;
}

.numbered-heading .section-kicker {
  margin-bottom: 6px;
}

.numbered-heading h3 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
}

.night-panel .table-scroll {
  border-color: rgba(255, 255, 255, 0.14);
}

.night-table th {
  background: #2a1b1b;
  border-color: rgba(255, 255, 255, 0.12);
}

.night-table td {
  color: var(--max-white);
  background: #15171a;
  border-color: rgba(255, 255, 255, 0.1);
}

.night-table .night-price {
  color: var(--max-orange-2);
}

.refund-notice {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 22px;
  margin-top: 20px;
  color: #ffd7b9;
  background: rgba(242, 106, 0, 0.11);
  border: 1px solid rgba(242, 106, 0, 0.35);
  border-radius: 16px;
}

.refund-notice strong {
  flex: 0 0 auto;
  color: var(--max-orange-2);
  font-size: 16px;
}

.refund-notice span {
  font-size: 14px;
  font-weight: 650;
}

.price-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.price-panel {
  padding: 38px;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: var(--max-radius);
}

.price-panel.highlight {
  color: var(--max-white);
  background:
    linear-gradient(135deg, rgba(242, 106, 0, 0.15), transparent 50%),
    var(--max-ink);
  border-color: var(--max-ink);
}

.price-panel h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.price-panel > p {
  margin: 8px 0 0;
  color: var(--max-muted);
  font-weight: 650;
}

.price-panel.highlight > p {
  color: #b7bbc4;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--max-line);
}

.highlight .price-row {
  border-color: rgba(255, 255, 255, 0.13);
}

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

.price-name strong {
  display: block;
  font-size: 17px;
}

.price-name span {
  color: var(--max-muted);
  font-size: 12px;
  font-weight: 750;
}

.highlight .price-name span {
  color: #aeb2ba;
}

.price-value {
  color: var(--max-orange);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.price-value small {
  margin-left: 4px;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.member-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  margin-top: 24px;
  color: var(--max-ink);
  background: #fff4e8;
  border: 1px solid #ffd5ae;
  border-radius: 18px;
}

.member-note .icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--max-white);
  background: var(--max-orange);
  border-radius: 50%;
  font-weight: 950;
}

.member-note strong {
  display: block;
  font-size: 16px;
}

.member-note p {
  margin: 2px 0 0;
  color: #5e4a3a;
  font-size: 14px;
  font-weight: 650;
}

.admin-draft-note {
  padding: 12px 16px;
  margin: 18px 0 0;
  color: #6d4a00;
  background: #fff7d6;
  border: 1px solid #efd47b;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

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

.usage-block + .usage-block {
  padding-top: 88px;
  margin-top: 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.usage-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 920px;
  margin-bottom: 38px;
}

.usage-heading > span {
  color: var(--max-orange);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 950;
  line-height: 0.88;
}

.usage-heading .section-kicker {
  margin-bottom: 9px;
}

.usage-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.usage-heading div > p:last-child {
  max-width: 680px;
  margin: 17px 0 0;
  color: #b9bdc5;
  font-size: 16px;
  font-weight: 650;
}

.system-step {
  position: relative;
  min-height: 290px;
  padding: 32px;
  background: #22252a;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--max-radius);
}

.step-number {
  color: var(--max-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.system-step h3 {
  margin: 58px 0 12px;
  font-size: 25px;
}

.system-step p {
  margin: 0;
  color: #b9bdc5;
  font-size: 15px;
  font-weight: 600;
}

.guest-step {
  background:
    linear-gradient(145deg, rgba(242, 106, 0, 0.12), transparent 46%),
    #242326;
  border-color: rgba(242, 106, 0, 0.24);
}

.guest-refund-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  margin-top: 22px;
  color: #f5d8c2;
  background: rgba(242, 106, 0, 0.1);
  border: 1px solid rgba(242, 106, 0, 0.32);
  border-radius: 16px;
}

.guest-refund-note strong {
  flex: 0 0 auto;
  color: var(--max-orange-2);
  font-size: 15px;
}

.guest-refund-note span {
  font-size: 14px;
  font-weight: 650;
}

.rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rule-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #d7d9de;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.access-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  overflow: hidden;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: 34px;
  box-shadow: var(--max-shadow);
}

.access-content {
  padding: 52px;
}

.access-content h2 {
  margin: 0 0 28px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--max-line);
}

.contact-list span {
  color: var(--max-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 16px;
}

.access-map {
  min-height: 460px;
  background: #ddd;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  border: 0;
  filter: saturate(0.82) contrast(1.04);
}

.contact-shell {
  display: grid;
  gap: 32px;
  padding: 52px;
  color: var(--max-white);
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 106, 0, 0.28), transparent 34%),
    var(--max-ink);
  border-radius: 34px;
  box-shadow: var(--max-shadow);
}

.contact-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: end;
  gap: 48px;
}

.contact-intro h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-intro > p:last-child {
  max-width: 500px;
  margin: 0;
  color: #b8bbc3;
  font-size: 16px;
  font-weight: 650;
}

.inquiry-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-link {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 26px;
  color: var(--max-white);
  background: var(--max-orange);
  border: 1px solid var(--max-orange);
  border-radius: 22px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.inquiry-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.inquiry-link.light {
  color: var(--max-ink);
  background: var(--max-white);
  border-color: var(--max-white);
}

.inquiry-link > b {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 20px;
  color: var(--max-white);
  background: rgba(17, 18, 20, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.inquiry-link.light > b {
  color: var(--max-ink);
  background: var(--max-soft);
  border-color: var(--max-line);
}

.inquiry-link span,
.inquiry-link small {
  font-size: 13px;
  font-weight: 850;
}

.inquiry-link span {
  margin-bottom: 11px;
}

.inquiry-link small {
  margin-top: 8px;
  opacity: 0.7;
}

.inquiry-link strong {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.contact-form {
  padding: 34px;
  color: var(--max-ink);
  background: var(--max-white);
  border-radius: 24px;
}

.form-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 8px 28px;
  margin-bottom: 28px;
}

.form-heading > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--max-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.form-heading h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.form-heading > span {
  color: var(--max-muted);
  font-size: 14px;
  font-weight: 650;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: #555a63;
  font-size: 13px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  color: var(--max-ink);
  background: var(--max-soft);
  border: 1px solid var(--max-line);
  border-radius: 12px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-grid input,
.form-grid select {
  min-height: 52px;
  padding: 0 15px;
}

.form-grid textarea {
  min-height: 170px;
  padding: 14px 15px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--max-orange);
  box-shadow: 0 0 0 4px rgba(242, 106, 0, 0.11);
}

.form-message {
  grid-column: 1 / -1;
}

.form-submit {
  min-height: 54px;
  padding: 0 28px;
  margin-top: 20px;
  color: var(--max-white);
  background: var(--max-orange);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.form-submit:hover {
  background: #d95f00;
}

.form-status {
  margin: 12px 0 0;
  color: var(--max-green);
  font-size: 13px;
  font-weight: 750;
}

.site-footer {
  padding: 68px 0 28px;
  color: #d0d2d6;
  background:
    linear-gradient(135deg, rgba(92, 13, 13, 0.96), rgba(27, 8, 8, 0.99)),
    #240808;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 220px;
  padding: 12px;
  background: var(--max-white);
  border-radius: 12px;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #8f939b;
  font-size: 14px;
}

.footer-column h3 {
  margin: 0 0 15px;
  color: var(--max-white);
  color: #ff6b4a;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a,
.footer-column li {
  color: #d9c9c9;
  font-size: 14px;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: #ae8e8e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.footer-contact li {
  max-width: 360px;
  line-height: 1.65;
}

.footer-brand > strong {
  display: block;
  margin-top: 12px;
  color: var(--max-orange-2);
  font-size: 14px;
}

.home-portals {
  padding: 104px 0 122px;
  background: var(--max-soft);
}

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

.portal-card {
  position: relative;
  grid-column: span 6;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px;
  background: var(--max-white);
  border: 1px solid var(--max-line);
  border-radius: var(--max-radius);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.portal-card:nth-child(n + 3) {
  grid-column: span 4;
}

.portal-card:first-child {
  color: var(--max-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 106, 0, 0.28), transparent 30%),
    var(--max-ink);
  border-color: var(--max-ink);
}

.portal-card:hover {
  transform: translateY(-7px);
  border-color: rgba(242, 106, 0, 0.45);
  box-shadow: var(--max-shadow);
}

.portal-number {
  color: var(--max-orange);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.portal-card h3 {
  margin: 48px 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.portal-card p {
  max-width: 520px;
  margin: 0;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 650;
}

.portal-card:first-child p {
  color: #bec1c8;
}

.portal-card b {
  margin-top: auto;
  padding-top: 28px;
  color: var(--max-orange);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 90px;
  color: var(--max-white);
  background:
    radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.25), transparent 28%),
    linear-gradient(135deg, #15171b, #0b0c0f);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -20vw auto;
  width: 44vw;
  height: 44vw;
  border: 2px solid rgba(242, 106, 0, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(242, 106, 0, 0.035),
    0 0 0 16vw rgba(242, 106, 0, 0.02);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: end;
  gap: 68px;
}

.page-number {
  margin: 0 0 42px;
  color: var(--max-orange);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.page-hero h1 {
  max-width: 680px;
  margin: 8px 0 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.page-hero-copy {
  max-width: 610px;
  margin: 0;
  padding: 28px 0 4px;
  color: #c4c7ce;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 18px;
  font-weight: 650;
}

.page-content {
  min-height: 68vh;
}

.page-content .area-card h2,
.page-content .system-step h2 {
  position: relative;
  z-index: 2;
}

.page-content .area-card h2 {
  margin: 26px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-content .system-step h2 {
  margin: 58px 0 12px;
  font-size: 25px;
}

.page-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  margin-top: 36px;
  background: var(--max-soft);
  border: 1px solid var(--max-line);
  border-radius: 20px;
}

.page-next p {
  margin: 0;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 700;
}

.page-next.light-next {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.page-next.light-next p {
  color: #c3c6cd;
}

.subsection-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.subsection-heading > span {
  color: var(--max-orange);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  line-height: 1;
}

.subsection-heading .section-kicker,
.numbered-heading .section-kicker {
  margin-bottom: 6px;
}

.subsection-heading h2,
.numbered-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.panel-copy {
  margin: -10px 0 26px;
  color: var(--max-muted);
  font-size: 16px;
  font-weight: 650;
}

.night-panel .numbered-heading h2 {
  color: var(--max-white);
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.area-label,
.area-seats,
.spec-list span,
.rate-columns span,
.rate-columns small,
.contact-list span,
.inquiry-link span,
.inquiry-link small,
.form-grid label > span,
.footer-column a,
.footer-column li,
.footer-brand p {
  font-size: 14px;
}

.spec-list li,
.member-note p,
.table-note,
.refund-notice span,
.form-heading > span,
.form-status {
  font-size: 15px;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1200;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--max-orange), #ffb06d);
  pointer-events: none;
}

.has-js [data-load] {
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, transform, filter;
}

.page-loaded [data-load="left"] {
  animation: max-enter-left 1080ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.page-loaded [data-load="right"] {
  animation: max-enter-right 1160ms cubic-bezier(0.16, 1, 0.3, 1) 190ms both;
}

.page-loaded [data-load="up"] {
  animation: max-enter-up 1040ms cubic-bezier(0.16, 1, 0.3, 1) 360ms both;
}

.has-js [data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  will-change: opacity, transform, filter;
  transition:
    opacity 980ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    filter 980ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.has-js [data-reveal="left"] {
  transform: translateX(-30px);
}

.has-js [data-reveal="right"] {
  transform: translateX(30px);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0);
}

@keyframes max-enter-left {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes max-enter-right {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateX(26px) scale(0.98);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@keyframes max-enter-up {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.no-js-note {
  padding: 12px 20px;
  color: #fff;
  background: #8a311b;
  text-align: center;
  font-size: 13px;
}


@keyframes max-menu-overlay {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes max-menu-item {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes max-menu-brand {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes max-menu-button {
  from {
    opacity: 0;
    transform: scale(0.75) rotate(-45deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes max-menu-language {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 190px 1fr auto;
    gap: 18px;
  }

  .brand-link {
    width: 182px;
  }

  .site-nav ul {
    gap: 16px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-logo-card {
    min-height: 460px;
  }

  .portal-card:nth-child(n + 3) {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .brand-link {
    width: 185px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 8px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    height: 100dvh;
    padding: calc(104px + env(safe-area-inset-top)) 22px calc(118px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background:
      radial-gradient(circle at 86% 8%, rgba(242, 106, 0, 0.22), transparent 30%),
      linear-gradient(145deg, #111214 0%, #090a0c 54%, #17100b 100%);
    opacity: 0;
    overscroll-behavior: contain;
  }

  .admin-bar .site-nav {
    top: 0;
  }

  .menu-open .site-header {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: #0b0c0f;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .menu-open .header-inner {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
  }

  .menu-open .brand-link {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    left: 22px;
    z-index: 1002;
    width: 154px;
    padding: 7px 10px;
    background: #ffffff;
    border-radius: 6px;
    animation: max-menu-brand 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .menu-open .header-actions {
    position: static;
    margin: 0;
  }

  .menu-open .menu-toggle {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top));
    right: 22px;
    z-index: 1003;
    width: 48px;
    height: 48px;
    background: #1b1c20;
    border: 1px solid rgba(255, 255, 255, 0.16);
    animation: max-menu-button 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .menu-open .language-switcher {
    position: fixed;
    right: auto;
    bottom: calc(24px + env(safe-area-inset-bottom));
    left: 22px;
    z-index: 1002;
    padding: 4px;
    background: #1a1b1f;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    animation: max-menu-language 520ms 300ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .menu-open .lang-button {
    color: rgba(255, 255, 255, 0.58);
  }

  .menu-open .lang-button.is-active {
    color: #ffffff;
    background: var(--max-orange);
  }

  .menu-open .site-nav {
    display: block;
    animation: max-menu-overlay 360ms ease-out both;
  }

  .site-nav ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
  }

  .site-nav li {
    opacity: 0;
    transform: translateY(20px);
  }

  .menu-open .site-nav li {
    animation: max-menu-item 480ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
  }

  .menu-open .site-nav li:nth-child(1) { animation-delay: 90ms; }
  .menu-open .site-nav li:nth-child(2) { animation-delay: 135ms; }
  .menu-open .site-nav li:nth-child(3) { animation-delay: 180ms; }
  .menu-open .site-nav li:nth-child(4) { animation-delay: 225ms; }
  .menu-open .site-nav li:nth-child(5) { animation-delay: 270ms; }
  .menu-open .site-nav li:nth-child(6) { animation-delay: 315ms; }

  .site-nav a {
    min-height: 50px;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav a.is-current {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(242, 106, 0, 0.25), rgba(242, 106, 0, 0.08));
    border-color: rgba(242, 106, 0, 0.48);
    box-shadow: inset 3px 0 0 var(--max-orange);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    max-width: 620px;
  }

  .hero-visual {
    max-width: 640px;
  }

  .hero-logo-card {
    min-height: 520px;
  }

  .hero-badge {
    right: -8px;
  }

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

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid var(--max-line);
  }

  .section-heading,
  .price-layout,
  .access-card,
  .inquiry-card {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero-copy {
    max-width: 720px;
  }

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

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

  .inquiry-actions {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

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

  .usage-heading {
    max-width: 760px;
  }

  .access-visual {
    min-height: 390px;
  }

  .access-map,
  .access-map iframe {
    min-height: 390px;
  }

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

  .form-heading > span {
    max-width: 700px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .max-container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand-link {
    width: 154px;
  }

  .header-inner {
    display: flex;
    gap: 10px;
  }

  .brand-link {
    width: 132px;
    flex: 0 0 132px;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .language-switcher {
    position: static;
    flex: 0 0 auto;
    padding: 3px;
    box-shadow: none;
  }

  .lang-button {
    min-width: 30px;
    height: 32px;
    padding: 0 5px;
    font-size: 11px;
  }

  .menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(52px, 18vw, 78px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-logo-card {
    min-height: 390px;
    padding: 22px;
    border-radius: 28px;
  }

  .hero-badge {
    right: -4px;
    bottom: 16px;
    width: 120px;
    border-width: 6px;
    font-size: 9px;
  }

  .quick-facts {
    margin-top: 18px;
  }

  .fact {
    padding: 18px;
  }

  .fact strong {
    font-size: 20px;
  }

  .max-section {
    padding: 78px 0;
  }

  .home-portals {
    padding: 78px 0 86px;
  }

  .portal-card,
  .portal-card:nth-child(n + 3) {
    grid-column: 1 / -1;
    min-height: 250px;
    padding: 28px;
  }

  .portal-card h3 {
    margin-top: 38px;
  }

  .page-hero {
    padding: 74px 0 66px;
  }

  .page-number {
    margin-bottom: 30px;
  }

  .page-hero h1 {
    font-size: clamp(50px, 16vw, 74px);
  }

  .page-hero-copy {
    padding-top: 22px;
    font-size: 16px;
  }

  .usage-block + .usage-block {
    padding-top: 64px;
    margin-top: 64px;
  }

  .usage-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .usage-heading > span {
    font-size: 48px;
  }

  .usage-heading h2 {
    font-size: 36px;
  }

  .guest-refund-note {
    flex-direction: column;
    gap: 5px;
    padding: 19px 20px;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .area-card {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 26px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .price-panel,
  .system-step,
  .access-content,
  .bonus-panel,
  .inquiry-card {
    padding: 26px;
  }

  .night-panel,
  .contact-shell,
  .contact-form {
    padding: 26px;
  }

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

  .rate-columns > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--max-line);
  }

  .rate-columns > div:last-child {
    border-bottom: 0;
  }

  .featured-rate .rate-columns > div {
    border-color: rgba(255, 255, 255, 0.13);
  }

  .rate-columns strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
    font-size: 39px;
  }

  .price-notes,
  .bonus-heading,
  .inquiry-actions {
    grid-template-columns: 1fr;
  }

  .bonus-table,
  .night-table {
    min-width: 760px;
  }

  .refund-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .bonus-tier {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .bonus-tier > div:last-child {
    text-align: right;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-value {
    font-size: 44px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .form-message {
    grid-column: auto;
  }

  .page-next {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .access-visual {
    min-height: 350px;
    padding: 34px 26px;
  }

  .access-map,
  .access-map iframe {
    min-height: 350px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 380px) {
  .max-container {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .header-inner {
    gap: 6px;
  }

  .brand-link {
    width: 112px;
    flex-basis: 112px;
  }

  .header-actions {
    gap: 5px;
  }

  .lang-button {
    min-width: 27px;
    padding: 0 3px;
    font-size: 10px;
  }

  .menu-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Direct inquiry form, social channels, and official WeChat QR */
.inquiry-link {
  min-width: 0;
}

.contact-channels a[href^="mailto:"] strong {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(17px, 1.65vw, 23px);
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.x-card {
  color: var(--max-white);
  background: #070809;
  border-color: #25272a;
}

.x-card > b {
  min-width: 48px;
  justify-content: center;
  color: #070809;
  background: var(--max-white);
  border-color: var(--max-white);
  font-size: 17px;
  letter-spacing: 0;
}

.wechat-card {
  cursor: default;
  user-select: none;
  padding: 22px;
  background: var(--max-white);
  border-color: var(--max-white);
}

.wechat-card:hover {
  transform: none;
  box-shadow: none;
}

.wechat-qr-frame {
  width: min(100%, 246px);
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
}

.wechat-qr-frame img {
  display: block;
  width: 134.55%;
  max-width: none;
  height: auto;
  transform: translate(-12.84%, -24.93%);
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-status {
  margin: 14px 0 0;
  padding: 15px 17px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.contact-status-sent,
.contact-status-saved {
  color: #146a42;
  background: #effaf4;
  border-color: #a9dfc3;
}

.contact-status-error,
.contact-status-rate {
  color: #9a2d1d;
  background: #fff3ef;
  border-color: #f1b7aa;
}


.field-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.required-mark {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #d92f2f;
  background: transparent;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.required-mark::before {
  content: "*";
  margin-right: 2px;
}
