/*
Theme Name: kpokerclub
Theme URI: https://kpokerclub.com
Description: Dark felt green poker club theme with gold accents, dashboard-style layout, and exclusive private club aesthetic. Built for poker rooms, strategy, and math tools.
Version: 1.0.0
Author: K Poker Club
Author URI: https://kpokerclub.com
Text Domain: kpokerclub
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   POKER CLUB DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --felt-green: #0d4a2b;
  --felt-green-light: #1a5c3a;
  --felt-green-dark: #093d23;
  --felt-green-deep: #072e1a;
  --gold: #d4a928;
  --gold-light: #e8c44a;
  --gold-dark: #c49b26;
  --gold-muted: #a8852e;
  --black: #111111;
  --black-card: #1a1a1a;
  --black-surface: #222222;
  --black-deep: #0a0a0a;
  --white: #f5f5f0;
  --white-muted: #d4d4cc;
  --white-dim: #999;
  --red-suit: #c0392b;
  --red-light: #e74c3c;
  --chip-blue: #2c5aa0;
  --chip-red: #c0392b;
  --chip-green: #27ae60;
  --chip-black: #2c2c2c;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Roboto', 'Helvetica Neue', sans-serif;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow-gold: 0 4px 20px rgba(212, 169, 40, 0.25);
  --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(212, 169, 40, 0.15);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gold);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 8px rgba(212, 169, 40, 0.3);
}

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

::selection {
  background: var(--gold-dark);
  color: var(--black);
}

/* --- Container --- */
.kpc-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.kpc-container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.kpc-container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   DECORATIVE BORDERS — CARD SUIT PATTERN
   ============================================ */

.suit-border-top {
  position: relative;
  border-top: 2px solid var(--gold-dark);
}

.suit-border-top::before {
  content: '\2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 6px;
  opacity: 0.4;
  overflow: hidden;
  white-space: nowrap;
}

.suit-border-bottom {
  position: relative;
  border-bottom: 2px solid var(--gold-dark);
}

.suit-border-bottom::after {
  content: '\2663  \2666  \2665  \2660  \2663  \2666  \2665  \2660  \2663  \2666  \2665  \2660  \2663  \2666  \2665  \2660  \2663  \2666  \2665  \2660';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 6px;
  opacity: 0.4;
  overflow: hidden;
  white-space: nowrap;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.kpc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--felt-green-dark), var(--felt-green));
  transition: box-shadow var(--transition);
}

.kpc-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 0 var(--gold-dark);
}

.kpc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.kpc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
}

.kpc-logo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.kpc-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kpc-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.kpc-menu li {
  position: relative;
}

.kpc-menu li a {
  display: block;
  padding: 24px 16px;
  color: var(--white-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition), background var(--transition);
}

.kpc-menu li a:hover,
.kpc-menu li.current-menu-item a {
  color: var(--gold);
  background: rgba(212, 169, 40, 0.08);
}

.kpc-menu li.kpc-nav-cta a {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 4px;
  margin-left: 12px;
  text-shadow: none;
}

.kpc-menu li.kpc-nav-cta a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
}

/* Dropdown */
.kpc-menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  min-width: 220px;
  box-shadow: var(--shadow-dark);
  z-index: 100;
}

.kpc-menu li:hover > ul.sub-menu {
  display: block;
}

.kpc-menu li ul.sub-menu li a {
  padding: 12px 20px;
  font-size: 0.85rem;
  text-transform: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Mobile Toggle */
.kpc-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.kpc-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}

.kpc-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.kpc-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.kpc-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.kpc-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center bottom, var(--felt-green) 0%, var(--felt-green-dark) 40%, var(--black) 100%);
}

.kpc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Felt texture overlay */
.kpc-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 100%),
    repeating-conic-gradient(rgba(255,255,255,0.01) 0%, transparent 0.5%);
  z-index: 1;
}

/* Suit symbols floating pattern */
.kpc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(212, 169, 40, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(212, 169, 40, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(212, 169, 40, 0.03) 0%, transparent 40%);
  z-index: 2;
}

