/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a3c6e;
  --blue-light: #2a5ba8;
  --blue-dark: #0f2847;
  --orange: #f57c20;
  --orange-dark: #d96a10;
  --orange-glow: rgba(245,124,32,.2);
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --felt: #1b6d3f;
  --felt-dark: #145230;
  --felt-light: #228b52;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 24px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--gray-800); line-height: 1.7; background: var(--white); }

a { color: var(--blue-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }

/* === Utility === */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =============================================
   HEADER — Dark poker room bar
   ============================================= */
.site-header {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 62px;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--orange); }

.main-nav { margin-left: auto; margin-right: 20px; }
.main-nav ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,.65);
  font-weight: 500;
  font-size: .87rem;
  padding: 7px 13px;
  border-radius: 6px;
  transition: all .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: var(--gold); background: rgba(201,168,76,.1); font-weight: 600; }

.header-cta { flex-shrink: 0; }
.header-cta .btn-register {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #e8940e);
  color: var(--white);
  padding: 9px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .84rem;
  transition: all .25s;
  box-shadow: 0 2px 10px var(--orange-glow);
  letter-spacing: .3px;
}
.header-cta .btn-register:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--orange-glow);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; border-radius: 1px; }

/* =============================================
   HERO — Poker felt table
   ============================================= */
.hero {
  background: linear-gradient(160deg, var(--felt-dark) 0%, var(--felt) 40%, var(--felt-light) 100%);
  color: var(--white);
  padding: 88px 24px 80px;
  position: relative;
  overflow: hidden;
}
/* Felt texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
  pointer-events: none;
}
/* Poker suits watermark */
.hero::after {
  content: '\2660  \2665  \2666  \2663';
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12rem;
  letter-spacing: 20px;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  white-space: nowrap;
}
.hero .container { max-width: var(--max-w); position: relative; }
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.15;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 16px;
  border-radius: 2px;
}
.hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 32px;
  opacity: .88;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  transition: all .25s;
  border: none;
  letter-spacing: .2px;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #e8940e);
  color: var(--white);
  box-shadow: 0 4px 16px var(--orange-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--orange-glow);
}
.btn-secondary {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 72px 24px; }
.section-alt {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section h3 { font-size: 1.2rem; color: var(--gray-800); margin: 24px 0 10px; }
.section p { margin-bottom: 14px; color: var(--gray-700); }
.section-header { margin-bottom: 40px; }
.section-header p { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; }
.section-header.text-center p { margin-left: auto; margin-right: auto; }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p { margin-bottom: 12px; }

/* =============================================
   CARDS — Poker card inspired
   ============================================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
/* Suit-colored top border */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--felt), var(--gold));
  transition: height .3s;
}
.card:nth-child(2)::before { background: linear-gradient(90deg, #c0392b, #e74c3c); }
.card:nth-child(3)::before { background: linear-gradient(90deg, var(--blue-dark), var(--blue-light)); }
.card:nth-child(4)::before { background: linear-gradient(90deg, var(--felt), var(--gold)); }
.card:nth-child(5)::before { background: linear-gradient(90deg, #c0392b, #e74c3c); }
.card:nth-child(6)::before { background: linear-gradient(90deg, var(--blue-dark), var(--blue-light)); }

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.card:hover::before { height: 5px; }
.card h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.card p { font-size: .93rem; color: var(--gray-600); line-height: 1.65; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .88rem; color: var(--orange); }
.card .card-link:hover { color: var(--orange-dark); }

/* =============================================
   TABLES — Poker table style
   ============================================= */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; }
th {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--gold);
}
td { border-bottom: 1px solid var(--gray-100); font-size: .93rem; color: var(--gray-700); }
tr:nth-child(even) { background: var(--gray-50); }
tr:hover { background: #f0f7f2; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 22px 0; }
.faq-item h3 { color: var(--blue-dark); font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.faq-item p { color: var(--gray-600); }

/* =============================================
   CTA BANNER — Felt green with gold
   ============================================= */
.cta-banner {
  background: linear-gradient(160deg, var(--felt-dark) 0%, var(--felt) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
/* Felt texture */
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
  pointer-events: none;
}
/* Suits watermark */
.cta-banner::after {
  content: '\2660 \2665 \2666 \2663';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  letter-spacing: 40px;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  white-space: nowrap;
}
.cta-banner h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.8rem;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.cta-banner p { opacity: .85; margin-bottom: 28px; position: relative; font-size: 1.05rem; }
.cta-banner .btn-primary { font-size: 1rem; padding: 16px 36px; position: relative; }

/* =============================================
   CONTENT PAGE
   ============================================= */
.content-page { padding: 48px 24px 56px; }
.content-page .container { max-width: 820px; }
.content-page h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.content-page h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.content-page h3 { font-size: 1.15rem; color: var(--gray-800); margin-top: 24px; margin-bottom: 10px; font-weight: 700; }
.content-page p { color: var(--gray-700); margin-bottom: 14px; line-height: 1.75; }
.content-page ul, .content-page ol { margin: 12px 0 18px 24px; color: var(--gray-700); }
.content-page li { margin-bottom: 8px; line-height: 1.7; }
.content-page strong { color: var(--gray-800); }
/* When page-hero is present, reduce content-page top padding */
.page-hero + .breadcrumb + .content-page { padding-top: 36px; }

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: .83rem;
}
.breadcrumb .container { padding: 0; }
.breadcrumb a { color: var(--blue-light); font-weight: 500; }
.breadcrumb span { color: var(--gray-600); }

/* =============================================
   BLOG INDEX
   ============================================= */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}
.blog-card-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta {
  font-size: .75rem;
  color: var(--felt);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; line-height: 1.4; }
.blog-card h3 a { color: var(--blue-dark); }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap .2s;
}
.blog-card:hover .read-more { gap: 10px; color: var(--orange-dark); }
/* Featured first card spans full width */
.blog-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.blog-card.featured .blog-card-accent {
  width: 320px;
  min-height: 200px;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--felt-dark), var(--felt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.12);
  font-size: 5rem;
  letter-spacing: 12px;
}
.blog-card.featured .blog-card-body { padding: 32px; }
.blog-card.featured h3 { font-size: 1.35rem; }
.blog-card.featured p { font-size: .93rem; }

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-header {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 0;
}
.article-header .article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  font-size: .82rem;
  color: var(--gray-600);
}
.article-header .article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.article-header .article-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gray-100);
}

