/*
Theme Name: Pyavchik Casino
Template: generatepress
Version: 1.0.0
Text Domain: pyavchik-casino
Description: Dark casino theme inspired by 777.ua. GeneratePress child theme with custom sidebar navigation, game grids, bonus cards, VIP tiers, and full mobile-first responsive design.
Author: Pyavchik
*/

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Backgrounds */
  --pc-bg-primary: #04110c;
  --pc-bg-secondary: #0a1628;
  --pc-bg-tertiary: #111b2e;

  /* Accents */
  --pc-gold: #ffe600;
  --pc-gold-dark: #ffbd00;
  --pc-red: #f31b34;
  --pc-green: #00e509;

  /* Text */
  --pc-text: #ffffff;
  --pc-text-muted: rgba(255, 255, 255, 0.6);

  /* Typography */
  --pc-font: 'Inter', sans-serif;
  --pc-font-display: 'Geologica', sans-serif;

  /* Radii */
  --pc-radius: 12px;
  --pc-radius-sm: 8px;

  /* Motion */
  --pc-transition: 0.2s ease;

  /* Spacing */
  --pc-gap-xs: 0.5rem;
  --pc-gap-sm: 0.75rem;
  --pc-gap-md: 1rem;
  --pc-gap-lg: 1.5rem;
  --pc-gap-xl: 2.5rem;
}

/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--pc-bg-primary);
  color: var(--pc-text);
  font-family: var(--pc-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hide GeneratePress default header and footer */
#masthead,
.site-header,
#colophon,
.site-footer,
.site-info {
  display: none !important;
}

/* Remove GP default layout spacing */
.site-content {
  padding: 0 !important;
  margin: 0 !important;
}

.inside-article {
  padding: 0 !important;
  margin: 0 !important;
}

.entry-content {
  margin: 0;
}

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

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

a:hover {
  color: var(--pc-gold-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pc-font-display);
  color: var(--pc-text);
  margin-top: 0;
  line-height: 1.2;
}

/* --- Scrollbar Styling --- */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--pc-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--pc-bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pc-gold-dark);
}

/* Firefox */
html {
  scrollbar-color: var(--pc-bg-tertiary) var(--pc-bg-primary);
  scrollbar-width: thin;
}

/* ==========================================================================
   2. SIDEBAR NAVIGATION (.pc-sidebar)
   ========================================================================== */

.pc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: var(--pc-bg-secondary);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s ease;
}

/* --- Logo --- */

.pc-sidebar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pc-gap-lg) var(--pc-gap-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.pc-sidebar__logo img {
  width: 200px;
  height: auto;
}

/* --- Nav Sections --- */

.pc-sidebar__nav {
  flex: 1;
  padding: var(--pc-gap-md) 0;
}

.pc-sidebar__section {
  margin-bottom: var(--pc-gap-md);
}

.pc-sidebar__section-title {
  display: block;
  padding: var(--pc-gap-xs) var(--pc-gap-lg);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pc-text-muted);
}

.pc-sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--pc-gap-sm);
  padding: 0.65rem var(--pc-gap-lg);
  color: var(--pc-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--pc-transition);
  border-left: 3px solid transparent;
  cursor: pointer;
}

.pc-sidebar__link:hover {
  color: var(--pc-text);
  background-color: rgba(255, 255, 255, 0.03);
}

.pc-sidebar__link--active {
  color: var(--pc-gold);
  border-left-color: var(--pc-gold);
  background-color: rgba(255, 230, 0, 0.04);
}

.pc-sidebar__link--active:hover {
  color: var(--pc-gold);
}

.pc-sidebar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- Language Switcher --- */

.pc-sidebar__lang {
  padding: var(--pc-gap-md) var(--pc-gap-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: var(--pc-gap-sm);
  flex-shrink: 0;
}

.pc-sidebar__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pc-text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pc-radius-sm);
  cursor: pointer;
  transition: all var(--pc-transition);
}

.pc-sidebar__lang-btn:hover {
  border-color: var(--pc-gold);
  color: var(--pc-text);
}

.pc-sidebar__lang-btn--active {
  border-color: var(--pc-gold);
  color: var(--pc-gold);
  background: rgba(255, 230, 0, 0.06);
}

