/* ==========================================================================
   PolishSzlakowisko.com — Stylesheet (Theme: Crimson Citadel & Dark Fantasy)
   CSS Prefix: pho- | Layout Style: arcade-cards
   ========================================================================== */

:root {
  --pho-bg: #16090d;
  --pho-bg-elevated: #1d0c11;
  --pho-surface: #241116;
  --pho-surface-hover: #2f161d;
  --pho-surface-border: rgba(240, 58, 55, 0.22);
  --pho-surface-border-strong: rgba(240, 58, 55, 0.45);
  --pho-primary: #f03a37;
  --pho-primary-hover: #f56254;
  --pho-accent: #eda30e;
  --pho-accent-soft: rgba(237, 163, 14, 0.16);
  --pho-text-main: #fff4f4;
  --pho-text-muted: #bb9ca0;
  --pho-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(240, 58, 55, 0.12);
  --pho-radius: 10px;
  --pho-radius-lg: 16px;
  --pho-header-bg: rgba(22, 9, 13, 0.94);
  --pho-font-heading: 'Archivo Black', sans-serif;
  --pho-font-body: 'Work Sans', sans-serif;
  --pho-transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
    scroll-padding-top: 90px;
  font-size: 16px;
  background-color: var(--pho-bg);
  color: var(--pho-text-main);
}

body.pho-body {
  font-family: var(--pho-font-body);
  background-color: var(--pho-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(240, 58, 55, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(237, 163, 14, 0.08) 0%, transparent 38%),
    linear-gradient(180deg, #16090d 0%, #12070a 100%);
  color: var(--pho-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--pho-transition);
}

ul {
  list-style: none;
}

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

/* Header & Navigation */
.pho-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--pho-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pho-surface-border);
  transition: box-shadow var(--pho-transition), border-color var(--pho-transition);
}

.pho-header.pho-header-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
  border-bottom-color: var(--pho-surface-border-strong);
}

.pho-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.pho-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--pho-font-heading);
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--pho-text-main);
  flex-shrink: 0;
}

.pho-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pho-primary) 0%, #a91b18 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(240, 58, 55, 0.35);
}

.pho-logo-icon svg {
  width: 21px;
  height: 21px;
}

.pho-logo-accent {
  color: var(--pho-primary);
}

.pho-logo-tag {
  font-family: var(--pho-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--pho-accent-soft);
  color: var(--pho-accent);
  border: 1px solid rgba(237, 163, 14, 0.35);
}

.pho-nav-desktop {
  display: flex;
  align-items: center;
}

.pho-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pho-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pho-text-muted);
  padding: 6px 2px;
  position: relative;
  transition: color var(--pho-transition);
}

.pho-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--pho-primary);
  transition: width var(--pho-transition);
}

.pho-nav-link:hover,
.pho-nav-link:focus-visible {
  color: var(--pho-text-main);
}

.pho-nav-link:hover::after {
  width: 100%;
}

.pho-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.pho-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--pho-font-body);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 11px 22px;
  border-radius: var(--pho-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--pho-transition);
  text-align: center;
  line-height: 1.25;
}

.pho-btn-primary {
  background: linear-gradient(135deg, var(--pho-primary) 0%, #c82320 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(240, 58, 55, 0.32);
}

.pho-btn-primary:hover {
  background: linear-gradient(135deg, var(--pho-primary-hover) 0%, var(--pho-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 58, 55, 0.45);
}

.pho-btn-secondary {
  background: rgba(255, 244, 244, 0.06);
  color: var(--pho-text-main);
  border-color: var(--pho-surface-border-strong);
}

.pho-btn-secondary:hover {
  background: rgba(240, 58, 55, 0.14);
  border-color: var(--pho-primary);
  transform: translateY(-2px);
}

.pho-btn-outline {
  background: transparent;
  color: var(--pho-text-muted);
  border-color: var(--pho-surface-border);
}

.pho-btn-outline:hover {
  color: var(--pho-text-main);
  border-color: var(--pho-text-main);
}

.pho-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.pho-btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.pho-btn-block {
  width: 100%;
}

/* Burger Button & Mobile Drawer */
.pho-burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: 8px;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.pho-burger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--pho-text-main);
  border-radius: 2px;
  transition: transform var(--pho-transition), opacity var(--pho-transition);
}

