/* 888bet casino - Complete Style System */
/* Original design - not copied from competitor */

:root {
  --c-primary: #0369a1;
  --c-primary-light: #0ea5e9;
  --c-primary-dark: #075985;
  --c-accent: #f59e0b;
  --c-accent-light: #fbbf24;
  --c-success: #10b981;
  --c-danger: #ef4444;
  --c-bg-body: #0f172a;
  --c-bg-section: #1e293b;
  --c-bg-card: #1e3a5f;
  --c-bg-card-alt: #162033;
  --c-text: #e2e8f0;
  --c-text-muted: #94a3b8;
  --c-text-dim: #64748b;
  --c-border: rgba(14,165,233,0.15);
  --c-border-strong: rgba(14,165,233,0.3);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.18);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.22);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.28);
  --header-h: 72px;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--c-bg-body);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-accent); }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, #0c1929 0%, #0f172a 50%, #0c1929 100%);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.brand-wrap {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.brand-text {
  min-width: 0;
  line-height: 1.05;
}

.brand-text strong,
.brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.brand-text span {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-primary-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 18px);
  overflow: visible;
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #fff;
  background: var(--c-primary);
}

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-register {
  background: var(--c-accent);
  color: #1a1a2e !important;
}
.btn-register:hover {
  background: var(--c-accent-light);
  color: #1a1a2e !important;
}

.btn-login {
  background: transparent;
  border: 2px solid var(--c-primary-light) !important;
  color: var(--c-primary-light) !important;
}
.btn-login:hover {
  background: var(--c-primary);
  color: #fff !important;
  border-color: var(--c-primary) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ===== MORE MENU ===== */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
  background: rgba(14,165,233,0.1);
  transition: background 0.2s;
}
.more-toggle:hover { background: rgba(14,165,233,0.2); }

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 16px;
  z-index: 1200;
  background: var(--c-bg-section);
  border: 1px solid var(--c-border-strong);
  box-shadow: var(--shadow-lg);
}

.more-menu[hidden] {
  display: none !important;
}

.nav-more.is-open .more-menu {
  display: grid;
  gap: 4px;
}

.more-menu a {
  display: block;
  width: 100%;
  max-width: none;
  padding: 11px 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.more-menu a:hover { background: rgba(14,165,233,0.12); color: #fff; }
.more-menu a.active { background: var(--c-primary); color: #fff; }

/* ===== MOBILE HEADER ===== */
@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: 140px 1fr auto;
    gap: 10px;
  }

  .brand-wrap {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 48px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-text strong,
  .brand-text span {
    max-width: 86px;
  }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--c-bg-section);
    border: 1px solid var(--c-border-strong);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    font-size: 0.95rem;
  }

  .nav-more {
    display: none !important;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: rgba(15,23,42,0.85);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
  font-size: 0.82rem;
}
.breadcrumb-bar a { color: var(--c-primary-light); }
.breadcrumb-bar span { color: var(--c-text-muted); }
.breadcrumb-bar .sep { margin: 0 8px; color: var(--c-text-dim); }

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, #0c1929 0%, #0f172a 40%, #1e293b 100%);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(14,165,233,0.12);
  border: 1px solid var(--c-primary-light);
  color: var(--c-primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--c-primary-light); font-style: normal; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--c-accent); }
.hero-stat span { font-size: 0.78rem; color: var(--c-text-muted); }

.hero-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.hero-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-center h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { order: -1; }
}

/* ===== CTA BUTTONS ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-cta-primary {
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(3,105,161,0.35);
}
.btn-cta-primary:hover {
  background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  transform: translateY(-2px);
}
.btn-cta-outline {
  background: transparent;
  border: 2px solid var(--c-primary-light);
  color: var(--c-primary-light);
}
.btn-cta-outline:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-cta-accent {
  background: var(--c-accent);
  color: #1a1a2e;
}
.btn-cta-accent:hover {
  background: var(--c-accent-light);
  color: #1a1a2e;
  transform: translateY(-2px);
}
.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTION STYLES ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--c-bg-section); }
.section-dark { background: #0c1929; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  color: var(--c-primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.section-header h2 em { color: var(--c-primary-light); font-style: normal; }
.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  border-radius: 4px;
  margin: 16px auto 20px;
}
.section-header p {
  color: var(--c-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .card-grid-4, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-4, .card-grid-3, .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--c-primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(14,165,233,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: var(--c-primary-light);
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}

/* ===== CONTENT GRID (text + image) ===== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: start;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
}

/* ===== PROSE (Long-form content) ===== */
.prose { max-width: 820px; }
.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin: 42px 0 16px;
  line-height: 1.3;
}
.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #e2e8f0;
  margin: 28px 0 12px;
  line-height: 1.35;
}
.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--c-text-muted);
}
.prose ul, .prose ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--c-text-muted);
}
.prose li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.prose li::marker { color: var(--c-primary-light); }
.prose img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.prose a { color: var(--c-primary-light); text-decoration: underline; }
.prose a:hover { color: var(--c-accent); }

