/* ===========================================
   PickTop25 Marketing Theme — theme.css
   Colors: #00021D bg, #3B82F6 primary, #FBBF24 accent
   Design: Dark theme, 0 border-radius, Inter font
=========================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background-color: #00021D;
	color: #F9FAFB;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: #3B82F6; text-decoration: none; transition: color 0.2s; }
a:hover { color: #60A5FA; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: #F9FAFB;
}

/* ---- Layout ---- */
.container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.container-narrow {
	max-width: 760px;
}

/* ---- Utility ---- */
.text-primary  { color: #3B82F6; }
.text-muted    { color: #9CA3AF; }
.text-accent   { color: #FBBF24; }

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	font-size: 15px;
	font-weight: 600;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
	white-space: nowrap;
}

.btn-primary {
	background: #3B82F6;
	color: #fff;
	border-color: #3B82F6;
}
.btn-primary:hover {
	background: #2563EB;
	border-color: #2563EB;
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: #F9FAFB;
	border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.5);
	color: #F9FAFB;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.app-store-badge-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	border-radius: 10px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge-link:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.app-store-badge-link:focus-visible {
	outline: 2px solid #F9FAFB;
	outline-offset: 4px;
	border-radius: 12px;
}

.app-store-badge {
	display: block;
	height: auto;
	width: 180px;
	max-width: 100%;
}

.app-store-badge-link--compact {
	flex-shrink: 0;
}

.app-store-badge--compact {
	width: 153px;
}

.app-store-badge-link--footer {
	display: inline-flex;
}

.app-store-badge--footer {
	width: 150px;
}

/* ---- Site Header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(0, 2, 29, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 68px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex-shrink: 0;
}

.site-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.site-name {
	font-size: 18px;
	font-weight: 800;
	color: #F9FAFB;
	letter-spacing: -0.02em;
}

.primary-nav { margin-left: auto; }

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 6px 12px;
	color: #9CA3AF;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}
.nav-list a:hover { color: #F9FAFB; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	margin-left: auto;
}

.mobile-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #F9FAFB;
	transition: transform 0.2s, opacity 0.2s;
}

/* ---- Hero ---- */
.hero {
	padding: 80px 0 60px;
	background: linear-gradient(160deg, #000B3D 0%, #00021D 60%);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: center;
}

.hero-badge {
	display: inline-block;
	background: rgba(59, 130, 246, 0.15);
	border: 1px solid rgba(59, 130, 246, 0.35);
	color: #60A5FA;
	font-size: 13px;
	font-weight: 600;
	padding: 5px 12px;
	margin-bottom: 20px;
	letter-spacing: 0.02em;
}

.hero-title {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin-bottom: 20px;
}

.hero-subtitle {
	font-size: 18px;
	color: #9CA3AF;
	max-width: 480px;
	margin-bottom: 36px;
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-logo {
	width: 280px;
	height: 280px;
	object-fit: contain;
	filter: drop-shadow(0 20px 60px rgba(59, 130, 246, 0.25));
}

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section:nth-child(even) { background: rgba(15, 23, 42, 0.5); }

.section-title {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: center;
	margin-bottom: 10px;
}

.section-subtitle {
	text-align: center;
	color: #9CA3AF;
	font-size: 16px;
	margin-bottom: 48px;
}

.section-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.section-header-row .section-title,
.section-header-row .section-subtitle {
	text-align: left;
	margin-bottom: 4px;
}

/* ---- How It Works ---- */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.step-card {
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(255,255,255,0.08);
	padding: 32px;
	position: relative;
}

.step-icon {
	font-size: 36px;
	margin-bottom: 16px;
}

.step-number {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 13px;
	font-weight: 800;
	color: rgba(59, 130, 246, 0.4);
	letter-spacing: 0.05em;
}

.step-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.step-desc {
	color: #9CA3AF;
	font-size: 14px;
	line-height: 1.65;
}

/* ---- Leaderboard ---- */
.leaderboard-wrap { max-width: 600px; margin: 0 auto; }

.leaderboard-table {
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(255,255,255,0.08);
	overflow: hidden;
}

.leaderboard-loading {
	padding: 32px;
	text-align: center;
	color: #6B7280;
}

.lb-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lb-row:last-child { border-bottom: none; }
.lb-row:first-child { background: rgba(59, 130, 246, 0.08); }

.lb-rank {
	width: 28px;
	font-size: 13px;
	font-weight: 700;
	color: #6B7280;
	flex-shrink: 0;
}
.lb-rank.rank-1 { color: #FBBF24; }
.lb-rank.rank-2 { color: #9CA3AF; }
.lb-rank.rank-3 { color: #CD7F32; }

.lb-name {
	flex: 1;
	font-weight: 600;
	font-size: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lb-score {
	font-weight: 700;
	font-size: 15px;
	color: #3B82F6;
	flex-shrink: 0;
}

.lb-record {
	font-size: 12px;
	color: #6B7280;
	flex-shrink: 0;
	min-width: 50px;
	text-align: right;
}

.leaderboard-cta {
	text-align: center;
	margin-top: 24px;
}

/* ---- Features ---- */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.feature-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.feature-icon {
	font-size: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.feature-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 5px;
}

.feature-desc {
	font-size: 13px;
	color: #9CA3AF;
	line-height: 1.6;
}

.feature-desc a { color: #60A5FA; }
.feature-desc a:hover { color: #93C5FD; }

/* ---- Blog Posts ---- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.posts-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.post-card {
	background: rgba(15, 23, 42, 0.7);
	border: 1px solid rgba(255,255,255,0.08);
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s;
}
.post-card:hover { border-color: rgba(59, 130, 246, 0.4); }

.post-card-wide {
	flex-direction: row;
}

.post-card-thumb-link { display: block; overflow: hidden; flex-shrink: 0; }
.post-card-thumb {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}
.post-card-wide .post-card-thumb { width: 240px; height: 100%; }

.post-card-body {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.post-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-meta { font-size: 12px; color: #6B7280; }
.post-category {
	font-size: 11px;
	font-weight: 600;
	color: #3B82F6;
	background: rgba(59, 130, 246, 0.12);
	padding: 2px 8px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.post-card-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.post-card-title a { color: #F9FAFB; text-decoration: none; }
.post-card-title a:hover { color: #60A5FA; }

.post-card-excerpt { font-size: 13px; color: #9CA3AF; line-height: 1.6; flex: 1; }
.post-card-link { font-size: 13px; font-weight: 600; color: #3B82F6; }
.post-card-link:hover { color: #60A5FA; }

/* ---- CTA Banner ---- */
.cta-section { padding: 80px 0; }

.cta-box {
	background: linear-gradient(135deg, #1a3a6e 0%, #0d1f3c 100%);
	border: 1px solid rgba(59, 130, 246, 0.25);
	padding: 60px 48px;
	text-align: center;
}

.cta-title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	margin-bottom: 12px;
}

.cta-subtitle { color: #9CA3AF; font-size: 16px; margin-bottom: 32px; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Footer ---- */
.site-footer {
	background: rgba(0, 0, 10, 0.8);
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 60px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.footer-logo-link { display: inline-block; margin-bottom: 12px; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; }

.footer-tagline {
	font-size: 15px;
	font-weight: 700;
	color: #F9FAFB;
	margin-bottom: 8px;
}

.footer-desc { font-size: 13px; color: #6B7280; line-height: 1.65; max-width: 280px; }

.footer-heading {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #6B7280;
	margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #9CA3AF; text-decoration: none; }
.footer-links a:hover { color: #F9FAFB; }
.footer-links .app-store-badge-link:hover { color: inherit; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-copy { font-size: 13px; color: #6B7280; }
.footer-disclaimer { font-size: 12px; color: #4B5563; }

/* ---- Single Post ---- */
.single-post, .single-page { padding: 60px 0; }

.post-header { margin-bottom: 32px; }
.post-title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }

.post-featured-image { margin-bottom: 40px; }
.post-featured-image img { width: 100%; max-height: 480px; object-fit: cover; }

.post-content {
	font-size: 17px;
	line-height: 1.75;
	color: #D1D5DB;
}
.post-content h2 { font-size: 26px; margin: 40px 0 16px; color: #F9FAFB; }
.post-content h3 { font-size: 21px; margin: 32px 0 12px; color: #F9FAFB; }
.post-content p  { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a  { color: #60A5FA; text-decoration: underline; }
.post-content blockquote {
	border-left: 4px solid #3B82F6;
	padding: 12px 20px;
	margin: 24px 0;
	background: rgba(59, 130, 246, 0.08);
	color: #9CA3AF;
	font-style: italic;
}
.post-content img { max-width: 100%; margin: 24px 0; }
.post-content code {
	background: rgba(15, 23, 42, 0.9);
	padding: 2px 6px;
	font-size: 14px;
	color: #FBBF24;
}
.post-content pre {
	background: rgba(15, 23, 42, 0.9);
	padding: 20px;
	overflow-x: auto;
	margin: 24px 0;
}

.post-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tag {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	background: rgba(255,255,255,0.06);
	color: #9CA3AF;
	border: 1px solid rgba(255,255,255,0.1);
}

.post-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-nav a { color: #3B82F6; font-weight: 600; font-size: 14px; }
.post-nav a:hover { color: #60A5FA; }

.back-to-blog { margin: 32px 0 60px; }

/* ---- Page Hero ---- */
.page-hero { padding: 60px 0 40px; }
.page-hero .page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.page-hero .page-subtitle { color: #9CA3AF; font-size: 16px; margin-bottom: 0; }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 100px 24px; }
.error-code { font-size: 120px; font-weight: 800; color: rgba(59, 130, 246, 0.2); line-height: 1; margin-bottom: 16px; }
.error-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.error-desc { color: #9CA3AF; font-size: 16px; margin-bottom: 32px; }

/* ---- Pagination ---- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid rgba(255,255,255,0.12);
	color: #9CA3AF;
	font-size: 14px;
	font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
	background: #3B82F6;
	border-color: #3B82F6;
	color: #fff;
}

/* ---- No posts ---- */
.no-posts { padding: 40px 0; color: #6B7280; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.steps-grid,
	.features-grid { grid-template-columns: 1fr 1fr; }

	.posts-grid { grid-template-columns: 1fr 1fr; }

	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }

	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.hero-logo { width: 200px; height: 200px; margin: 0 auto; }
	.hero-actions { justify-content: center; }
	.hero-subtitle { margin: 0 auto 36px; }
}

@media (max-width: 640px) {
	.steps-grid,
	.features-grid,
	.posts-grid { grid-template-columns: 1fr; }

	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

	.post-card-wide { flex-direction: column; }
	.post-card-wide .post-card-thumb { width: 100%; height: 180px; }

	.primary-nav, .header-actions { display: none; }

	.mobile-menu-toggle { display: flex; }

	.header-inner { gap: 0; }

	.primary-nav.is-open {
		display: flex;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: #00021D;
		border-bottom: 1px solid rgba(255,255,255,0.08);
		padding: 16px 24px;
		z-index: 99;
	}

	.primary-nav.is-open .nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		width: 100%;
	}

	.cta-box { padding: 40px 24px; }

	.section { padding: 60px 0; }

	.hero { padding: 48px 0 40px; }
}

/* ---- Legal Pages ---- */
.legal-page { padding: 60px 0 80px; }

.legal-header { margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }

.legal-title {
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.legal-date { font-size: 13px; color: #6B7280; }

.legal-content section {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-content section:last-child { border-bottom: none; }

.legal-content h2 {
	font-size: 20px;
	font-weight: 700;
	color: #F9FAFB;
	margin-bottom: 14px;
}

.legal-content h3 {
	font-size: 15px;
	font-weight: 700;
	color: #D1D5DB;
	margin: 20px 0 10px;
}

.legal-content p {
	font-size: 15px;
	color: #9CA3AF;
	line-height: 1.75;
	margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
	margin: 0 0 16px 20px;
	color: #9CA3AF;
	font-size: 15px;
	line-height: 1.75;
}

.legal-content li { margin-bottom: 6px; }

.legal-content strong { color: #F9FAFB; }

.legal-content a { color: #60A5FA; }
.legal-content a:hover { color: #93C5FD; }

.legal-notice {
	background: rgba(251, 191, 36, 0.08);
	border: 1px solid rgba(251, 191, 36, 0.25);
	padding: 16px 20px;
	font-size: 15px;
	color: #D1D5DB;
	line-height: 1.65;
	margin: 16px 0;
}

.legal-notice strong { color: #FBBF24; }

.legal-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: #9CA3AF;
	margin-top: 12px;
}

.legal-table th,
.legal-table td {
	text-align: left;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	vertical-align: top;
}

.legal-table th {
	color: #6B7280;
	font-weight: 600;
	width: 200px;
	white-space: nowrap;
}

.legal-summary {
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(255,255,255,0.08);
	padding: 28px 32px;
	margin-top: 48px;
}

.legal-summary h3 {
	font-size: 16px;
	font-weight: 700;
	color: #F9FAFB;
	margin-bottom: 14px;
}

.legal-summary ul {
	margin: 0 0 0 20px;
	color: #9CA3AF;
	font-size: 14px;
	line-height: 1.75;
}

/* ---- WordPress Core Classes ---- */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.aligncenter { margin: 0 auto 20px; text-align: center; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: #6B7280; text-align: center; margin-top: 6px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}
