:root {
  --bg: #050505;
  --bg-card: #111111;
  --bg-card-soft: #181818;
  --accent: #f9ff00;
  --text: #ffffff;
  --muted: #a3a3a3;
  --border: #2b2b2b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #151515 0, #050505 45%, #000 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

/* Header / Nav */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #000;
  border: 1px solid #202020;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
}

.logo-text-main {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.logo-pill {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 6px 6px 6px 0;
  margin-left: 10px;
}

.logo-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.18s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(249,255,0,0.06);
}

.nav-link.active {
  color: #000;
  background: var(--accent);
  font-weight: 600;
}

.nav-cta {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.78rem;
  background: rgba(0,0,0,0.35);
  transition: 0.18s ease;
}

.nav-cta:hover {
  background: rgba(249,255,0,0.1);
  border-color: rgba(249,255,0,0.6);
}

/* Layout: Hero + Sidebar */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1.1fr);
  gap: 20px;
}

@media (max-width: 840px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* Hero Card */
.hero-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #151515 0%, #060606 60%, #181818 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.hero-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #000;
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(249,255,0,0.6);
}

.badge-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,255,0,0.35);
}

.hero-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-primary {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 0.86rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(249,255,0,0.25);
}

.btn-ghost {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.18s ease;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-highlight {
  position: absolute;
  inset: auto -120px -130px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(249,255,0,0.22) 0, transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

/* Article Grid */
.section-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 18px 2px 10px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  border: 1px solid var(--border);
  transition: 0.18s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249,255,0,0.45);
  box-shadow: 0 12px 24px rgba(0,0,0,0.55);
}

.article-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.article-chip {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.article-time {
  font-size: 0.7rem;
  color: var(--muted);
}

.article-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.article-desc {
  font-size: 0.83rem;
  color: var(--muted);
}

/* Sidebar */
.sidebar-card {
  background: var(--bg-card-soft);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-item {
  padding: 9px 0;
  border-bottom: 1px dashed #292929;
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-item a {
  font-size: 0.86rem;
  display: block;
}

.sidebar-item span {
  font-size: 0.74rem;
  color: var(--muted);
}

.newsletter {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #292929;
}

.newsletter p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsletter-input {
  flex: 1 1 140px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #050505;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: #555;
}

.newsletter-button {
  padding: 8px 13px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #000;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.18s ease;
}

.newsletter-button:hover {
  filter: brightness(1.05);
}

/* Footer */
footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #181818;
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}
/* TABLET ─ Medium Screens */
@media (max-width: 900px) {

  .page {
    padding: 16px 14px 40px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  footer {
    font-size: 0.72rem;
  }
}

/* PHONE ─ Small Screens */
@media (max-width: 600px) {

  /* Header Scale */
  .logo-box {
    padding: 6px 10px;
  }

  .logo-text-main {
    font-size: 0.75rem;
  }

  .logo-tagline {
    font-size: 0.68rem;
  }

  nav {
    gap: 6px;
  }

  .nav-link,
  .nav-cta {
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  /* Hero Section */
  .hero-card {
    padding: 16px 14px;
  }

  .hero-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Article List */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-card {
    padding: 12px 12px;
  }

  .article-title {
    font-size: 0.9rem;
  }

  .article-desc {
    font-size: 0.78rem;
  }

  .article-time {
    font-size: 0.68rem;
  }

  /* Sidebar moves down + full width */
  aside {
    width: 100%;
    margin-top: 18px;
  }

  .sidebar-card {
    padding: 14px 12px;
  }

  /* Footer stacked */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.7rem;
  }
}
