/*
Theme Name: ScienceHub
Theme URI: https://sciencehubb.com
Author: Antigravity IDE
Description: A premium, ultra-fast educational theme custom-built for ScienceHub.
Version: 1.0.0
*/

/* ====== DESIGN TOKENS ====== */
:root {
  --bg-main: #F8FBFF;
  --bg-gray: #F1F5F9;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #0F172A;
  --accent-orange: #F97316;
  --accent-green: #22C55E;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-soft: 0px 15px 40px rgba(0,0,0,0.05);
}

/* ====== GLOBAL RESET ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-navy);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; cursor: pointer; border: none; font-family: var(--font-heading); transition: transform 0.3s; }
.btn:hover { transform: scale(1.05); }
.btn-primary { background: var(--primary); color: var(--white); border-radius: 14px; padding: 12px 28px; }

/* ====== HEADER ====== */
header { background: #fff; padding: 20px 0 0 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-soft); }
.header-container { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 32px; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text span { font-size: 10px; color: var(--text-muted); font-weight: 500; font-family: var(--font-body); letter-spacing: 1px; margin-top: 2px; text-transform: uppercase; }
/* Slider Container */
.nav-slider-container { width: 100%; max-width: 1100px; position: relative; overflow: hidden; padding-bottom: 20px; margin: 5px auto 0 auto; }
.nav-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 15px 30px 0 30px; }
.nav-track::-webkit-scrollbar { display: none; }

.nav-track a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 15px; white-space: nowrap; padding: 10px 20px; background: #F1F5F9; border-radius: 50px; transition: background 0.3s, color 0.3s; user-select: none; }
.nav-track a:hover { background: var(--primary); color: #fff; }

.nav-badge { position: absolute; top: -10px; left: -8px; color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; overflow: hidden; }
.nav-badge.new { background: #EF4444; box-shadow: 0 2px 4px rgba(239,68,68,0.4); }
.nav-badge.game { background: #8B5CF6; box-shadow: 0 2px 4px rgba(139,92,246,0.4); }
.nav-badge.shiny::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%); transform: skewX(-20deg); animation: badge-shine 3s infinite; }

@keyframes badge-shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.hover-zone { position: absolute; top: 0; bottom: 20px; width: 250px; z-index: 10; pointer-events: none; display: none; }
.hover-zone.left { left: 0; background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 40px, transparent 250px); }
.hover-zone.right { right: 0; background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 40px, transparent 250px); }

@media (min-width: 768px) { .hover-zone { display: block; } }

.nav-hint-arrow { position: absolute; top: calc(50% - 10px); background: rgba(37, 99, 235, 0.9); color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 20; pointer-events: none; opacity: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.nav-hint-arrow.left { left: 10px; animation: slideOutLeft 3.5s forwards; }
.nav-hint-arrow.right { right: 10px; animation: slideOutRight 3.5s forwards; }

@keyframes slideOutLeft {
  0% { opacity: 0; transform: translateY(-50%) scale(0.5); }
  10% { opacity: 1; transform: translateY(-50%) scale(1.2); }
  15% { opacity: 1; transform: translateY(-50%) scale(1); }
  80% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(-100px); }
}
@keyframes slideOutRight {
  0% { opacity: 0; transform: translateY(-50%) scale(0.5); }
  10% { opacity: 1; transform: translateY(-50%) scale(1.2); }
  15% { opacity: 1; transform: translateY(-50%) scale(1); }
  80% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(100px); }
}
.hero { padding: 20px 0; background: var(--bg-main); overflow: hidden; }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; max-width: 600px; }
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.1; margin-bottom: 15px; color: var(--text-main); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; max-width: 500px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 15px; }
.btn-hero-outline { background: transparent; color: var(--secondary); border: 2px solid #E2E8F0; border-radius: 14px; padding: 12px 28px; }
.hero-image { flex: 1; position: relative; text-align: center; max-width: 600px; margin: 0 auto; z-index: 2; }
.mobile-swipe-indicator { display: none; }
.hero-arrow-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.15); cursor: pointer; z-index: 30; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-main); transition: all 0.3s ease; }
.hero-arrow-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-50%) scale(1.1); }
.hero-arrow-btn.left { left: -22px; }
.hero-arrow-btn.right { right: -22px; }
@media (max-width: 768px) {
  .hero-arrow-btn.left { left: 5px; }
  .hero-arrow-btn.right { right: 5px; }
}
.hero-slider-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; border-radius: 20px; box-shadow: var(--shadow-soft); }
.hero-slider-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; background: #fff; }
.hero-media-element { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 12px; }
.unmute-btn { position: absolute; bottom: 20px; right: 20px; background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 50px; padding: 8px 15px; font-size: 13px; font-weight: 600; cursor: pointer; z-index: 30; display: flex; align-items: center; gap: 8px; transition: background 0.3s; }
.unmute-btn:hover { background: rgba(0,0,0,0.8); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* ====== FEATURES ====== */
.features { padding: 40px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature-card { background: var(--white); border-radius: 20px; padding: 25px 20px; text-align: center; box-shadow: var(--shadow-soft); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--white); margin: 0 auto 15px; }
.feature-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 5px; font-family: var(--font-heading); }
.feature-desc { font-size: 12px; color: var(--text-muted); }

