/* SaszetkiGuide — style.css */
:root {
  --bg: #1e1e2e;
  --surface: #2a2a3e;
  --surface2: #32324a;
  --accent: #f97316;
  --accent-dark: #ea6c0e;
  --text: #e8e8f0;
  --text-muted: #9999bb;
  --border: #3a3a55;
  --radius: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* ── HEADER ── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--accent); text-decoration: none; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.hero-img {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0;
  height: 320px;
  object-fit: cover;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1100px;
  margin: 1rem auto;
  padding: 0 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }

/* ── MAIN LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* ── ARTICLE ── */
article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent);
}
article p { margin-bottom: 1rem; color: var(--text); }
article ul, article ol {
  margin: 0.75rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
article li { color: var(--text); }

/* ── BYLINE ── */
.byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.byline-info { font-size: 0.85rem; }
.byline-name { font-weight: 700; color: var(--text); }
.byline-meta { color: var(--text-muted); }

/* ── EDITORIAL BOX ── */
.editorial {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.editorial strong { color: var(--accent); font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.editorial p { margin: 0.5rem 0 0; font-size: 0.95rem; color: var(--text-muted); }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.card-body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── RANKING TABLE ── */
.ranking-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.rank-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.rank-item:hover { border-color: var(--accent); }
.rank-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  min-width: 48px;
  line-height: 1;
}
.rank-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text); }
.rank-body p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.rank-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.35rem;
}

/* ── COMPARISON TABLE ── */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.comp-table th {
  background: var(--surface2);
  color: var(--accent);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.comp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.comp-table tr:hover td { background: var(--surface); }
.comp-table .good { color: #4ade80; }
.comp-table .bad { color: #f87171; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-box h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.sidebar-box ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-box li a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.sidebar-box li a:hover { color: var(--accent); text-decoration: none; }

/* ── CTA BUTTON ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); text-decoration: none; }
.btn-lg { font-size: 1.1rem; padding: 1rem 2.25rem; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── STRENGTH SCALE ── */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.strength-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.strength-box .level { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.strength-box .label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.strength-box .mg { font-size: 0.85rem; color: var(--text); font-weight: 600; }

/* ── FLAVORS ── */
.flavor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.flavor-tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text);
}

/* ── INFO BOXES ── */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box.warning { border-color: #f59e0b; }
.info-box.warning::before {
  content: '⚠️ ';
}
.info-box.tip { border-color: #4ade80; }
.info-box h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ── AFFILIATE BOX ── */
.affiliate-box {
  background: linear-gradient(135deg, #2a1f0a 0%, #1e1e2e 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.affiliate-box h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.75rem; }
.affiliate-box p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .logo { margin-bottom: 0.75rem; font-size: 1.1rem; }
.footer-brand p { font-size: 0.825rem; color: var(--text-muted); max-width: 320px; }
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col li a { font-size: 0.825rem; color: var(--text-muted); }
.footer-col li a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ── LEGAL SECTION ── */
.legal-timeline { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.legal-item {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-item .year { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); }
.legal-item h4 { font-size: 1rem; font-weight: 700; margin: 0.25rem 0; }
.legal-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hero { padding: 2.5rem 1rem 2rem; }
  nav { gap: 0.75rem; }
  .rank-num { font-size: 1.5rem; min-width: 36px; }
}
