/*
Theme Name: PlayCasterX
Theme URI: https://playcasterx.com
Author: PlayCasterX
Description: A fast, dark, esports-style magazine theme for streaming gear reviews, streaming guides, esports coverage and game guides. Includes review boxes with ratings and buy buttons, a tournaments section, ad slots, dark/light mode, schema markup and one-click site setup.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: playcasterx
Tags: blog, news, dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--bg: #0a0c12;
	--bg-soft: #0f121b;
	--surface: #141824;
	--surface-2: #1b2030;
	--border: #252b3d;
	--text: #eceef5;
	--text-soft: #c3c8d8;
	--muted: #8b92a8;
	--brand: #a01e63;
	--accent: #d63b8f;
	--accent-hover: #e85aa3;
	--accent-glow: rgba(214, 59, 143, .32);
	--live: #ff3355;
	--win: #1fd8a4;
	--gold: #ffc53d;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--font-head: "Chakra Petch", "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1240px;
	--header-h: 84px;
}

html[data-theme="light"] {
	--bg: #f5f6fa;
	--bg-soft: #eceef4;
	--surface: #ffffff;
	--surface-2: #f1f2f7;
	--border: #e1e4ec;
	--text: #0d0d10;
	--text-soft: #2f3240;
	--muted: #6a7187;
	--gold: #b7791f;
	--accent: #a01e63;
	--accent-hover: #7f1550;
	--accent-glow: rgba(160, 30, 99, .18);
	--shadow: 0 10px 30px rgba(20, 24, 40, .08);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	transition: background .25s, color .25s;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .6em;
	color: var(--text);
	letter-spacing: .01em;
}
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 9999; top: 10px; left: 10px;
	background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .03em;
	text-transform: uppercase; cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-buy { background: linear-gradient(135deg, #ff9f1c, #ff5e3a); color: #fff; box-shadow: 0 6px 20px rgba(255, 94, 58, .3); }
.btn-buy:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }

/* Badges */
.badge {
	display: inline-block; padding: 4px 10px; border-radius: 6px;
	font-family: var(--font-head); font-size: 12px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
	background: var(--accent); color: #fff;
}
.badge:hover { color: #fff; filter: brightness(1.1); }
.badge-live { background: var(--live); }
.badge-live::before {
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
	background: #fff; margin-right: 6px; vertical-align: 1px; animation: pcx-pulse 1.4s infinite;
}
.badge-upcoming { background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.badge-finished { background: transparent; color: var(--muted); border: 1px solid var(--border); }
@keyframes pcx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ==========================================================================
   3. Top bar, header and navigation
   ========================================================================== */
.reading-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001;
	background: linear-gradient(90deg, var(--brand), var(--accent));
}
.ticker {
	background: var(--bg-soft); border-bottom: 1px solid var(--border);
	font-size: 13px; overflow: hidden;
}
.ticker .container { display: flex; align-items: center; gap: 14px; height: 38px; }
.ticker-label {
	flex-shrink: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
	letter-spacing: .08em; color: var(--live); font-size: 12px;
}
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; gap: 40px; white-space: nowrap; animation: pcx-scroll 45s linear infinite; width: max-content; }
.ticker-items:hover { animation-play-state: paused; }
.ticker-items a { color: var(--text-soft); }
.ticker-items a:hover { color: var(--accent); }
@keyframes pcx-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: var(--bg);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-branding { flex-shrink: 0; }
.site-branding img { max-height: 62px; width: auto; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 62px; width: auto; }
.site-logo .logo-dark { display: none; }
html[data-theme="dark"] .site-logo .logo-light { display: none; }
html[data-theme="dark"] .site-logo .logo-dark { display: block; }
html[data-theme="dark"] .custom-logo-link { display: inline-block; background: #fff; padding: 4px 8px; border-radius: 8px; }
.footer-about .site-logo img { height: 58px; }
.site-logo-text {
	font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .02em;
	color: var(--text); display: inline-flex; align-items: center; gap: 8px;
}
.site-logo-text:hover { color: var(--text); }
.site-logo-text .logo-mark {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
	background: linear-gradient(135deg, var(--accent), var(--live)); color: #fff; font-size: 16px;
	box-shadow: 0 4px 16px var(--accent-glow);
}
.site-logo-text .x { color: var(--accent); }

.main-navigation { flex: 1; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation > ul, .main-navigation .menu { display: flex; gap: 4px; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: 10px 14px; border-radius: var(--radius-sm);
	font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .03em;
	text-transform: uppercase; color: var(--text-soft);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-category-ancestor > a { color: var(--text); background: var(--surface-2); }
.main-navigation .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .18s; z-index: 20;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a { text-transform: none; font-family: var(--font-body); font-weight: 500; font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
	background: var(--surface-2); border: 1px solid var(--border); color: var(--text); cursor: pointer;
	transition: all .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { display: none; }

/* Search overlay */
.search-overlay {
	position: fixed; inset: 0; z-index: 1100; background: rgba(5, 6, 10, .86);
	backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px;
}
.search-overlay.is-open { display: flex; }
.search-overlay .search-form { width: 100%; max-width: 680px; }
.search-overlay .search-field { font-size: 22px; padding: 18px 24px; }
.search-overlay .close-search { position: absolute; top: 24px; right: 24px; }
.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
	padding: 12px 20px; color: var(--text); outline: none;
}
.search-field:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.site-main { padding: 36px 0 60px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.content-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }

.section { margin-bottom: 56px; }
.section-head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); position: relative;
}
.section-head::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 2px; background: var(--accent);
}
.section-title { font-size: 24px; margin: 0; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.section-title .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 3px; transform: rotate(45deg); }
.section-more { white-space: nowrap; flex-shrink: 0; font-family: var(--font-head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.section-more:hover { color: var(--accent); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 56px; }
.hero-side { display: grid; grid-auto-rows: 1fr; gap: 20px; }
.hero-single { grid-template-columns: 1fr; }
.hero-single .hero-side { display: none; }
.hero-card {
	position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
	min-height: 220px; display: flex; isolation: isolate;
}
.hero-main .hero-card { min-height: 480px; height: 100%; }
.hero-card .hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-card .hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero-card:hover .hero-img img { transform: scale(1.05); }
.hero-card::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(5, 6, 10, 0) 25%, rgba(5, 6, 10, .92) 100%);
}
.hero-content { margin-top: auto; padding: 26px; color: #fff; }
.hero-content h2, .hero-content h3 { color: #fff; margin: 12px 0 8px; }
.hero-content h2 { font-size: clamp(24px, 3vw, 36px); }
.hero-content h3 { font-size: 20px; }
.hero-content a { color: #fff; }
.hero-content .entry-meta { color: rgba(255, 255, 255, .75); }

/* Hero placeholders: no watermark behind text */
.hero-card .thumb-placeholder span { display: none; }

/* Placeholder thumbnail when a post has no featured image */
.thumb-placeholder {
	width: 100%; height: 100%; min-height: 100%;
	background:
		radial-gradient(circle at 20% 20%, var(--accent-glow), transparent 55%),
		radial-gradient(circle at 80% 90%, rgba(160, 30, 99, .3), transparent 50%),
		var(--surface-2);
	display: grid; place-items: center;
}
.thumb-placeholder span { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: rgba(255, 255, 255, .18); letter-spacing: .1em; }

/* ==========================================================================
   6. Post cards
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: 0 14px 34px var(--accent-glow); }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb .badge { position: absolute; top: 12px; left: 12px; }
.card-score {
	position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(10, 12, 18, .85); border: 2px solid var(--win);
	color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 19px; margin: 0 0 10px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.card-body .entry-meta { margin-top: auto; }

.card-row { flex-direction: row; }
.card-row .card-thumb { width: 42%; flex-shrink: 0; aspect-ratio: auto; min-height: 170px; }
.card-row .card-body { justify-content: center; }

.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mini-item { display: flex; gap: 14px; align-items: center; }
.mini-item .mini-thumb { width: 88px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.mini-item .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-item h4 { font-size: 15px; margin: 0 0 4px; line-height: 1.35; }
.mini-item h4 a { color: var(--text); }
.mini-item h4 a:hover { color: var(--accent); }
.mini-num {
	font-family: var(--font-head); font-size: 32px; font-weight: 700; width: 36px; flex-shrink: 0;
	color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}

.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.entry-meta a { color: inherit; }
.entry-meta a:hover { color: var(--accent); }
.entry-meta .sep { opacity: .5; }

/* ==========================================================================
   7. Front-page blocks
   ========================================================================== */
.gear-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gear-tile {
	display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all .2s;
}
.gear-tile:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.gear-tile .gt-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-glow); color: var(--accent); flex-shrink: 0; }
.gear-tile .gt-icon svg { width: 24px; height: 24px; }
.gear-tile strong { font-family: var(--font-head); font-size: 16px; display: block; line-height: 1.2; }
.gear-tile small { color: var(--muted); font-size: 13px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }

/* Tournaments */
.match-list { display: grid; gap: 12px; }
.match {
	display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
	transition: border-color .2s;
}
.match:hover { border-color: var(--accent); }
.match-date { text-align: center; min-width: 54px; padding-right: 16px; border-right: 1px solid var(--border); }
.match-date .d { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1; display: block; }
.match-date .m { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.match h4 { margin: 0 0 4px; font-size: 16px; }
.match h4 a { color: var(--text); }
.match h4 a:hover { color: var(--accent); }
.match-info { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.match-info .prize { color: var(--gold); font-weight: 600; }

.tourney-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.tourney-table th, .tourney-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.tourney-table th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-size: 12px; background: var(--surface-2); }

/* Newsletter / CTA band */
.cta-band {
	position: relative; overflow: hidden; border-radius: 20px; padding: 46px;
	background:
		radial-gradient(circle at 0% 0%, rgba(160, 30, 99, .75), transparent 60%),
		radial-gradient(circle at 100% 100%, rgba(214, 59, 143, .35), transparent 55%),
		#0d0d10;
	color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
	border: 1px solid rgba(255, 255, 255, .08);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input[type="email"] {
	flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; outline: none;
	background: var(--surface-2); color: var(--text);
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-note { font-size: 12px; margin: 8px 0 0; color: var(--muted); }
.cta-band .newsletter-form input[type="email"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.cta-band .newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.cta-band .newsletter-note { color: rgba(255, 255, 255, .55); }
.side-newsletter .newsletter-form { flex-direction: column; }

/* ==========================================================================
   8. Sidebar & widgets
   ========================================================================== */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.widget-title {
	font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
	padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text-soft); }
.widget ul li a:hover { color: var(--accent); }
.tag-cloud-link, .wp-block-tag-cloud a {
	display: inline-block; padding: 5px 12px; margin: 0 6px 8px 0; border-radius: 999px;
	background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); font-size: 13px !important;
}
.tag-cloud-link:hover { border-color: var(--accent); color: var(--accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
	width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
	background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); transition: all .2s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-links svg { width: 18px; height: 18px; }

/* ==========================================================================
   9. Ad slots
   ========================================================================== */
.pcx-ad { margin: 28px auto; text-align: center; overflow: hidden; }
.pcx-ad-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 6px; }
.pcx-ad-header { margin: 18px auto 0; }
.pcx-ad-sidebar { margin: 0; }

/* ==========================================================================
   10. Single post
   ========================================================================== */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }

.entry-header { margin-bottom: 26px; }
.entry-header .badge { margin-bottom: 14px; }
.entry-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.entry-subtitle { font-size: 18px; color: var(--text-soft); margin-bottom: 18px; }
.author-line { display: flex; align-items: center; gap: 12px; }
.author-line img { border-radius: 50%; width: 42px; height: 42px; }
.author-line .name { font-weight: 600; color: var(--text); }
.featured-media { border-radius: var(--radius); overflow: hidden; margin: 0 0 30px; }
.featured-media img { width: 100%; }
.featured-media figcaption { font-size: 13px; color: var(--muted); padding: 8px 2px 0; }

.disclosure {
	font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--border);
	border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 26px;
}

.entry-content { font-size: 17.5px; color: var(--text-soft); }
.entry-content > * { margin-bottom: 1.3em; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.entry-content h3 { font-size: 23px; margin-top: 1.4em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent-glow); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.entry-content a:hover { text-decoration-color: var(--accent); }
.entry-content a.btn { text-decoration: none; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--surface);
	border-radius: 0 var(--radius) var(--radius) 0; font-size: 19px; color: var(--text);
}
.entry-content img, .entry-content figure img { border-radius: var(--radius-sm); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--surface-2); color: var(--text); font-family: var(--font-head); }
.entry-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.entry-content pre { background: var(--surface); border: 1px solid var(--border); padding: 18px; border-radius: var(--radius-sm); overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius-sm); }
.alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

