/* ============================================
   RMB99 三角洲辅助 - 暗红赛博风全局样式
   ============================================ */

:root {
  --bg-primary: #0a0608;
  --bg-secondary: #14090c;
  --bg-card: #1a0d11;
  --bg-card-hover: #221215;
  --red-primary: #e6142e;
  --red-glow: #ff2030;
  --red-dark: #8b0a1a;
  --red-darker: #4d0510;
  --text-primary: #f0e8e8;
  --text-secondary: #a09090;
  --text-muted: #6a5a5a;
  --border: #2a1518;
  --border-hover: #4a2025;
  --accent-gold: #c9a84c;
  --shadow-red: 0 0 20px rgba(230, 20, 46, 0.3);
  --shadow-red-strong: 0 0 40px rgba(230, 20, 46, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --radius: 6px;
  --radius-sm: 4px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-mono: "Consolas", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(230, 20, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 20, 46, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
}

/* 背景纹理叠加层 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 0%, rgba(230, 20, 46, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(139, 10, 26, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--red-glow);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold);
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   导航栏
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 6, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 6, 8, 0.98);
  border-bottom: 1px solid var(--red-dark);
  box-shadow: 0 2px 20px rgba(230, 20, 46, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}

.nav-logo .logo-accent {
  color: var(--red-glow);
  text-shadow: 0 0 10px rgba(230, 20, 46, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-menu li a {
  display: block;
  padding: 8px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--red-glow);
  background: rgba(230, 20, 46, 0.08);
}

.nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--red-glow);
  box-shadow: 0 0 8px var(--red-glow);
}

.nav-buy-btn {
  background: linear-gradient(135deg, var(--red-dark), var(--red-primary));
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(230, 20, 46, 0.3);
  transition: var(--transition);
}

.nav-buy-btn:hover {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow)) !important;
  box-shadow: 0 0 25px rgba(230, 20, 46, 0.6) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ============================================
   Hero 区域
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.1) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(10, 6, 8, 0.7) 0%,
    rgba(10, 6, 8, 0.5) 50%,
    rgba(10, 6, 8, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(230, 20, 46, 0.15);
  border: 1px solid var(--red-dark);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--red-glow);
  margin-bottom: 24px;
  letter-spacing: 2px;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(230, 20, 46, 0.4);
}

.hero-title .text-red {
  color: var(--red-glow);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-glow);
  font-family: var(--font-mono);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   按钮系统
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-dark), var(--red-primary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(230, 20, 46, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  color: #fff;
  box-shadow: 0 6px 30px rgba(230, 20, 46, 0.55);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--red-glow);
  color: var(--red-glow);
  box-shadow: 0 0 15px rgba(230, 20, 46, 0.2);
}

.btn-lg {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* ============================================
   通用 Section
   ============================================ */

.section {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-glow));
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   功能卡片
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--red-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red-darker), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 1px solid var(--red-dark);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li::before {
  content: '▸';
  color: var(--red-glow);
  flex-shrink: 0;
}

/* ============================================
   价格卡片
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.price-card:hover {
  border-color: var(--red-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.price-card.featured {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
}

.price-card.featured::after {
  content: '热门';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-dark), var(--red-glow));
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.price-name {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.price-amount .currency {
  font-size: 1.2rem;
  color: var(--red-glow);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '✓';
  color: var(--red-glow);
  font-weight: 700;
}

/* ============================================
   FAQ
   ============================================ */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--red-dark);
}

.faq-item.active {
  border-color: var(--red-primary);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--red-glow);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--red-glow);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   效果展示
   ============================================ */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.showcase-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.showcase-video-card:hover {
  border-color: var(--red-dark);
  box-shadow: var(--shadow-red);
}

.showcase-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}

.showcase-video-info {
  padding: 20px;
}

.showcase-video-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.showcase-video-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.showcase-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.showcase-image-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16/9;
  transition: var(--transition);
}

.showcase-image-item:hover {
  border-color: var(--red-glow);
  box-shadow: var(--shadow-red);
}

.showcase-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.showcase-image-item:hover img {
  transform: scale(1.05);
}

.showcase-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(transparent, rgba(10, 6, 8, 0.9));
  color: var(--text-primary);
  font-size: 0.85rem;
}

/* ============================================
   联系页面
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--red-dark);
  box-shadow: var(--shadow-red);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-darker), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--red-dark);
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================
   功能详情页（features.html 用）
   ============================================ */

.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail:nth-child(even) .feature-detail-text {
  order: 2;
}

.feature-detail:nth-child(even) .feature-detail-visual {
  order: 1;
}

.feature-detail-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-detail-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.feature-detail-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-detail-visual .placeholder {
  text-align: center;
  color: var(--text-muted);
}

.feature-detail-visual .placeholder span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.feature-detail-list {
  list-style: none;
  margin-top: 20px;
}

.feature-detail-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.feature-detail-list li:last-child {
  border-bottom: none;
}

.feature-detail-list li strong {
  color: var(--text-primary);
  min-width: 100px;
  flex-shrink: 0;
}

/* ============================================
   通用页面头部（子页面用）
   ============================================ */

.page-header {
  padding: 120px 20px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--red-glow);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

/* ============================================
   CTA 区域
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border-top: 1px solid var(--red-dark);
  border-bottom: 1px solid var(--red-dark);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 20px 30px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: var(--red-glow);
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-muted);
}

/* ============================================
   动画
   ============================================ */

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 15px rgba(230, 20, 46, 0.3); }
  50% { box-shadow: 0 0 30px rgba(230, 20, 46, 0.6); }
}

.pulse {
  animation: pulse-red 2s infinite;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

.fade-in.visible {
  animation: fade-in-up 0.6s ease forwards;
}

/* ============================================
   响应式
   ============================================ */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 10px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-detail {
    grid-template-columns: 1fr;
  }

  .feature-detail:nth-child(even) .feature-detail-text {
    order: 1;
  }

  .feature-detail:nth-child(even) .feature-detail-visual {
    order: 2;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 50px 16px;
  }

  .page-header {
    padding: 100px 16px 40px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* ============================================
   博客列表页
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--red-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.blog-card-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.blog-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-thumbnail img {
  transform: scale(1.05);
}

.blog-card-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(10, 6, 8, 0.85);
  border: 1px solid var(--red-dark);
  border-radius: 3px;
  font-size: 0.75rem;
  color: var(--red-glow);
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.blog-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-primary);
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--red-glow);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-link {
  gap: 12px;
}

.blog-coming-soon {
  text-align: center;
  padding: 60px 20px;
}

.blog-coming-soon h3 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.blog-coming-soon p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