.pc-sidebar__lang-flag {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* --- Sidebar Overlay (mobile) --- */

.pc-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pc-sidebar-overlay--visible {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   3. TOP BAR (.pc-topbar)
   ========================================================================== */

.pc-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 260px;
  height: 60px;
  background-color: var(--pc-bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--pc-gap-lg);
  z-index: 900;
}

.pc-topbar__logo {
  display: none;
}

.pc-topbar__logo img {
  height: 32px;
  width: auto;
}

/* --- Hamburger --- */

.pc-topbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: auto;
}

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

/* --- Auth Buttons --- */

.pc-topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--pc-gap-sm);
}

/* ==========================================================================
   4. MAIN CONTENT (.pc-main)
   ========================================================================== */

.pc-main {
  margin-left: 260px;
  padding-top: 60px;
  min-height: 100vh;
}

/* ==========================================================================
   5. HERO BANNER (.pc-hero)
   ========================================================================== */

.pc-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 17, 12, 0.92) 0%,
    rgba(10, 22, 40, 0.8) 50%,
    rgba(4, 17, 12, 0.7) 100%
  );
  z-index: 1;
}

.pc-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: var(--pc-gap-xl) var(--pc-gap-lg);
}

.pc-hero__title {
  font-family: var(--pc-font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--pc-text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--pc-gap-sm);
}

.pc-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--pc-text-muted);
  margin-bottom: var(--pc-gap-lg);
  line-height: 1.5;
}

.pc-hero__cta {
  display: inline-block;
  margin-bottom: var(--pc-gap-lg);
}

/* --- Trust Badges --- */

.pc-hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-gap-md);
  flex-wrap: wrap;
}

.pc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--pc-text-muted);
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--pc-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-hero__badge-icon {
  font-size: 1rem;
}

/* ==========================================================================
   6. GAME CARDS GRID (.pc-games-grid)
   ========================================================================== */

.pc-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: var(--pc-gap-md);
}

.pc-game-card {
  position: relative;
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: var(--pc-bg-secondary);
  cursor: pointer;
  transition: transform var(--pc-transition), box-shadow var(--pc-transition);
}

.pc-game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.2), 0 0 0 1px var(--pc-gold-dark);
}

.pc-game-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pc-game-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pc-game-card:hover .pc-game-card__image-wrap img {
  transform: scale(1.08);
}

/* --- Hover Overlay --- */

.pc-game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 17, 12, 0.7);
  opacity: 0;
  transition: opacity var(--pc-transition);
}

.pc-game-card:hover .pc-game-card__overlay {
  opacity: 1;
}

.pc-game-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-gold), var(--pc-gold-dark));
  color: var(--pc-bg-primary);
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 230, 0, 0.35);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.pc-game-card:hover .pc-game-card__play {
  transform: scale(1);
}

/* --- Title --- */

.pc-game-card__title {
  padding: var(--pc-gap-xs) var(--pc-gap-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   7. BONUS CARDS (.pc-bonus-card)
   ========================================================================== */

.pc-bonus-card {
  display: flex;
  align-items: stretch;
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  overflow: hidden;
  border-left: 4px solid var(--pc-gold);
  position: relative;
  transition: box-shadow var(--pc-transition), transform var(--pc-transition);
}

.pc-bonus-card:hover {
  box-shadow: 0 4px 24px rgba(255, 230, 0, 0.08);
  transform: translateY(-2px);
}

.pc-bonus-card__image {
  flex-shrink: 0;
  width: 140px;
  background: var(--pc-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-bonus-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-bonus-card__icon {
  font-size: 3rem;
  color: var(--pc-gold);
}

.pc-bonus-card__body {
  flex: 1;
  padding: var(--pc-gap-md) var(--pc-gap-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--pc-bg-secondary), var(--pc-bg-tertiary));
}

.pc-bonus-card__title {
  font-family: var(--pc-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pc-text);
  margin: 0 0 var(--pc-gap-xs);
}

.pc-bonus-card__desc {
  font-size: 0.88rem;
  color: var(--pc-text-muted);
  margin-bottom: var(--pc-gap-sm);
  line-height: 1.5;
}

/* --- Badge --- */

.pc-bonus-card__badge {
  position: absolute;
  top: var(--pc-gap-sm);
  right: var(--pc-gap-sm);
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pc-text);
  background: var(--pc-red);
  border-radius: 4px;
}

/* ==========================================================================
   8. VIP TIERS (.pc-vip-tiers)
   ========================================================================== */

.pc-vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--pc-gap-md);
  padding: var(--pc-gap-md);
}

