/* ============================================================
   SPORLY.VIP - Global Stylesheet
   Target: Bangladesh market | Language: Bengali (bn-BD)
   Style DNA: Mixed distribution + long-form SEO + heavy footer
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary:    #e8320a;
  --color-primary-dk: #c42a08;
  --color-accent:     #f5a623;
  --color-accent-lt:  #ffd07a;
  --color-dark:       #0d1b2a;
  --color-dark-2:     #132236;
  --color-dark-3:     #1a2f47;
  --color-dark-4:     #243a55;
  --color-mid:        #2e4a68;
  --color-text:       #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-dim:   #64748b;
  --color-white:      #ffffff;
  --color-border:     rgba(255,255,255,0.08);
  --color-card-bg:    rgba(255,255,255,0.04);
  --color-card-hover: rgba(255,255,255,0.08);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 20px rgba(232,50,10,0.3);

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --font-bn:    "Noto Sans Bengali", "SolaimanLipi", "Kalpurush", system-ui, Arial, sans-serif;

  --header-h:   72px;
  --topbar-h:   36px;
  --container:  1200px;
  --gap:        24px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-stack);
  background: var(--color-dark);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-lt); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--color-dark-2);
  border-bottom: 1px solid var(--color-border);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-left {
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  gap: 16px;
}
.topbar-left span { display: flex; align-items: center; gap: 4px; }
.topbar-right {
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.topbar-right a { color: var(--color-text-muted); font-size: 12px; }
.topbar-right a:hover { color: var(--color-accent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--color-dark-2);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(232,50,10,0.15);
  color: var(--color-accent);
}

/* Header CTA Buttons */
.header-ctas { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dk));
  color: var(--color-white);
  box-shadow: 0 2px 12px rgba(232,50,10,0.4);
}
.btn-register:hover {
  background: linear-gradient(135deg, #ff4520, var(--color-primary));
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232,50,10,0.5);
}
.btn-login {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-login:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--color-dark-2);
  z-index: 1200;
  padding: 24px 20px;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-nav-panel.open { right: 0; }
.mobile-nav-panel .close-btn {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
}
.mobile-nav-panel nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
}
.mobile-nav-panel nav a:hover { color: var(--color-accent); }
.mobile-nav-panel .mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.mobile-nav-panel .mobile-ctas .btn { width: 100%; justify-content: center; }

/* ============================================================
   CATEGORY NAV BAR (below header)
   ============================================================ */
.cat-nav {
  background: var(--color-dark-3);
  border-bottom: 1px solid var(--color-border);
}
.cat-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav a {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cat-nav a:hover,
.cat-nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-dark-2);
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* ============================================================
   SHORTCUT CARDS (Quick Entry Grid)
   ============================================================ */
.shortcut-section {
  padding: 32px 0 16px;
  background: var(--color-dark);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shortcut-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.shortcut-card:hover {
  background: var(--color-card-hover);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.shortcut-card .sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.shortcut-card .sc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 48px 0;
}
.section-alt {
  background: var(--color-dark-2);
}
.section-dark3 {
  background: var(--color-dark-3);
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.section-title span { color: var(--color-accent); }
.section-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 600px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header .view-all {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  border: 1px solid var(--color-accent);
  padding: 6px 14px;
  border-radius: 99px;
  transition: all 0.2s;
}
.section-header .view-all:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* Divider accent */
.title-accent {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ============================================================
   FEATURE CARDS (2-col or 3-col)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: rgba(232,50,10,0.4);
  background: var(--color-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card .fc-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CONTENT DISTRIBUTION GRID (Archive/Listing style)
   ============================================================ */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.content-main { }
.content-sidebar { }

/* Article card in listing */
.article-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.2s;
}
.article-card:last-child { border-bottom: none; }
.article-card:hover .ac-title { color: var(--color-accent); }
.article-card .ac-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-dark-3);
}
.article-card .ac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .ac-body { flex: 1; }
.article-card .ac-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.article-card .ac-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.article-card .ac-meta {
  font-size: 12px;
  color: var(--color-text-dim);
}

/* Sidebar widget */
.sidebar-widget {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-link-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-link-list a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.sidebar-link-list a:hover { color: var(--color-accent); }

/* ============================================================
   GAME CATEGORY CARDS (Slots / Sports)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.game-card {
  background: var(--color-dark-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.game-card .gc-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-dark-4), var(--color-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
  overflow: hidden;
}
.game-card .gc-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
}
.game-card .gc-info {
  padding: 12px;
}
.game-card .gc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.game-card .gc-tag {
  font-size: 11px;
  color: var(--color-text-dim);
}
.game-card .gc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  z-index: 1;
  text-transform: uppercase;
}

/* ============================================================
   STATS / NUMBERS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dk));
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ============================================================
   LONG-FORM CONTENT AREA
   ============================================================ */
.longform-section {
  padding: 48px 0;
  background: var(--color-dark);
}
.longform-inner {
  max-width: 860px;
  margin: 0 auto;
}
.longform-inner h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.longform-inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}
.longform-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 24px 0 10px;
}
.longform-inner p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.longform-inner ul,
.longform-inner ol {
  margin: 12px 0 20px 20px;
}
.longform-inner ul { list-style: disc; }
.longform-inner ol { list-style: decimal; }
.longform-inner li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.longform-inner strong { color: var(--color-text); }
.longform-inner a { color: var(--color-accent); }
.longform-inner a:hover { color: var(--color-accent-lt); }
.longform-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.longform-inner table th {
  background: var(--color-dark-3);
  color: var(--color-white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--color-border);
}
.longform-inner table td {
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.longform-inner table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* Bullet list styled */
.styled-list {
  margin: 0 0 20px;
}
.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-muted);
}
.styled-list li:last-child { border-bottom: none; }
.styled-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: 48px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--color-card-bg);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.2s;
  gap: 12px;
}
.faq-question:hover { background: var(--color-card-hover); }
.faq-question.open { color: var(--color-accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-accent);
  transition: transform 0.3s;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--color-accent); }

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section { padding: 48px 0; background: var(--color-dark-2); }
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}
.video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,50,10,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dk));
  color: var(--color-white);
  padding: 14px 36px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232,50,10,0.4);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,50,10,0.55);
  color: var(--color-white);
}
.btn-cta-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 12px 32px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-secondary:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--color-dark-2);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-dim);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--color-text-dim); }
.breadcrumb .current { color: var(--color-text); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark-3) 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,50,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.page-hero p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================================
   ARCHIVE / LISTING PAGE
   ============================================================ */
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
}
.archive-main { }
.archive-sidebar { }