.pho-burger-btn.pho-active .pho-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pho-burger-btn.pho-active .pho-burger-bar:nth-child(2) {
  opacity: 0;
}

.pho-burger-btn.pho-active .pho-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pho-mobile-drawer {
  display: none;
  background: var(--pho-surface);
  border-bottom: 1px solid var(--pho-surface-border-strong);
  padding: 20px;
}

.pho-mobile-drawer.pho-open {
  display: block;
}

.pho-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pho-mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--pho-text-main);
  background: rgba(255, 255, 255, 0.03);
}

.pho-mobile-link:hover {
  background: rgba(240, 58, 55, 0.15);
  color: var(--pho-primary-hover);
}

/* Hero Section */
.pho-hero-section {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--pho-surface-border);
}

.pho-hero-glow-bg {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(240, 58, 55, 0.22) 0%, rgba(237, 163, 14, 0.08) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.pho-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.pho-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(240, 58, 55, 0.12);
  border: 1px solid var(--pho-surface-border-strong);
  color: var(--pho-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pho-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pho-primary);
  box-shadow: 0 0 10px var(--pho-primary);
}

.pho-hero-title {
  font-family: var(--pho-font-heading);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pho-text-main);
  margin-bottom: 20px;
}

.pho-title-gradient {
  background: linear-gradient(95deg, var(--pho-primary) 0%, var(--pho-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pho-hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--pho-text-muted);
  max-width: 760px;
  margin: 0 auto 32px;
}

.pho-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.pho-hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(36, 17, 22, 0.82);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 22px 20px;
  box-shadow: var(--pho-card-shadow);
}

.pho-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 8px;
  border-right: 1px solid rgba(240, 58, 55, 0.14);
}

.pho-stat-item:last-child {
  border-right: none;
}

.pho-stat-value {
  font-family: var(--pho-font-heading);
  font-size: 1.55rem;
  color: var(--pho-accent);
  line-height: 1.2;
  margin-bottom: 4px;
}

.pho-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pho-text-muted);
}

/* Generic Section Layout */
.pho-section {
  padding: 72px 0;
  position: relative;
}

.pho-section-alt {
  background: rgba(36, 17, 22, 0.45);
  border-top: 1px solid var(--pho-surface-border);
  border-bottom: 1px solid var(--pho-surface-border);
}

