/* Oasis Design System */
:root {
  /* Brand */
  --brand: #FF3B1F;          /* Oasis red — molten lava */
  --brand-deep: #C7240A;
  --ink: #131110;             /* near-black */
  --ink-2: #2A2622;
  --paper: #FFF8EC;           /* warm cream */
  --paper-2: #FBEEDB;
  --line: #E5D9C2;
  --mute: #7A6F60;
  --green: #1F7A3A;           /* success */
  --yellow: #F8C61B;
  --blue: #2D4FE3;
  /* Type */
  --display: 'Bricolage Grotesque', 'Archivo', sans-serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  /* Spacing */
  --pad: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* Striped placeholder */
.os-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 6px, transparent 6px 14px),
    var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--mute); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  text-align: center;
  padding: 8px;
}

/* Buttons */
.os-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: transform .15s ease, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.os-btn:hover { transform: translateY(-1px); }
.os-btn:active { transform: translateY(0); }
.os-btn--primary { background: var(--brand); color: white; }
.os-btn--primary:hover { background: var(--brand-deep); }
.os-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.os-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.os-btn--sm { padding: 10px 14px; font-size: 13px; }
.os-btn--lg { padding: 18px 28px; font-size: 17px; }
.os-btn--block { width: 100%; }

/* Tag / Chip */
.os-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  cursor: pointer; transition: all .15s;
}
.os-chip--active { background: var(--ink); color: var(--paper); }
.os-chip--brand { background: var(--brand); color: white; border-color: var(--brand); }

/* Counter */
.os-counter { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.os-counter button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 18px; font-weight: 600; }
.os-counter button:hover { background: var(--ink); color: var(--paper); }
.os-counter span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }

/* Heading utility */
.os-display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

/* Phone shadow */
.os-phone {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.18)) drop-shadow(0 6px 12px rgba(0,0,0,.08));
}

/* Scrollbar hide for nested screens */
.os-screen { scrollbar-width: none; }
.os-screen::-webkit-scrollbar { display: none; }

/* Marquee */
@keyframes os-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.os-marquee { display: flex; gap: 28px; animation: os-marq 28s linear infinite; }

/* Pulse */
@keyframes os-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.os-pulse { animation: os-pulse 2.4s ease-in-out infinite; }

/* Loyalty pop */
@keyframes os-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
.os-pop { animation: os-pop .5s cubic-bezier(.2,.8,.3,1.2); }

/* Spin */
@keyframes os-spin { to { transform: rotate(360deg); } }
.os-spin { animation: os-spin 24s linear infinite; }

/* Tracker dot */
@keyframes os-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.os-dot { animation: os-dot 1.6s ease-in-out infinite; }