/* Table of contents */
.pcx-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px; }
.pcx-toc summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .05em; color: var(--text); list-style: none; display: flex; justify-content: space-between; }
.pcx-toc summary::-webkit-details-marker { display: none; }
.pcx-toc summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.pcx-toc[open] summary::after { content: "–"; }
.pcx-toc ol { margin: 14px 0 0; padding-left: 1.2em; font-size: 15px; }
.pcx-toc li { margin: 6px 0; }
.pcx-toc li.lvl-3 { margin-left: 1em; list-style: circle; }
.pcx-toc a { color: var(--text-soft); text-decoration: none; }
.pcx-toc a:hover { color: var(--accent); }

/* Review box */
.review-box {
	background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
	margin: 0 0 32px; box-shadow: var(--shadow);
}
.review-box.at-end { margin: 40px 0; }
.review-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px; background: linear-gradient(135deg, var(--accent-glow), transparent 70%); border-bottom: 1px solid var(--border); }
.score-ring {
	--p: 80; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
	background: conic-gradient(var(--win) calc(var(--p) * 1%), var(--surface-2) 0);
	position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score-ring span { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--text); }
.score-ring small { position: relative; display: block; font-size: 11px; color: var(--muted); text-align: center; margin-top: -6px; }
.review-head h3 { margin: 0 0 4px; font-size: 22px; }
.review-verdict { margin: 0; color: var(--text-soft); font-size: 15px; }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; margin-bottom: 4px; }
.review-pc { display: grid; grid-template-columns: 1fr 1fr; }
.review-pc > div { padding: 20px 24px; }
.review-pc > div + div { border-left: 1px solid var(--border); }
.review-pc h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.review-pc .pros h4 { color: var(--win); }
.review-pc .cons h4 { color: var(--live); }
.review-pc ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.review-pc li { padding: 5px 0 5px 24px; position: relative; color: var(--text-soft); }
.review-pc .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--win); font-weight: 700; }
.review-pc .cons li::before { content: "✕"; position: absolute; left: 0; color: var(--live); font-weight: 700; }
.review-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }
.review-price { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); }
.review-price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); display: block; }