.pc-vip-card {
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  padding: var(--pc-gap-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--pc-transition), transform var(--pc-transition);
}

.pc-vip-card:hover {
  transform: translateY(-3px);
}

/* --- Tier Variants --- */

.pc-vip-card--bronze {
  border-color: rgba(205, 127, 50, 0.25);
}

.pc-vip-card--bronze .pc-vip-card__icon {
  color: #cd7f32;
  text-shadow: 0 0 12px rgba(205, 127, 50, 0.3);
}

.pc-vip-card--silver {
  border-color: rgba(192, 192, 192, 0.25);
}

.pc-vip-card--silver .pc-vip-card__icon {
  color: #c0c0c0;
  text-shadow: 0 0 12px rgba(192, 192, 192, 0.3);
}

.pc-vip-card--gold {
  border-color: rgba(255, 230, 0, 0.25);
}

.pc-vip-card--gold .pc-vip-card__icon {
  color: var(--pc-gold);
  text-shadow: 0 0 16px rgba(255, 230, 0, 0.4);
}

.pc-vip-card--platinum {
  border-color: rgba(180, 210, 230, 0.25);
}

.pc-vip-card--platinum .pc-vip-card__icon {
  color: #b4d2e6;
  text-shadow: 0 0 16px rgba(180, 210, 230, 0.4);
}

.pc-vip-card--diamond {
  border-color: rgba(255, 230, 0, 0.4);
  background: linear-gradient(135deg, var(--pc-bg-secondary), rgba(255, 230, 0, 0.04));
}

.pc-vip-card--diamond .pc-vip-card__icon {
  color: var(--pc-gold);
  text-shadow: 0 0 24px rgba(255, 230, 0, 0.6);
}

/* --- Active/Current Tier --- */

.pc-vip-card--active {
  box-shadow: 0 0 30px rgba(255, 230, 0, 0.15), 0 0 0 2px var(--pc-gold);
}

.pc-vip-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--pc-gap-sm);
}

.pc-vip-card__name {
  font-family: var(--pc-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--pc-gap-sm);
  color: var(--pc-text);
}

.pc-vip-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-vip-card__perks li {
  font-size: 0.82rem;
  color: var(--pc-text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pc-vip-card__perks li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   9. FAQ ACCORDION (.pc-faq)
   ========================================================================== */

.pc-faq {
  display: flex;
  flex-direction: column;
  gap: var(--pc-gap-sm);
  padding: var(--pc-gap-md);
}

.pc-faq__item {
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color var(--pc-transition);
}

.pc-faq__item--open {
  border-color: rgba(255, 230, 0, 0.15);
}

.pc-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--pc-gap-md) var(--pc-gap-lg);
  font-family: var(--pc-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pc-text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--pc-transition);
}

.pc-faq__question:hover {
  color: var(--pc-gold);
}

.pc-faq__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--pc-gold);
  transition: transform 0.3s ease;
}

.pc-faq__item--open .pc-faq__toggle {
  transform: rotate(45deg);
}

.pc-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.pc-faq__item--open .pc-faq__answer {
  max-height: 500px;
}

.pc-faq__answer-inner {
  padding: 0 var(--pc-gap-lg) var(--pc-gap-md);
  font-size: 0.9rem;
  color: var(--pc-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   10. BUTTONS
   ========================================================================== */

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-gap-xs);
  padding: 0.7rem 1.5rem;
  font-family: var(--pc-font);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  border: none;
  border-radius: var(--pc-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--pc-transition);
  white-space: nowrap;
}

/* --- Gold (Primary CTA) --- */

.pc-btn--gold {
  background: linear-gradient(135deg, var(--pc-gold), var(--pc-gold-dark));
  color: var(--pc-bg-primary);
  box-shadow: 0 2px 12px rgba(255, 230, 0, 0.2);
}

