:root {
  /* =========================================
     DARK MODE PALETTE (Global)
     ========================================= */

  /* Backgrounds */
  --bg-primary: #09090b;
  /* Main background (Deep Black/Zinc) */
  --bg-secondary: #18181b;
  /* Section backgrounds (Dark Gray) */
  --bg-tertiary: #27272a;
  /* Borders and Inputs */
  --bg-card: #121214;
  /* Card background */
  --bg-card-hover: #1e1e20;

  /* Text */
  --text-primary: #ffffff;
  /* Headings */
  --text-secondary: #a1a1aa;
  /* Body text (Light Gray) */
  --text-tertiary: #71717a;
  /* Meta info (Darker Gray) */
  --text-inverse: #ffffff;
  /* Text on colored buttons */

  /* Accents */
  --accent-primary: #ffffff;
  --accent-red: #C42126;
  /* Main Brand Color */
  --accent-red-dark: #9b1b1f;
  /* Hover state for red */
  --accent-purple: #7c3aed;
  /* Restored for Pre-flop Genius */

  /* Borders */
  --border-light: #27272a;

  /* Spacing */
  --container-width: 1200px;
  --spacing-md: 2rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: 3.3rem 0 4.3rem;
}

/* Section Backgrounds */
.bg-light {
  background-color: var(--bg-secondary);
}

.bg-dark {
  background-color: #000000;
  color: var(--text-primary);
}

.bg-slate {
  background-color: #1e293b;
  color: #fff;
}

/* Custom Background for Tools Section */
.bg-tools-custom {
  background-color: #3E3E3E !important;
  color: #ffffff;
}

.bg-tools-custom h2,
.bg-tools-custom .section-subtitle {
  color: #ffffff !important;
}

/* WHITE SECTION OVERRIDE (For FAQ, News, Strategies) */
.bg-white-section {
  background-color: #ffffff !important;
  color: #18181b !important;
}

.bg-white-section h2,
.bg-white-section h3,
.bg-white-section h4,
.bg-white-section p,
.bg-white-section .section-subtitle {
  color: #18181b !important;
}

.bg-white-section .text-gray,
.bg-white-section .text-secondary {
  color: #52525b !important;
  /* Zinc 600 */
}

.bg-white-section .date {
  color: #71717a !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  /* Reduced height */
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.1s ease;
  gap: 0.5rem;
  position: relative;
}

/* 3D Effect Class */
.btn-3d {
  border-bottom: 4px solid rgba(0, 0, 0, 0.2) !important;
  transform: translateY(0);
}

.btn-3d:active {
  transform: translateY(2px);
  border-bottom-width: 2px !important;
  margin-top: 2px;
  /* Prevents layout shift */
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #000;
  border: 1px solid var(--accent-primary);
}

/* Red Button (Junte-se a Nós / Comece por Aqui) */
.btn-green,
.btn-purple {
  background-color: var(--accent-red);
  color: #ffffff !important;
  /* Force White Text */
  border: 1px solid var(--accent-red);
  border-bottom-color: #8a161a !important;
  /* Darker red for 3D effect */
}

.btn-green:hover,
.btn-purple:hover {
  background-color: var(--accent-red-dark);
  border-color: var(--accent-red-dark);
  border-bottom-color: #6b1114 !important;
}

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

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0;
}

.btn-text:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.btn-sm {
  padding: 0.4rem 1rem;
  /* Smaller */
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.8rem 2rem;
  /* Smaller lg */
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 28px;
  /* Adjust logo size */
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Dropdown */
.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropbtn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
}

.dropdown:hover .dropbtn {
  color: var(--text-primary);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #18181b;
  min-width: 800px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  z-index: 1001;
  margin-top: 0.5rem;
}

.dropdown-content.simple-menu {
  min-width: 260px;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem;
  align-items: stretch;
}

.dropdown-content.simple-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s;
  width: 100%;
  border-radius: var(--radius-sm);
}

.dropdown-content.simple-menu a:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.dropdown-content.materials-menu {
  min-width: 360px;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  align-items: stretch;
}

.menu-item-thumb {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.menu-item-thumb:hover {
  background-color: var(--bg-tertiary);
}

.menu-item-thumb img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.menu-item-thumb span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

.menu-item-thumb:hover span {
  color: var(--text-primary);
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 0;
  width: 100%;
  height: 1.5rem;
  background: transparent;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Mega Menu Columns */
.mega-column {
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--border-light);
  flex: 1;
}

.mega-column:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.mega-column .column-title {
  display: block;
  padding: 0;
  margin-bottom: 1rem;
}

.mega-column .column-title h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  margin: 0;
  transition: color 0.2s;
}

