/* ─── Lyxxis Ordering Service — Shared Styles ─── */

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

:root {
  --bg:        #131316;
  --surface:   #1c1c21;
  --surface2:  #24242b;
  --surface3:  #2e2e38;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);
  --text:      #e8e8f0;
  --muted:     #6b6b80;
  --accent:    #7c6af7;
  --accent2:   #a78bfa;
  --green:     #22c55e;
  --red:       #ef4444;
  --yellow:    #eab308;
  --glass-bg:  rgba(255,255,255,0.04);
  --glass-bd:  rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* ─── Noise overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── Ambient glow blobs ─── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 18s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; background: #4f46e5; top: -180px; left: -120px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: #7c3aed; bottom: 10%; right: -100px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #2563eb; top: 50%; left: 40%; animation-delay: -9s; }

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ─── Topbar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  background: rgba(19,19,22,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.topbar-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  color: var(--text);
  text-decoration: none;
}
.topbar-logo span { color: var(--accent2); }

.topbar-nav { display: flex; align-items: center; gap: 4px; }

.topbar-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.topbar-nav a:hover { color: var(--text); background: var(--glass-bg); }
.topbar-nav a.active { color: var(--text); background: var(--surface2); }

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.badge-pill {
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

/* ─── Page Header ─── */
.page-header {
  position: relative;
  z-index: 1;
  padding: 64px 40px 56px;
  border-bottom: 1px solid var(--border);
}

.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.5s 0.05s ease forwards;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.1em;
  line-height: 0.95;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeUp 0.5s 0.12s ease forwards;
}

.page-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s ease forwards;
}

/* ─── Main content wrapper ─── */
.page-content {
  position: relative;
  z-index: 1;
  padding: 56px 40px 80px;
  max-width: 960px;
}

.page-content.wide { max-width: 1200px; }

/* ─── Section labels ─── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(124,106,247,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Status badges ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}
.status-badge.open   { background: rgba(34,197,94,0.12);  color: var(--green);  border: 1px solid rgba(34,197,94,0.2); }
.status-badge.closed { background: rgba(239,68,68,0.08);  color: var(--red);    border: 1px solid rgba(239,68,68,0.15); }
.status-badge.soon   { background: rgba(234,179,8,0.08);  color: var(--yellow); border: 1px solid rgba(234,179,8,0.18); }
.status-badge .dot   { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge.open .dot { box-shadow: 0 0 5px var(--green); animation: pulse 1.8s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #9b71fa 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(124,106,247,0.35);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,106,247,0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ─── Divider ─── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

/* ─── Footer ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 52px 40px 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--accent2); }

.footer-tagline {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  text-decoration: none;
  font-size: 0.84rem;
  color: rgba(232,232,240,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.77rem;
  color: var(--muted);
}

.footer-disclaimer {
  font-size: 0.77rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 24px;
}
.footer-disclaimer strong { color: rgba(232,232,240,0.7); }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
