/*
Theme Name: highrollers334433
Theme URI: https://highrollersuk.com
Author: HighRollersUK
Author URI: https://highrollersuk.com
Description: Premium VIP casino review theme for HighRollersUK - deep ocean dark design with gold and cyan accents.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: highrollersuk
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

/* ===== CSS VARIABLES — exact match of Lovable design tokens ===== */
:root {
  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Satoshi', sans-serif;

  --background: 200 45% 8%;
  --foreground: 200 15% 90%;
  --card: 200 40% 11%;
  --card-foreground: 200 15% 90%;
  --popover: 200 35% 14%;
  --popover-foreground: 200 15% 90%;
  --primary: 197 66% 44%;
  --primary-foreground: 200 50% 6%;
  --secondary: 200 40% 11%;
  --secondary-foreground: 200 15% 90%;
  --muted: 200 25% 18%;
  --muted-foreground: 200 10% 48%;
  --accent: 200 35% 14%;
  --accent-foreground: 197 66% 54%;
  --destructive: 4 74% 57%;
  --destructive-foreground: 0 0% 100%;
  --border: 200 20% 18%;
  --input: 200 20% 24%;
  --ring: 197 66% 44%;
  --radius: 0.5rem;

  --gold: 43 65% 52%;
  --gold-light: 43 78% 68%;
  --gold-dark: 43 60% 41%;
  --gold-pale: 40 71% 84%;
  --cyan: 197 66% 44%;
  --cyan-light: 190 70% 60%;
  --cyan-dark: 200 60% 32%;
  --surface: 200 35% 14%;
  --surface-elevated: 200 25% 20%;
  --text-primary: 0 0% 100%;
  --text-secondary: 200 10% 72%;
  --text-muted: 200 10% 48%;
  --success: 160 60% 45%;
  --info: 197 66% 44%;
  --warning: 36 90% 51%;
  --vip: 270 50% 55%;

  --sidebar-background: 200 35% 12%;
  --sidebar-foreground: 200 10% 72%;
  --sidebar-primary: 197 66% 44%;
  --sidebar-primary-foreground: 200 50% 6%;
  --sidebar-accent: 200 25% 18%;
  --sidebar-accent-foreground: 200 15% 90%;
  --sidebar-border: 200 20% 18%;
  --sidebar-ring: 197 66% 44%;

  --sidebar-width-open: 240px;
  --sidebar-width-collapsed: 90px;
  --topnav-height-mobile: 68px;
  --topnav-height-desktop: 96px;
  --bottom-nav-height: 72px;
}

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

html, html[lang], html.wp-toolbar {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
}

body, body.admin-bar, body.logged-in {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== UTILITY CLASSES ===== */
.gold-gradient {
  background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%));
}

.gold-text {
  background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyan-gradient {
  background: linear-gradient(135deg, hsl(197 66% 44%), hsl(190 70% 60%));
}

.cyan-text {
  background: linear-gradient(135deg, hsl(197 66% 44%), hsl(190 70% 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ===== TOP NAV ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--topnav-height-mobile);
  background: hsl(var(--accent));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
}

/* No extra pseudo-element — keep header exact 68px on mobile */

@media (min-width: 768px) {
  .top-nav { height: var(--topnav-height-desktop); }
}

.top-nav__sidebar-area {
  display: none;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid hsl(var(--border));
  transition: width 0.2s;
  padding: 0 6px;
}

@media (min-width: 768px) {
  .top-nav__sidebar-area { display: flex; }
}

.top-nav__sidebar-area[data-state="open"] { width: var(--sidebar-width-open); }
.top-nav__sidebar-area[data-state="collapsed"] { width: var(--sidebar-width-collapsed); }

.hamburger-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.hamburger-btn:hover {
  color: hsl(var(--gold));
  background: hsl(var(--surface-elevated));
}

[data-state="open"] .hamburger-btn { gap: 12px; padding-left: 16px; padding-right: 16px; }
[data-state="collapsed"] .hamburger-btn { justify-content: center; }

.hamburger-btn__icon { width: 28px; height: 28px; flex-shrink: 0; }
.hamburger-btn__label { color: hsl(var(--text-primary)); }

.top-nav__mobile {
  display: flex;
  align-items: center;
  padding-left: 40px;
  padding-right: 16px;
  gap: 8px;
  flex: 1;
}

@media (min-width: 768px) { .top-nav__mobile { display: none; } }

.top-nav__desktop {
  display: none;
  align-items: center;
  padding-left: 72px;
  padding-right: 24px;
  gap: 16px;
  flex: 1;
}

@media (min-width: 768px) { .top-nav__desktop { display: flex; } }

.brand-link { font-weight: 800; letter-spacing: -0.02em; user-select: none; }
.brand-link--mobile { font-size: 1.25rem; }
.brand-link--desktop { font-size: 1.875rem; }

/* ===== SIDEBAR ===== */
.sidebar {
  display: none;
  position: fixed;
  left: 0;
  top: var(--topnav-height-desktop);
  bottom: 0;
  z-index: 40;
  background: hsl(var(--accent));
  border-right: 1px solid hsl(var(--border));
  overflow: hidden;
  flex-direction: column;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) { .sidebar { display: flex; } }

.sidebar[data-state="open"] { width: var(--sidebar-width-open); }
.sidebar[data-state="collapsed"] { width: var(--sidebar-width-collapsed); }

.sidebar__nav {
  flex: 1;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-item { position: relative; }

.sidebar-item__btn {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
  color: hsl(var(--foreground));
  border-left: 2px solid transparent;
}

.sidebar-item__btn[data-expanded="true"] { gap: 12px; padding: 12px 16px; }
.sidebar-item__btn[data-expanded="false"] { justify-content: center; padding: 10px 0; }

/* Hide label, chevron, live-dot text when sidebar collapsed */
.sidebar-item__btn[data-expanded="false"] .item-label,
.sidebar-item__btn[data-expanded="false"] .chevron-icon,
.sidebar-item__btn[data-expanded="false"] .live-dot { display: none; }

.sidebar-item__btn:hover { background: hsl(var(--surface-elevated)); }

.sidebar-item__btn .item-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.sidebar-item__btn:hover .item-icon { color: hsl(var(--gold)); }

.sidebar-item__btn .item-label {
  flex: 1;
  text-align: left;
  color: hsl(var(--text-primary));
}

.sidebar-item__btn .chevron-icon {
  width: 16px; height: 16px;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s;
}

.sidebar-item__btn .chevron-icon.open { transform: rotate(180deg); }

/* Highlight variants */
.sidebar-item__btn.hl-gold:hover .item-icon { color: hsl(var(--gold)); }
.sidebar-item__btn.hl-gold:hover { background: hsl(var(--gold) / 0.1); }
.sidebar-item__btn.hl-gold[data-expanded="true"] { border-left-color: hsl(var(--gold)); }

.sidebar-item__btn.hl-vip:hover .item-icon { color: hsl(var(--vip)); }
.sidebar-item__btn.hl-vip:hover { background: hsl(var(--vip) / 0.1); }
.sidebar-item__btn.hl-vip[data-expanded="true"] { border-left-color: hsl(var(--vip)); }

.sidebar-item__btn.hl-live:hover .item-icon { color: hsl(var(--success)); }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--success));
  animation: pulse 2s infinite;
}

