:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5efe2;
  background: #050c12;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(24, 105, 112, .28), transparent 35rem),
    linear-gradient(180deg, #07111b, #03070b);
}

a {
  color: inherit;
}

.site-header {
  min-height: 84px;
  padding: 14px clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #1c3445;
  background: rgba(4, 12, 19, .9);
}

.brand {
  display: grid;
  width: max-content;
  color: #f4d38d;
  text-decoration: none;
  letter-spacing: .18em;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 20px;
}

.brand > span:last-child {
  margin-top: 2px;
  color: #63dbe3;
  font-size: 11px;
  font-weight: 800;
}

.suits {
  margin-bottom: 2px;
  color: #e4c179;
  font-size: 12px;
  letter-spacing: .45em;
}

.suits i,
.red {
  color: #d94b58;
  font-style: normal;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
}

nav a {
  color: #aac0cf;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #6ee0e8;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(70px, 12vw, 150px) 0 72px;
  text-align: center;
}

.eyebrow {
  color: #6ee0e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0;
  font-family: Georgia, serif;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  margin: 0 auto;
  color: #9eb3c1;
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.6;
}

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

.button {
  min-width: 180px;
  padding: 13px 22px;
  border: 1px solid #34556b;
  border-radius: 9px;
  background: #0b1d2b;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: #c9953f;
  background: linear-gradient(180deg, #e3bc6e, #bc8432);
  color: #09131b;
}

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

.feature-grid article,
.notice,
.panel {
  border: 1px solid #203a4d;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 37, 53, .92), rgba(7, 20, 30, .94));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.feature-grid article {
  padding: 25px;
}

.feature-icon {
  color: #e3bd72;
  font-family: Georgia, serif;
  font-size: 36px;
}

h2 {
  margin: 12px 0 8px;
  font-family: Georgia, serif;
  font-size: 23px;
}

.feature-grid p,
.muted {
  color: #95aab8;
  line-height: 1.55;
}

.notice {
  margin: 22px 0 70px;
  padding: 18px 22px;
  color: #a8bbc7;
  text-align: center;
}

.notice strong {
  color: #f0cf87;
}

.store-hero {
  padding-bottom: 35px;
}

.store-status {
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 30px;
}

.package-card {
  display: grid;
  align-content: start;
  padding: 24px;
  border: 1px solid #6a5228;
  border-radius: 10px;
  background: rgba(13, 33, 49, .88);
  text-align: center;
}

.package-card .feature-icon {
  margin-bottom: 5px;
}

.package-price {
  display: block;
  margin: 8px 0;
  color: #6ee0e8;
  font-size: 30px;
}

.package-card button {
  width: 100%;
  margin-top: 14px;
}

.rental-grid {
  grid-template-columns: repeat(3, 1fr);
}

.rental-capacity {
  font-size: 24px;
}

.rental-price {
  color: #f0cf87;
  font-size: 26px;
}

footer {
  padding: 26px;
  border-top: 1px solid #182c3a;
  color: #6f8797;
  font-size: 13px;
  text-align: center;
}

.admin-main {
  max-width: 1180px;
  padding: 42px 0 80px;
}

.admin-main h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.panel {
  padding: 24px;
}

.login-panel {
  max-width: 480px;
  margin: 40px auto;
}

label {
  display: grid;
  gap: 7px;
  color: #b9c9d3;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
button {
  min-height: 44px;
  border: 1px solid #355468;
  border-radius: 8px;
  background: #081722;
  color: #f5efe2;
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 9px 12px;
}

button {
  padding: 9px 17px;
  cursor: pointer;
  font-weight: 800;
}

button.primary {
  border-color: #c9953f;
  background: #d9aa55;
  color: #08131b;
}

button:disabled {
  cursor: wait;
  opacity: .55;
}

.form-row,
.toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
}

.form-row label,
.toolbar label {
  flex: 1;
}

.status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #6ee0e8;
}

.error {
  color: #ff8e98;
}

.dashboard[hidden],
[hidden] {
  display: none !important;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metric {
  padding: 18px;
  border: 1px solid #244256;
  border-radius: 12px;
  background: #091a27;
}

.metric span {
  display: block;
  color: #849dac;
  font-size: 12px;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 5px;
  color: #f0cf87;
  font-size: 25px;
}

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.admin-section {
  margin-top: 18px;
}

.adjustment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  align-items: end;
  gap: 10px;
  margin: 18px 0;
}

.inline-input {
  min-width: 84px;
}

.games-list {
  min-width: 150px;
  color: #9eb3c1;
  line-height: 1.6;
}

.games-list label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  font-size: 11px;
}

.games-list input {
  width: auto;
  min-height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 11px 9px;
  border-bottom: 1px solid #20394b;
  text-align: left;
  vertical-align: top;
}

th {
  color: #7f9baa;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .feature-grid,
  .metric-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .form-row,
  .toolbar,
  .dashboard-header,
  .adjustment-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .adjustment-grid {
    display: flex;
  }
}
