/*
Theme Name: SoccerNeon
Theme URI: https://soccerbettingapps.co.uk
Author: Outline Creative / Hermes
Description: Classic soccer betting affiliate theme for soccerbettingapps.co.uk. Night-match pitch styling, volt CTAs, distraction-free landing template. Header, footer and menus are managed in the WordPress Customizer (no site editor). Works with the Online Gambling (affiliate-review) plugin shortcodes.
Version: 1.0.1
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soccerneon
Tags: one-column, custom-colors, custom-logo, custom-menu, threaded-comments
*/

/* ---------- Tokens ---------- */
:root {
	--sb-pitch-deep: #04150d;
	--sb-pitch: #06301e;
	--sb-surface: #0c2f20;
	--sb-surface-2: #14402c;
	--sb-volt: #d7ff3e;
	--sb-volt-dark: #a8cc1e;
	--sb-sky: #57c7ff;
	--sb-gold: #ffc93c;
	--sb-white: #ffffff;
	--sb-muted: #a9c3b2;
	--sb-danger: #ff5470;
	--sb-font-display: "Anton", "Arial Narrow", Impact, sans-serif;
	--sb-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
body {
	margin: 0;
	background: var(--sb-pitch-deep);
	color: var(--sb-white);
	font-family: var(--sb-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: var(--sb-font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.08;
	color: var(--sb-white);
}

a {
	color: var(--sb-volt);
}

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

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

/* ---------- Announcement bar ---------- */
.sb-announcement {
	background: var(--sb-volt);
	color: #0a1f12;
	text-align: center;
	padding: 0.5rem 1rem;
}

.sb-announcement p {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
}

/* ---------- Header ---------- */
.sb-header {
	background: var(--sb-pitch);
	padding: 0.9rem 1.2rem;
	border-bottom: 1px solid rgba(215, 255, 62, 0.18);
}

.sb-header-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.sb-header-inner--center {
	justify-content: center;
}

.sb-brand .custom-logo {
	height: 64px;
	max-height: 64px;
	width: auto;
}

.sb-header--landing .custom-logo {
	max-height: 52px;
}

a.sb-site-title {
	color: #fff;
	text-decoration: none;
	font-family: var(--sb-font-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 1.5rem;
}

.sb-header-cta {
	margin: 0;
}

/* ---------- Nav ---------- */
.sb-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	position: relative;
}

.sb-nav-list {
	display: flex;
	align-items: center;
	gap: 1.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.sb-nav-list a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.sb-nav-list a:hover {
	color: var(--sb-volt);
}

.sb-nav-list .current-menu-item a,
.sb-nav-list .current_page_item a {
	color: var(--sb-volt);
}

/* Mobile hamburger navigation */
.sb-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: rgba(215, 255, 62, 0.08);
	border: 1px solid rgba(215, 255, 62, 0.45);
	border-radius: 10px;
	cursor: pointer;
}

.sb-nav-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--sb-volt);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.sb-nav.is-open .sb-nav-toggle-bar:nth-child( 1 ) {
	transform: translateY( 7px ) rotate( 45deg );
}

.sb-nav.is-open .sb-nav-toggle-bar:nth-child( 2 ) {
	opacity: 0;
}

.sb-nav.is-open .sb-nav-toggle-bar:nth-child( 3 ) {
	transform: translateY( -7px ) rotate( -45deg );
}

.sb-nav-toggle .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset( 50% );
	white-space: nowrap;
}

@media (max-width: 860px) {
	.sb-nav-toggle {
		display: flex;
	}

	.sb-nav-list {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		margin-top: 0.65rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		min-width: 240px;
		background: #0a2c1d;
		border: 1px solid rgba(215, 255, 62, 0.35);
		border-radius: 14px;
		padding: 0.5rem;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
		z-index: 100;
	}

	.sb-nav.is-open .sb-nav-list {
		display: flex;
	}

	.sb-nav-list li {
		width: 100%;
	}

	.sb-nav-list a {
		display: block;
		padding: 0.8rem 1rem;
		border-radius: 10px;
		font-size: 1rem;
	}

	.sb-nav-list a:hover {
		background: rgba(215, 255, 62, 0.1);
	}
}

/* ---------- Layout ---------- */
.sb-main {
	min-height: 55vh;
}

.sb-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 4.5rem 1.2rem;
}

.sb-page--landing {
	max-width: 760px;
}

.sb-page-title {
	margin-bottom: 1.2rem;
}

.sb-post-date {
	margin-top: -0.6rem;
}

/* ---------- Buttons ---------- */
.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--sb-font-display);
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.95rem 2.4rem;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	line-height: 1;
}

