/* ============================================
   TK11 - Global Design System
   Target: Bangladesh (bn-BD)
   Primary: #1a73e8  Secondary: #ff6d00
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #1a73e8;
  --color-primary-dark: #0d47a1;
  --color-primary-light: #4dabf7;
  --color-secondary: #ff6d00;
  --color-secondary-light: #ffa040;
  --color-accent: #ffd700;
  --color-success: #4caf50;
  --color-danger: #e53935;
  --color-bg-dark: #0a1628;
  --color-bg-section: #0d1b2a;
  --color-bg-card: #132238;
  --color-bg-light: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-text-primary: #e8eaed;
  --color-text-secondary: #94a3b8;
  --color-text-dark: #1e293b;
  --color-text-body: #334155;
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: #e2e8f0;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-bn: "Noto Sans Bengali", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container-max: 1240px;
  --header-height: 68px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-bn);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-secondary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--color-text-dark); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
p { margin-bottom: 1rem; }

/* --- Container --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Top info bar */
.header-topbar {
  background: var(--color-bg-dark);
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  padding: 6px 0;
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact span { opacity: 0.85; }
.topbar-lang { font-size: 0.78rem; opacity: 0.7; }

/* Main header */
.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img {
  max-height: 44px;
  width: auto;
  max-width: 160px;
  height: auto;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: rgba(26,115,232,0.06);
}

/* Header buttons */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-bn);
}
.btn-register {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #0a1628;
  box-shadow: 0 4px 15px rgba(255,109,0,0.3);
}
.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,109,0,0.4);
  color: #0a1628;
}
.btn-login {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26,115,232,0.3);
}
.btn-login:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* CTA buttons in content */
.btn-cta {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #0a1628;
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(255,109,0,0.3);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,109,0,0.4);
  color: #0a1628;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   BANNER / HERO
   ============================================ */
.hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 540px;
  object-fit: cover;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section { padding: 50px 0; }
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-alt { background: var(--color-bg-light); }
.section-gradient {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-section) 100%);
  color: var(--color-text-primary);
}
.section-gradient h2, .section-gradient h3 { color: #fff; }

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}
.section-title h2 { font-size: 1.8rem; }
.section-title p { color: var(--color-text-secondary); max-width: 640px; margin: 0.5rem auto 0; }
.section-badge {
  display: inline-block;
  background: rgba(26,115,232,0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-dark .section-badge { background: rgba(26,115,232,0.2); }

/* ============================================
   SHORTCUT CARDS (Category Grid)
   ============================================ */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 20px 0;
}
.shortcut-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  padding: 20px 10px;
  position: relative;
}
.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,115,232,0.3);
}
.shortcut-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shortcut-card .card-icon svg { width: 28px; height: 28px; }
.shortcut-card h3 { font-size: 0.9rem; color: #fff; margin: 0; }
.shortcut-card p { font-size: 0.75rem; color: var(--color-text-secondary); margin: 4px 0 0; }
.icon-live { background: linear-gradient(135deg, #e53935, #ff6d00); }
.icon-slots { background: linear-gradient(135deg, #7c4dff, #448aff); }
.icon-sports { background: linear-gradient(135deg, #00c853, #64dd17); }
.icon-bonus { background: linear-gradient(135deg, #ff6d00, #ffd700); }
.icon-download { background: linear-gradient(135deg, #1a73e8, #4dabf7); }
.icon-news { background: linear-gradient(135deg, #00bcd4, #26c6da); }

/* ============================================
   FEATURE CARDS (Why Choose Us)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #fff;
  transition: height 0.4s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover h3 { color: var(--color-text-dark) !important; }
.feature-card:hover p { color: var(--color-text-body) !important; }
.feature-card h3, .feature-card p { position: relative; z-index: 1; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; opacity: 0.9; line-height: 1.6; margin: 0; }
.fc-1 { background: linear-gradient(135deg, #51e6ed, #36d0f9); box-shadow: 0 10px 25px rgba(54,208,249,0.3); }
.fc-2 { background: linear-gradient(135deg, #fcb731, #f67526); box-shadow: 0 10px 25px rgba(246,117,38,0.3); }
.fc-3 { background: linear-gradient(135deg, #862ff1, #083ca7); box-shadow: 0 10px 25px rgba(8,60,167,0.3); }
.fc-4 { background: linear-gradient(135deg, #fe6f7b, #fa5b9d); box-shadow: 0 10px 25px rgba(250,91,157,0.3); }

/* ============================================
   CONTENT CARDS (Article / News)
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.content-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.content-card .card-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--color-bg-section), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 0.85rem;
}
.content-card .card-body { padding: 20px; }
.content-card .card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.content-card .card-body h3 a { color: var(--color-text-dark); }
.content-card .card-body h3 a:hover { color: var(--color-primary); }
.content-card .card-meta {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.content-card .card-body p { font-size: 0.88rem; color: var(--color-text-body); margin-bottom: 12px; }
.content-card .card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  transition: all var(--transition);
}
.content-card .card-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================
   LONG CONTENT AREA
   ============================================ */
.long-content {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}
.long-content h2 {
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(26,115,232,0.15);
}
.long-content h3 { margin-top: 1.5rem; color: var(--color-primary-dark); }
.long-content p { color: var(--color-text-body); }
.long-content ul, .long-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.long-content ul li, .long-content ol li {
  margin-bottom: 0.5rem;
  list-style: disc;
  color: var(--color-text-body);
}
.long-content ol li { list-style: decimal; }
.long-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: rgba(26,115,232,0.04);
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.long-content a { color: var(--color-primary); font-weight: 600; }
.long-content a:hover { text-decoration: underline; }
.long-content figure {
  margin: 1.5rem 0;
  text-align: center;
}
.long-content figure img {
  border-radius: var(--radius-md);
  margin: 0 auto;
  max-width: 600px;
}
.long-content figcaption {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* Dark variant for long content */
.section-dark .long-content h2 { color: #fff; border-bottom-color: rgba(255,255,255,0.1); }
.section-dark .long-content h3 { color: var(--color-primary-light); }
.section-dark .long-content p { color: var(--color-text-primary); }
.section-dark .long-content ul li,
.section-dark .long-content ol li { color: var(--color-text-primary); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.section-dark .faq-item {
  background: var(--color-bg-card);
  border-color: var(--color-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 50px 18px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  position: relative;
  font-family: var(--font-bn);
  transition: background var(--transition);
}
.section-dark .faq-question { color: #fff; }
.faq-question:hover { background: rgba(26,115,232,0.03); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.7;
}
.section-dark .faq-answer-inner { color: var(--color-text-secondary); }
.faq-item.active .faq-answer { max-height: 500px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 50px 0;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { margin-bottom: 24px; color: var(--color-text-secondary); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--color-bg-light);
  padding: 12px 0;
  font-size: 0.82rem;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-list li::after { content: '/'; color: var(--color-text-secondary); font-size: 0.75rem; }
.breadcrumb-list li:last-child::after { content: none; }
.breadcrumb-list a { color: var(--color-primary); font-weight: 500; }
.breadcrumb-list span { color: var(--color-text-secondary); }

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-section));
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.page-hero p { color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; }

/* Variant heroes */
.page-hero-live { background: linear-gradient(135deg, #1a0a2e, #e53935 80%); }
.page-hero-slots { background: linear-gradient(135deg, #0d1b2a, #7c4dff 80%); }
.page-hero-sports { background: linear-gradient(135deg, #0d2137, #00c853 80%); }
.page-hero-bonus { background: linear-gradient(135deg, #2a1a00, #ff6d00 80%); }
.page-hero-download { background: linear-gradient(135deg, #0a1628, #1a73e8 80%); }
.page-hero-news { background: linear-gradient(135deg, #0d1b2a, #00bcd4 80%); }
.page-hero-faq { background: linear-gradient(135deg, #1a0a2e, #7c4dff 80%); }
.page-hero-about { background: linear-gradient(135deg, #0d2137, #1a73e8 80%); }
.page-hero-privacy { background: linear-gradient(135deg, #1e293b, #475569 80%); }

/* ============================================
   LISTING / ARCHIVE PAGE
   ============================================ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.listing-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.listing-card .card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--color-bg-section), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 2.5rem;
  font-weight: 800;
}
.listing-card .card-info { padding: 20px; }
.listing-card .card-info h3 { font-size: 1rem; margin-bottom: 6px; }
.listing-card .card-info p { font-size: 0.85rem; color: var(--color-text-body); }

/* Category tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}
.category-tabs a {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-body);
  transition: all var(--transition);
}
.category-tabs a:hover,
.category-tabs a.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ============================================
   ARTICLE DETAIL
   ============================================ */
.article-header { margin-bottom: 2rem; }
.article-header h1 { font-size: 2rem; margin-bottom: 12px; }
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.article-content { margin-bottom: 3rem; overflow-wrap: break-word; word-break: break-word; overflow: hidden; }
.article-content img, .long-content img { max-width: 100%; height: auto; }
.article-content pre, .long-content pre { overflow-x: auto; max-width: 100%; white-space: pre-wrap; word-wrap: break-word; }
.article-content table, .long-content table { max-width: 100%; overflow-x: auto; display: block; }
.article-content iframe, .long-content iframe { max-width: 100%; }
.related-articles { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border-light); }

/* ============================================
   STEP LIST
   ============================================ */
.step-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.step-number {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step-content h3 { font-size: 1rem; margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; color: var(--color-text-body); margin: 0; }

/* ============================================
   INFO TABLE
   ============================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}
.info-table th {
  background: var(--color-bg-light);
  font-weight: 600;
  width: 35%;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-secondary);
  padding-top: 50px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 12px; }
.footer-brand .footer-logo { max-height: 40px; width: auto; margin-bottom: 8px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-contact li strong { color: #fff; display: block; font-size: 0.8rem; margin-bottom: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--color-text-secondary); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary-dark); }

/* ============================================
   NEWS LIST PAGE
   ============================================ */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  display: flex;
  gap: 20px;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-item .news-thumb {
  width: 240px;
  min-height: 160px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-bg-section), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.news-item .news-body { padding: 20px; flex: 1; }
.news-item .news-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.news-item .news-body h3 a { color: var(--color-text-dark); }
.news-item .news-body h3 a:hover { color: var(--color-primary); }
.news-item .news-date { font-size: 0.78rem; color: var(--color-text-secondary); margin-bottom: 8px; }
.news-item .news-body p { font-size: 0.88rem; color: var(--color-text-body); }

/* ============================================
   SIDEBAR
   ============================================ */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.sidebar-widget {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.sidebar-widget ul li { margin-bottom: 8px; }
.sidebar-widget ul li a { color: var(--color-text-body); font-size: 0.88rem; }
.sidebar-widget ul li a:hover { color: var(--color-primary); }

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page .error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.error-page h1 { margin: 20px 0 10px; }
.error-page p { color: var(--color-text-secondary); margin-bottom: 30px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .page-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 999;
  }
  .main-nav.open a { padding: 12px 16px; width: 100%; }
  .header-logo img { max-height: 36px; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .shortcut-card { padding: 14px 8px; }
  .features-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-banner img { max-height: 300px; }
  .news-item { flex-direction: column; }
  .news-item .news-thumb { width: 100%; min-height: 140px; }
  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 1.5rem; }
  .section { padding: 36px 0; }
  .header-topbar { display: none; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .header-actions .btn { padding: 8px 14px; font-size: 0.8rem; }
}