/* Article sidebar layout */
.article-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}
.article-layout h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  color: var(--blue-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}
.article-layout h2:first-of-type { margin-top: 0; }
.article-layout h3 {
  font-size: 1.12rem;
  color: var(--gray-800);
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}
.article-layout p { color: var(--gray-700); margin-bottom: 14px; line-height: 1.8; }
.article-layout ul, .article-layout ol { margin: 12px 0 18px 24px; color: var(--gray-700); }
.article-layout li { margin-bottom: 8px; line-height: 1.7; }
.article-layout strong { color: var(--gray-800); }

/* Article CTA box */
.article-cta-box {
  background: linear-gradient(135deg, var(--felt-dark), var(--felt));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.article-cta-box::before {
  content: '\2660 \2665 \2666 \2663';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 6rem;
  letter-spacing: 20px;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  white-space: nowrap;
}
.article-cta-box h3 { font-family: 'Poppins', sans-serif; color: var(--white); margin: 0 0 8px; position: relative; font-size: 1.25rem; }
.article-cta-box p { color: rgba(255,255,255,.85); margin-bottom: 20px; position: relative; font-size: .95rem; }
.article-cta-box .btn-primary { position: relative; }

/* Related articles at bottom */
.related-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 48px 20px;
}
.related-section .container { max-width: 820px; }
.related-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.related-card {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .25s;
}
.related-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related-card a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue-dark);
  line-height: 1.4;
}
.related-card a:hover { color: var(--orange); }
.related-card p {
  font-size: .83rem;
  color: var(--gray-600);
  margin-top: 6px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* =============================================
   FOOTER — Dark with gold accents
   ============================================= */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 48px 24px 28px;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: var(--gold);
  margin-bottom: 14px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .3px;
  font-family: 'Poppins', sans-serif;
}
.footer-col p { font-size: .88rem; line-height: 1.6; color: var(--gray-300); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--gray-300); font-size: .88rem; transition: all .2s; }
.footer-col a:hover { color: var(--orange); padding-left: 3px; }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue-dark);
    border-bottom: 2px solid var(--gold);
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav a { display: block; padding: 12px 0; }
  .main-nav { margin-right: 12px; }
  .header-cta .btn-register { padding: 8px 16px; font-size: .8rem; }
  .hero { padding: 56px 16px 50px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero::after { font-size: 6rem; right: 10px; letter-spacing: 10px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { text-align: center; }
  .section { padding: 48px 16px; }
  .content-page { padding: 36px 16px 44px; }
  .content-page h1 { font-size: 1.7rem; }
  .page-hero { padding: 40px 16px 36px; }
  .page-hero h1 { font-size: 1.6rem; }
  .card-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero::after { display: none; }
  .section h2 { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .floating-cards { display: none; }
}

/* =============================================
   PAGE HERO — Felt green banner for subpages
   ============================================= */
.page-hero {
  background: linear-gradient(160deg, var(--felt-dark) 0%, var(--felt) 100%);
  color: var(--white);
  padding: 52px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px);
  pointer-events: none;
}
.page-hero::after {
  content: '\2660  \2665  \2666  \2663';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  letter-spacing: 30px;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  white-space: nowrap;
}
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.page-hero p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* =============================================
   ARTICLE STYLING
   ============================================= */
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: .83rem;
  color: var(--gray-600);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-body { margin-bottom: 36px; }
.article-body h2:first-of-type { margin-top: 24px; }

/* Related articles */
.related-articles { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--gray-100); }
.related-articles h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.related-card {
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .2s;
}
.related-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related-card a {
  font-weight: 600;
  font-size: .93rem;
  color: var(--blue-dark);
}
.related-card a:hover { color: var(--orange); }
.related-card p {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: 4px;
  margin-bottom: 0;
}