.sb-btn--volt {
	background: linear-gradient(90deg, var(--sb-volt) 0%, var(--sb-volt-dark) 100%);
	color: #0a1f12;
	box-shadow: 0 0 22px rgba(215, 255, 62, 0.4);
}

.sb-btn--volt:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 34px rgba(215, 255, 62, 0.6);
	color: #0a1f12;
}

.sb-btn--outline {
	background: transparent;
	color: var(--sb-sky);
	border: 2px solid var(--sb-sky);
	box-shadow: none;
}

.sb-btn--outline:hover {
	transform: translateY(-2px);
	background: rgba(87, 199, 255, 0.12);
	color: var(--sb-sky);
}

/* ---------- Badges ---------- */
.sb-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sb-font-display);
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.35rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

.sb-badge--18 {
	background: var(--sb-danger);
	border-color: var(--sb-danger);
}

.sb-badge--volt {
	background: rgba(215, 255, 62, 0.15);
	border-color: rgba(215, 255, 62, 0.6);
	color: var(--sb-volt);
}

/* ---------- Cards ---------- */
.sb-card {
	background: linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-pitch) 100%);
	border: 1px solid rgba(215, 255, 62, 0.3);
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.sb-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.75rem;
	margin-top: 1.75rem;
	text-align: center;
}

/* ---------- Hero ---------- */
.sb-hero-bg {
	background:
		radial-gradient(1100px 520px at 15% -10%, rgba(20, 120, 70, 0.55), transparent 60%),
		radial-gradient(900px 480px at 95% 15%, rgba(215, 255, 62, 0.14), transparent 55%),
		radial-gradient(700px 700px at 50% 120%, rgba(87, 199, 255, 0.12), transparent 60%),
		linear-gradient(180deg, #082a1d 0%, #04150d 100%);
	position: relative;
	overflow: hidden;
}

.sb-hero-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(215, 255, 62, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(215, 255, 62, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
	pointer-events: none;
}

.sb-hero-bg > * {
	position: relative;
	z-index: 1;
}

.sb-hero {
	max-width: 1180px;
	margin: 0 auto;
	padding: 7rem 1.2rem;
	text-align: center;
}

.sb-hero-badges {
	margin-bottom: 1.4rem;
}

.sb-hero-title {
	font-size: clamp(2.75rem, 7vw, 5.5rem);
	margin-bottom: 1rem;
}

.sb-text-volt {
	color: var(--sb-volt);
}

.sb-hero-sub {
	color: var(--sb-muted);
	font-size: 1.25rem;
	max-width: 640px;
	margin: 0 auto 1.8rem;
}

.sb-hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 1.2rem;
}

.sb-hero-legal {
	margin-top: 0.8rem;
}

/* ---------- Sections ---------- */
.sb-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 4.5rem 1.2rem;
	text-align: center;
}

.sb-section--alt {
	max-width: none;
	background: var(--sb-pitch);
}

.sb-section--alt > * {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.sb-section-title {
	margin-top: 1.6rem;
}

.sb-section-sub {
	color: var(--sb-muted);
	max-width: 640px;
	margin: 0.6rem auto 0;
}

/* ---------- Offers / steps ---------- */
.sb-offer-card {
	padding: 1.75rem;
}

.sb-offer-title {
	font-size: 1.75rem;
	margin-top: 0.8rem;
}

.sb-offer-bonus {
	color: var(--sb-gold);
	font-size: 1.25rem;
}

.sb-offer-text {
	color: var(--sb-muted);
	font-size: 0.875rem;
}

.sb-offer-card .sb-btn {
	margin-top: 0.8rem;
}

.sb-step-card {
	padding: 1.75rem;
}

.sb-step-num {
	color: var(--sb-volt);
	font-family: var(--sb-font-display);
	font-size: 5rem;
	line-height: 1;
	margin: 0;
}

.sb-step-title {
	font-size: 1.75rem;
}

.sb-step-text {
	color: var(--sb-muted);
	font-size: 0.875rem;
}

/* ---------- Post lists ---------- */
.sb-post-list {
	display: grid;
	gap: 1.75rem;
}

.sb-post-card {
	padding: 1.75rem;
	text-align: left;
}

.sb-post-title a {
	color: #fff;
	text-decoration: none;
}

.sb-post-excerpt p {
	color: var(--sb-muted);
}

.sb-pagination .nav-links {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
	margin-top: 1.75rem;
}

.sb-cta-card {
	padding: 1.75rem;
	text-align: center;
	margin-top: 3rem;
}

/* ---------- Content typography ---------- */
.sb-content h2,
.sb-content h3 {
	margin-top: 2.2em;
}

.sb-content p {
	color: var(--sb-muted);
}

.sb-content strong {
	color: var(--sb-white);
}

.sb-content .wp-block-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- T&C list ---------- */
.sb-tc-list {
	counter-reset: tc;
	list-style: none;
	padding-left: 0;
	max-width: 720px;
	margin: 0 auto;
}

.sb-tc-list li {
	counter-increment: tc;
	position: relative;
	padding-left: 2.1rem;
	margin-bottom: 0.55rem;
	color: var(--sb-muted);
	font-size: 0.875rem;
}

.sb-tc-list li::before {
	content: counter(tc) ".";
	position: absolute;
	left: 0;
	color: var(--sb-white);
	font-weight: 700;
}

/* ---------- Legal / trust ---------- */
.sb-legal {
	font-size: 0.875rem;
	color: var(--sb-muted);
}

.sb-legal a {
	color: var(--sb-volt);
	text-decoration: underline dotted;
}

.sb-trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
}