.live-dot--abs { position: absolute; top: 2px; right: 2px; }

.sidebar-tooltip {
  position: absolute; left: 100%; margin-left: 8px;
  padding: 6px 10px;
  background: hsl(var(--surface-elevated));
  border: 1px solid hsl(var(--border));
  border-radius: 6px; font-size: 12px;
  color: hsl(var(--text-primary));
  white-space: nowrap; z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
  display: none;
}

.sidebar-item__btn[data-expanded="false"]:hover .sidebar-tooltip { display: block; }

.sidebar-dropdown {
  margin-left: 24px; padding-left: 16px;
  border-left: 1px solid hsl(var(--border) / 0.5);
  padding-top: 4px; padding-bottom: 4px;
  display: none;
}

.sidebar-dropdown.open { display: block; }

.sidebar-dropdown__item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; font-size: 13px;
  color: hsl(var(--text-secondary));
  border-radius: 6px; transition: color 0.2s, background 0.2s;
}

.sidebar-dropdown__item:hover {
  color: hsl(var(--gold));
  background: hsl(var(--surface-elevated));
}

.sidebar-dropdown__seeall {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; font-size: 13px; font-weight: 600;
  color: hsl(var(--gold)); border-radius: 6px;
  transition: background 0.2s;
}

.sidebar-dropdown__seeall:hover { background: hsl(var(--surface-elevated)); }

/* ===== MAIN CONTENT ===== */
.main-content {
  padding-top: var(--topnav-height-mobile);
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
  transition: margin-left 0.2s;
}

@media (min-width: 768px) {
  .main-content {
    padding-top: var(--topnav-height-desktop);
    padding-bottom: 0;
  }
  .main-content[data-sidebar="open"] { margin-left: var(--sidebar-width-open); }
  .main-content[data-sidebar="collapsed"] { margin-left: var(--sidebar-width-collapsed); }
}

.main-inner {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-x: hidden;
  word-break: break-all;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .main-inner { padding: 24px; gap: 40px; }
}

@media (min-width: 1024px) {
  .main-inner { padding-left: 2%; padding-right: 2%; }
}
@media (min-width: 1440px) {
  .main-inner { padding-left: 5%; padding-right: 5%; }
}

/* ===== HERO ===== */
.hero {
  position: relative; width: 100%;
  border-radius: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 24px;
  overflow: hidden;
}

@media (min-width: 768px) { .hero { padding: 40px 48px; } }

.hero__glow-1 {
  position: absolute; top: -64px; right: -64px;
  width: 384px; height: 384px; border-radius: 50%;
  background: hsl(var(--gold) / 0.10);
  filter: blur(120px); pointer-events: none;
}

.hero__glow-2 {
  position: absolute; bottom: -80px; left: -64px;
  width: 320px; height: 320px; border-radius: 50%;
  background: hsl(var(--info) / 0.08);
  filter: blur(120px); pointer-events: none;
}

.hero__content {
  position: relative; z-index: 10; width: 100%;
  display: flex; flex-direction: column; gap: 20px;
  word-break: break-all; overflow-wrap: anywhere;
}

.hero__title {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
}

@media (min-width: 768px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3rem; } }

.hero__subtitle {
  display: block; color: hsl(var(--text-primary)); margin-top: 8px;
}

.hero__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  max-width: 42rem; line-height: 1.625;
}

@media (min-width: 768px) { .hero__desc { font-size: 1rem; } }

.hero__updated {
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
  font-style: italic;
}

.hero__author {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 8px;
}

.hero__author-label {
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

.hero__author-name {
  font-size: 0.75rem; font-weight: 700; color: hsl(var(--gold));
}

.hero__author-role {
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

/* ===== STATS BAR ===== */
.stats-bar {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 24px 16px;
}

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

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

.stat-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}

.stat-item__icon { width: 24px; height: 24px; color: hsl(var(--gold)); }

.stat-item__value {
  font-size: 1.5rem; font-weight: 800; font-family: var(--font-display);
}

@media (min-width: 768px) { .stat-item__value { font-size: 1.875rem; } }

.stat-item__label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ===== SECTION HEADERS ===== */
.section-header { display: flex; flex-direction: column; gap: 8px; }

.section-header__title {
  font-size: 1.5rem; font-weight: 800; color: white;
  font-family: var(--font-display);
}

@media (min-width: 768px) { .section-header__title { font-size: 1.875rem; } }

.section-header__subtitle {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); max-width: 32rem;
}

.section-header-row {
  display: flex; align-items: center; justify-content: space-between;
}

/* ===== TOP CASINOS ===== */
.casinos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}

@media (min-width: 640px) { .casinos-grid { gap: 12px; } }
@media (min-width: 768px) { .casinos-grid { gap: 16px; } }

.casino-card {
  position: relative; border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  padding: 10px; transition: border-color 0.3s;
}

@media (min-width: 640px) { .casino-card { padding: 16px; } }
@media (min-width: 768px) { .casino-card { padding: 20px; } }
.casino-card:hover { border-color: hsl(var(--gold) / 0.4); }

.casino-card--rank-1 {
  border-color: hsl(var(--gold) / 0.6);
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.08), hsl(var(--card)), hsl(var(--gold-dark) / 0.05));
  box-shadow: 0 0 30px -5px hsl(var(--gold) / 0.25);
  outline: 1px solid hsl(var(--gold) / 0.2);
}

.casino-card--rank-2 {
  border-color: hsl(var(--cyan-light) / 0.5);
  background: linear-gradient(to bottom right, hsl(var(--cyan) / 0.08), hsl(var(--card)), hsl(var(--cyan-dark) / 0.06));
  box-shadow: 0 0 25px -5px hsl(var(--cyan) / 0.2);
  outline: 1px solid hsl(var(--cyan-light) / 0.15);
}

