/* Base */
body.blog-page {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #000000 100%);
  color: #f1f5f9;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  padding-top: 0;
}

.blog-page section { opacity: 1 !important; transform: none !important; }

.blog-shell {
  position: relative;
  min-height: 100vh;
  padding-bottom: 60px;
}
.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}
.bg-glow-1 { top: -80px; right: 15%; background: #22c55e; }
.bg-glow-2 { bottom: -60px; left: 10%; background: #0ea5e9; }

.container-xl {
  width: min(1200px, 94vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero */
.blog-hero { padding: 120px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}
.hero-copy { display: grid; gap: 16px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  font-weight: 700;
  color: #34d399;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.25);
}
.hero-badge .divider {
  width: 1px; height: 18px; background: rgba(52, 211, 153, 0.45);
}
.hero-badge .muted { color: #a5f3fc; font-weight: 600; }

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
  margin: 0;
}
.hero-title .gradient {
  display: block;
  background: linear-gradient(90deg, #34d399, #22c55e, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary-hero,
.btn-outline-hero {
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn-primary-hero {
  background: linear-gradient(135deg, #0ea64a, #0eb46c);
  color: #fff;
  box-shadow: 0 16px 30px rgba(14, 182, 90, 0.3);
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(14, 182, 90, 0.4); }
.btn-outline-hero {
  background: rgba(15, 23, 42, 0.45);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.btn-outline-hero:hover { transform: translateY(-2px); border-color: rgba(52, 211, 153, 0.5); color: #34d399; }
.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 110px;
  backdrop-filter: blur(6px);
}
.stat-label { margin: 0; color: #94a3b8; font-weight: 700; font-size: 0.85rem; }
.stat-value { margin: 0; color: #fff; font-weight: 900; font-size: 1.3rem; }

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-card-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 60%);
  filter: blur(24px);
}
.hero-cover {
  position: relative;
  width: 340px;
  height: 480px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.3), transparent);
}
.hero-cover-tags {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.8rem;
}
.tag.latest { background: #fbbf24; color: #0f172a; }
.tag.issue { background: rgba(15, 23, 42, 0.85); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.5); }
.hero-cover-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}
.hero-cover-info h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 900; }
.hero-cover-info .issue { margin: 0; color: #059669; font-weight: 800; }
.hero-cover-info .subtitle { margin: 2px 0 12px; color: #475569; font-weight: 600; font-size: 0.9rem; }
.hero-float {
  position: absolute;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.hero-float-1 { top: -14px; left: -14px; transform: rotate(-10deg); }
.hero-float-2 { bottom: -16px; right: -12px; transform: rotate(12deg); }

/* Section head */
.section-head { margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 10px 0 8px;
}
.section-head p { color: #cbd5e1; margin: 0 auto; max-width: 720px; line-height: 1.6; }
.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0b1224;
  box-shadow: 0 14px 30px rgba(34,197,94,0.3);
}
.icon-pill.teal { background: linear-gradient(135deg, #0ea5e9, #06b6d4); box-shadow: 0 14px 30px rgba(6,182,212,0.25); }
.gradient-text { background: linear-gradient(90deg, #22c55e, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text.teal { background: linear-gradient(90deg, #0ea5e9, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Magazines */
.mag-section { padding: 40px 0 20px; }
.mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.mag-card {
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(226,232,240,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mag-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(0,0,0,0.4); border-color: rgba(34,197,94,0.35); }
.mag-thumb { position: relative; height: 200px; overflow: hidden; }
.mag-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.mag-body { padding: 16px; display: grid; gap: 10px; }
.mag-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  font-weight: 800; font-size: 0.78rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.mag-title { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 900; }
.mag-sub { margin: 0; color: #cbd5e1; font-size: 0.9rem; }
.mag-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #94a3b8; font-weight: 700; font-size: 0.85rem; }
.future-card {
  margin-top: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15,23,42,0.4);
  padding: 14px;
}
.future-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: #e2e8f0;
}
.future-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(34, 197, 94, 0.15);
  display: grid; place-items: center; color: #22c55e;
}
.future-inner h4 { margin: 0 0 4px; font-weight: 900; }
.future-inner p { margin: 0; color: #cbd5e1; }

/* Blogs */
.blog-section { padding: 50px 0 30px; }
.trending {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.trending-bg {
  position: absolute;
  inset: 0;
  filter: blur(22px);
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 60%);
}
.trending-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #0b1224;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(14,165,233,0.25);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.blog-card {
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  gap: 0;
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(6,182,212,0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.blog-thumb { position: relative; height: 180px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); }
.blog-body { padding: 14px; display: grid; gap: 8px; }
.blog-date { color: #94a3b8; font-weight: 700; font-size: 0.82rem; display: flex; gap: 6px; align-items: center; }
.blog-title { margin: 0; color: #fff; font-weight: 900; font-size: 1.05rem; line-height: 1.4; }
.blog-excerpt { margin: 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.5; }
.blog-footer {
  border-top: 1px solid rgba(148,163,184,0.16);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.85rem;
}
.blog-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0b1224;
  display: grid; place-items: center;
  font-weight: 900;
}
.load-more { margin-top: 22px; display: flex; justify-content: center; }

/* Newsletter */
.newsletter {
  margin: 40px auto 0;
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.04);
  padding: 28px 18px;
}
.newsletter-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1759579725295-320b3e97f71b?w=1200') center/cover no-repeat;
  opacity: 0.1;
}
.newsletter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  gap: 12px;
  color: #e2e8f0;
}
.newsletter-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0b1224;
  display: grid; place-items: center;
  margin: 0 auto;
}
.newsletter h3 { margin: 0; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; }
.newsletter p { margin: 0; color: #cbd5e1; }
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.newsletter-form input {
  flex: 1 1 240px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.3);
  background: rgba(15,23,42,0.6);
  color: #e2e8f0;
}
.newsletter-form input:focus { outline: 1px solid #22c55e; }

/* Glass helper */
.glass {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero { padding: 90px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }
  .hero-stats { gap: 8px; }
  .hero-cover { width: 100%; max-width: 320px; height: 440px; }
  .hero-grid { gap: 20px; }
  .section-head { margin-bottom: 24px; }
  .mag-grid, .blog-grid { gap: 12px; }
  .newsletter { padding: 22px 14px; }
}
