/* ═══════════════════════════════════════════
   GIEESKRECIPES — Base & Reset
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-void, #0A0A09);
  color: var(--text-primary, #F0EEE8);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Prevent horizontal scroll on all devices */
  max-width: 100vw;
}

/* Global mobile safety net */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input  { font-family: inherit; }

/* ── Container ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--col-gap);
}

/* ── Buttons ───────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gold);
  color: #0A0A09;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-full);
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-gold:active { transform: scale(0.98); }

.btn-gold.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-full);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-1px);
}
.btn-outline.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
  background: var(--bg-elevated);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: var(--text-muted);
  font-size: 13px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-dim);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost-sm:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

/* ── Typography helpers ────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

/* ── Sections ──────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background: var(--bg-dark);
}

.section-warm {
  background: var(--bg-warm);
}

.section-ai {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0D110E 100%);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Animations ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.fade-up { animation: fadeUp 0.6s var(--ease-smooth) both; }

/* ── Skeleton loader ───────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-md);
}

/* ── Badge ─────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-gold    { background: rgba(201,150,58,0.15); color: var(--gold-light); }
.badge-emerald { background: rgba(29,158,117,0.15); color: #4ECDA4; }
.badge-coral   { background: rgba(216,90,48,0.15);  color: #F08060; }
.badge-purple  { background: rgba(127,119,221,0.15);color: #AFA9EC; }

/* ── Star rating ───────────────────────── */
.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 13px;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
