:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-border: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.app-container {
  width: 100%;
  max-width: 500px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  font-size: 1.6rem;
}

.brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.lang-switch {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #000;
}

.date-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.time-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recipe-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.recipe-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.content-block {
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 4px;
}

.ingredients-list {
  list-style: none;
}

.ingredients-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.ingredients-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
}

.steps-list {
  padding-left: 20px;
}

.steps-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 4px 0;
  line-height: 1.4;
}

.action-btn {
  width: 100%;
  background: var(--primary);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.action-btn:active {
  background: var(--primary-hover);
  transform: scale(0.98);
}

.install-btn {
  width: 100%;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
}