.pho-section-header {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.pho-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pho-accent);
  background: var(--pho-accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pho-section-title {
  font-family: var(--pho-font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  color: var(--pho-text-main);
  margin-bottom: 14px;
}

.pho-section-subtitle {
  font-size: 1.02rem;
  color: var(--pho-text-muted);
}

/* Platform Advantages Grid (4 Cards) */
.pho-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pho-adv-card {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 26px 22px;
  box-shadow: var(--pho-card-shadow);
  transition: transform var(--pho-transition), border-color var(--pho-transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pho-adv-card:hover {
  transform: translateY(-4px);
  border-color: var(--pho-primary);
}

.pho-adv-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(240, 58, 55, 0.14);
  border: 1px solid rgba(240, 58, 55, 0.3);
  color: var(--pho-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pho-adv-icon svg {
  width: 24px;
  height: 24px;
}

.pho-adv-title {
  font-family: var(--pho-font-heading);
  font-size: 1.08rem;
  color: var(--pho-text-main);
  line-height: 1.3;
}

.pho-adv-desc {
  font-size: 0.92rem;
  color: var(--pho-text-muted);
}

/* Catalog Filter Bar */
.pho-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.pho-filter-btn {
  background: var(--pho-surface);
  color: var(--pho-text-muted);
  border: 1px solid var(--pho-surface-border);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--pho-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--pho-transition);
}

.pho-filter-btn:hover {
  color: var(--pho-text-main);
  border-color: var(--pho-primary);
}

.pho-filter-btn.pho-active {
  background: var(--pho-primary);
  color: #ffffff;
  border-color: var(--pho-primary);
  box-shadow: 0 4px 14px rgba(240, 58, 55, 0.35);
}

/* Games Grid (Arcade-Cards 9 Games) */
.pho-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pho-game-card {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-top: 3px solid var(--pho-primary);
  border-radius: var(--pho-radius-lg);
  overflow: hidden;
  box-shadow: var(--pho-card-shadow), inset 0 1px 0 rgba(240, 58, 55, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform var(--pho-transition), border-color var(--pho-transition), box-shadow var(--pho-transition);
}

.pho-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--pho-primary);
  border-top-color: var(--pho-accent);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.7), 0 0 24px rgba(240, 58, 55, 0.28);
}

.pho-game-card.pho-card-top {
  border-color: rgba(237, 163, 14, 0.45);
  border-top: 3px solid var(--pho-accent);
}

.pho-card-media,
.pho-game-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #100609;
  margin: 0;
}

.pho-game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pho-game-card:hover .pho-game-thumb {
  transform: scale(1.05);
}

.pho-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.pho-badge-genre {
  background: rgba(22, 9, 13, 0.9);
  backdrop-filter: blur(6px);
  color: var(--pho-text-main);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--pho-surface-border-strong);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.pho-badge-top {
  background: linear-gradient(135deg, var(--pho-accent) 0%, #c97f00 100%);
  color: #16090d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 244, 0.35);
  box-shadow: 0 4px 14px rgba(237, 163, 14, 0.48);
}

.pho-card-telemetry {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(22, 9, 13, 0.82);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 6px;
}

.pho-rating-pill {
  color: var(--pho-accent);
  font-weight: 700;
}

.pho-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #79f2a0;
}

.pho-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3be875;
}

.pho-game-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pho-game-title {
  font-family: var(--pho-font-heading);
  font-size: 1.2rem;
  color: var(--pho-text-main);
  margin-bottom: 8px;
}

.pho-game-desc {
  font-size: 0.9rem;
  color: var(--pho-text-muted);
  margin-bottom: 14px;
}

.pho-game-features {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(240, 58, 55, 0.14);
  padding-top: 12px;
}

.pho-feature-item {
  font-size: 0.82rem;
  color: var(--pho-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pho-feature-bullet {
  color: var(--pho-primary);
  font-weight: 800;
}

.pho-game-footer {
  margin-top: auto;
}

/* Spotlight Section (Wybór Redakcji) */
.pho-spotlight-box {
  background: linear-gradient(135deg, rgba(36, 17, 22, 0.95) 0%, rgba(24, 10, 14, 0.98) 100%);
  border: 1px solid var(--pho-surface-border-strong);
  border-radius: var(--pho-radius-lg);
  padding: 36px;
  box-shadow: var(--pho-card-shadow);
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 36px;
  align-items: center;
}

.pho-spotlight-media {
  position: relative;
  border-radius: var(--pho-radius);
  overflow: hidden;
  border: 1px solid var(--pho-surface-border-strong);
}

.pho-spotlight-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pho-spotlight-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.pho-spec-box {
  background: rgba(22, 9, 13, 0.75);
  border: 1px solid var(--pho-surface-border);
  border-radius: 8px;
  padding: 12px 14px;
}

.pho-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pho-text-muted);
  display: block;
}

.pho-spec-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pho-accent);
}

/* Editorial Essays (Intro & Overview Blocks) */
.pho-essays-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pho-essay-group-title {
  font-family: var(--pho-font-heading);
  font-size: 1.45rem;
  color: var(--pho-accent);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pho-surface-border);
}

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