.pc-btn--gold:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(255, 230, 0, 0.35);
  color: var(--pc-bg-primary);
  transform: translateY(-1px);
}

.pc-btn--gold:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* --- Outline --- */

.pc-btn--outline {
  background: transparent;
  color: var(--pc-gold);
  border: 2px solid var(--pc-gold);
}

.pc-btn--outline:hover {
  background: rgba(255, 230, 0, 0.08);
  color: var(--pc-gold);
  box-shadow: 0 0 16px rgba(255, 230, 0, 0.12);
}

/* --- Red --- */

.pc-btn--red {
  background: var(--pc-red);
  color: var(--pc-text);
  box-shadow: 0 2px 12px rgba(243, 27, 52, 0.2);
}

.pc-btn--red:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 20px rgba(243, 27, 52, 0.3);
  color: var(--pc-text);
  transform: translateY(-1px);
}

.pc-btn--red:active {
  transform: translateY(0);
}

/* --- Size Modifiers --- */

.pc-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.pc-btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: var(--pc-radius);
}

/* ==========================================================================
   11. BOTTOM NAVIGATION (.pc-bottomnav)
   ========================================================================== */

.pc-bottomnav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--pc-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 950;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--pc-gap-xs);
}

.pc-bottomnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
  padding: var(--pc-gap-xs) 0;
  color: var(--pc-text-muted);
  text-decoration: none;
  transition: color var(--pc-transition);
}

.pc-bottomnav__item:hover {
  color: var(--pc-text);
}

.pc-bottomnav__item--active {
  color: var(--pc-gold);
}

.pc-bottomnav__item--active:hover {
  color: var(--pc-gold);
}

.pc-bottomnav__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.pc-bottomnav__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   12. FOOTER (.pc-footer)
   ========================================================================== */

.pc-footer {
  background: var(--pc-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--pc-gap-xl) var(--pc-gap-lg) var(--pc-gap-lg);
}

/* --- Payment Logos --- */

.pc-footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-gap-md);
  flex-wrap: wrap;
  margin-bottom: var(--pc-gap-xl);
  padding-bottom: var(--pc-gap-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-footer__payments img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(0.6);
  opacity: 0.6;
  transition: all var(--pc-transition);
}

.pc-footer__payments img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* --- Links --- */

.pc-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pc-gap-md);
  flex-wrap: wrap;
  margin-bottom: var(--pc-gap-lg);
}

.pc-footer__link {
  font-size: 0.85rem;
  color: var(--pc-text-muted);
  transition: color var(--pc-transition);
}

.pc-footer__link:hover {
  color: var(--pc-gold);
}

/* --- 18+ Badge & Disclaimer --- */

.pc-footer__responsible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pc-gap-sm);
  margin-bottom: var(--pc-gap-lg);
  text-align: center;
}

.pc-footer__age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--pc-red);
  color: var(--pc-red);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pc-footer__disclaimer {
  font-size: 0.78rem;
  color: var(--pc-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* --- Copyright --- */

.pc-footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  padding-top: var(--pc-gap-md);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   13. PAGE BANNERS (.pc-page-banner)
   ========================================================================== */

.pc-page-banner {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pc-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 17, 12, 0.6) 0%,
    rgba(4, 17, 12, 0.9) 100%
  );
  z-index: 1;
}

.pc-page-banner__title {
  position: relative;
  z-index: 2;
  font-family: var(--pc-font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pc-text);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   14. SECTION HEADERS (.pc-section-header)
   ========================================================================== */

.pc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--pc-gap-lg) var(--pc-gap-md) var(--pc-gap-sm);
}

.pc-section-header__title {
  font-family: var(--pc-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pc-text);
  margin: 0;
  position: relative;
  padding-bottom: var(--pc-gap-xs);
}

.pc-section-header__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--pc-gold), var(--pc-gold-dark));
  border-radius: 2px;
}

.pc-section-header__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pc-gold);
  transition: color var(--pc-transition);
}

.pc-section-header__link:hover {
  color: var(--pc-gold-dark);
}

/* ==========================================================================
   15. RESPONSIBLE GAMBLING PAGE
   ========================================================================== */