.mega-column .column-title:hover h3 {
  color: var(--accent-red);
  text-decoration: underline;
}

.mega-column a:not(.column-title) {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.mega-column a:not(.column-title):hover {
  color: var(--accent-red);
}

/* Language Selector */
.language-selector .lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
}

.lang-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.8;
}

.lang-code {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lang-menu {
  min-width: 160px;
}

.lang-option {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem !important;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.lang-option:hover {
  color: var(--text-primary) !important;
  background-color: var(--bg-tertiary) !important;
}

.lang-option.active {
  color: var(--accent-red) !important;
  font-weight: 600;
}

.lang-name {
  flex: 1;
}

.lang-check {
  width: 16px;
  height: 16px;
  color: var(--accent-red);
}

.lang-option:not(.active) .lang-check {
  display: none;
}

/* Hero */
.hero {
  padding: 12rem 0 12rem;
  text-align: center;
  background: radial-gradient(circle at top center, #1e1e24 0%, var(--bg-primary) 60%);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  line-height: 1.05;
  color: var(--text-primary);
}

.lead {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-header.no-title {
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* Strategies Carousel - 3 items per row */
#strategies-track .carousel-item {
  flex: 0 0 calc((100% - 4rem) / 3);
}

/* Shorts Carousel - 5 items per row */
#shorts-track {
  gap: 1rem;
}

#shorts-track .short-card {
  flex: 0 0 calc((100% - 4rem) / 5);
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}

.carousel-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-secondary);
}

.carousel-btn.dark-btn {
  background: #222;
  border-color: #333;
  color: #fff;
}

.bg-white-section .carousel-btn {
  background: #fff;
  border-color: #e4e4e7;
  color: #18181b;
}

.bg-white-section .carousel-btn:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}