@media (max-width: 900px) {
  .prose p { font-size: 16px; line-height: 1.85; }
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--c-bg-card-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
}
.step-card:hover { border-color: var(--c-primary-light); }
.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: var(--c-text-muted); line-height: 1.75; }

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps-grid { grid-template-columns: 1fr; } }

/* ===== COMPARISON TABLE ===== */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  font-size: 0.9rem;
}
.compare-table thead th:first-child { background: var(--c-bg-card); color: var(--c-text-muted); text-align: left; }
.compare-table thead th:nth-child(2) { background: var(--c-primary); color: #fff; text-align: center; font-weight: 700; }
.compare-table thead th:nth-child(3) { background: #334155; color: #94a3b8; text-align: center; }
.compare-table td { background: var(--c-bg-card); border-bottom: 1px solid var(--c-border); }
.compare-table td:nth-child(2) { background: rgba(14,165,233,0.06); text-align: center; color: var(--c-primary-light); font-weight: 600; }
.compare-table td:nth-child(3) { background: rgba(51,65,85,0.4); text-align: center; color: #94a3b8; }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--c-bg-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--c-primary-light);
  background: linear-gradient(180deg, rgba(14,165,233,0.15) 0%, var(--c-bg-card) 100%);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(14,165,233,0.2);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #1a1a2e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-plan { font-size: 0.82rem; font-weight: 700; color: var(--c-primary-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.1rem; color: var(--c-primary-light); }
.pricing-period { font-size: 0.8rem; color: var(--c-text-muted); margin-bottom: 22px; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 24px; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: 0.88rem; color: var(--c-text-muted); border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: 10px; }
.pricing-features li .check { color: var(--c-success); font-weight: 700; }
.pricing-features li .cross { color: var(--c-text-dim); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
}

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: all 0.3s;
}
.testi-card:hover { border-color: var(--c-primary-light); }
.testi-stars { color: var(--c-accent); font-size: 0.9rem; margin-bottom: 12px; }
.testi-text { font-size: 0.92rem; color: var(--c-text-muted); line-height: 1.85; font-style: italic; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.testi-city { font-size: 0.78rem; color: var(--c-text-muted); }

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

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--c-bg-card);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(14,165,233,0.06); }
.faq-q .arrow { transition: transform 0.3s; color: var(--c-primary-light); font-size: 1.2rem; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.85;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===== NOTICE / ALERT ===== */
.notice {
  border-left: 4px solid var(--c-primary-light);
  background: rgba(14,165,233,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.notice-warn {
  border-left-color: var(--c-accent);
  background: rgba(245,158,11,0.06);
}
.notice h4 { color: var(--c-primary-light); font-size: 0.95rem; margin-bottom: 8px; }
.notice-warn h4 { color: var(--c-accent); }
.notice p { font-size: 0.88rem; color: var(--c-text-muted); line-height: 1.8; margin: 0; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  padding: 48px 0;
  text-align: center;
}
.promo-banner h2 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.promo-banner p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin-bottom: 22px; }
.btn-promo {
  background: #fff;
  color: var(--c-primary-dark);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-promo:hover { background: #f0f9ff; transform: translateY(-2px); color: var(--c-primary-dark); }

/* ===== RESPONSIBLE GAMING ===== */
.resp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.resp-card {
  background: var(--c-bg-card-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
}
.resp-card:hover { border-color: var(--c-success); transform: translateY(-3px); }
.resp-icon { font-size: 2rem; color: var(--c-success); margin-bottom: 14px; display: block; }
.resp-card h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.resp-card p { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.75; }

@media (max-width: 900px) { .resp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .resp-grid { grid-template-columns: 1fr; } }

/* ===== IMAGE SHOWCASE ===== */
.img-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.img-showcase img {
  border-radius: var(--radius-md);
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .img-showcase { grid-template-columns: 1fr; } }

.img-full {
  border-radius: var(--radius-md);
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

/* ===== TAG BADGES ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  color: var(--c-primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== INTERNAL LINK BLOCKS ===== */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.related-link {
  display: block;
  padding: 16px 18px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.related-link:hover {
  border-color: var(--c-primary-light);
  background: rgba(14,165,233,0.06);
  color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0f1a;
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-primary-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: var(--c-text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-primary-light); }
.footer-contact { margin-top: 20px; }
.footer-contact p { font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.7; margin-bottom: 4px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--c-text-dim); margin: 0; }
.footer-bottom a { color: var(--c-primary-light); text-decoration: none; font-size: 0.82rem; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-body); }
::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 4px; }

/* ===== ARTICLE PAGE ===== */
.article-meta { font-size: 0.82rem; color: var(--c-text-dim); margin-bottom: 24px; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 32px; width: 100%; max-height: 420px; object-fit: cover; }

/* ===== 404 PAGE ===== */
.page-404 {
  text-align: center;
  padding: 120px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-404 h1 { font-size: 6rem; font-weight: 800; color: var(--c-primary-light); margin-bottom: 16px; }
.page-404 p { font-size: 1.1rem; color: var(--c-text-muted); margin-bottom: 28px; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 12px; }
