/*
Theme Name: HiSpin Casino
Theme URI: https://hispin.com
Author: HiSpin
Author URI: https://hispin.com
Description: A modern, dark-themed WordPress theme for HiSpin Casino — featuring a glassmorphism design, responsive layout, and full casino review site functionality.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hispin
Tags: dark, casino, gaming, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-primary: 263 70% 55%;
  --color-primary-rgb: 113, 63, 210;
  --color-secondary: 263 50% 40%;
  --color-accent: 48 96% 53%;
  --color-accent-rgb: 250, 204, 21;
  --color-success: 142 71% 45%;
  --color-success-rgb: 34, 197, 94;
  --color-background: 240 10% 6%;
  --color-background-rgb: 14, 14, 17;
  --color-foreground: 0 0% 100%;
  --color-card: 240 8% 10%;
  --color-card-rgb: 24, 24, 28;
  --color-muted: 240 8% 14%;
  --color-muted-fg: 240 5% 55%;
  --color-border: 240 8% 16%;
  --color-destructive: 0 84% 60%;
  --color-surface: 240 8% 8%;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1400px;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: hsl(var(--color-background));
  color: hsl(var(--color-foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: hsl(var(--color-primary));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(var(--color-accent));
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 800;
  color: hsl(var(--color-foreground));
}

p {
  color: hsl(var(--color-muted-fg));
  margin-bottom: 1rem;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.text-primary { color: hsl(var(--color-primary)); }
.text-accent { color: hsl(var(--color-accent)); }
.text-success { color: hsl(var(--color-success)); }
.text-muted { color: hsl(var(--color-muted-fg)); }
.text-foreground { color: hsl(var(--color-foreground)); }
.text-destructive { color: hsl(var(--color-destructive)); }

.bg-surface { background-color: hsl(var(--color-surface)); }
.bg-card { background-color: hsl(var(--color-card)); }

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

.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ===== GLASS CARD ===== */
.glass-card {
  background: linear-gradient(145deg, hsl(var(--color-card)) 0%, hsl(var(--color-background)) 100%);
  border: 1px solid hsl(var(--color-border) / 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: hsl(var(--color-primary) / 0.3);
  box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.15);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-md {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-cta {
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.5);
  color: #fff;
}

.btn-hero {
  background: hsl(var(--color-primary));
  color: #fff;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.btn-hero:hover {
  opacity: 0.9;
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  color: hsl(var(--color-foreground));
  border: 2px solid hsl(var(--color-border));
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.btn-hero-outline:hover {
  border-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary));
}

.btn-gradient {
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
  color: #fff;
}

.btn-gradient:hover {
  opacity: 0.9;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: hsl(var(--color-foreground));
  border: 1px solid hsl(var(--color-border));
}

.btn-outline:hover {
  border-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary));
}

/* ===== WP RESET — override block-library defaults ===== */
ul, ol, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

li { display: block; }

.wp-block-library, .has-global-padding { padding: 0; }

/* ===== NAVBAR ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: hsl(var(--color-background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--color-border) / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-inner { height: 5rem; }
}

.site-logo img {
  height: 2rem;
}

@media (min-width: 1024px) {
  .site-logo img { height: 2.5rem; }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

/* Desktop nav list (WordPress wp_nav_menu output) */
.desktop-nav-list,
.desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.desktop-nav-list li,
.desktop-nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav-list li a,
.desktop-nav ul li a,
.desktop-nav > a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-muted-fg));
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}

.desktop-nav-list li a:hover,
.desktop-nav ul li a:hover,
.desktop-nav > a:hover,
.desktop-nav-list li.current-menu-item > a,
.desktop-nav ul li.current-menu-item > a,
.desktop-nav-list li.current_page_item > a,
.desktop-nav ul li.current_page_item > a {
  color: hsl(var(--color-primary));
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .header-actions { display: flex; }
}

/* ===== i18n FLASH PREVENTION ===== */
html.i18n-loading body { opacity: 0; }
html.i18n-ready body { opacity: 1; transition: opacity 0.15s ease; }

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
  position: relative;
  z-index: 300;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid hsl(var(--color-border));
  border-radius: 9999px;
  color: hsl(var(--color-foreground));
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.lang-dropdown-trigger:hover,
.lang-dropdown.open .lang-dropdown-trigger {
  background: hsl(var(--color-muted) / 0.5);
  border-color: hsl(var(--color-primary) / 0.5);
}