.casino-card--rank-3 {
  border-color: hsl(25 70% 50% / 0.5);
  background: linear-gradient(to bottom right, hsl(25 70% 50% / 0.07), hsl(var(--card)), hsl(25 50% 35% / 0.05));
  box-shadow: 0 0 20px -5px hsl(25 70% 50% / 0.2);
  outline: 1px solid hsl(25 70% 50% / 0.15);
}

.casino-badge {
  position: absolute; top: 8px; right: 8px;
  display: flex; align-items: center; gap: 2px;
  font-size: 9px; font-weight: 800;
  padding: 3px 7px; border-radius: 9999px; z-index: 10;
}

@media (min-width: 640px) { .casino-badge { top: 12px; right: 12px; font-size: 10px; padding: 4px 10px; gap: 4px; } }
@media (min-width: 768px) { .casino-badge { top: 16px; right: 16px; font-size: 12px; } }

.casino-badge--gold { background: linear-gradient(to right, hsl(var(--gold)), hsl(var(--gold-light))); color: hsl(200 50% 6%); }
.casino-badge--cyan { background: linear-gradient(to right, hsl(var(--cyan)), hsl(var(--cyan-light))); color: hsl(200 50% 6%); }
.casino-badge--bronze { background: linear-gradient(to right, hsl(25 70% 50%), hsl(35 80% 60%)); color: hsl(200 50% 6%); }
.casino-badge--default { background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%)); color: hsl(200 50% 6%); }

.casino-badge__icon { width: 12px; height: 12px; }
@media (min-width: 768px) { .casino-badge__icon { width: 14px; height: 14px; } }

/* Mobile layout */
.casino-card__mobile {
  display: flex; flex-direction: column; gap: 8px; margin-top: 20px;
}

@media (min-width: 640px) { .casino-card__mobile { gap: 12px; } }
@media (min-width: 1024px) { .casino-card__mobile { display: none; } }

.casino-card__header { display: flex; align-items: center; gap: 8px; min-width: 0; }
@media (min-width: 640px) { .casino-card__header { gap: 12px; } }

.casino-card__logo {
  width: 40px; height: 40px; border-radius: 6px;
  border: 1px solid hsl(var(--border)); flex-shrink: 0; object-fit: cover;
}

@media (min-width: 640px) { .casino-card__logo { width: 56px; height: 56px; border-radius: 8px; } }

.casino-card__logo--contain { object-fit: contain; background: white; padding: 4px; }
.casino-card__logo--rank-1 { outline: 2px solid hsl(var(--gold) / 0.5); outline-offset: 1px; }
.casino-card__logo--rank-2 { outline: 2px solid hsl(var(--cyan) / 0.5); outline-offset: 1px; }
.casino-card__logo--rank-3 { outline: 2px solid hsl(25 70% 50% / 0.5); outline-offset: 1px; }

.casino-card__name {
  font-size: 0.75rem; font-weight: 700;
  color: hsl(var(--text-primary));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (min-width: 640px) { .casino-card__name { font-size: 0.875rem; } }

.casino-card__header > div { min-width: 0; }

.stars { display: flex; align-items: center; gap: 4px; }
@media (min-width: 640px) { .stars { gap: 6px; } }
.stars__row { display: flex; gap: 1px; }
@media (min-width: 640px) { .stars__row { gap: 2px; } }
.star-icon { width: 10px; height: 10px; }
@media (min-width: 640px) { .star-icon { width: 12px; height: 12px; } }
.star-icon--filled { color: hsl(var(--gold)); fill: hsl(var(--gold)); }
.star-icon--empty { color: hsl(var(--border)); }
.stars__value { font-size: 0.75rem; font-weight: 700; color: hsl(var(--text-primary)); }

.casino-offer { border-radius: 6px; padding: 6px 8px; background: hsl(var(--accent) / 0.6); }
@media (min-width: 640px) { .casino-offer { border-radius: 8px; padding: 8px 12px; } }
.casino-offer--rank-1 { background: hsl(var(--gold) / 0.1); border: 1px solid hsl(var(--gold) / 0.2); }
.casino-offer--rank-2 { background: hsl(var(--cyan) / 0.1); border: 1px solid hsl(var(--cyan) / 0.2); }
.casino-offer--rank-3 { background: hsl(25 70% 50% / 0.1); border: 1px solid hsl(25 70% 50% / 0.2); }

.casino-offer__label { font-size: 8px; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .casino-offer__label { font-size: 9px; } }
.casino-offer__value { font-size: 0.675rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (min-width: 640px) { .casino-offer__value { font-size: 0.75rem; } }

.casino-features { display: flex; flex-direction: column; gap: 4px; }

.casino-feature {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: hsl(var(--muted-foreground));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (min-width: 640px) { .casino-feature { gap: 6px; font-size: 10px; } }

.casino-feature__dot {
  width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0;
  background: hsl(var(--gold));
}

.casino-feature__dot--rank-1 { background: hsl(var(--gold)); }
.casino-feature__dot--rank-2 { background: hsl(var(--cyan)); }
.casino-feature__dot--rank-3 { background: hsl(25 70% 50%); }

.casino-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; width: 100%; font-weight: 700; font-size: 0.675rem;
  padding: 6px 10px; border-radius: 6px; transition: opacity 0.2s;
}

@media (min-width: 640px) { .casino-btn { font-size: 0.75rem; padding: 8px 16px; } }

.casino-btn:hover { opacity: 0.9; }
.casino-btn--gold { background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%)); color: hsl(200 50% 6%); }
.casino-btn--rank-1 { background: linear-gradient(to right, hsl(var(--gold)), hsl(var(--gold-light))); color: hsl(200 50% 6%); }
.casino-btn--rank-2 { background: linear-gradient(to right, hsl(var(--cyan)), hsl(var(--cyan-light))); color: hsl(200 50% 6%); }
.casino-btn--rank-3 { background: linear-gradient(to right, hsl(25 70% 50%), hsl(35 80% 60%)); color: hsl(200 50% 6%); }

.casino-btn__icon { width: 12px; height: 12px; }

/* Desktop layout */
.casino-card__desktop {
  display: none; align-items: center; gap: 20px; margin-top: 20px;
}

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