.post-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  gap: 0;
  transition: all 0.25s;
}
.post-card:hover {
  border-color: rgba(232,50,10,0.3);
  box-shadow: var(--shadow-sm);
}
.post-card .pc-thumb {
  flex-shrink: 0;
  width: 200px;
  background: var(--color-dark-3);
  overflow: hidden;
}
.post-card .pc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
}
.post-card .pc-body {
  padding: 20px;
  flex: 1;
}
.post-card .pc-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.post-card .pc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.2s;
}
.post-card:hover .pc-title { color: var(--color-accent); }
.post-card .pc-excerpt {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.post-card .pc-meta {
  font-size: 12px;
  color: var(--color-text-dim);
  display: flex;
  gap: 12px;
}
.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 5px 14px;
  border-radius: 99px;
  transition: all 0.2s;
  margin-top: 10px;
}
.post-card .read-more:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* ============================================================
   ABOUT PAGE - Story/Blog style
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--color-dark-2), var(--color-dark-3));
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.about-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 14px;
}
.about-hero p {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 32px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-dark);
}
.timeline-item .ti-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   PRIVACY / POLICY PAGE
   ============================================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary);
}
.policy-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-content ul {
  margin: 10px 0 16px 20px;
  list-style: disc;
}
.policy-content li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark-2);
  border-top: 2px solid var(--color-primary);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.footer-col p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.footer-col ul li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-contact-list { margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}
.footer-contact-list li:last-child { border-bottom: none; }
.footer-contact-list .fc-label {
  font-weight: 700;
  color: var(--color-text);
  min-width: 60px;
  flex-shrink: 0;
}
.footer-contact-list a { color: var(--color-text-muted); }
.footer-contact-list a:hover { color: var(--color-accent); }

.footer-logo-area {
  margin-bottom: 16px;
}
.footer-logo-area img,
.footer-logo-area svg {
  height: 40px;
  width: auto;
  max-width: 160px;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--color-text-dim);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--color-text-dim);
}
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .err-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: -20px;
}
.error-page h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}
.error-page p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-links a {
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}
.error-links .el-primary {
  background: var(--color-primary);
  color: #fff;
}
.error-links .el-primary:hover { background: var(--color-primary-dk); color: #fff; }
.error-links .el-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.error-links .el-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .topbar { display: none; }
  .cat-nav { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .site-logo img, .site-logo svg { height: 36px; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shortcut-card { padding: 12px 8px; }
  .shortcut-card .sc-icon { width: 40px; height: 40px; font-size: 18px; }
  .shortcut-card .sc-label { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 20px; }
  .page-hero h1 { font-size: 24px; }
  .about-hero h1 { font-size: 26px; }
  .cta-section h2 { font-size: 22px; }
  .post-card { flex-direction: column; }
  .post-card .pc-thumb { width: 100%; height: 180px; }
  .longform-inner h1 { font-size: 22px; }
  .longform-inner h2 { font-size: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .header-ctas .btn-login { display: none; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