/* ---------- Site title fallback ---------- */
.sb-site-title {
	font-family: var(--sb-font-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.sb-footer {
	background: #04120b;
	border-top: 1px solid rgba(215, 255, 62, 0.18);
	padding: 4.5rem 1.2rem 3rem;
	margin-top: 4.5rem;
}

.sb-footer-inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.sb-footer-rule {
	border: 0;
	border-top: 1px solid var(--sb-surface-2);
	margin: 3rem 0 1.2rem;
}

.sb-footer-disclaimer {
	margin-top: 1rem;
}

.sb-partner-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 22px 0 12px;
}

.sb-partner-logos a {
	display: block;
	border: 0;
}

.sb-partner-logos img {
	max-width: 100px;
	max-height: 28px;
	width: auto;
	height: auto;
	display: block;
}

.sb-footer-nav {
	margin-top: 1.4rem;
}

.sb-footer-nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sb-footer-nav-list a {
	color: var(--sb-white);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.sb-footer-nav-list a:hover {
	color: var(--sb-volt);
}

.sb-footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	text-align: left;
	margin-top: 1.4rem;
}

/* ---------- 404 ---------- */
.sb-404 {
	text-align: center;
}

.sb-404-num {
	font-family: var(--sb-font-display);
	font-size: 5rem;
	color: var(--sb-volt);
	margin: 0;
}

/* ==========================================================================
   Affiliate-review offer blocks (real markup: .page-title + .bonus-text-headline).
   The plugin owns its table design; the theme only supplies page context.
   ========================================================================== */
.page-title.body {
	max-width: 920px;
	margin: 2.5rem auto 0;
	padding: 0.9rem 1.4rem;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(90deg, #0e5c36 0%, #1db954 100%);
	font-family: var(--sb-font-display);
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
	color: #fff;
	box-shadow: 0 -6px 30px rgba(29, 185, 84, 0.25);
}

.page-title.body i {
	font-style: normal;
}

.page-title.body .line {
	display: none;
}

.bonus-text-headline {
	max-width: 920px;
	margin: 0 auto 1.2rem;
	padding: 1.6rem 1.4rem;
	border-radius: 0 0 16px 16px;
	background: linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-pitch) 100%);
	border: 1px solid rgba(215, 255, 62, 0.3);
	border-top: 0;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.bonus-text-headline .row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.bonus-text-headline .col-lg-8 {
	flex: 1 1 300px;
}

.bonus-text-headline .col-lg-4 {
	flex: 0 0 auto;
}

.bonus-text-headline i.h3 {
	font-style: normal;
	font-family: var(--sb-font-display);
	font-size: 1.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--sb-gold);
}

.bonus-text-headline a.button {
	display: inline-block;
	font-family: var(--sb-font-display);
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: #0a1f12;
	background: linear-gradient(90deg, var(--sb-volt) 0%, var(--sb-volt-dark) 100%);
	border-radius: 999px;
	padding: 0.95rem 2.4rem;
	box-shadow: 0 0 22px rgba(215, 255, 62, 0.4);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bonus-text-headline a.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 34px rgba(215, 255, 62, 0.6);
	color: #0a1f12;
}

.bonus-text-headline .terms p {
	font-size: 0.78rem;
	color: var(--sb-muted);
	line-height: 1.5;
	margin: 0;
}

.bonus-text-headline .terms.row {
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
	.page-title.body { font-size: 1.2rem; }
	.bonus-text-headline i.h3 { font-size: 1.25rem; }
	.sb-footer-legal { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Affiliate-review "flex-offers" table (flytonic offer rows, e.g. /offers/).
   The plugin owns the table's entire design (template-parts/styles/
   brand-table.css in the affiliate-review plugin — theme-independent fonts,
   colours and layout, identical on every site). The theme only supplies
   vertical rhythm around the table.
   ========================================================================== */
#offers-oc {
	margin: 28px 0 44px;
}
