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

:root {
  --gold: #b88a32;
  --gold-light: #d4ad5a;
  --gold-dark: #8d6822;

  --bg: #f8f5ef;
  --card: #ffffff;
  --text: #201d18;
  --muted: #777067;
  --border: #e7dfd1;

  --green: #3c9a68;
  --yellow: #c58c20;
  --blue: #477bb8;
  --red: #b64a42;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(205, 169, 88, 0.16),
      transparent 34%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}


/* APP */

.app {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: auto;
  padding: 22px 18px 35px;
}


/* TOP BAR */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--gold);
  color: var(--gold);

  font-family: Georgia, serif;
  font-size: 22px;

  border-radius: 50%;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-sub {
  margin-top: 2px;

  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--gold-dark);
}

.menu-btn {
  width: 44px;
  height: 44px;

  border: 1px solid var(--border);
  background: #fff;

  border-radius: 50%;

  font-size: 20px;
  color: var(--text);

  box-shadow: 0 8px 24px rgba(70, 50, 20, 0.07);
}


/* HERO */

.hero {
  margin-bottom: 25px;
}

.hero-label {
  color: var(--gold-dark);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 15px;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(39px, 11vw, 57px);
  line-height: 0.98;

  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 380px;

  margin-top: 20px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.7;
}


/* SHOP STATUS */

.shop-status-card {
  background: rgba(255, 255, 255, 0.92);

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 17px 18px;

  margin-bottom: 14px;

  box-shadow:
    0 12px 30px rgba(75, 55, 20, 0.06);
}

.status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-small-label {
  display: block;

  color: var(--muted);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 5px;
}

.shop-status-card h2 {
  font-family: Georgia, serif;

  font-size: 20px;
}

.shop-status-card p {
  margin-top: 8px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.5;
}

.status-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  box-shadow: 0 0 0 5px rgba(60, 154, 104, 0.12);
}

.status-dot.open {
  background: var(--green);
}

.status-dot.break {
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(197, 140, 32, 0.12);
}

.status-dot.paused {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(71, 123, 184, 0.12);
}

.status-dot.closed {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(182, 74, 66, 0.12);
}


/* CURRENT CARD */

.current-card {
  position: relative;

  overflow: hidden;

  padding: 25px 20px;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #c49a4a,
      #a87824
    );

  color: white;

  box-shadow:
    0 18px 40px rgba(137, 96, 29, 0.22);

  margin-bottom: 15px;
}

.current-card::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  border: 1px solid rgba(255,255,255,0.18);

  border-radius: 50%;

  right: -80px;
  top: -80px;
}

.current-label {
  font-size: 9px;
  letter-spacing: 2.5px;

  opacity: 0.8;
}

.current-number {
  margin-top: 7px;

  font-family: Georgia, serif;

  font-size: 58px;
  line-height: 1;

  font-weight: 700;
}

.current-customer-name {
  margin-top: 5px;

  font-size: 13px;
  opacity: 0.9;
}

.current-line {
  height: 1px;

  background: rgba(255,255,255,0.28);

  margin: 19px 0;
}

.current-info {
  display: flex;
  gap: 45px;
}

.current-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.current-info span {
  font-size: 8px;
  letter-spacing: 1.5px;
  opacity: 0.72;
}

.current-info strong {
  font-size: 16px;
}


/* NAME */

.customer-name-box {
  padding: 18px;

  background: #fff;

  border: 1px solid var(--border);

  border-radius: 17px;

  margin-bottom: 12px;

  box-shadow:
    0 10px 25px rgba(75, 55, 20, 0.05);
}

.customer-name-box label {
  display: block;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;

  color: var(--gold-dark);

  margin-bottom: 8px;
}

.customer-name-box input {
  width: 100%;

  border: 1px solid #ded5c6;

  background: #fcfaf7;

  border-radius: 11px;

  padding: 13px 14px;

  outline: none;

  color: var(--text);

  font-size: 14px;
}

.customer-name-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 138, 50, 0.1);
}

.customer-name-box p {
  margin-top: 8px;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.5;
}


/* JOIN */

.join-btn {
  width: 100%;

  min-height: 58px;

  border: 0;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #cda557,
      #a97b29
    );

  color: white;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;

  box-shadow:
    0 13px 28px rgba(150, 106, 32, 0.22);

  transition:
    transform 0.2s,
    opacity 0.2s;
}

.join-btn:active {
  transform: scale(0.98);
}

.join-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}


/* QUEUE STATUS */

.queue-status-section {
  margin-top: 15px;
}

.queue-status-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 21px;

  box-shadow:
    0 15px 35px rgba(70, 50, 20, 0.07);
}