/* Tools Grid */
.grid-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Custom Tools Section: White Cards on Dark Background */
.bg-tools-custom .tool-card {
  background: #ffffff !important;
  /* White Card */
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bg-tools-custom .tool-card h3 {
  color: #18181b !important;
  padding-bottom: 10px;
  /* Black Text */
}

.bg-tools-custom .tool-card p {
  color: #52525b !important;
  /* Dark Gray Text */
}

/* Icon inside White Tool Card */
.bg-tools-custom .tool-icon {
  background-color: #f4f4f5;
  /* Light Gray BG */
  color: var(--accent-red);
  /* Red Icon */
}

/* Link/Button inside White Tool Card */
.bg-tools-custom .link-arrow {
  color: var(--accent-red);
}

.bg-tools-custom .btn-outline {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.bg-tools-custom .btn-outline:hover {
  background-color: var(--accent-red);
  color: #ffffff;
}

.bg-white-section .tool-card {
  background: #ffffff;
  border-color: #e4e4e7;
  box-shadow: var(--shadow-sm);
}

.bg-white-section .tool-card:hover {
  background: #fafafa;
  border-color: #d4d4d8;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-tertiary);
  background-color: var(--bg-card-hover);
}

/* Specific hover for custom tools to keep them light */
.bg-tools-custom .tool-card:hover {
  background-color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.bg-white-section .tool-icon {
  background-color: #f4f4f5;
  color: #18181b;
}

.tool-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.bg-white-section .tool-card h3 {
  color: #18181b;
}

.tool-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent-red);
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Blog Cards */
.blog-card {
  cursor: pointer;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: none !important;
  /* REMOVED BORDER */
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.bg-white-section .blog-content h3 {
  color: #18181b;
}

.blog-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.bg-white-section .blog-content p {
  color: #52525b;
}

/* Shorts */
.short-card {
  aspect-ratio: 9/16;
  background-color: #222;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  flex: 0 0 220px;
  border: none;
}

.short-card:hover {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.short-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.short-overlay h4 {
  color: #fff;
}

/* FAQ Cards (White Section Adaptation) */
.faq-card {
  flex: 0 0 350px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}

.bg-white-section .faq-card {
  background: #ffffff;
  border-color: #e4e4e7;
  box-shadow: var(--shadow-sm);
}

.faq-bubble {
  background-color: var(--bg-tertiary);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.bg-white-section .faq-bubble {
  background-color: #18181b;
  /* Keep bubble dark for contrast */
  border-color: #27272a;
}

.faq-bubble h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  /* Always white in bubble */
}

/* Override for white section forcing dark text */
.bg-white-section .faq-bubble h3 {
  color: #ffffff !important;
}

.faq-bubble h3 a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.faq-bubble h3 a:hover {
  opacity: 0.8;
}

.bubble-arrow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  z-index: 1;
}

.bg-white-section .bubble-arrow {
  background-color: #18181b;
  border-color: #27272a;
}

.faq-content {
  padding: 2rem 1.5rem;
  text-align: center;
  background-color: #ffffff;
  color: #3f3f46;
  /* Dark text for content */
  font-size: 0.95rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid #e4e4e7;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Trainer Interface (Purple Theme Restored) */
.section-trainer {
  background: linear-gradient(135deg, #1c1c1d, #000000);
  /* Deep Purple Gradient */
  color: #fff;
  border: none;
}

.trainer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trainer-info {
  text-align: center;
}

.trainer-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  margin: 1rem auto 0 auto;
}

.trainer-info h2 img {
  margin: 0 auto;
}

.trainer-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
  color: #FFF;
  text-align: center;
}


.trainer-interface {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: #fff;
}

.trainer-header {
  background: rgba(0, 0, 0, 0.2);
  /* Darker transparent header */
  color: #fff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trainer-body {
  padding: 2rem;
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  color: #71717a;
  /* Zinc 500 */
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #52525b;
}

.chip:hover {
  border-color: #d4d4d8;
  color: #18181b;
}

.chip.active {
  background: var(--accent-purple);
  /* Purple Active */
  color: #fff;
  border-color: var(--accent-purple);
}

/* Adjusted Start Button */
/* Adjusted Start Button */
.trainer-body .btn-primary {
  margin-top: 2rem !important;
  width: 100%;
  padding: 14px 20px;
  background-image: url('pokertrainer/bg-button.jpg');
  background-size: cover;
  background-position: center;
  border: none;
  border-top: 1px solid #FFD700;
  /* Thin light yellow border on top */
  color: #1a1a1a;
  /* Dark text */
  font-weight: 900;
  font-size: 1.3rem;
  /* Slightly decreased font size */
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s, box-shadow 0.1s;

  /* 3D Effect Initial State */
  box-shadow:
    0 6px 0 #5c450d,
    /* Darker gold shadow for depth */
    0 12px 10px rgba(0, 0, 0, 0.3);
  /* Drop shadow */

  /* Sunken Text Effect */
  text-shadow:
    0px 1px 0px rgba(255, 255, 255, 0.4),
    /* Highlight bottom */
    0px -1px 0px rgba(0, 0, 0, 0.2);
  /* Shadow top */

  transform: translateY(0);
}

.trainer-body .btn-primary:hover {
  /* Keep background image on hover */
  background-image: url('pokertrainer/bg-button.jpg');
  opacity: 0.95;
}

.trainer-body .btn-primary:active {
  transform: translateY(6px);
  /* Move down by shadow size */
  box-shadow:
    0 0 0 #5c450d,
    /* Shadow disappears */
    inset 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Inner shadow for pressed look */
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.news-main {
  position: relative;
  cursor: pointer;
}

.news-main:hover .news-content h3 {
  color: var(--accent-red) !important;
}

.news-img-lg {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.bg-white-section .news-img-lg {
  border-color: #e4e4e7;
}

.date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}

.news-content h3 {
  color: var(--text-primary);
  transition: color 0.2s;
}

.bg-white-section .news-content h3 {
  color: #18181b;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* Reduced gap */
}

.news-item-sm {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
  /* Reduced padding */
  cursor: pointer;
}

.bg-white-section .news-item-sm {
  border-color: #e4e4e7;
}

.news-item-sm:hover h4 {
  color: var(--accent-red) !important;
}

.news-item-sm h4 {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  color: var(--text-primary);
}

.bg-white-section .news-item-sm h4 {
  color: #18181b;
}

.btn-link {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icons a:hover {
  color: var(--text-primary);
}


/* =========================================
   ARTICLE PAGE STYLES
   ========================================= */

/* Article Container - Centralized and Limited Width */
.article-page,
.qa-page,
.category-page {
  background-color: var(--bg-primary);
  min-height: 100vh;
  padding: 2rem 0rem 0rem 0rem;
}

.article-container,
.qa-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* Article Header */
.article-header,
.qa-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.article-tag {
  background-color: var(--accent-red);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.separator {
  color: var(--text-tertiary);
}

.read-time {
  color: var(--text-tertiary);
}

.article-header h1,
.qa-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.article-subtitle,
.qa-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.article-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.author-info .date {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.share-btn:hover {
  background-color: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* Featured Image */
.featured-image-wrapper,
.qa-featured-image {
  margin-bottom: 3rem;
  margin-left: -3rem;
  margin-right: -3rem;
  width: calc(100% + 6rem);
  max-width: none;
}

@media (max-width: 768px) {

  .featured-image-wrapper,
  .qa-featured-image {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
  }
}

.featured-image,
.qa-featured-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.featured-image-wrapper figcaption {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}

/* Article Body - Optimized for Reading */
.article-body,
.qa-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body p,
.qa-body p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.article-body h2,
.qa-body h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.article-body h3,
.qa-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body strong,
.qa-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body em {
  font-style: italic;
  color: var(--text-secondary);
}

.article-body a {
  color: var(--accent-red);
  text-decoration: underline;
  transition: color 0.2s;
}

.article-body a:hover {
  color: var(--accent-red-dark);
}

/* Lists */
.article-body ul,
.qa-body ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style: decimal;
}

.article-body li,
.qa-body li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Blockquote */
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* Content Images */
.content-image-wrapper {
  margin: 2.5rem 0;
  /* Make images overflow the container */
  margin-left: -5%;
  margin-right: -5%;
  width: 110%;
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.content-image-wrapper figcaption {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Tables */
.table-wrapper {
  margin: 2rem 0;
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-body thead {
  background-color: var(--bg-tertiary);
}

.article-body th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-light);
}

.article-body td {
  padding: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-body tbody tr:hover {
  background-color: var(--bg-card-hover);
}

/* Article Page Specifics */
.article-page {
  padding-top: 2rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Light Mode Styles */
.article-page.light-mode,
.qa-page.light-mode {
  background-color: #ffffff;
  color: #18181b;
}

.article-page.light-mode .article-header h1,
.qa-page.light-mode .qa-header h1 {
  color: #18181b;
}

.article-page.light-mode .article-subtitle,
.qa-page.light-mode .qa-subtitle {
  color: #52525b;
}

.article-page.light-mode p,
.article-page.light-mode li,
.qa-page.light-mode p,
.qa-page.light-mode li {
  color: #3f3f46;
}

.article-page.light-mode strong,
.qa-page.light-mode strong {
  color: #18181b;
}

.article-page.light-mode h2,
.article-page.light-mode h3,
.qa-page.light-mode h2,
.qa-page.light-mode h3 {
  color: #18181b;
}

/* Light Mode – Article/QA structural elements */
.article-page.light-mode .article-header,
.qa-page.light-mode .qa-header {
  border-bottom-color: #e4e4e7;
}

.article-page.light-mode .share-btn,
.qa-page.light-mode .share-btn {
  background-color: #f4f4f5;
  border-color: #e4e4e7;
  color: #52525b;
}

.article-page.light-mode .share-btn:hover,
.qa-page.light-mode .share-btn:hover {
  background-color: #e5e7eb;
  border-color: #d4d4d8;
  color: #18181b;
}

.article-page.light-mode .article-body blockquote {
  background-color: #f4f4f5;
  color: #18181b;
}

.article-page.light-mode .article-body table {
  background-color: #f4f4f5;
}

.article-page.light-mode .article-body thead {
  background-color: #e4e4e7;
}

.article-page.light-mode .article-body th {
  color: #18181b;
  border-bottom-color: #d4d4d8;
}

.article-page.light-mode .article-body td {
  border-bottom-color: #e4e4e7;
}

.article-page.light-mode .article-body tbody tr:hover {
  background-color: #e5e7eb;
}

.article-page.light-mode .article-navigation,
.qa-page.light-mode .article-navigation {
  border-top-color: #e4e4e7;
}

.article-page.light-mode .nav-card,
.qa-page.light-mode .nav-card {
  background-color: #f9fafb;
  border-color: #e4e4e7;
}

.article-page.light-mode .nav-card:hover,
.qa-page.light-mode .nav-card:hover {
  background-color: #f4f4f5;
  border-color: #d4d4d8;
}

.article-page.light-mode .nav-label,
.qa-page.light-mode .nav-label {
  color: #71717a;
}

.article-page.light-mode .nav-title,
.qa-page.light-mode .nav-title {
  color: #18181b;
}

.article-page.light-mode .related-articles,
.qa-page.light-mode .qa-related-section {
  background-color: #f4f4f5;
}

.article-page.light-mode .related-card,
.qa-page.light-mode .qa-card {
  background-color: #ffffff;
  border-color: #e4e4e7;
}

.article-page.light-mode .related-card:hover,
.qa-page.light-mode .qa-card:hover {
  background-color: #f9fafb;
  border-color: #d4d4d8;
}

.article-page.light-mode .related-content h4,
.article-page.light-mode .related-content h4 a,
.qa-page.light-mode .qa-card h4 {
  color: #18181b;
}

.article-page.light-mode .related-summary,
.qa-page.light-mode .qa-card p {
  color: #52525b;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
  /* Push to right */
}

.theme-toggle-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.article-page.light-mode .theme-toggle-btn,
.qa-page.light-mode .theme-toggle-btn {
  border-color: #e4e4e7;
  color: #52525b;
}

.article-page.light-mode .theme-toggle-btn:hover,
.qa-page.light-mode .theme-toggle-btn:hover {
  background-color: #f4f4f5;
  color: #18181b;
}

/* Ad Banner Styles */
.ad-banner {
  background-color: #27272a;
  /* Dark mode default (Zinc 800) */
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-light);
  text-align: center;
}

.article-page.light-mode .ad-banner {
  background-color: #f4f4f5;
  /* Light mode (Zinc 100) */
  border-color: #e4e4e7;
}

.ad-banner h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.article-page.light-mode .ad-banner h3 {
  color: #18181b;
}

.ad-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 4rem 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border-light);
}

.nav-card {
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
}

.nav-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-tertiary);
  transform: translateY(-2px);
}

.nav-card.prev {
  text-align: left;
}

.nav-card.next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-title {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Related Articles */
.related-articles {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  margin-top: 4rem;
}

.related-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.related-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-tertiary);
  background-color: var(--bg-card-hover);
}

.related-image-link {
  display: block;
}

.related-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-light);
}

.related-content {
  padding: 1.5rem;
}

.related-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.related-content h4 a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.related-content h4 a:hover {
  color: var(--accent-red);
}

.related-summary {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* =========================================
   CATEGORY PAGE STYLES
   ========================================= */

.category-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.category-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.category-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.2s;
}

.category-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-tertiary);
  transform: translateY(-4px);
}