.kpc-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}

.kpc-hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.9;
}

.kpc-hero-description {
  font-size: 1.15rem;
  color: var(--white-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.kpc-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--black);
  text-shadow: none;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--gold-dark);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold-outline:hover {
  background: rgba(212, 169, 40, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: var(--shadow-glow);
  text-shadow: none;
}

.btn-felt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--felt-green), var(--felt-green-light));
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--felt-green-light);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-felt:hover {
  background: linear-gradient(135deg, var(--felt-green-light), #22764b);
  box-shadow: 0 4px 20px rgba(26, 92, 58, 0.4);
  color: var(--white);
  text-shadow: none;
}

/* ============================================
   GOLD SHIMMER TEXT
   ============================================ */

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============================================
   SECTIONS
   ============================================ */

.kpc-section {
  padding: 80px 0;
}

.kpc-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.kpc-section-header h2 {
  margin-bottom: 12px;
}

.kpc-section-header p {
  color: var(--white-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Section backgrounds */
.bg-felt {
  background: linear-gradient(180deg, var(--felt-green-dark), var(--felt-green));
}

.bg-felt-gradient {
  background: linear-gradient(180deg, var(--felt-green-deep), var(--felt-green-dark) 50%, var(--black) 100%);
}

.bg-dark-surface {
  background: var(--black-card);
}

.bg-dark-gradient {
  background: linear-gradient(180deg, var(--black), var(--black-card));
}

.bg-black {
  background: var(--black);
}

/* ============================================
   CARD SURFACES
   ============================================ */

.dark-card {
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.1);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.dark-card:hover {
  border-color: rgba(212, 169, 40, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.felt-card {
  background: linear-gradient(135deg, var(--felt-green-dark), var(--felt-green));
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.felt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13, 74, 43, 0.5);
}

.chip-card {
  background: var(--black-card);
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: inset 0 0 0 8px rgba(212, 169, 40, 0.1), var(--shadow-dark);
}

/* ============================================
   ARTICLE / BLOG CARDS
   ============================================ */

.article-card {
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(212, 169, 40, 0.08);
  border-color: rgba(212, 169, 40, 0.2);
}

.article-card-image {
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid var(--gold-dark);
}

.article-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.article-card-body {
  padding: 20px;
}

.article-card-date {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card-title a {
  color: var(--white);
  transition: color var(--transition);
}

.article-card-title a:hover {
  color: var(--gold);
  text-shadow: none;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--white-dim);
}

.article-card-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   POKER ROOM / BRAND CARDS
   ============================================ */

.room-card {
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.12);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.room-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.room-card-header {
  background: linear-gradient(135deg, var(--felt-green-dark), var(--felt-green));
  padding: 20px;
  border-bottom: 2px solid var(--gold-dark);
}

.room-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.room-card-body {
  padding: 20px;
}

.room-card-bonus {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

/* ============================================
   POKER RATING (chip style)
   ============================================ */

.chip-rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.chip-rating .chip {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  background: var(--black-surface);
  display: inline-block;
  transition: all var(--transition);
}

.chip-rating .chip.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 0 0 6px rgba(212, 169, 40, 0.4);
}

.chip-rating .chip.half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--black-surface) 50%);
  border-color: var(--gold-dark);
}

/* ============================================
   STAT DASHBOARD BOXES
   ============================================ */

.stat-box {
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.1);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
}

.stat-box-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-box-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.stat-box-note {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-top: 4px;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc-box {
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-left: 4px solid var(--gold);
  border-radius: var(--border-radius);
  padding: 24px;
  margin: 30px 0;
}

.toc-box h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.toc-box ol {
  padding-left: 20px;
  margin: 0;
}

.toc-box li {
  padding: 6px 0;
  font-size: 0.9rem;
}

.toc-box li a {
  color: var(--white-muted);
  transition: color var(--transition);
}

.toc-box li a:hover {
  color: var(--gold);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.kpc-breadcrumbs {
  font-size: 0.8rem;
  color: var(--white-dim);
  padding: 12px 0;
}

.kpc-breadcrumbs a {
  color: var(--gold-muted);
}

.kpc-breadcrumbs a:hover {
  color: var(--gold);
}

.kpc-breadcrumbs .separator {
  margin: 0 8px;
  opacity: 0.4;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--felt-green-dark);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
}

.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(212, 169, 40, 0.08);
  color: var(--white-muted);
}

