:root{
  --bg: #07090b;
  --panel: rgba(15, 18, 20, 0.78);
  --panel2: rgba(10, 12, 14, 0.78);
  --text: #e9e6df;
  --muted: rgba(233, 230, 223, 0.72);

  --bronze: #c08a3f;
  --amber: #ffcd78;
  --rust: #8b3a2a;

  --green: #2fe38a;         /* resonance marker */
  --greenSoft: rgba(47, 227, 138, 0.18);

  --border: rgba(255,255,255,0.10);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(192,138,63,0.16), transparent 60%),
    radial-gradient(700px 600px at 80% 10%, rgba(47,227,138,0.10), transparent 55%),
    radial-gradient(900px 700px at 50% 100%, rgba(139,58,42,0.10), transparent 60%),
    linear-gradient(180deg, #050607 0%, #07090b 40%, #040506 100%);
  min-height: 100vh;
}

.lounge{
  width: min(980px, 94vw);
  margin: 28px auto 48px;
  padding: 18px 0;
}

.header{
  padding: 18px 18px 10px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,18,20,0.70), rgba(10,12,14,0.70));
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.header::after{
  content:"";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 80px at 20% 0%, rgba(255,205,120,0.18), transparent 60%),
    radial-gradient(420px 70px at 80% 10%, rgba(47,227,138,0.16), transparent 60%);
  pointer-events: none;
}

h1{
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.5px;
}

.subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.panel{
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border-radius: 18px;
  box-shadow: var(--shadow);
}

h2{
  margin: 8px 0 10px;
  font-size: 16px;
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.3px;
}

.buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.buttons button{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.buttons button:hover{
  transform: translateY(-1px);
  border-color: rgba(255,205,120,0.30);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.buttons button.active{
  border-color: rgba(47,227,138,0.55);
  background: linear-gradient(180deg, rgba(47,227,138,0.16), rgba(47,227,138,0.06));
  box-shadow: 0 0 0 3px rgba(47,227,138,0.10), 0 14px 38px rgba(0,0,0,0.45);
}

.hint{
  margin: 0 0 10px;
  color: var(--muted);
}

textarea{
  width: 100%;
  min-height: 90px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  padding: 12px 12px;
  line-height: 1.35;
  outline: none;
}

textarea:focus{
  border-color: rgba(47,227,138,0.45);
  box-shadow: 0 0 0 3px rgba(47,227,138,0.10);
}

.order-row{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.order-btn{
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(192,138,63,0.22), rgba(192,138,63,0.10));
  color: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.order-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,205,120,0.35);
  box-shadow: 0 12px 34px rgba(0,0,0,0.40);
}

.order-btn.secondary{
  background: linear-gradient(180deg, rgba(47,227,138,0.16), rgba(47,227,138,0.06));
  border-color: rgba(47,227,138,0.35);
}

.confirmation{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.78);
}

.ticket{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(233,230,223,0.95);
  white-space: pre-wrap;
  line-height: 1.35;
  overflow-x: auto;
}

.footer{
  margin-top: 16px;
  padding: 10px 16px;
  color: rgba(233,230,223,0.70);
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  border-radius: 18px;
}
