:root {
  --bg: #07080d;
  --bg-elevated: #0f111a;
  --bg-card: #131622;
  --bg-card-hover: #181c2b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 59, 92, 0.45);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #ff3b5c;
  --accent-2: #ff7849;
  --accent-soft: rgba(255, 59, 92, 0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(255, 59, 92, 0.12), transparent 60%),
    radial-gradient(700px 380px at 85% 0%, rgba(255, 120, 73, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 16px;
}
.brand-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 9px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  height: 38px;
  transition: border-color .2s, background .2s;
}
.search-form:focus-within { border-color: var(--accent); background: rgba(255, 255, 255, 0.07); }
.search-form input { background: transparent; border: none; outline: none; color: var(--text); font-size: 13px; width: 140px; }
.search-form input::placeholder { color: var(--text-muted); }
.search-form button { background: transparent; border: none; color: var(--text-muted); cursor: pointer; }
.search-form button:hover { color: var(--accent); }

.mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}
.mobile-drawer { display: none; border-top: 1px solid var(--border); background: var(--bg-elevated); }
.mobile-drawer.open { display: block; }
.mobile-drawer-inner { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 12px 24px; }
.mobile-drawer-inner a { font-size: 14px; color: var(--text); font-weight: 500; }
.mobile-search-form { display: flex; width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.mobile-search-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 14px; }
.mobile-search-form button { background: transparent; border: none; color: var(--accent); cursor: pointer; }

.hero { padding: 28px 0 22px; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: stretch; }
.hero-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #11131d;
  transition: border-color .25s, box-shadow .25s;
}
.hero-main:hover { border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hero-main:hover .hero-bg { transform: scale(1.03); }
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(180deg, rgba(7,8,13,0.05) 0%, rgba(7,8,13,0.72) 42%, rgba(7,8,13,0.96) 100%);
}
.hero-title { font-family: 'Unbounded', sans-serif; font-size: 25px; line-height: 1.25; margin: 12px 0 10px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-overlay p { color: #cbd5e1; margin: 0 0 14px; font-size: 14.5px; max-width: 92%; }

.hero-side { display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.side-card {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  transition: transform .2s, border-color .2s, background .2s;
}
.side-card:hover { transform: translateY(-2px); border-color: var(--border-hover); background: var(--bg-card-hover); }
.side-thumb { width: 118px; height: 82px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: #1d2030; }
.side-info { min-width: 0; }
.side-info h3 { margin: 6px 0 5px; font-size: 14.5px; line-height: 1.35; font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  width: fit-content;
}
.meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 14px; align-items: center; }

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.section-heading { font-family: 'Unbounded', sans-serif; font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; }
.section-heading i { color: var(--accent); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
}
.tab:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 59, 92, 0.28);
}

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45); }
.card-media { overflow: hidden; aspect-ratio: 16 / 9; background: #1a1d2c; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.card h2 { font-size: 16.5px; line-height: 1.38; margin: 10px 0 8px; font-weight: 600; }
.card p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; }

.article-wrap {
  max-width: 840px;
  margin: 28px auto 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--accent); }
.article-wrap h1 { font-family: 'Unbounded', sans-serif; font-size: 28px; line-height: 1.25; margin: 14px 0 14px; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; margin: 16px 0 24px; display: block; border: 1px solid var(--border); }
.article-body { font-size: 16.5px; color: #e2e8f0; line-height: 1.72; }
.article-body h2 { margin: 30px 0 12px; font-family: 'Unbounded', sans-serif; font-size: 19px; padding-left: 12px; border-left: 3px solid var(--accent); }
.article-body p { margin: 14px 0; }
.article-body ul { padding-left: 20px; }
.article-body li { margin: 6px 0; }

.promo-box {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.12), rgba(255, 120, 73, 0.06));
  border: 1px solid rgba(255, 59, 92, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.promo-box-text { flex: 1; min-width: 240px; font-size: 14px; color: #e2e8f0; }
.promo-box-text strong { color: #fff; }
.promo-cta {
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 59, 92, 0.3);
  transition: transform .2s;
}
.promo-cta:hover { transform: translateY(-1px); }

.related-section { max-width: 840px; margin: 0 auto 56px; }
.related-title { font-family: 'Unbounded', sans-serif; font-size: 17px; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: transform .2s, border-color .2s;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
.related-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #1d2030; }
.related-info { min-width: 0; }
.related-info h3 { margin: 5px 0 4px; font-size: 14px; line-height: 1.3; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 48px; }
.page-btn { padding: 8px 16px; border-radius: 10px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); transition: border-color .2s, background .2s; }
.page-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.page-info { font-size: 13px; color: var(--text-muted); }

.footer { border-top: 1px solid var(--border); background: #05060a; padding: 40px 0; color: var(--text-muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 13.5px; letter-spacing: 0.4px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-links, .search-form { display: none; }
  .mobile-btn { display: inline-flex; }
  .brand { margin-right: 0; }
  .brand-name { font-size: 15px; }
  .hero-main { min-height: 310px; }
  .hero-overlay { padding: 18px; }
  .hero-title { font-size: 19px; }
  .side-thumb { width: 92px; height: 64px; }
  .cards-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 20px; }
  .article-wrap h1 { font-size: 21px; }
}