.comparison-table tr:hover td {
  background: rgba(212, 169, 40, 0.04);
}

.comparison-table td.winner {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   REVIEW HERO
   ============================================ */

.review-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--felt-green-dark), var(--black));
  text-align: center;
}

.review-header-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  text-align: left;
  flex-wrap: wrap;
}

.review-logo {
  max-height: 80px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 169, 40, 0.2);
}

.review-info {
  flex: 1;
  min-width: 200px;
}

.review-cta-area {
  flex-shrink: 0;
}

.review-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* ============================================
   GAME INFO DASHBOARD
   ============================================ */

.game-info-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.game-info-item {
  text-align: center;
  padding: 16px 8px;
}

.game-info-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.game-info-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================
   CALLOUT BOXES
   ============================================ */

.callout-tip {
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-left: 4px solid var(--chip-green);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  color: var(--white-muted);
}

.callout-warning {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-left: 4px solid var(--red-suit);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  color: var(--white-muted);
}

.callout-info {
  background: rgba(212, 169, 40, 0.06);
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  color: var(--white-muted);
}

/* ============================================
   SECTION DIVIDER
   ============================================ */

.section-divider {
  text-align: center;
  padding: 20px 0;
  color: var(--gold);
  opacity: 0.3;
  letter-spacing: 8px;
  font-size: 16px;
}

.felt-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--felt-green), var(--gold-dark), var(--felt-green), transparent);
  margin: 0;
  border: none;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

/* ============================================
   ENTRY CONTENT (Article Prose)
   ============================================ */

.entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--white-muted);
}

.entry-content h2 {
  margin-top: 50px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 169, 40, 0.15);
}

.entry-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
}

.entry-content h4 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 30px 0;
  padding: 20px 24px;
  background: rgba(212, 169, 40, 0.04);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--white-muted);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.entry-content table th {
  background: var(--felt-green-dark);
  color: var(--gold);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
  font-size: 0.9rem;
}

.entry-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

.entry-content table tr:hover td {
  background: rgba(212, 169, 40, 0.03);
}

.entry-content code {
  background: var(--black-surface);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--gold-light);
}

.entry-content pre {
  background: var(--black-surface);
  padding: 20px;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid rgba(212, 169, 40, 0.1);
}

.entry-content img {
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 169, 40, 0.1);
  margin: 24px auto;
}

.entry-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--gold-light);
}

/* ============================================
   SEARCH FORM
   ============================================ */

.search-form-kpc {
  display: flex;
  gap: 0;
  border: 2px solid var(--gold-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--black-card);
}

.search-form-kpc input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

.search-form-kpc input::placeholder {
  color: var(--white-dim);
}

