/*
Theme Name: MetaArena - Esports Analytics Pro
Theme URI: https://therustyhawaiian.com
Description: Professional esports analytics platform with cyber aesthetics.
Version: 1.0.0
Author: MetaArena Team
*/

/* ============================================
   VARIABLES - Cyber Esports Palette
   ============================================ */
:root {
	/* Colors */
	--black: #0A0A0A;
	--dark: #121212;
	--darker: #1A1A1A;
	--purple: #8B5CF6;
	--purple-light: #A855F7;
	--cyan: #06B6D4;
	--grey: #9CA3AF;
	--white: #FFFFFF;
	
	/* Typography */
	--font: 'Inter', system-ui, sans-serif;
	
	/* Layout */
	--container: 1400px;
	--gap: 20px;
}

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

body {
	background: var(--black);
	color: var(--grey);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Subtle Grid Background */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
	z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--white);
	font-weight: 700;
	line-height: 1.2;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--purple);
}

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

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
	z-index: 1000;
}

.header-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	height: 70px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-text {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.main-nav ul {
	display: flex;
	gap: 30px;
	list-style: none;
}

.main-nav a {
	color: var(--grey);
	font-weight: 500;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
	color: var(--purple);
}

/* ============================================
   MAIN CONTENT SPACING
   ============================================ */
.site-main {
	padding-top: 70px;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
	min-height: 90vh;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	margin-top: -70px;
	padding-top: 140px;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.hero-label {
	display: inline-block;
	color: var(--purple);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 25px;
}

.hero-title {
	font-size: clamp(3rem, 7vw, 6.5rem);
	font-weight: 700;
	line-height: 1.05;
	margin-bottom: 30px;
	color: var(--white);
}

.hero-title .gradient {
	background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-desc {
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--grey);
	max-width: 650px;
	margin-bottom: 35px;
}

.btn-primary {
	display: inline-block;
	background: var(--purple);
	color: var(--white);
	padding: 16px 40px;
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 2px solid var(--purple);
	transition: all 0.2s;
}

.btn-primary:hover {
	background: transparent;
	color: var(--purple);
}

/* ============================================
   GAMES GRID
   ============================================ */
.games-section {
	padding: 80px 0;
	background: var(--dark);
	border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.game-card {
	background: var(--darker);
	border: 1px solid rgba(139, 92, 246, 0.2);
	padding: 40px 30px;
	text-align: center;
	transition: all 0.2s;
}

.game-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.game-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	display: block;
}

.game-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 10px;
}

.game-meta {
	font-size: 0.85rem;
	color: var(--grey);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-section {
	padding: 70px 0;
	background: var(--black);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.stat-card {
	background: var(--darker);
	border: 1px solid rgba(139, 92, 246, 0.15);
	padding: 35px 25px;
	text-align: center;
}

.stat-value {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--purple);
	display: block;
	margin-bottom: 10px;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--grey);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ============================================
   META UPDATES
   ============================================ */
.meta-updates-section {
	padding: 80px 0;
	background: var(--dark);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-label {
	color: var(--purple);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--white);
	margin-bottom: 15px;
}

.section-desc {
	font-size: 1.05rem;
	color: var(--grey);
	max-width: 650px;
	margin: 0 auto;
}

.updates-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.update-card {
	background: var(--darker);
	border-left: 3px solid var(--purple);
	padding: 30px;
	transition: all 0.2s;
}

.update-card:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 20px rgba(139, 92, 246, 0.15);
}

.update-date {
	font-size: 0.8rem;
	color: var(--purple);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.update-title {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 12px;
	line-height: 1.4;
}

.update-desc {
	font-size: 0.95rem;
	color: var(--grey);
	line-height: 1.6;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
	padding: 80px 0;
	background: var(--black);
}

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

.feature-card {
	background: var(--darker);
	border: 1px solid rgba(139, 92, 246, 0.15);
	padding: 40px 35px;
	transition: all 0.2s;
}

.feature-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
}

.feature-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--purple);
	line-height: 1;
	margin-bottom: 20px;
}

.feature-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 15px;
}

.feature-desc {
	color: var(--grey);
	line-height: 1.7;
}

/* ============================================
   POSTS GRID
   ============================================ */
.posts-section {
	padding: 80px 0;
	background: var(--dark);
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.post-card {
	background: var(--darker);
	border: 1px solid rgba(139, 92, 246, 0.15);
	display: flex;
	flex-direction: column;
	transition: all 0.2s;
}

.post-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
}

.post-image {
	height: 200px;
	position: relative;
	overflow: hidden;
	background: var(--black);
}

.post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.post-card:hover .post-image img {
	transform: scale(1.05);
}

.post-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--purple);
	color: var(--white);
	padding: 6px 14px;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.post-content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.post-category {
	color: var(--purple);
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.post-title {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 15px;
	flex-grow: 1;
}

.post-title a:hover {
	color: var(--purple);
}

.post-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	color: var(--grey);
	padding-top: 15px;
	border-top: 1px solid rgba(139, 92, 246, 0.15);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 50px;
}

.pagination a,
.pagination span {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--darker);
	border: 1px solid rgba(139, 92, 246, 0.2);
	color: var(--grey);
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
	background: var(--purple);
	border-color: var(--purple);
	color: var(--white);
}

/* ============================================
   ARCHIVE
   ============================================ */
.archive-main {
	padding: 70px 0 80px;
}

.archive-header {
	text-align: center;
	margin-bottom: 70px;
}

.archive-badge {
	display: inline-block;
	color: var(--purple);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.archive-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	color: var(--white);
	margin-bottom: 20px;
}

.archive-desc {
	font-size: 1.05rem;
	color: var(--grey);
	max-width: 700px;
	margin: 0 auto;
}

.no-posts {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 40px;
	background: var(--darker);
	border: 2px dashed rgba(139, 92, 246, 0.2);
}

.no-posts-text {
	font-size: 1.1rem;
	color: var(--grey);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
	background: var(--darker);
	border-top: 1px solid rgba(139, 92, 246, 0.2);
	padding: 70px 0 35px;
}

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

.footer-logo {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	margin-bottom: 15px;
}

.footer-desc {
	color: var(--grey);
	line-height: 1.7;
}

.footer-heading {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}

.footer-contact .contact-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid rgba(139, 92, 246, 0.1);
	font-size: 0.9rem;
}

.footer-contact .contact-label {
	color: var(--grey);
	font-weight: 500;
}

.footer-contact .contact-value {
	color: var(--white);
	font-weight: 600;
}

.footer-menu-list {
	list-style: none;
}

.footer-menu-list li {
	margin-bottom: 10px;
}

.footer-menu-list a {
	color: var(--grey);
	font-weight: 500;
	font-size: 0.9rem;
}

.footer-menu-list a:hover {
	color: var(--purple);
}

.footer-bottom {
	text-align: center;
	padding-top: 35px;
	border-top: 1px solid rgba(139, 92, 246, 0.15);
	color: var(--grey);
	font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.games-grid { grid-template-columns: repeat(2, 1fr); }
	.features-grid { grid-template-columns: 1fr; }
	.updates-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		height: auto;
		padding: 15px 20px;
		gap: 15px;
	}
	
	.main-nav ul {
		flex-wrap: wrap;
		gap: 15px;
		justify-content: center;
	}
	
	.posts-grid { grid-template-columns: 1fr; }
	.games-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr; }
	.hero-title { font-size: 2.5rem; }
}