/* ====== DID YOU KNOW ====== */
.did-you-know { padding: 60px 0; background: #fefce8; text-align: center; }
.did-you-know h2 { font-size: 24px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; justify-content: center; gap: 10px; }
.did-you-know p { color: var(--text-muted); font-size: 14px; margin-top: 5px; margin-bottom: 30px; }
.fact-marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; padding: 20px 0; position: relative; }
.fact-marquee-wrapper::before, .fact-marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 50px; height: 100%; z-index: 2; pointer-events: none; }
.fact-marquee-wrapper::before { left: 0; background: linear-gradient(to right, #fefce8, transparent); }
.fact-marquee-wrapper::after { right: 0; background: linear-gradient(to left, #fefce8, transparent); }

.fact-marquee-track { display: inline-flex; animation: train-scroll 20s linear infinite; }
.fact-marquee-track:hover { animation-play-state: paused; }

.fact-item { display: inline-flex; align-items: center; gap: 15px; text-align: left; width: 250px; flex-shrink: 0; padding: 0 20px; white-space: normal; }
.fact-item img { width: 50px; height: 50px; object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.fact-item div { font-size: 13px; font-weight: 600; color: var(--text-main); line-height: 1.4; }

@keyframes train-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== ARTICLE CARDS SECTION ====== */
.article-cards-section { padding: 0 0 60px 0; background: var(--bg-main); }
.article-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.ac-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1.5px solid rgba(0,0,0,0.06);
  cursor: pointer;
}
.ac-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

/* Image area */
.ac-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0F172A;
  border-radius: 14px 14px 0 0;
}
.ac-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.ac-card:hover .ac-image-wrap img { transform: scale(1.06); }

/* Shine overlay on image */
.ac-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 70%
  );
  background-size: 250% 100%;
  background-position: 200% center;
  animation: ac-image-shine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes ac-image-shine {
  0%   { background-position: 200% center; }
  40%  { background-position: -50% center; }
  100% { background-position: 200% center; }
}



/* Card footer / button area */
.ac-footer {
  padding: 8px 14px;
  background: #F8FBFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button — matches NEW label design exactly */
.ac-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 9px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #fff;
  background: #EF4444; /* Matches NEW label */
  box-shadow: 0 2px 4px rgba(239,68,68,0.4);
  transition: filter 0.3s ease, transform 0.2s ease;
}
.ac-card:hover .ac-btn { filter: brightness(1.12); transform: scale(1.02); }

/* Shiny sweep — same badge-shine animation as NEW label */
.ac-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.75) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: badge-shine 3s infinite;
}

/* Remove old span-based shine — no longer needed */
.ac-btn-shine { display: none; }

/* Experiment button — matches GAME label design (purple) */
.ac-btn.experiment {
  background: #8B5CF6;
  box-shadow: 0 2px 4px rgba(139,92,246,0.4);
}

/* ====== POPULAR CATEGORIES ====== */
.categories { padding: 50px 0; background: var(--bg-gray); }
.section-title { text-align: center; font-size: 32px; margin-bottom: 40px; font-weight: 800; color: var(--secondary); }
.cat-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.cat-card { flex: 1 1 calc(25% - 20px); min-width: 220px; height: 160px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 18px; transition: transform 0.3s; }
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.cat-card i { font-size: 36px; margin-bottom: 10px; }