.pc-responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--pc-gap-md);
  padding: var(--pc-gap-md);
}

.pc-responsible-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--pc-gap-sm);
  padding: var(--pc-gap-lg);
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--pc-transition), transform var(--pc-transition);
}

.pc-responsible-item:hover {
  border-color: rgba(255, 230, 0, 0.15);
  transform: translateY(-2px);
}

.pc-responsible-item__icon {
  font-size: 2rem;
  color: var(--pc-gold);
  text-shadow: 0 0 14px rgba(255, 230, 0, 0.25);
}

.pc-responsible-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pc-text);
}

.pc-responsible-item__text {
  font-size: 0.8rem;
  color: var(--pc-text-muted);
  line-height: 1.5;
}

/* --- Info Cards --- */

.pc-info-card {
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  padding: var(--pc-gap-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: var(--pc-gap-md);
}

.pc-info-card__title {
  font-family: var(--pc-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--pc-gap-sm);
  color: var(--pc-text);
}

.pc-info-card__text {
  font-size: 0.9rem;
  color: var(--pc-text-muted);
  line-height: 1.7;
}

.pc-info-card__text a {
  color: var(--pc-gold);
  text-decoration: underline;
  text-decoration-color: rgba(255, 230, 0, 0.3);
  text-underline-offset: 3px;
}

.pc-info-card__text a:hover {
  text-decoration-color: var(--pc-gold);
}

/* ==========================================================================
   16. ANIMATIONS
   ========================================================================== */

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

@keyframes pc-fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pc-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* --- Shimmer modifier for gold buttons --- */

.pc-btn--shimmer {
  background-size: 200% auto;
  background-image: linear-gradient(
    90deg,
    var(--pc-gold) 0%,
    #fff6a0 25%,
    var(--pc-gold) 50%,
    var(--pc-gold-dark) 75%,
    var(--pc-gold) 100%
  );
  animation: pc-shimmer 3s linear infinite;
}

/* --- Page load fade-in --- */

.pc-fade-in {
  animation: pc-fadeIn 0.5s ease forwards;
}

.pc-fade-in--delay-1 { animation-delay: 0.1s; opacity: 0; }
.pc-fade-in--delay-2 { animation-delay: 0.2s; opacity: 0; }
.pc-fade-in--delay-3 { animation-delay: 0.3s; opacity: 0; }
.pc-fade-in--delay-4 { animation-delay: 0.4s; opacity: 0; }

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pc-game-card:hover {
    transform: none;
  }

  .pc-bonus-card:hover,
  .pc-vip-card:hover,
  .pc-responsible-item:hover {
    transform: none;
  }
}

/* ==========================================================================
   17. UTILITY CLASSES
   ========================================================================== */

.pc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pc-gap-md);
}

.pc-section {
  padding: var(--pc-gap-xl) 0;
}

.pc-text-center {
  text-align: center;
}

.pc-text-gold {
  color: var(--pc-gold);
}

.pc-text-muted {
  color: var(--pc-text-muted);
}

.pc-mt-sm { margin-top: var(--pc-gap-sm); }
.pc-mt-md { margin-top: var(--pc-gap-md); }
.pc-mt-lg { margin-top: var(--pc-gap-lg); }
.pc-mt-xl { margin-top: var(--pc-gap-xl); }

.pc-mb-sm { margin-bottom: var(--pc-gap-sm); }
.pc-mb-md { margin-bottom: var(--pc-gap-md); }
.pc-mb-lg { margin-bottom: var(--pc-gap-lg); }
.pc-mb-xl { margin-bottom: var(--pc-gap-xl); }

.pc-hidden { display: none !important; }

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