.queue-status-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.queue-status-label {
  color: var(--gold-dark);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 2px;
}

.queue-status-header h2 {
  margin-top: 5px;

  font-family: Georgia, serif;

  font-size: 21px;
}

.queue-live-dot {
  width: 10px;
  height: 10px;

  background: var(--green);

  border-radius: 50%;

  box-shadow:
    0 0 0 5px rgba(60, 154, 104, 0.12);
}


/* NUMBER */

.your-number-box {
  text-align: center;

  background:
    linear-gradient(
      145deg,
      #faf6ee,
      #f3ecdf
    );

  border: 1px solid #e8ddca;

  border-radius: 17px;

  padding: 19px;

  margin-top: 17px;
}

.your-number-box span {
  display: block;

  color: var(--muted);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 2px;
}

.your-number-box strong {
  display: block;

  margin-top: 4px;

  color: var(--gold-dark);

  font-family: Georgia, serif;

  font-size: 45px;
}


/* INFO */

.your-queue-info {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-top: 10px;
}

.your-info-item {
  padding: 15px;

  background: #faf9f6;

  border: 1px solid #eee8dd;

  border-radius: 14px;

  text-align: center;
}

.your-info-item span {
  display: block;

  color: var(--muted);

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 1.4px;
}

.your-info-item strong {
  display: block;

  margin-top: 6px;

  font-size: 17px;
}


/* MESSAGE */

.your-queue-message {
  margin-top: 14px;

  padding: 12px;

  border-radius: 11px;

  background: #f4f8f4;

  color: #397654;

  text-align: center;

  font-size: 11px;
  font-weight: 600;
}


/* LEAVE */

.leave-queue-btn {
  width: 100%;

  margin-top: 12px;

  padding: 12px;

  border-radius: 11px;

  background: transparent;

  border: 1px solid #dfcaca;

  color: #a14f4b;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.5px;
}


/* FEATURES */

.features {
  margin-top: 35px;

  display: flex;
  flex-direction: column;

  gap: 18px;
}

.feature {
  display: flex;

  gap: 14px;

  align-items: flex-start;
}

.feature-icon {
  min-width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d9c9ac;

  border-radius: 50%;

  color: var(--gold-dark);

  font-size: 8px;
  font-weight: 700;
}

.feature h3 {
  font-size: 10px;
  letter-spacing: 1.4px;
}

.feature p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.5;
}


/* FOOTER */

footer {
  text-align: center;

  margin-top: 50px;

  padding-top: 25px;

  border-top: 1px solid var(--border);
}

.footer-logo {
  color: var(--gold-dark);

  font-family: Georgia, serif;

  font-size: 18px;
  letter-spacing: 4px;
}

footer p {
  margin-top: 6px;

  font-size: 7px;
  letter-spacing: 2px;

  color: var(--muted);
}

footer span {
  display: block;

  margin-top: 12px;

  font-size: 9px;

  color: #aaa29a;
}


/* MENU */

.menu-overlay {
  position: fixed;

  inset: 0;

  z-index: 100;

  background: rgba(30, 25, 18, 0.25);

  backdrop-filter: blur(5px);
}

.menu-panel {
  position: absolute;

  right: 15px;
  top: 15px;

  width: min(330px, calc(100% - 30px));

  padding: 27px;

  background: #fff;

  border: 1px solid var(--border);

  border-radius: 22px;

  box-shadow:
    0 25px 70px rgba(50, 35, 15, 0.18);
}

.close-menu {
  position: absolute;

  right: 14px;
  top: 12px;

  width: 35px;
  height: 35px;

  border: 0;

  background: #f7f4ee;

  border-radius: 50%;

  font-size: 22px;

  color: var(--text);
}

.menu-logo {
  font-family: Georgia, serif;

  color: var(--gold-dark);

  font-size: 25px;
  letter-spacing: 4px;
}

.menu-sub {
  margin-top: 4px;

  color: var(--muted);

  font-size: 8px;
  letter-spacing: 2px;
}

.menu-line {
  width: 45px;
  height: 1px;

  background: var(--gold);

  margin: 22px 0;
}

.menu-panel p {
  color: var(--muted);

  font-size: 12px;

  line-height: 1.7;
}


/* MOBILE */

@media (min-width: 700px) {
  body {
    background:
      radial-gradient(
        circle at 50% 0%,
        rgba(205, 169, 88, 0.12),
        transparent 30%
      ),
      #eeeae2;
  }

  .app {
    background: var(--bg);
    box-shadow: 0 0 70px rgba(70, 50, 20, 0.08);
  }
}