.search-form-kpc button {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  border: none;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.search-form-kpc button:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* ============================================
   PAGINATION
   ============================================ */

.kpc-pagination {
  text-align: center;
  margin-top: 50px;
}

.kpc-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.kpc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: var(--black-card);
  border: 1px solid rgba(212, 169, 40, 0.15);
  border-radius: 4px;
  color: var(--white-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.kpc-pagination .page-numbers:hover,
.kpc-pagination .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ============================================
   FOOTER
   ============================================ */

.kpc-footer {
  background: linear-gradient(180deg, var(--black-card), var(--black-deep));
  padding: 60px 0 0;
}

.kpc-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.kpc-footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.kpc-footer-col ul {
  list-style: none;
}

.kpc-footer-col ul li {
  margin-bottom: 8px;
}

.kpc-footer-col ul li a {
  color: var(--white-dim);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.kpc-footer-col ul li a:hover {
  color: var(--gold);
}

.kpc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(212, 169, 40, 0.1);
  font-size: 0.85rem;
  color: var(--white-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.responsible-gaming-notice {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.responsible-gaming-notice p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.responsible-gaming-notice a {
  color: var(--gold);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--red-suit);
  border-radius: 50%;
  color: var(--red-suit);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============================================
   BADGE / TAG PILLS
   ============================================ */

.kpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3px;
}

.kpc-badge--outline {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
}

.kpc-badge--red {
  background: linear-gradient(135deg, var(--red-suit), var(--red-light));
  color: var(--white);
}

/* ============================================
   SARCOPHAGUS CARD (Bonus highlight)
   ============================================ */

.bonus-highlight-card {
  background: linear-gradient(135deg, var(--felt-green-dark), var(--black-card));
  border: 2px solid var(--gold-dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.bonus-highlight-header {
  background: linear-gradient(135deg, rgba(212, 169, 40, 0.1), rgba(212, 169, 40, 0.05));
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 169, 40, 0.15);
}

.bonus-highlight-body {
  padding: 24px;
}

.bonus-highlight-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(212, 169, 40, 0.1);
}

/* ============================================
   POKER HAND DISPLAY
   ============================================ */

.poker-hand {
  display: inline-flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--felt-green);
  border: 2px solid var(--gold-dark);
  border-radius: var(--border-radius);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.poker-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 68px;
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-family: var(--font-body);
  line-height: 1;
}

.poker-card.red {
  color: var(--red-suit);
}

.poker-card.black {
  color: var(--black);
}

/* ============================================
   ODDS TABLE
   ============================================ */

.odds-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--black-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 169, 40, 0.1);
  margin: 20px 0;
}

.odds-table th {
  background: var(--felt-green-dark);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.odds-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--white-muted);
}

.odds-table tr:hover td {
  background: rgba(212, 169, 40, 0.03);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-section { padding-top: 80px; padding-bottom: 80px; }
.px-container { padding-left: 20px; padding-right: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-full { width: 100%; }
.max-w-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   GOLDEN FRAME (for embeds/images)
   ============================================ */

.golden-frame {
  border: 2px solid var(--gold-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3), var(--shadow-gold);
}

.golden-frame-inner {
  border: 1px solid rgba(212, 169, 40, 0.2);
}

.golden-frame-ornate {
  border-width: 3px;
  position: relative;
}

.golden-frame-ornate::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(212, 169, 40, 0.15);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpc-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kpc-menu-toggle {
    display: flex;
  }

  .kpc-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    z-index: 999;
  }

  .kpc-menu.active {
    display: flex;
  }

  .kpc-menu li a {
    padding: 16px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .kpc-menu li.kpc-nav-cta {
    margin-top: 16px;
  }

  .kpc-menu li.kpc-nav-cta a {
    margin-left: 0;
    text-align: center;
    display: block;
  }

  .kpc-menu li ul.sub-menu {
    position: static;
    border: none;
    background: rgba(255,255,255,0.03);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .kpc-hero {
    min-height: 70vh;
  }

  .kpc-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kpc-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .review-header-card {
    flex-direction: column;
    text-align: center;
  }

  .kpc-section {
    padding: 50px 0;
  }

  .kpc-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .kpc-container {
    padding: 0 16px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .btn-gold,
  .btn-gold-outline,
  .btn-felt {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .poker-hand {
    gap: 4px;
    padding: 8px 12px;
  }

  .poker-card {
    width: 38px;
    height: 54px;
    font-size: 0.85rem;
  }
}

/* ============================================
   WORDPRESS-SPECIFIC OVERRIDES
   ============================================ */

.wp-block-image {
  margin: 30px 0;
}

.wp-block-image img {
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 169, 40, 0.1);
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--white-dim);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .kpc-header,
  .kpc-footer,
  .kpc-menu-toggle,
  .btn-gold,
  .btn-gold-outline {
    display: none !important;
  }

  body {
    background: #fff;
    color: #333;
  }

  .entry-content {
    max-width: 100%;
  }
}