/* ==========================================================================
   18. RESPONSIVE — TABLET (768px – 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  /* Sidebar hidden */
  .pc-sidebar {
    transform: translateX(-100%);
  }

  .pc-sidebar--open {
    transform: translateX(0);
  }

  /* Top bar spans full width */
  .pc-topbar {
    left: 0;
  }

  .pc-topbar__logo {
    display: flex;
    align-items: center;
  }

  .pc-topbar__hamburger {
    display: flex;
  }

  /* Main content full width */
  .pc-main {
    margin-left: 0;
  }

  /* Game grid: 3 columns */
  .pc-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* VIP tiers: horizontal scroll */
  .pc-vip-tiers {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--pc-gap-md);
    padding: var(--pc-gap-md);
  }

  .pc-vip-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   19. RESPONSIVE — MOBILE (<768px)
   ========================================================================== */

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  /* Sidebar: slide-in overlay */
  .pc-sidebar {
    width: 280px;
    transform: translateX(-100%);
  }

  .pc-sidebar--open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
  }

  /* Top bar */
  .pc-topbar {
    left: 0;
    padding: 0 var(--pc-gap-md);
  }

  .pc-topbar__logo {
    display: flex;
    align-items: center;
  }

  .pc-topbar__hamburger {
    display: flex;
  }

  /* Main content */
  .pc-main {
    margin-left: 0;
    padding-bottom: 70px;
  }

  /* Bottom nav visible */
  .pc-bottomnav {
    display: flex;
  }

  /* Hero */
  .pc-hero {
    min-height: 320px;
  }

  .pc-hero__badges {
    gap: var(--pc-gap-xs);
  }

  .pc-hero__badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
  }

  /* Game grid: 2 columns */
  .pc-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: var(--pc-gap-sm);
  }

  .pc-game-card__play {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .pc-game-card__title {
    font-size: 0.75rem;
    padding: 0.35rem var(--pc-gap-xs);
  }

  /* Bonus cards stack */
  .pc-bonus-card {
    flex-direction: column;
  }

  .pc-bonus-card__image {
    width: 100%;
    height: 140px;
  }

  .pc-bonus-card__body {
    padding: var(--pc-gap-md);
  }

  /* VIP */
  .pc-vip-tiers {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--pc-gap-sm);
    padding: var(--pc-gap-sm);
  }

  .pc-vip-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    padding: var(--pc-gap-md);
  }

  /* Page banner */
  .pc-page-banner {
    height: 180px;
  }

  /* Section header */
  .pc-section-header {
    padding: var(--pc-gap-md) var(--pc-gap-sm) var(--pc-gap-xs);
  }

  .pc-section-header__title {
    font-size: 1.1rem;
  }

  /* FAQ */
  .pc-faq {
    padding: var(--pc-gap-sm);
  }

  .pc-faq__question {
    padding: var(--pc-gap-sm) var(--pc-gap-md);
    font-size: 0.88rem;
  }

  .pc-faq__answer-inner {
    padding: 0 var(--pc-gap-md) var(--pc-gap-sm);
    font-size: 0.85rem;
  }

  /* Footer */
  .pc-footer {
    padding: var(--pc-gap-lg) var(--pc-gap-md) calc(70px + var(--pc-gap-md));
  }

  .pc-footer__payments img {
    height: 22px;
  }

  .pc-footer__links {
    flex-direction: column;
    gap: var(--pc-gap-sm);
  }

  /* Responsible gambling grid */
  .pc-responsible-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pc-gap-sm);
    padding: var(--pc-gap-sm);
  }

  /* Buttons */
  .pc-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .pc-btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
  }

  /* Container */
  .pc-container {
    padding: 0 var(--pc-gap-sm);
  }
}

/* ==========================================================================
   20. RESPONSIVE — SMALL MOBILE (<400px)
   ========================================================================== */