/* =============================================
   FLOATING POKER CARDS ANIMATION
   ============================================= */
.floating-cards {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.floating-card {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0;
  animation: floatCard linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
  will-change: transform, opacity;
}
.floating-card .fc-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 66px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  font-size: 1.4rem;
  backdrop-filter: blur(2px);
  animation: cardSpin linear infinite;
}
/* Suit colors */
.floating-card.suit-heart .fc-inner,
.floating-card.suit-diamond .fc-inner { color: #ff6b6b; }
.floating-card.suit-spade .fc-inner,
.floating-card.suit-club .fc-inner { color: rgba(255,255,255,.7); }

/* Float upward from bottom */
@keyframes floatCard {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: .6; }
  85% { opacity: .6; }
  100% {
    transform: translateY(-120px) translateX(var(--drift)) rotate(var(--end-rot));
    opacity: 0;
  }
}

/* Gentle 3D spin */
@keyframes cardSpin {
  0% { transform: rotateY(0deg) rotateZ(0deg); }
  50% { transform: rotateY(180deg) rotateZ(10deg); }
  100% { transform: rotateY(360deg) rotateZ(0deg); }
}

/* Individual card variations */
.floating-card:nth-child(1) { left: 5%; --drift: 30px; --end-rot: 45deg; animation-duration: 14s; animation-delay: 0s; }
.floating-card:nth-child(1) .fc-inner { animation-duration: 8s; }
.floating-card:nth-child(2) { left: 15%; --drift: -40px; --end-rot: -30deg; animation-duration: 18s; animation-delay: 2s; }
.floating-card:nth-child(2) .fc-inner { animation-duration: 10s; }
.floating-card:nth-child(3) { left: 28%; --drift: 50px; --end-rot: 60deg; animation-duration: 16s; animation-delay: 5s; }
.floating-card:nth-child(3) .fc-inner { animation-duration: 7s; }
.floating-card:nth-child(4) { left: 42%; --drift: -20px; --end-rot: -50deg; animation-duration: 20s; animation-delay: 1s; }
.floating-card:nth-child(4) .fc-inner { animation-duration: 12s; }
.floating-card:nth-child(5) { left: 55%; --drift: 35px; --end-rot: 40deg; animation-duration: 15s; animation-delay: 7s; }
.floating-card:nth-child(5) .fc-inner { animation-duration: 9s; }
.floating-card:nth-child(6) { left: 68%; --drift: -50px; --end-rot: -65deg; animation-duration: 17s; animation-delay: 3s; }
.floating-card:nth-child(6) .fc-inner { animation-duration: 11s; }
.floating-card:nth-child(7) { left: 78%; --drift: 25px; --end-rot: 35deg; animation-duration: 19s; animation-delay: 9s; }
.floating-card:nth-child(7) .fc-inner { animation-duration: 8s; }
.floating-card:nth-child(8) { left: 88%; --drift: -35px; --end-rot: -45deg; animation-duration: 13s; animation-delay: 4s; }
.floating-card:nth-child(8) .fc-inner { animation-duration: 10s; }
.floating-card:nth-child(9) { left: 35%; --drift: 45px; --end-rot: 55deg; animation-duration: 21s; animation-delay: 6s; }
.floating-card:nth-child(9) .fc-inner { animation-duration: 9s; }
.floating-card:nth-child(10) { left: 92%; --drift: -25px; --end-rot: -35deg; animation-duration: 16s; animation-delay: 11s; }
.floating-card:nth-child(10) .fc-inner { animation-duration: 7s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .floating-card { animation: none; display: none; }
}