.pho-essay-card {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 26px 24px;
  box-shadow: var(--pho-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pho-essay-num {
  font-family: var(--pho-font-heading);
  font-size: 0.82rem;
  color: var(--pho-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pho-essay-heading {
  font-family: var(--pho-font-heading);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--pho-text-main);
}

.pho-essay-text {
  font-size: 0.92rem;
  color: var(--pho-text-muted);
  line-height: 1.65;
}

.pho-talking-list {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(240, 58, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pho-talking-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pho-text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pho-talking-item::before {
  content: '▸';
  color: var(--pho-accent);
  font-weight: 700;
}

/* About / Domain Legend Section */
.pho-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.pho-about-main,
.pho-about-side {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 32px;
  box-shadow: var(--pho-card-shadow);
}

.pho-legend-quote {
  margin: 18px 0;
  padding: 18px 20px;
  background: rgba(240, 58, 55, 0.08);
  border-left: 4px solid var(--pho-primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.96rem;
  color: var(--pho-text-main);
}

.pho-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.pho-criteria-item {
  padding: 14px;
  border-radius: 8px;
  background: rgba(22, 9, 13, 0.65);
  border: 1px solid var(--pho-surface-border);
}

.pho-criteria-title {
  font-weight: 700;
  color: var(--pho-accent);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.pho-criteria-desc {
  font-size: 0.86rem;
  color: var(--pho-text-muted);
}

/* FAQ Accordion */
.pho-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pho-faq-item {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius);
  overflow: hidden;
  transition: border-color var(--pho-transition);
}

.pho-faq-item.pho-faq-open {
  border-color: var(--pho-primary);
}

.pho-faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--pho-font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pho-text-main);
  cursor: pointer;
}

.pho-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 58, 55, 0.15);
  color: var(--pho-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform var(--pho-transition), background var(--pho-transition);
}

.pho-faq-item.pho-faq-open .pho-faq-icon {
  transform: rotate(45deg);
  background: var(--pho-primary);
  color: #fff;
}

.pho-faq-panel {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--pho-text-muted);
  border-top: 1px solid rgba(240, 58, 55, 0.12);
  padding-top: 14px;
}

.pho-faq-item.pho-faq-open .pho-faq-panel {
  display: block;
}

/* Contact Section */
.pho-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
}

.pho-contact-info-card,
.pho-contact-form-card {
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 32px;
  box-shadow: var(--pho-card-shadow);
}

.pho-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.pho-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pho-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(240, 58, 55, 0.15);
  color: var(--pho-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pho-contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pho-text-muted);
  display: block;
}

.pho-contact-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--pho-text-main);
}

.pho-form-group {
  margin-bottom: 18px;
}

.pho-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pho-text-main);
  margin-bottom: 7px;
}

.pho-form-input,
.pho-form-textarea {
  width: 100%;
  background: rgba(22, 9, 13, 0.85);
  border: 1px solid var(--pho-surface-border);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--pho-text-main);
  font-family: var(--pho-font-body);
  font-size: 0.94rem;
  transition: border-color var(--pho-transition);
}

.pho-form-input:focus,
.pho-form-textarea:focus {
  outline: none;
  border-color: var(--pho-primary);
}

.pho-form-status {
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.pho-form-status.pho-status-err {
  display: block;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
}

.pho-form-status.pho-status-ok {
  display: block;
  background: rgba(59, 232, 117, 0.14);
  border: 1px solid rgba(59, 232, 117, 0.4);
  color: #82f7a9;
}

/* Legal Subpages */
.pho-legal-section {
  padding: 64px 0 84px;
  flex-grow: 1;
}

.pho-legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border);
  border-radius: var(--pho-radius-lg);
  padding: 42px;
  box-shadow: var(--pho-card-shadow);
}

.pho-legal-title {
  font-family: var(--pho-font-heading);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--pho-text-main);
  margin-bottom: 10px;
}

.pho-legal-meta {
  font-size: 0.86rem;
  color: var(--pho-accent);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pho-surface-border);
}

.pho-legal-content h2 {
  font-family: var(--pho-font-heading);
  font-size: 1.22rem;
  color: var(--pho-text-main);
  margin: 28px 0 12px;
}