/* ====== EXPERIMENT & DAILY CHALLENGE ====== */
.split-section { padding: 60px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split-card { background: var(--white); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; align-items: center; }
.split-image { flex: 1; height: 100%; min-height: 300px; background-size: cover; background-position: center; }
.experiment-card { flex: 1; padding: 40px; }
.tag { display: inline-block; padding: 6px 12px; background: #DBEAFE; color: var(--primary); font-size: 12px; font-weight: 700; border-radius: 20px; margin-bottom: 15px; font-family: var(--font-heading); }
.experiment-card h3 { font-size: 28px; margin-bottom: 15px; }
.experiment-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 25px; }
.challenge-card { flex: 1; padding: 40px; background: var(--bg-main); display: flex; flex-direction: column; justify-content: center; position: relative; }
.challenge-card h3 { font-size: 28px; margin-bottom: 15px; color: var(--secondary); }
.challenge-card p { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 25px; line-height: 1.6; }
.boy-image { position: absolute; right: 20px; bottom: 0; height: 180px; object-fit: contain; }
.answer-box { margin-top: 15px; padding: 15px; background: #e0e7ff; border-radius: 12px; font-weight: 600; color: var(--primary); display: none; }

/* ====== STATISTICS ====== */
.stats { background: var(--primary); color: var(--white); padding: 50px 0; }
.stats-grid { display: flex; justify-content: space-between; align-items: center; }
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.2); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.stat-number { font-size: 32px; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.9; }

/* ====== WHY CHOOSE US ====== */
.why-us { padding: 60px 0; background: var(--bg-gray); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-card { background: var(--white); padding: 30px; border-radius: 24px; box-shadow: var(--shadow-soft); display: flex; align-items: flex-start; gap: 20px; }
.why-card i { font-size: 32px; color: var(--primary); }
.why-card h4 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* ====== LATEST ARTICLES ====== */
.articles { padding: 60px 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); text-decoration: none; color: inherit; transition: transform 0.3s; }
.article-card:hover { transform: translateY(-10px); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-info { padding: 25px; }
.article-meta-small { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.article-info h4 { font-size: 20px; margin-bottom: 10px; }
.article-info p { font-size: 14px; color: var(--text-muted); }

/* ====== SINGLE ARTICLE PAGES ====== */
.article-header { background: var(--white); padding: 80px 0 60px; text-align: center; }
.article-header .container { max-width: 100%; padding: 0 40px; }
.category-tag { display: inline-block; background: #DBEAFE; color: #1D4ED8; padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px; font-family: var(--font-heading); }
.article-title { font-size: 48px; max-width: 900px; margin: 0 auto 30px; }

.author-box { display: flex; align-items: center; gap: 30px; background: var(--white); border: 1px solid #E2E8F0; border-radius: 16px; padding: 30px; margin: 30px auto 0; max-width: 800px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.author-avatar { flex-shrink: 0; width: 140px; height: 140px; background: #E8F4FA; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.author-info { flex: 1; text-align: left; }
.author-label { font-size: 12px; font-weight: 700; color: #3B82F6; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; position: relative; display: inline-block; padding-bottom: 6px; }
.author-label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: #3B82F6; }
.author-name { font-size: 26px; font-weight: 800; color: #0F172A; margin-bottom: 12px; font-family: var(--font-heading); }
.author-bio { font-size: 15px; color: #475569; line-height: 1.7; margin: 0; }
.author-read-more { color: #3B82F6; font-weight: 600; text-decoration: none; background: #EFF6FF; padding: 2px 8px; border-radius: 4px; transition: all 0.3s; margin-left: 5px; }
.author-read-more:hover { background: #DBEAFE; color: #1D4ED8; }

.article-container { max-width: 100%; margin: 60px auto; padding: 0 40px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 60px; }
.article-content { background: var(--white); padding: 60px; border-radius: 32px; box-shadow: var(--shadow-soft); font-size: 18px; color: var(--text-main); }
.article-featured-image { width: 100%; height: auto; border-radius: 20px; margin-bottom: 40px; }
.article-content h1, .article-content h2 { font-size: 32px; margin: 50px 0 20px; padding-bottom: 15px; border-bottom: 2px solid #F1F5F9; }
.article-content h3 { font-size: 24px; margin: 40px 0 15px; }
.article-content p { margin-bottom: 25px; }
.article-content blockquote { background: #F8FAFC; border-left: 5px solid var(--primary); padding: 30px; margin: 40px 0; font-style: italic; font-size: 20px; border-radius: 0 16px 16px 0; color: var(--secondary); }
.article-content ul, .article-content ol { margin: 0 0 30px 25px; }
.article-content li { margin-bottom: 12px; }
.article-content img { max-width: 100%; border-radius: 16px; margin: 30px 0; height: auto; }

.sidebar { display: flex; flex-direction: column; gap: 40px; }
.sidebar-widget { background: var(--white); padding: 30px; border-radius: 24px; box-shadow: var(--shadow-soft); }
.sidebar-widget h3 { font-size: 20px; margin-bottom: 20px; border-bottom: 2px solid #F1F5F9; padding-bottom: 10px; }
.sidebar-search { width: 100%; padding: 15px 20px; border-radius: 12px; border: 1px solid #E2E8F0; font-family: var(--font-body); font-size: 16px; background: #F8FAFC; }
.sidebar-list { list-style: none; margin: 0; }
.sidebar-list li { margin-bottom: 15px; }
.sidebar-list a { color: #475569; text-decoration: none; font-weight: 500; transition: color 0.3s; display: flex; justify-content: space-between; }
.sidebar-list a:hover { color: var(--primary); }

/* ====== FOOTER ====== */
footer { background: var(--secondary); color: var(--white); padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 40px;}
.footer-logo { font-family: var(--font-heading); font-size: 32px; font-weight: 800; margin-bottom: 20px; color: var(--white); }
.footer-col p { opacity: 0.8; font-size: 16px; }
.footer-col h3 { font-size: 24px; margin-bottom: 25px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.social-icons { display: flex; gap: 20px; margin-top: 30px; }
.social-icons i { font-size: 28px; cursor: pointer; }
.newsletter-input { display: flex; gap: 10px; margin-top: 15px; }
.newsletter-input input { flex: 1; padding: 10px 15px; border-radius: 6px; border: none; font-size: 13px; }
.bottom-bar { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; opacity: 0.7;}

/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 1024px) {
  .article-container { grid-template-columns: 1fr; }
  .article-title { font-size: 36px; }
  .article-content { padding: 40px; }
  .article-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 15px; }
  header { height: auto; padding: 15px 0 0 0; }
  .header-container { flex-direction: column; gap: 15px; }
  .nav-slider-container { width: 100vw; max-width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; border-radius: 0; }
  .nav-track { gap: 10px; padding: 15px 20px 0 20px; }
  .nav-track a { font-size: 13px; padding: 8px 14px; }
  .nav-hint-arrow { width: 30px; height: 30px; font-size: 12px; }
  .header-container .btn { display: none; }
  .article-cards-section { padding: 30px 0; }
  .article-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
    gap: 10px;
  }
  .ac-btn {
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 30px;
  }
  .ac-footer {
    padding: 6px;
  }.hero { padding: 20px 0; }
  .hero-container { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .hero-buttons .btn, .btn-hero-outline { width: 100%; justify-content: center; }
  .hero-image img { width: 100%; max-width: 100%; }
  
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  
  .did-you-know h2 { font-size: 18px; }
  
  .cat-grid { gap: 10px; }
  .cat-card { flex: 1 1 calc(50% - 10px); min-width: 140px; height: 130px; font-size: 15px; }
  
  .split-grid { grid-template-columns: 1fr; }
  .split-card { flex-direction: column; text-align: center; }
  .split-image { width: 100%; min-height: 250px; }
  .experiment-card { padding: 20px; }
  .boy-image { position: static; height: 120px; margin-top: 20px; }
  
  .stats-grid { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .stat-item { flex-direction: column; width: 40%; text-align: center; }
  
  .why-grid { grid-template-columns: 1fr; }
  .why-card { flex-direction: column; text-align: center; align-items: center; }
  
  .article-grid { grid-template-columns: 1fr; }
  
  .article-header { padding: 40px 0; }
  .article-title { font-size: 28px; }
  .author-box { flex-direction: column; text-align: center; padding: 25px 20px; }
  .author-info { text-align: center; }
  .author-label::after { left: 50%; transform: translateX(-50%); }
  
  .article-container { grid-template-columns: 1fr; padding: 0 !important; margin: 30px 0; gap: 40px; }
  .article-content { padding: 25px 20px !important; font-size: 16px; border-radius: 0 !important; box-shadow: none !important; }
  .sidebar { padding: 0 20px; }
  .article-content h1, .article-content h2 { font-size: 24px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-about div { justify-content: center; display: flex; }
  .newsletter-input { flex-direction: column; }
  .bottom-bar { flex-direction: column; gap: 10px; }
  
  .mobile-swipe-indicator {
    display: block;
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
    white-space: nowrap;
  }
}

/* ====== COMMENTS SECTION ====== */
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #E2E8F0;
}
.comments-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.comments-title i {
  color: var(--primary);
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}
.comment-list .comment {
  margin-bottom: 30px;
}
.comment-body {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.comment-author img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  object-fit: cover;
}
.comment-author .fn {
  font-weight: 600;
  color: var(--text-main);
  font-size: 15px;
}
.comment-author .fn a {
  color: inherit;
  text-decoration: none;
}
.comment-metadata a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}
.comment-content p {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}
.reply a {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.reply a:hover {
  text-decoration: underline;
}
.comment-list .children {
  list-style: none;
  padding-left: 30px;
  margin-top: 30px;
  border-left: 2px solid #E2E8F0;
}
.comment-reply-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary);
}
.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}
.comment-form .submit-comment {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-family: inherit;
  font-size: 15px;
  display: inline-block;
  margin-top: 10px;
}
.comment-form .submit-comment:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.comment-notes, .logged-in-as {
  font-size: 14px;
  color: var(--text-muted);
}