.lang-dropdown-trigger svg:first-child {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-chevron {
  width: 12px !important;
  height: 12px !important;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-code {
  letter-spacing: 0.03em;
}

/* Dropdown menu — MUST be hidden until .open is toggled */
#lang-menu,
.lang-dropdown-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 170px;
  background: hsl(240 8% 12%);
  border: 1px solid hsl(var(--color-border));
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px hsl(var(--color-border) / 0.3);
  z-index: 9999;
}

.lang-dropdown.open #lang-menu,
.lang-dropdown.open .lang-dropdown-menu {
  display: block !important;
}

.lang-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  color: hsl(var(--color-muted-fg));
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.lang-dropdown-item:hover {
  background: hsl(var(--color-muted) / 0.6);
  color: hsl(var(--color-foreground));
}

.lang-dropdown-item.active {
  color: hsl(var(--color-foreground));
}

.lang-dropdown-item svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-check {
  margin-left: auto;
  color: hsl(var(--color-primary));
  font-size: 0.875rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: hsl(var(--color-foreground));
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

.hamburger-icon {
  width: 1.5rem;
  height: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: hsl(var(--color-foreground));
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: hsl(var(--color-background) / 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 18rem;
  height: 100%;
  background: hsl(var(--color-card));
  border-left: 1px solid hsl(var(--color-border) / 0.5);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: hsl(var(--color-muted-fg));
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-menu-nav,
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-nav ul {
  margin-top: 0;
}

.mobile-menu-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: hsl(var(--color-foreground));
  font-weight: 500;
  border-radius: var(--radius);
  transition: background-color 0.2s;
  text-decoration: none;
}

.mobile-menu-nav a:hover {
  background: hsl(var(--color-muted) / 0.5);
  color: hsl(var(--color-primary));
}

.mobile-menu-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-actions .btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .mobile-menu-overlay { display: none; }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--color-background) / 0.8) 0%,
    hsl(var(--color-background) / 0.6) 50%,
    hsl(var(--color-background)) 100%
  );
}

.hero-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--color-primary) / 0.15);
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--color-secondary) / 0.1);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 4s ease-in-out infinite 1.5s;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 0;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  max-width: 64rem;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero-content h1 { font-size: 4.5rem; }
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .trust-signals { gap: 1.5rem; }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--color-card) / 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--color-border) / 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-foreground));
}

.trust-badge svg,
.trust-badge .icon {
  color: hsl(var(--color-primary));
  width: 1rem;
  height: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--color-background) / 0.8) 0%,
    hsl(var(--color-background) / 0.6) 50%,
    hsl(var(--color-background)) 100%
  );
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    hsl(var(--color-background) / 0.5) 0%,
    transparent 50%,
    hsl(var(--color-background) / 0.5) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .page-hero-content { padding: 7rem 0; }
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  max-width: 48rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (min-width: 1024px) {
  .page-hero h1 { font-size: 3rem; }
}

.page-hero .hero-intro {
  font-size: 1.125rem;
  color: hsl(var(--color-foreground) / 0.8);
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: hsl(var(--color-muted-fg));
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: hsl(var(--color-primary));
}

.breadcrumbs .separator {
  display: inline-flex;
  color: hsl(var(--color-muted-fg));
}

.breadcrumbs .current {
  color: hsl(var(--color-foreground));
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

.section-alt {
  background: hsl(var(--color-surface) / 0.5);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header .icon {
  display: inline-flex;
  color: hsl(var(--color-accent));
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .section-header h2 { font-size: 2.25rem; }
}

/* ===== REVIEW SECTION ===== */
.review-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .review-grid { grid-template-columns: 1fr 1fr; }
}

.review-text > p {
  margin-bottom: 1rem;
}

.pros-cons-card {
  padding: 1.5rem;
}

.pros-cons-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.pros-cons-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pros-cons-card li {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
  padding-left: 1.25rem;
  position: relative;
}

.pros-cons-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(var(--color-success));
  font-weight: 700;
}

.cons-card li::before {
  content: '✗';
  color: hsl(var(--color-accent));
}

/* ===== BONUS SECTION ===== */
.bonus-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bonus-grid { grid-template-columns: 2fr 1fr; }
}

.bonus-main-card {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .bonus-main-card { grid-column: span 1; }
}

.bonus-side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bonus-side-card {
  padding: 1.5rem;
}

.bonus-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

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

.bonus-stat {
  text-align: center;
  padding: 1rem;
}

.bonus-stat .label {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bonus-stat .value {
  font-size: 1.125rem;
  font-weight: 800;
  color: hsl(var(--color-foreground));
}

.bonus-detail {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid hsl(var(--color-border) / 0.5);
}

.bonus-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bonus-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: hsl(var(--color-foreground));
}

.bonus-bullets li .bullet-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--color-accent));
}

/* ===== WARNING CARD ===== */
.warning-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-color: hsl(var(--color-accent) / 0.3);
  margin-top: 1.5rem;
}

.warning-card .warning-icon {
  flex-shrink: 0;
  color: hsl(var(--color-accent));
  margin-top: 0.125rem;
}

.warning-card p {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-color: hsl(var(--color-primary) / 0.3);
  margin-top: 1.5rem;
}