.casino-card__desktop .casino-card__logo { width: 64px; height: 64px; }
.casino-card__desktop .casino-card__name { font-size: 1rem; }
.casino-card__desktop .stars__value { font-size: 0.875rem; }
.casino-card__desktop .star-icon { width: 14px; height: 14px; }

.casino-card__desktop-info {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px;
}

.casino-card__desktop-features { display: flex; align-items: center; gap: 12px; }

.casino-card__desktop-feature {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

.check-icon { width: 12px; height: 12px; color: hsl(var(--success)); }

.casino-card__desktop-right {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px; text-align: right;
}

.casino-card__desktop-offer-label {
  font-size: 10px; color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.05em;
}

.casino-card__desktop-offer-value { font-size: 0.875rem; font-weight: 700; }

.casino-card__desktop .casino-btn {
  width: auto; font-size: 0.875rem; padding: 10px 20px;
}

/* ===== TESTING PROCESS ===== */
.process-card {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 20px;
  transition: border-color 0.3s;
}

.process-card:hover { border-color: hsl(var(--primary) / 0.2); }

.process-card__inner {
  display: flex; flex-direction: column; gap: 20px;
}

@media (min-width: 768px) { .process-card__inner { flex-direction: row; } }

.process-card__step {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}

@media (min-width: 768px) {
  .process-card__step { flex-direction: column; align-items: flex-start; gap: 8px; width: 80px; }
}

.process-card__number {
  font-size: 2.25rem; font-weight: 800;
  font-family: var(--font-display); opacity: 0.4;
}

.process-card__icon-wrap {
  width: 40px; height: 40px; border-radius: 8px;
  background: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
}

.process-card__icon { width: 20px; height: 20px; color: hsl(var(--primary)); }

.process-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.process-card__title {
  font-size: 1rem; font-weight: 700; color: hsl(var(--text-primary));
}

@media (min-width: 768px) { .process-card__title { font-size: 1.125rem; } }

.process-card__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.process-card__details {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 4px;
}

@media (min-width: 640px) { .process-card__details { grid-template-columns: 1fr 1fr; } }

.process-detail {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

.process-detail__icon {
  width: 14px; height: 14px; color: hsl(var(--success));
  flex-shrink: 0; margin-top: 2px;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); overflow: hidden;
}

.about-preview__inner { padding: 24px; display: flex; flex-direction: column; gap: 24px; }

@media (min-width: 768px) { .about-preview__inner { padding: 40px; } }

.about-preview__header { display: flex; align-items: flex-start; gap: 16px; }

.icon-wrap {
  width: 40px; height: 40px; border-radius: 8px;
  background: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.icon-wrap__icon { width: 20px; height: 20px; color: hsl(var(--primary)); }
.icon-wrap__icon--gold { color: hsl(var(--gold)); }
.icon-wrap__icon--success { color: hsl(var(--success)); }

.about-preview__title {
  font-size: 1.25rem; font-weight: 800; color: white; font-family: var(--font-display);
}

@media (min-width: 768px) { .about-preview__title { font-size: 1.5rem; } }

.about-preview__tagline { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

.about-preview__text {
  max-width: 48rem; display: flex; flex-direction: column; gap: 16px;
}

.about-preview__text p {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.about-highlight {
  display: flex; align-items: center; gap: 12px;
}

.about-highlight__icon { width: 16px; height: 16px; color: hsl(var(--gold)); flex-shrink: 0; }

.about-highlight__text {
  font-size: 0.875rem; color: hsl(var(--text-primary) / 0.8);
}

/* ===== VIP PROGRAMS PREVIEW ===== */
.vip-card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 20px; padding: 20px; border-radius: 12px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  transition: border-color 0.3s; text-decoration: none;
}

@media (min-width: 768px) { .vip-card { flex-direction: row; padding: 24px; } }
.vip-card:hover { border-color: hsl(var(--gold) / 0.3); }

.vip-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.vip-card__title {
  font-size: 1rem; font-weight: 700;
  color: hsl(var(--text-primary)); transition: color 0.2s;
}

@media (min-width: 768px) { .vip-card__title { font-size: 1.125rem; } }
.vip-card:hover .vip-card__title { color: hsl(var(--gold)); }

.vip-card__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.vip-card__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }

.vip-tag {
  font-size: 10px; font-weight: 500; padding: 4px 10px;
  border-radius: 9999px; background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.vip-card__arrow {
  width: 20px; height: 20px; color: hsl(var(--muted-foreground));
  flex-shrink: 0; margin-top: 4px; transition: color 0.2s;
  display: none;
}

@media (min-width: 768px) { .vip-card__arrow { display: block; } }
.vip-card:hover .vip-card__arrow { color: hsl(var(--gold)); }

/* ===== LATEST GUIDES ===== */
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

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

.guide-card {
  display: flex; flex-direction: column; gap: 12px;
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 20px;
  height: 100%; transition: border-color 0.3s; text-decoration: none;
}

.guide-card:hover { border-color: hsl(var(--gold) / 0.3); }

.guide-card__meta { display: flex; align-items: center; gap: 8px; }

.guide-card__category {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 2px 8px; border-radius: 9999px;
  background: hsl(var(--accent)); color: hsl(var(--primary));
}

.guide-card__time {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: hsl(var(--muted-foreground));
}

.guide-card__time-icon { width: 12px; height: 12px; }

.guide-card__title {
  font-size: 0.875rem; font-weight: 700;
  color: hsl(var(--text-primary)); line-height: 1.3; transition: color 0.2s;
}

.guide-card:hover .guide-card__title { color: hsl(var(--gold)); }

.guide-card__excerpt {
  font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.guide-card__link {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: hsl(var(--primary)); transition: color 0.2s;
}

.guide-card:hover .guide-card__link { color: hsl(var(--gold)); }
.guide-card__link-icon { width: 12px; height: 12px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

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

.testimonial-card {
  position: relative; border-radius: 12px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s;
}

.testimonial-card:hover { border-color: hsl(var(--gold) / 0.3); }

.testimonial-card__quote-icon {
  width: 24px; height: 24px; color: hsl(var(--muted) / 0.4);
  position: absolute; top: 16px; right: 16px;
}

.testimonial-card__text {
  font-size: 0.75rem; color: hsl(var(--text-primary) / 0.85);
  line-height: 1.625; font-style: italic;
}

.testimonial-card__author {
  padding-top: 8px; border-top: 1px solid hsl(var(--border));
}

.testimonial-card__name {
  font-size: 0.75rem; font-weight: 700; color: hsl(var(--text-primary));
}

.testimonial-card__role { font-size: 10px; color: hsl(var(--muted-foreground)); }

/* ===== SAFE GAMBLING ===== */
.safe-tip {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 20px; transition: border-color 0.3s;
}

.safe-tip:hover { border-color: hsl(var(--gold) / 0.3); }

.safe-tip__inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}

@media (min-width: 768px) { .safe-tip__inner { flex-direction: row; } }

.safe-tip__icon-wrap {
  width: 36px; height: 36px; border-radius: 8px;
  background: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.safe-tip__icon { width: 16px; height: 16px; color: hsl(var(--gold)); }
.safe-tip__title { font-size: 0.875rem; font-weight: 700; color: hsl(var(--text-primary)); }
.safe-tip__text { font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.625; }

/* ===== RESPONSIBLE GAMBLING BANNER ===== */
.responsible-banner {
  position: relative; border-radius: 12px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 24px; overflow: hidden;
}

@media (min-width: 768px) { .responsible-banner { padding: 32px; } }

.responsible-banner__inner {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}

@media (min-width: 768px) { .responsible-banner__inner { flex-direction: row; align-items: center; } }

.responsible-banner__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.responsible-banner__title {
  font-size: 1.25rem; font-weight: 800; color: white; font-family: var(--font-display);
}

@media (min-width: 768px) { .responsible-banner__title { font-size: 1.5rem; } }

.responsible-banner__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  line-height: 1.625; max-width: 36rem;
}

.responsible-banner__phone {
  display: flex; align-items: center; gap: 8px; padding-top: 4px;
}

.responsible-banner__phone-icon { width: 14px; height: 14px; color: hsl(var(--muted-foreground)); }
.responsible-banner__phone-text { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.responsible-banner__phone-number { color: hsl(var(--text-primary)); font-weight: 700; }

.responsible-banner__actions {
  display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  position: relative; border-radius: 12px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  padding: 24px; overflow: hidden;
}

@media (min-width: 768px) { .contact-cta { padding: 32px; } }

.contact-cta__inner {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}

@media (min-width: 768px) { .contact-cta__inner { flex-direction: row; text-align: left; } }

.contact-cta__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.contact-cta__title {
  font-size: 1.25rem; font-weight: 800; color: white; font-family: var(--font-display);
}

@media (min-width: 768px) { .contact-cta__title { font-size: 1.5rem; } }

.contact-cta__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  line-height: 1.625; max-width: 36rem;
}

/* ===== FAQ ===== */
.faq-header-row { display: flex; align-items: center; justify-content: space-between; }
.faq-header-left { display: flex; align-items: center; gap: 12px; }
.faq-header-icon { width: 24px; height: 24px; color: hsl(var(--primary)); }

.faq-accordion {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); overflow: hidden;
}

.faq-item { border-bottom: 1px solid hsl(var(--border)); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 20px; font-size: 0.875rem;
  font-weight: 600; color: hsl(var(--text-primary));
  cursor: pointer; transition: color 0.2s; text-align: left;
}

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

.faq-question__chevron {
  width: 16px; height: 16px; color: hsl(var(--muted-foreground));
  transition: transform 0.2s; flex-shrink: 0;
}

.faq-item.open .faq-question__chevron { transform: rotate(180deg); }

.faq-answer {
  display: none; padding: 0 20px 16px;
  font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
  word-break: break-all; overflow-wrap: anywhere;
}

.faq-item.open .faq-answer { display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; font-weight: 700; border-radius: 6px;
  transition: all 0.2s; font-size: 0.875rem; cursor: pointer; text-decoration: none;
}

.btn--sm { padding: 8px 16px; }

.btn--gold {
  background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%));
  color: hsl(200 50% 6%);
}

.btn--gold:hover { opacity: 0.9; }

.btn--success { background: hsl(var(--success)); color: hsl(var(--primary-foreground)); }
.btn--success:hover { opacity: 0.9; }

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

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

.btn--ghost { background: transparent; color: hsl(var(--muted-foreground)); padding: 8px 12px; }
.btn--ghost:hover { color: hsl(var(--gold)); }

.btn__icon { width: 14px; height: 14px; }
.btn__icon--sm { width: 16px; height: 16px; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); margin-top: 48px;
  transition: margin-left 0.2s;
}