.pho-legal-content p {
  color: var(--pho-text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.pho-legal-content ul {
  margin: 10px 0 18px 20px;
  list-style: disc;
  color: var(--pho-text-muted);
}

.pho-legal-content li {
  margin-bottom: 7px;
  font-size: 0.94rem;
}

.pho-f2p-notice-box {
  background: rgba(240, 58, 55, 0.1);
  border: 1px solid var(--pho-surface-border-strong);
  border-radius: var(--pho-radius);
  padding: 18px 20px;
  margin: 22px 0;
  color: var(--pho-text-main);
  font-size: 0.93rem;
}

/* Footer */
.pho-footer {
  background: #100609;
  border-top: 1px solid var(--pho-surface-border);
  padding: 64px 0 32px;
  margin-top: auto;
}

.pho-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 42px;
}

.pho-footer-heading {
  font-family: var(--pho-font-heading);
  font-size: 0.96rem;
  color: var(--pho-text-main);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.pho-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pho-footer-link,
.pho-footer-btn-link {
  font-family: var(--pho-font-body);
  font-size: 0.9rem;
  color: var(--pho-text-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color var(--pho-transition);
}

.pho-footer-link:hover,
.pho-footer-btn-link:hover {
  color: var(--pho-primary);
  text-decoration: underline;
}

.pho-footer-disclaimer {
  border-top: 1px solid rgba(240, 58, 55, 0.14);
  border-bottom: 1px solid rgba(240, 58, 55, 0.14);
  padding: 20px 0;
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--pho-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pho-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(240, 58, 55, 0.14);
  border: 1px solid var(--pho-surface-border-strong);
  color: var(--pho-text-main);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pho-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--pho-text-muted);
}

/* Cookie Banner & Modal */
.pho-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1160px;
  margin: 0 auto;
  background: rgba(29, 12, 17, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--pho-surface-border-strong);
  border-radius: var(--pho-radius-lg);
  padding: 22px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: none;
}

.pho-cookie-banner.pho-visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pho-cookie-text {
  flex: 1 1 520px;
  font-size: 0.88rem;
  color: var(--pho-text-muted);
}

.pho-cookie-title {
  font-family: var(--pho-font-heading);
  font-size: 1rem;
  color: var(--pho-text-main);
  margin-bottom: 4px;
}

.pho-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pho-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 6, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pho-modal-overlay.pho-open {
  display: flex;
}

.pho-modal-card {
  width: 100%;
  max-width: 560px;
  background: var(--pho-surface);
  border: 1px solid var(--pho-surface-border-strong);
  border-radius: var(--pho-radius-lg);
  padding: 28px;
  box-shadow: var(--pho-card-shadow);
}

.pho-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pho-surface-border);
}

.pho-modal-title {
  font-family: var(--pho-font-heading);
  font-size: 1.15rem;
}

.pho-modal-close {
  background: transparent;
  border: none;
  color: var(--pho-text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.pho-cookie-option {
  padding: 14px;
  border-radius: 8px;
  background: rgba(22, 9, 13, 0.65);
  border: 1px solid var(--pho-surface-border);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

/* Scroll to Top Button */
.pho-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pho-primary);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(240, 58, 55, 0.45);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 890;
  transition: transform var(--pho-transition);
}

.pho-scroll-top.pho-show {
  display: inline-flex;
}

.pho-scroll-top:hover {
  transform: translateY(-3px);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .pho-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pho-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pho-essays-grid {
    grid-template-columns: 1fr;
  }
  .pho-spotlight-box,
  .pho-about-grid,
  .pho-contact-grid {
    grid-template-columns: 1fr;
  }
  .pho-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pho-nav-desktop {
    display: none;
  }
  .pho-burger-btn {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .pho-hero-section {
    padding: 48px 0 44px;
  }
  .pho-hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .pho-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(240, 58, 55, 0.14);
    padding-bottom: 10px;
  }
  .pho-advantages-grid,
  .pho-games-grid,
  .pho-footer-grid,
  .pho-spotlight-specs {
    grid-template-columns: 1fr;
  }
  .pho-spotlight-box,
  .pho-about-main,
  .pho-about-side,
  .pho-contact-info-card,
  .pho-contact-form-card,
  .pho-legal-card {
    padding: 22px 18px;
  }
  .pho-header-cta {
    display: none;
  }
}

/* Structural & Layout Wrapper Rules */
.pho-footer-col { position: relative; }
.pho-logo-text { position: relative; }
.pho-mobile-nav { position: relative; }
.pho-nav-item { position: relative; }
.pho-spotlight-content { position: relative; }