/* Tournament info box (single) */
.tourney-box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.tourney-box > div { background: var(--surface); padding: 16px 18px; }
.tourney-box small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.tourney-box strong { font-family: var(--font-head); font-size: 17px; }

/* Tags, share, author box */
.entry-footer { margin-top: 36px; display: grid; gap: 22px; }
.post-tags a { display: inline-block; padding: 5px 13px; margin: 0 6px 8px 0; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); font-size: 13px; }
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; margin-right: 6px; }
.share a, .share button {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.share svg { width: 15px; height: 15px; }
.author-box { display: flex; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.author-box img { border-radius: 50%; width: 80px; height: 80px; flex-shrink: 0; }
.author-box h4 { margin: 0 0 6px; font-size: 18px; }
.author-box p { margin: 0; color: var(--muted); font-size: 15px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.post-nav a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
.post-nav strong { font-family: var(--font-head); font-size: 16px; line-height: 1.35; display: block; }

.related { margin-top: 50px; }

/* Comments */
.comments-area { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 13px; font-weight: 600; }
.comment-form label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-soft); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.pcx-form input, .pcx-form textarea, .pcx-form select {
	width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
	padding: 12px 14px; color: var(--text); outline: none;
}
.comment-form input:focus, .comment-form textarea:focus, .pcx-form input:focus, .pcx-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.comment-form .submit, .pcx-form button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.comment-form .submit:hover, .pcx-form button:hover { background: var(--accent-hover); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form-cookies-consent label { margin: 0; }
.pcx-form { display: grid; gap: 16px; }
.pcx-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcx-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.pcx-notice.ok { background: rgba(31, 216, 164, .12); border: 1px solid var(--win); color: var(--win); }
.pcx-notice.err { background: rgba(255, 51, 85, .12); border: 1px solid var(--live); color: var(--live); }

/* ==========================================================================
   11. Archives, pagination, 404
   ========================================================================== */
.archive-header {
	padding: 40px; margin-bottom: 36px; border-radius: 20px; border: 1px solid var(--border);
	background: radial-gradient(circle at 0% 0%, var(--accent-glow), transparent 60%), var(--surface);
}
.archive-header .eyebrow { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.archive-header h1 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 10px; }
.archive-header .archive-description { color: var(--text-soft); max-width: 720px; }
.archive-header .archive-description p:last-child { margin: 0; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subcat-chips a { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); font-size: 14px; }
.subcat-chips a:hover { border-color: var(--accent); color: var(--accent); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center;
	border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
	font-family: var(--font-head); font-weight: 700;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.error-404 { text-align: center; padding: 60px 0; }
.error-404 .big { font-family: var(--font-head); font-size: clamp(100px, 18vw, 200px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-form { max-width: 520px; margin: 26px auto; }
.no-results { padding: 40px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 60px; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-about p { color: var(--muted); margin: 14px 0 18px; max-width: 340px; }
.site-footer .widget { background: none; border: 0; padding: 0; }
.site-footer .widget-title, .footer-col-title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; color: var(--text); }
.site-footer .widget-title { border: 0; padding: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 5px 0; border: 0; }
.site-footer ul li a { color: var(--muted); }
.site-footer ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; font-size: 13px; color: var(--muted); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

.back-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 900; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all .25s; background: var(--accent); color: #fff; border: 0; box-shadow: 0 8px 24px var(--accent-glow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--accent-hover); }

/* Cookie bar */
.cookie-bar {
	position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 950; max-width: 560px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 18px 20px; display: none; gap: 16px; align-items: center; font-size: 14px;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; color: var(--text-soft); }
.cookie-bar .btn { padding: 9px 18px; font-size: 13px; flex-shrink: 0; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.content-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
	.post-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gear-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}
@media (max-width: 920px) {
	.menu-toggle { display: inline-grid; }
	.main-navigation {
		position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg);
		padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; z-index: 999;
	}
	.admin-bar .main-navigation { top: calc(var(--header-h) + 46px); }
	.main-navigation.is-open { transform: none; }
	.main-navigation > ul, .main-navigation .menu { flex-direction: column; gap: 2px; }
	.main-navigation a { padding: 14px 16px; font-size: 17px; }
	.main-navigation .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; }
	body.menu-open { overflow: hidden; }
	.content-grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.hero { grid-template-columns: 1fr; }
	.hero-main .hero-card { min-height: 380px; }
	.hero-side { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-band { grid-template-columns: 1fr; padding: 34px 26px; }
	.tourney-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.ticker { display: none; }
	.post-grid, .post-grid.cols-2, .post-grid.cols-4 { grid-template-columns: 1fr; }
	.hero-side { grid-template-columns: 1fr; }
	.card-row { flex-direction: column; }
	.card-row .card-thumb { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
	.gear-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
	.gear-tile { flex-direction: column; text-align: center; padding: 14px 10px; gap: 8px; }
	.gear-tile small { display: none; }
	.review-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.review-pc { grid-template-columns: 1fr; }
	.review-pc > div + div { border-left: 0; border-top: 1px solid var(--border); }
	.review-foot { flex-direction: column; align-items: stretch; text-align: center; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.post-nav { grid-template-columns: 1fr; }
	.archive-header { padding: 28px 22px; }
	.newsletter-form { flex-direction: column; }
	.author-box { flex-direction: column; align-items: center; text-align: center; }
	.pcx-form .row { grid-template-columns: 1fr; }
	.match { grid-template-columns: auto 1fr; }
	.match > .badge { grid-column: 2; justify-self: start; }
	.entry-content { font-size: 16.5px; }
	.site-logo-text { font-size: 22px; }
	:root { --header-h: 68px; }
	.site-logo img, .site-branding img { height: 46px; }
	.section-title { font-size: 19px; }
	.hero-main .hero-card { min-height: 320px; }
	.hero-card { min-height: 200px; }
	.hero-content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
