/* ============================================
   ROOPOKIES - Blog Pages Stylesheet
   Dark Casino Theme Blog Design
   ============================================ */

/* CSS Variables */
:root {
  --bg-main: #060714;
  --bg-section: #0e1024;
  --bg-card: #171a36;
  --accent-primary: #f5a623;
  --accent-secondary: #b24bff;
  --accent-cta: #ff4b6e;
  --accent-success: #00d4aa;
  --accent-blog: #6366f1;
  --text-main: #ffffff;
  --text-muted: #a0a3b1;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-glow: rgba(245, 166, 35, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--accent-primary), #ff8c42);
  --gradient-blog: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Roboto', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: rgba(14, 16, 36, 0.8);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-blog);
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-item:last-child {
  color: var(--accent-blog);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 7, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  position: absolute;
}

.hamburger-menu span:nth-child(1) {
  top: 12px;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
  bottom: 12px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.hamburger-menu.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.logo {
  justify-self: center;
  grid-column: 2;
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar-spacer {
  display: none;
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: rgba(6, 7, 20, 0.98);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.navbar-menu li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  display: block;
  text-decoration: none;
  width: 100%;
  padding: 1rem;
  color: var(--text-main);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--accent-blog);
  background: rgba(99, 102, 241, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-blog);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 2px solid var(--border-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blog);
  transform: translateY(-3px);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 4rem 0;
  background: var(--bg-main);
}

/* ============================================
   BLOG HERO
   ============================================ */

.blog-hero {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
  overflow: hidden;
}

.blog-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.blog-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-blog);
  margin-bottom: 1.5rem;
}

.badge-icon {
  font-size: 1.1rem;
}

.blog-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-blog) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */

.blog-categories {
  padding: 2rem 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-soft);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-pill {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-pill:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-blog);
  color: var(--text-main);
}

.filter-pill.active {
  background: var(--gradient-blog);
  border-color: transparent;
  color: var(--text-main);
}

/* ============================================
   ARTICLES GRID
   ============================================ */

.blog-list {
  padding: 4rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blog);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.article-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-image .article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.75rem;
  background: var(--gradient-blog);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.article-title a {
  color: var(--text-main);
}

.article-title a:hover {
  color: var(--accent-blog);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-icon {
  font-size: 0.9rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.pagination-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-blog);
  color: var(--text-main);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   BLOG CTA
   ============================================ */

.blog-cta {
  padding: 3rem 0;
  background: var(--bg-section);
}

.cta-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.cta-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cta-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-hero {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.article-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.article-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--accent-blog);
}

.article-category-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--gradient-blog);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.meta-separator {
  color: var(--border-soft);
}

/* ============================================
   ARTICLE LAYOUT
   ============================================ */

.article-section {
  padding: 3rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2.5rem;
}

.article-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.article-main h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-main h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-main p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-intro {
  font-size: 1.1rem;
  color: var(--text-main) !important;
  line-height: 1.8;
}

.article-main ul,
.article-main ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-main li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.article-main strong {
  color: var(--text-main);
}

/* Article Callouts */
.article-callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.article-callout--warning {
  background: rgba(255, 149, 0, 0.1);
  border-color: rgba(255, 149, 0, 0.3);
}

.callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.callout-content {
  color: var(--text-muted);
  line-height: 1.7;
}

.callout-content strong {
  color: var(--text-main);
}