/* ===== REGISTRATION GUIDE ===== */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--color-primary));
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
}

/* ===== GAMES SECTION ===== */
.category-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

.category-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.category-card-img {
  height: 8rem;
  overflow: hidden;
}

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

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

.category-card-body {
  padding: 1.25rem;
}

.category-card-body h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-card-body h3 .icon {
  color: hsl(var(--color-primary));
}

.category-card-body p {
  font-size: 0.875rem;
}

/* Game tiles */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.game-tile {
  padding: 1rem;
}

.game-tile-img {
  position: relative;
  height: 6rem;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.game-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
}

.game-badge img {
  width: 100%;
  height: 100%;
}

.game-tile h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.game-tile .provider {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
}

/* Providers */
.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.provider-badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--color-muted) / 0.5);
  border: 1px solid hsl(var(--color-border) / 0.5);
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
  transition: all 0.2s;
}

.provider-badge:hover {
  border-color: hsl(var(--color-primary) / 0.3);
  color: hsl(var(--color-foreground));
}

/* ===== FAQ SECTION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 56rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: hsl(var(--color-foreground));
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: hsl(var(--color-primary));
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: hsl(var(--color-muted-fg));
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: hsl(var(--color-muted-fg));
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== PAYMENTS SECTION ===== */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  min-width: 5rem;
  padding: 0.5rem 0.75rem;
}

.payment-icon svg {
  flex-shrink: 0;
}

.payment-icon img {
  max-height: 2rem;
  width: auto;
}

.payment-icon-text {
  font-size: 0.8125rem;
  color: hsl(var(--color-muted-fg));
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.payment-icon-text strong {
  color: hsl(var(--color-foreground));
  font-weight: 700;
}

.payment-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
}

.payment-card {
  padding: 1.5rem;
}

.payment-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ===== VERDICT SECTION ===== */
.rating-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 1.75rem;
  height: 1.75rem;
}

.star-filled { color: hsl(var(--color-accent)); }
.star-half { color: hsl(var(--color-accent) / 0.5); }
.star-empty { color: hsl(var(--color-muted-fg)); }

.rating-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--color-foreground));
  margin-left: 0.5rem;
}

/* Strengths / Dealbreakers lists */
.verdict-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.verdict-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: hsl(var(--color-muted-fg));
}

.verdict-list.strengths li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(var(--color-success));
  font-weight: 700;
}

.verdict-list.dealbreakers li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: hsl(var(--color-destructive));
  font-weight: 700;
}

/* ===== CONTENT SECTIONS (subpages) ===== */
.content-section {
  padding: 4rem 0;
}

.content-section .content-inner {
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.content-block p {
  color: hsl(var(--color-muted-fg));
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid hsl(var(--color-border) / 0.5);
  padding: 3rem 0 1.5rem;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid hsl(var(--color-border) / 0.3);
}

.footer-payments .payment-icon {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.footer-payments .payment-icon img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  filter: brightness(1.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-fg));
  transition: color 0.2s;
}

.footer-col a:hover {
  color: hsl(var(--color-primary));
}

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

.footer-logo img {
  height: 2rem;
}

.app-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.app-buttons img {
  height: 2.5rem;
  width: auto;
}

.footer-lang-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--color-border));
}
.footer-lang-dropdown .lang-dropdown-menu {
  bottom: calc(100% + 0.5rem);
  top: auto !important;
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--color-destructive));
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 56rem;
}

.footer-rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--color-border) / 0.3);
}

.footer-rg-links a {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
}

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

.footer-copyright {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
  text-align: center;
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(
    to top,
    hsl(var(--color-background)),
    hsl(var(--color-background) / 0.95) 50%,
    hsl(var(--color-background) / 0.8)
  );
  border-top: 1px solid hsl(var(--color-border) / 0.5);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .mobile-sticky-bar { display: none; }
}

.sticky-bar-text {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-fg));
  white-space: nowrap;
}

.mobile-sticky-bar .btn {
  flex: 1;
  max-width: 20rem;
}

/* ===== VIP SECTION ===== */
.vip-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .vip-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== 404 PAGE ===== */
.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ===== WORDPRESS SPECIFIC ===== */
/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignnone { display: block; }
.alignwide { max-width: var(--container-max); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }

/* WordPress captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: hsl(var(--color-muted-fg)); padding: 0.5rem 0; }

/* Sticky post */
.sticky { border-left: 3px solid hsl(var(--color-primary)); padding-left: 1rem; }

/* Screen reader text - WP standard */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-item { flex: 1 0 200px; }

/* Comments */
.comment-list { list-style: none; }
.comment-list .children { padding-left: 2rem; }

/* Admin bar spacing */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* SVG Icons inline */
.icon-svg {
  display: inline-flex;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section spacing helpers */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