@media (max-width: 400px) {
  .pc-hero__title {
    font-size: 1.6rem;
  }

  .pc-hero__subtitle {
    font-size: 0.9rem;
  }

  .pc-games-grid {
    gap: 8px;
  }

  .pc-game-card__play {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .pc-vip-card {
    flex: 0 0 160px;
  }

  .pc-bottomnav__label {
    font-size: 0.6rem;
  }

  .pc-responsible-grid {
    grid-template-columns: 1fr;
  }

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

  .pc-games-filter {
    flex-direction: column;
    gap: var(--pc-gap-sm);
  }

  .pc-games-filter__search {
    width: 100%;
  }
}

/* ==========================================================================
   21. GAMES FILTER BAR (.pc-games-filter)
   ========================================================================== */

.pc-games-filter {
  display: flex;
  align-items: center;
  gap: var(--pc-gap-md);
  padding: var(--pc-gap-md);
  background: var(--pc-bg-secondary);
  border-radius: var(--pc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.pc-games-filter__search {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem 0.75rem 2.75rem !important;
  font-family: var(--pc-font) !important;
  font-size: 0.9rem !important;
  color: var(--pc-text) !important;
  background: var(--pc-bg-tertiary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--pc-radius-sm) !important;
  outline: none !important;
  transition: border-color var(--pc-transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 0.85rem center !important;
  background-size: 18px !important;
}

.pc-games-filter__search::placeholder {
  color: var(--pc-text-muted) !important;
}

.pc-games-filter__search:focus {
  border-color: var(--pc-gold) !important;
  box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.15);
}

.pc-games-filter__buttons {
  display: flex;
  gap: var(--pc-gap-xs);
}

.pc-games-filter__btn {
  padding: 0.5rem 1rem;
  font-family: var(--pc-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pc-text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pc-radius-sm);
  cursor: pointer;
  transition: all var(--pc-transition);
}

.pc-games-filter__btn:hover {
  color: var(--pc-text);
  border-color: var(--pc-gold);
}

.pc-games-filter__btn--active {
  color: var(--pc-bg-primary);
  background: var(--pc-gold);
  border-color: var(--pc-gold);
}

/* ==========================================================================
   22. FEATURE CARDS (.pc-feature-card)
   ========================================================================== */

.pc-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pc-gap-md);
}

.pc-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--pc-gap-sm);
  padding: var(--pc-gap-xl) var(--pc-gap-lg);
  background: var(--pc-bg-tertiary);
  border-radius: var(--pc-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--pc-transition), transform var(--pc-transition);
}

.pc-feature-card:hover {
  border-color: rgba(255, 230, 0, 0.15);
  transform: translateY(-3px);
}

.pc-feature-card__icon {
  font-size: 2.5rem;
  color: var(--pc-gold);
  text-shadow: 0 0 16px rgba(255, 230, 0, 0.3);
}

.pc-feature-card__title {
  font-family: var(--pc-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pc-text);
  margin: 0;
}

.pc-feature-card__desc {
  font-size: 0.85rem;
  color: var(--pc-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   23. CONTENT PAGES (.pc-content)
   ========================================================================== */

.pc-content {
  max-width: 800px;
  margin: 0 auto;
}

.pc-content--text h2 {
  font-family: var(--pc-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pc-gold);
  margin-top: var(--pc-gap-xl);
  margin-bottom: var(--pc-gap-sm);
  padding-bottom: var(--pc-gap-xs);
  border-bottom: 1px solid rgba(255, 230, 0, 0.12);
}

.pc-content--text h2:first-of-type {
  margin-top: 0;
}

.pc-content--text p {
  font-size: 0.92rem;
  color: var(--pc-text-muted);
  line-height: 1.8;
  margin-bottom: var(--pc-gap-md);
}

.pc-content__notice {
  background: rgba(255, 189, 0, 0.08);
  border: 1px solid rgba(255, 189, 0, 0.2);
  border-radius: var(--pc-radius);
  padding: var(--pc-gap-md) var(--pc-gap-lg);
  margin-bottom: var(--pc-gap-xl);
}

.pc-content__notice p {
  font-size: 0.88rem;
  color: var(--pc-gold-dark);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   24. VIP POINTS BADGE (.pc-vip-card__points)
   ========================================================================== */

.pc-vip-card__points {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pc-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: var(--pc-gap-sm);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   25. GAME CARD INFO ROW (.pc-game-card__info)
   ========================================================================== */

.pc-game-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--pc-gap-xs) var(--pc-gap-sm);
}

.pc-game-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-game-card__provider {
  font-size: 0.72rem;
  color: var(--pc-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: var(--pc-gap-xs);
}

/* --- Feature grid responsive (tablet) --- */

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

/* --- Feature grid responsive (mobile) --- */

@media (max-width: 767px) {
  .pc-feature-grid {
    grid-template-columns: 1fr;
  }

  .pc-games-filter {
    flex-direction: column;
  }

  .pc-games-filter__search {
    width: 100%;
  }

  .pc-content--text h2 {
    font-size: 1.05rem;
  }
}