@media (min-width: 768px) {
  .site-footer[data-sidebar="open"] { margin-left: var(--sidebar-width-open); }
  .site-footer[data-sidebar="collapsed"] { margin-left: var(--sidebar-width-collapsed); }
}

.site-footer__inner { padding: 40px 24px; padding-bottom: calc(40px + var(--bottom-nav-height)); }

@media (min-width: 768px) { .site-footer__inner { padding: 56px 40px; padding-bottom: 56px; } }
@media (min-width: 1024px) { .site-footer__inner { padding-left: 2%; padding-right: 2%; } }
@media (min-width: 1440px) { .site-footer__inner { padding-left: 5%; padding-right: 5%; } }

.footer-brand--mobile {
  margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px;
}

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

.footer-brand__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }

.footer-brand__desc {
  font-size: 0.875rem; color: hsl(var(--text-primary));
  line-height: 1.625; max-width: 28rem;
}

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

@media (min-width: 1024px) { .footer-links { grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 24px; } }

.footer-brand--desktop {
  display: none; flex-direction: column; gap: 12px; padding-left: 16px;
}

@media (min-width: 1024px) { .footer-brand--desktop { display: flex; } }
.footer-brand--desktop .footer-brand__desc { max-width: 20rem; }

.footer-col__title {
  font-size: 0.875rem; font-weight: 700; color: hsl(var(--text-primary));
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}

.footer-col__link {
  display: block; font-size: 0.875rem;
  color: hsl(var(--text-primary) / 0.75); padding: 4px 0; transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid hsl(var(--border));
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 16px;
}

@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.footer-bottom__copy { font-size: 0.75rem; color: hsl(var(--text-primary) / 0.6); }

.footer-bottom__badges { display: flex; align-items: center; gap: 16px; }
.footer-bottom__ssl { font-size: 0.75rem; color: hsl(var(--text-primary) / 0.6); }
.footer-bottom__age { font-size: 0.75rem; font-weight: 600; color: hsl(var(--primary)); }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: hsl(var(--card) / 0.95); backdrop-filter: blur(16px);
  border-top: 1px solid hsl(var(--border) / 0.5);
  display: flex; align-items: center; justify-content: space-around;
  height: var(--bottom-nav-height); padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 768px) { .mobile-bottom-nav { display: none; } }