.cat-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cat-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

.category-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.category-card h2 a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.category-card h2 a:hover {
  color: var(--accent-red);
}

.category-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-red);
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.cat-link:hover {
  gap: 0.75rem;
  text-decoration: underline;
}

.load-more-container {
  text-align: center;
  margin: 3rem 0;
}

.btn-load-more {
  padding: 0.75rem 2rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-load-more:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-secondary);
}

/* =========================================
   Q&A PAGE STYLES
   ========================================= */

.qa-related-section {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  margin-top: 4rem;
}

.qa-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.qa-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
}

.qa-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-tertiary);
  transform: translateY(-2px);
}

.qa-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.qa-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =========================================
   QUIZZES PAGE STYLES
   ========================================= */

.bg-primary {
  background-color: var(--bg-primary);
}

.quiz-page-header {
  text-align: center;
  padding-top: 3rem;
}

.quiz-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.quiz-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0.5rem auto 0;
}

.quiz-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.quiz-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.quiz-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quiz-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.gamagame-promo {
  background: linear-gradient(135deg, #0f172a, #020617);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #e2e8f0;
}

.gamagame-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fbbf24;
}

.gamagame-promo h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.gamagame-themes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.theme-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e2e8f0;
}

.btn-white-purple {
  background: linear-gradient(135deg, #f9fafb, #e5e7eb);
  color: #111827;
  border: none;
  font-weight: 700;
}

.btn-white-purple:hover {
  background: linear-gradient(135deg, #e5e7eb, #d4d4d8);
}

/* Responsive */
@media (max-width: 1024px) {
  .trainer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dropdown-content {
    min-width: auto;
    width: 90vw;
    flex-wrap: wrap;
    background-color: var(--bg-secondary);
  }

  .mega-column a:not(.column-title) {
    display: none;
  }

  .mega-column {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    margin-bottom: 0.5rem;
    flex-basis: 100%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .category-grid {
    gap: 1.5rem;
  }

  .article-navigation {
    grid-template-columns: 1fr;
  }

  .nav-card.next {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

  .article-header h1,
  .qa-header h1 {
    font-size: 2rem;
  }

  .article-subtitle,
  .qa-subtitle {
    font-size: 1.1rem;
  }

  .article-body,
  .qa-body {
    font-size: 1rem;
  }

  .article-container,
  .qa-container {
    padding: 0 1.5rem;
  }

  .related-grid,
  .qa-related-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Carousel Fixes */
  #strategies-track .carousel-item {
    flex: 0 0 100%;
  }

  #shorts-track .short-card {
    flex: 0 0 calc(50% - 0.5rem);
    /* 2 items per row with gap consideration */
  }

  .faq-card {
    flex: 0 0 100%;
    /* Show one by one fully */
    max-width: 100%;
  }

  /* Tools Section Fixes */
  .tool-card {
    text-align: center;
    align-items: center;
  }

  .tool-card p {
    margin-bottom: 1rem;
  }

  .tool-icon {
    margin-left: auto;
    margin-right: auto;
  }
}