/* Inline FAQ Styling */
.faq-inline {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.faq-inline h3 {
  font-size: 1rem;
  color: var(--accent-blog);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.faq-inline h3:first-child {
  margin-top: 0;
}

.faq-inline p {
  margin-bottom: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.faq-inline p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Article Images */
.article-image {
  margin: 2.5rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-image:hover img {
  transform: scale(1.02);
}

/* Comparison Box */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.comparison-item {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid var(--border-soft);
}

.comparison-item h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.comparison-item ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.comparison-item li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.comparison-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.comparison-item--good {
  border-color: rgba(0, 212, 170, 0.4);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), transparent);
}

.comparison-item--good h4 {
  color: #00d4aa;
}

.comparison-item--warning {
  border-color: rgba(255, 149, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), transparent);
}

.comparison-item--warning h4 {
  color: #ff9500;
}

@media (max-width: 768px) {
  .comparison-box {
    grid-template-columns: 1fr;
  }
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-item h4 {
  color: #00d4aa;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.benefit-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Comparison Table */
.comparison-table-wrapper {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-section);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.comparison-table th {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
  color: var(--text-main);
}

.table-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  margin: 0;
  border-top: 1px solid var(--border-soft);
}

/* Combo Grid (RTP + Volatility combinations) */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.combo-item {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 1.25rem;
  border: 2px solid var(--border-soft);
}

.combo-item h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.combo-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.combo-item li {
  padding: 0.2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.combo-verdict {
  font-size: 0.85rem;
  font-style: italic;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
}

.combo-item--good {
  border-color: rgba(0, 212, 170, 0.4);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), transparent);
}

.combo-item--good h4 {
  color: #00d4aa;
}

.combo-item--good .combo-verdict {
  color: #00d4aa;
}

.combo-item--neutral {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent);
}

.combo-item--neutral h4 {
  color: #6366f1;
}

.combo-item--neutral .combo-verdict {
  color: #6366f1;
}

.combo-item--warning {
  border-color: rgba(255, 149, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.08), transparent);
}

.combo-item--warning h4 {
  color: #ff9500;
}

.combo-item--warning .combo-verdict {
  color: #ff9500;
}

.combo-item--danger {
  border-color: rgba(255, 107, 129, 0.4);
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.08), transparent);
}

.combo-item--danger h4 {
  color: #ff6b81;
}

.combo-item--danger .combo-verdict {
  color: #ff6b81;
}

@media (max-width: 768px) {
  .combo-grid {
    grid-template-columns: 1fr;
  }
}

/* Scenario Grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.scenario-item {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
}

.scenario-item h4 {
  font-size: 0.9rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.scenario-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.scenario-item em {
  color: var(--text-main);
}

.scenario-answer {
  font-weight: 600;
  color: #00d4aa !important;
  margin-top: 0.5rem !important;
}

@media (max-width: 768px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

/* Terms Grid (Beginner's Guide) */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.term-item {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
}

.term-item h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}

.term-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.term-item p:last-child {
  margin-bottom: 0;
}

.term-item ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.term-item li {
  padding: 0.2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }
}

/* Mistakes List */
.mistakes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.mistake-item {
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.08), transparent);
  border: 1px solid rgba(255, 107, 129, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.mistake-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #ff6b81;
}

.mistake-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Checklist Grid */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.checklist-item {
  background: var(--bg-section);
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent-primary);
}

.checklist-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.checklist-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.checklist-item ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.checklist-item li {
  padding: 0.15rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SIDEBAR
   ============================================ */

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 0.75rem;
}

.sidebar-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-links a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-main);
}

.sidebar-card--warning {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.1), rgba(255, 75, 110, 0.05));
  border-color: rgba(255, 149, 0, 0.3);
}

.sidebar-card--warning p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sidebar-card--toc {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.toc-list a:hover {
  color: var(--accent-blog);
}

/* ============================================
   RELATED ARTICLES
   ============================================ */

.related-section {
  padding: 3rem 0;
  background: var(--bg-section);
}

.back-to-blog {
  text-align: center;
  margin-bottom: 3rem;
}

.related-articles h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blog);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.related-category {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-blog);
  margin-bottom: 0.75rem;
}

.related-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-blog);
}

.footer-age-badge {
  width: 60px;
  height: 60px;
  background: var(--gradient-blog);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gamble-responsibly {
  color: var(--accent-blog);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1 1 280px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 7, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 998;
    display: flex !important;
    list-style: none;
    margin: 0;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu li a {
    display: block;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .article-main {
    padding: 1.5rem;
  }

  .article-sidebar {
    flex-direction: column;
  }

  .sidebar-card {
    flex: 1 1 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .blog-hero h1 {
    font-size: 1.65rem;
  }

  .category-filters {
    justify-content: flex-start;
  }

  .filter-pill {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .article-content {
    padding: 1.25rem;
  }

  .cta-card {
    padding: 2rem 1.5rem;
  }
}

/* Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-blog);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