.mobile-bottom-nav__item {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 8px 12px;
  border-radius: 12px; color: hsl(var(--muted-foreground)); transition: all 0.2s;
}

.mobile-bottom-nav__item:active { transform: scale(0.95); }
.mobile-bottom-nav__item.active { color: hsl(var(--gold)); }

.mobile-bottom-nav__item.active::before {
  content: ''; position: absolute; inset: 0;
  background: hsl(var(--gold) / 0.1); border-radius: 12px;
}

.mobile-bottom-nav__icon { width: 20px; height: 20px; position: relative; z-index: 10; }
.mobile-bottom-nav__label { font-size: 10px; font-weight: 600; position: relative; z-index: 10; }

.mobile-panel-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px); z-index: 40; display: none;
}

.mobile-panel-overlay.active { display: block; }
@media (min-width: 768px) { .mobile-panel-overlay { display: none !important; } }

.mobile-panel {
  position: fixed; bottom: var(--bottom-nav-height); left: 8px; right: 8px;
  z-index: 50; background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(16px); border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 16px; padding: 16px 16px 12px;
  box-shadow: 0 -8px 40px -8px hsl(var(--cyan) / 0.15);
  display: none;
}

.mobile-panel.active { display: block; }
@media (min-width: 768px) { .mobile-panel { display: none !important; } }

.mobile-panel__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}

.mobile-panel__title {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: hsl(var(--gold));
}

.mobile-panel__close {
  width: 28px; height: 28px; border-radius: 50%;
  background: hsl(var(--muted) / 0.5);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground)); transition: all 0.2s;
}

.mobile-panel__close:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.mobile-panel__close-icon { width: 14px; height: 14px; }

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

.mobile-panel__btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px; border-radius: 12px;
  background: hsl(var(--muted) / 0.4); border: 1px solid hsl(var(--border) / 0.3);
  transition: all 0.2s; text-decoration: none; color: inherit;
}

.mobile-panel__btn:hover { background: hsl(var(--muted) / 0.7); border-color: hsl(var(--gold) / 0.2); }
.mobile-panel__btn:active { transform: scale(0.95); }

.mobile-panel__btn-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: hsl(var(--gold) / 0.1);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--gold));
}

.mobile-panel__btn-icon svg { width: 20px; height: 20px; }

.mobile-panel__btn-label {
  font-size: 10px; font-weight: 500;
  color: hsl(var(--foreground) / 0.8); text-align: center; line-height: 1.3;
}

.mobile-panel__seeall {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; width: 100%; padding: 10px; border-radius: 12px;
  background: hsl(var(--gold) / 0.1); border: 1px solid hsl(var(--gold) / 0.2);
  color: hsl(var(--gold)); font-size: 0.75rem; font-weight: 600;
  transition: background 0.2s; text-decoration: none;
}

.mobile-panel__seeall:hover { background: hsl(var(--gold) / 0.2); }
.mobile-panel__seeall-icon { width: 14px; height: 14px; }

/* ===== LINKS ===== */
.link-gold {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: hsl(var(--gold)); transition: text-decoration 0.2s;
}

.link-gold:hover { text-decoration: underline; }
.link-gold__icon { width: 12px; height: 12px; }

/* ===== VISIBILITY ===== */
.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: flex; } }

.visible-mobile { display: block; }
@media (min-width: 640px) { .visible-mobile { display: none; } }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.animate-fade-in-up { animation: fadeInUp 0.5s ease-out forwards; }

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

/* Admin bar hidden via #wpadminbar { display: none } above */

/* Ensure no gap above header on mobile pull-down */
.site-wrapper {
  min-height: 100vh;
  position: relative;
  background: hsl(var(--background));
  display: flex;
  flex-direction: column;
}

.main-content { flex: 1; }

/* ===== INNER PAGE LAYOUT ===== */
.page-inner {
  max-width: 1398px;
  margin: 0 auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 32px;
  word-break: break-all; overflow-wrap: anywhere;
}

@media (min-width: 768px) { .page-inner { padding: 32px; } }

.page-inner--wide { max-width: 92rem; }

.page-title {
  font-size: 1.875rem; font-weight: 800;
  color: hsl(var(--foreground)); font-family: var(--font-display);
}

@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }

.page-subtitle {
  color: hsl(var(--muted-foreground)); line-height: 1.625; max-width: 42rem;
}

/* Prose — for long-form text pages */
.prose { display: flex; flex-direction: column; gap: 24px; }

.prose p {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  line-height: 1.625; margin: 0;
}

@media (min-width: 768px) { .prose p { font-size: 1rem; } }

.prose h2 {
  font-size: 1.5rem; font-weight: 700;
  color: hsl(var(--foreground)); padding-top: 16px;
  font-family: var(--font-display);
}

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

.prose a:hover { text-decoration: underline; }

/* ===== TEAM GRID (About) ===== */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

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

.team-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}

.team-card__header { display: flex; align-items: center; gap: 16px; }

.team-card__photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 2px solid hsl(var(--primary) / 0.3);
}

.team-card__name {
  font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground));
}

.team-card__role {
  font-size: 0.875rem; font-weight: 500; color: hsl(var(--primary));
}

.team-card__bio {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

/* ===== CONTACT PAGE ===== */
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

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

.contact-info-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}

.contact-info-card__icon { width: 20px; height: 20px; color: hsl(var(--primary)); }

.contact-info-card__label {
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;
}

.contact-info-card__value {
  font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground));
}

.contact-info-card__value a {
  color: hsl(var(--foreground)); transition: color 0.2s;
}

.contact-info-card__value a:hover { color: hsl(var(--primary)); }

.contact-form-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 24px;
}

@media (min-width: 768px) { .contact-form-card { padding: 32px; } }

.contact-form-card__title {
  font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground));
  margin-bottom: 24px;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground));
}

.form-input, .form-textarea {
  width: 100%; padding: 10px 14px; font-size: 0.875rem;
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  border-radius: 6px; color: hsl(var(--foreground));
  font-family: var(--font-sans); transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
  outline: none; border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-textarea { resize: none; min-height: 150px; }

/* ===== TESTIMONIALS PAGE ===== */
.testimonials-page-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

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

.testimonial-page-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}

.testimonial-page-card__quote-icon {
  width: 24px; height: 24px; color: hsl(var(--primary) / 0.4); flex-shrink: 0;
}

.testimonial-page-card__text {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  line-height: 1.625; flex: 1;
}

.testimonial-page-card__author {
  padding-top: 8px; border-top: 1px solid hsl(var(--border));
}

.testimonial-page-card__name {
  font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground));
}

.testimonial-page-card__location {
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

.cta-box {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 32px; text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}

.cta-box__title {
  font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground));
}

.cta-box__text {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
  max-width: 36rem;
}

.cta-box__text a { color: hsl(var(--primary)); }
.cta-box__text a:hover { text-decoration: underline; }

/* ===== TERMS PAGE ===== */
.terms-section { display: flex; flex-direction: column; gap: 8px; }

.terms-section__title {
  font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground));
}

.terms-section__text {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.terms-section__text a { color: hsl(var(--primary)); }
.terms-section__text a:hover { text-decoration: underline; }

/* whitespace pre-line for privacy policy multi-paragraph sections */
.whitespace-pre-line { white-space: pre-line; }

/* ===== ALERT BANNER (Gambling Addiction) ===== */
.alert-banner {
  border-radius: 12px; padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.3);
}

.alert-banner__icon {
  width: 24px; height: 24px; color: hsl(var(--destructive));
  flex-shrink: 0; margin-top: 2px;
}

.alert-banner__text {
  font-size: 0.875rem; color: hsl(var(--foreground)); line-height: 1.625;
}

.alert-banner__text strong { font-weight: 700; }

/* ===== RESOURCE CARDS (Gambling Addiction) ===== */
.resource-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

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

.resource-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}

.resource-card__name {
  font-size: 1rem; font-weight: 700; color: hsl(var(--foreground));
}

.resource-card__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.resource-card__links { display: flex; flex-direction: column; gap: 6px; }

.resource-card__link {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground));
}

.resource-card__link--url {
  color: hsl(var(--primary)); font-weight: 400;
}

.resource-card__link--url:hover { text-decoration: underline; }

.resource-card__link-icon { width: 16px; height: 16px; color: hsl(var(--primary)); }

/* ===== PROSE LISTS ===== */
.prose ul {
  list-style: disc; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
}

.prose ul li {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.prose ul li strong { color: hsl(var(--foreground)); font-weight: 700; }

/* ===== FAQ PAGE (full-page accordion) ===== */
.faq-page-accordion { display: flex; flex-direction: column; gap: 12px; }

.faq-page-item {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; overflow: hidden;
}

.faq-page-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 20px 24px; font-size: 0.875rem;
  font-weight: 600; color: hsl(var(--foreground));
  cursor: pointer; transition: color 0.2s; text-align: left;
}

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

.faq-page-question__chevron {
  width: 16px; height: 16px; color: hsl(var(--muted-foreground));
  transition: transform 0.2s; flex-shrink: 0;
}

.faq-page-item.open .faq-page-question__chevron { transform: rotate(180deg); }

.faq-page-answer {
  display: none; padding: 0 24px 20px;
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.faq-page-answer a { color: hsl(var(--primary)); }
.faq-page-answer a:hover { text-decoration: underline; }

.faq-page-item.open .faq-page-answer { display: block; }

/* ===== INLINE RESOURCE LIST (Gamble Responsibly) ===== */
.resource-inline {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 12px; font-size: 0.875rem;
}

.resource-inline__name { font-weight: 600; color: hsl(var(--foreground)); }
.resource-inline__detail { color: hsl(var(--muted-foreground)); }
.resource-inline__link { color: hsl(var(--primary)); }
.resource-inline__link:hover { text-decoration: underline; }

/* Resource card phone/url (Gambling Addiction page) */
.resource-card__phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground));
}

.resource-card__url {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: hsl(var(--primary)); text-decoration: none;
}

.resource-card__url:hover { text-decoration: underline; }

.resource-card__icon { width: 16px; height: 16px; color: hsl(var(--primary)); flex-shrink: 0; }

/* Warning list (bullet list outside prose) */
.warning-list {
  list-style: disc; padding-left: 24px;
  display: flex; flex-direction: column; gap: 8px;
}

.warning-list li {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

/* Resource list (inline, Gamble Responsibly page) */
.resource-list {
  display: flex; flex-direction: column; gap: 8px;
}

.resource-list__item {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 12px; font-size: 0.875rem;
}

.resource-list__name { font-weight: 600; color: hsl(var(--foreground)); }
.resource-list__detail { color: hsl(var(--muted-foreground)); }
.resource-list__link { color: hsl(var(--primary)); text-decoration: none; }
.resource-list__link:hover { text-decoration: underline; }

/* ===== CATEGORY PAGE GRID ===== */
.category-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}

@media (min-width: 768px) { .category-grid { gap: 16px; } }
@media (min-width: 1100px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  transition: border-color 0.3s; text-decoration: none; color: inherit;
}

.category-card:hover { border-color: hsl(var(--gold)); }

/* ===== SCREENSHOT SLOT ===== */
.screenshot-slot {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); overflow: hidden;
  width: 100%; margin: 0 auto;
}

@media (min-width: 1024px) { .screenshot-slot { width: 70%; } }

.screenshot-slot__inner {
  aspect-ratio: 16 / 7; width: 100%;
  background: hsl(var(--muted) / 0.3);
  display: flex; align-items: center; justify-content: center;
}

.screenshot-slot__text {
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}

.category-card__image {
  aspect-ratio: 16 / 10; overflow: hidden;
}

.category-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}

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

.category-card__title {
  padding: 12px; font-size: 0.875rem; font-weight: 600;
  color: hsl(var(--text-primary)); transition: color 0.2s;
}

@media (min-width: 768px) { .category-card__title { padding: 16px; font-size: 1rem; } }

.category-card:hover .category-card__title { color: hsl(var(--gold)); }

/* ===== ARTICLE PAGE (long-form content pages) ===== */
.article-prose {
  display: flex; flex-direction: column; gap: 20px;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem; line-height: 1.625;
  word-break: break-all; overflow-wrap: anywhere;
  max-width: 100%; overflow: hidden;
}

@media (min-width: 768px) { .article-prose { font-size: 1rem; } }

.article-prose p { margin: 0; }

.article-prose h2 {
  font-size: 1.25rem; font-weight: 700;
  color: hsl(var(--text-primary)); padding-top: 24px;
  font-family: var(--font-display);
}

@media (min-width: 768px) { .article-prose h2 { font-size: 1.5rem; } }

.article-prose h3 {
  font-size: 1.125rem; font-weight: 700;
  color: hsl(var(--text-primary)); padding-top: 16px;
  font-family: var(--font-display);
}

@media (min-width: 768px) { .article-prose h3 { font-size: 1.25rem; } }

/* ===== ARTICLE BODY LINKS — visible blue, bold, underlined =====
   Targets every link inside the article-body wrappers used by all 8 CPTs.
   No body class needed — works on every page that uses .article-prose
   or .faq-answer. */
.article-prose a,
.article-prose a[href],
.faq-answer a,
.faq-answer a[href] {
  color: #2563eb !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: rgba(37, 99, 235, 0.65) !important;
  text-underline-offset: 3px !important;
}
.article-prose a:hover,
.article-prose a[href]:hover,
.faq-answer a:hover,
.faq-answer a[href]:hover {
  color: #1d4ed8 !important;
  text-decoration-color: #1d4ed8 !important;
}

/* ===== AUTHOR BOX ===== */
.author-box {
  margin: 48px 0 8px;
}

.author-box__inner {
  border-radius: 12px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); padding: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}

@media (min-width: 640px) {
  .author-box__inner { flex-direction: row; gap: 20px; padding: 24px; }
}

.author-box__photo {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 2px solid hsl(var(--primary) / 0.3);
  flex-shrink: 0;
}

@media (min-width: 768px) { .author-box__photo { width: 80px; height: 80px; } }

.author-box__content { display: flex; flex-direction: column; gap: 8px; }

.author-box__label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: hsl(var(--gold));
}

.author-box__name {
  font-size: 1rem; font-weight: 700; color: hsl(var(--foreground));
}

@media (min-width: 768px) { .author-box__name { font-size: 1.125rem; } }

.author-box__role {
  font-size: 0.75rem; font-weight: 500; color: hsl(var(--primary));
}

.author-box__bio {
  font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

@media (min-width: 768px) { .author-box__bio { font-size: 0.875rem; } }

.author-box__links {
  display: flex; align-items: center; gap: 12px; padding-top: 4px;
}

.author-box__social {
  width: 32px; height: 32px; border-radius: 8px;
  background: hsl(var(--muted) / 0.5);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--muted-foreground)); transition: all 0.2s;
}

.author-box__social:hover {
  color: hsl(var(--gold)); background: hsl(var(--gold) / 0.1);
}

.author-box__social svg { width: 16px; height: 16px; }

.author-box__team-link {
  font-size: 0.75rem; font-weight: 600; color: hsl(var(--gold));
  margin-left: 4px; transition: color 0.2s;
}

.author-box__team-link:hover { color: hsl(var(--gold) / 0.8); }

/* ===== PROGRAM REVIEW HERO (Betfair etc.) ===== */
.program-hero {
  border-radius: 16px; border: 1px solid hsl(var(--border));
  background: hsl(var(--card)); overflow: hidden;
}

.program-hero__inner {
  display: flex; flex-direction: column;
}

@media (min-width: 1024px) { .program-hero__inner { flex-direction: row; } }

.program-hero__image {
  background: hsl(var(--background));
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

@media (min-width: 1024px) {
  .program-hero__image { width: 30%; flex-shrink: 0; padding: 32px; }
}

.program-hero__image img {
  max-height: 160px; width: auto; height: auto; object-fit: contain;
}

@media (min-width: 1024px) { .program-hero__image img { max-height: 220px; } }

.program-hero__content {
  flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px;
  word-break: break-all; overflow-wrap: anywhere; min-width: 0;
}

@media (min-width: 1024px) { .program-hero__content { padding: 32px; } }

.program-hero__title {
  font-size: 1.25rem; font-weight: 800; color: hsl(var(--text-primary));
  line-height: 1.1; font-family: var(--font-display);
}

@media (min-width: 768px) { .program-hero__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .program-hero__title { font-size: 2.25rem; } }

.program-hero__rating { display: flex; align-items: center; gap: 8px; }
.program-hero__rating-value { font-size: 0.875rem; font-weight: 700; color: hsl(var(--text-primary)); }

.program-hero__desc {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.625;
}

.program-hero__stats { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 768px) { .program-hero__stats { gap: 24px; } }

.program-hero__stat-value {
  display: block; font-size: 0.875rem; font-weight: 800; color: hsl(var(--gold));
}

@media (min-width: 768px) { .program-hero__stat-value { font-size: 1rem; } }

.program-hero__stat-label {
  display: block; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.05em; color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) { .program-hero__stat-label { font-size: 0.75rem; } }

.program-hero__meta {
  display: flex; flex-direction: column; gap: 12px;
}

@media (min-width: 1024px) {
  .program-hero__meta { flex-direction: row; align-items: center; gap: 24px; }
}

.program-hero__meta-items {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}

.program-hero__meta-item { display: flex; align-items: center; gap: 4px; }
.program-hero__meta-item svg { width: 14px; height: 14px; }

.program-hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; font-weight: 800; font-size: 0.875rem;
  padding: 12px 32px; border-radius: 6px; width: 100%;
  background: linear-gradient(135deg, hsl(43 65% 52%), hsl(43 78% 68%));
  color: hsl(200 50% 6%); transition: opacity 0.2s;
}

@media (min-width: 1024px) {
  .program-hero__cta { width: auto; margin-left: auto; }
}

.program-hero__cta:hover { opacity: 0.9; }
.program-hero__cta svg { width: 14px; height: 14px; }

.program-hero__disclaimer {
  font-size: 10px; color: hsl(var(--muted-foreground));
}

/* ===== PROGRAM OVERVIEW TABLE ===== */
.program-table {
  border-radius: 12px; border: 1px solid hsl(var(--border)); overflow: hidden;
}

.program-table__header {
  background: hsl(var(--accent)); padding: 12px 20px;
  border-bottom: 1px solid hsl(var(--border));
}

.program-table__title {
  font-size: 0.875rem; font-weight: 700; color: hsl(var(--gold));
}

@media (min-width: 768px) { .program-table__title { font-size: 1rem; } }

.program-table__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 0.875rem;
  border-bottom: 1px solid hsl(var(--border));
}

.program-table__row:last-child { border-bottom: none; }
.program-table__row--even { background: hsl(var(--card)); }
.program-table__row--odd { background: hsl(var(--accent) / 0.5); }

.program-table__label {
  text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em;
  font-weight: 500; color: hsl(var(--muted-foreground));
}

.program-table__value {
  font-weight: 700; color: hsl(var(--text-primary));
}
