/*
Theme Name: Qazaq Football Guide - Dynamic Sports Portal
Author: PBN Creative
Description: Energetic football portal design with Kazakh national colors and dynamic match-day aesthetics.
Version: 1.0.0
*/

:root {
    /* Qazaq Football Palette */
    --primary: #00AAFF;      /* Sky Blue (Kazakhstan) */
    --secondary: #FFD700;    /* Gold (Kazakhstan) */
    --accent: #2ecc71;       /* Field Green */
    --bg-main: #0a0d14;
    --bg-card: #141822;
    --bg-elevated: #1a1f2e;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border: #2d3748;
    
    --container-width: 1400px;
    --content-width: 820px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 85px;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Header - Stadium Style */
.site-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0f1419 100%);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-main);
    text-transform: uppercase;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
}

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

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero - Match Day Energy */
.hero-stadium {
    padding: 9rem 0 7rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
}

.hero-stadium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(90deg,
            transparent,
            transparent 80px,
            rgba(0, 170, 255, 0.03) 80px,
            rgba(0, 170, 255, 0.03) 160px
        );
    pointer-events: none;
}

.hero-stadium-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-elevated);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-stadium h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-stadium h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stadium p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
}

.hero-stat-box {
    background: var(--bg-elevated);
    padding: 2.5rem 2rem;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.hero-stat-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-stat-box h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-stat-box p {
    font-size: 1rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.5;
}

/* Sections */
.section-football {
    padding: 8rem 0;
}

.section-title-football {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-title-football span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 6rem;
    max-width: 700px;
}

/* Grid - Match Cards */
.football-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.match-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 170, 255, 0.2);
}

.match-card:hover::before {
    transform: scaleX(1);
}

.match-card-emoji {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
}

.match-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.match-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Posts Grid - Match Reports */
.posts-football-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2.5rem;
}

.post-football-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.post-football-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 170, 255, 0.25);
}

.post-football-thumb {
    height: 240px;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
}

.post-football-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 20, 0.8) 100%);
}

.post-football-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-football-card:hover .post-football-thumb img {
    transform: scale(1.1);
}

.post-football-content {
    padding: 2rem;
}

.post-football-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.post-football-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.post-football-link {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.post-football-link:hover {
    gap: 0.8rem;
}

.post-football-link::after {
    content: '→';
}

/* CTA Button */
.cta-football {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), #0088cc);
    color: #fff;
    padding: 1.3rem 3.5rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-football::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-football:hover::before {
    left: 100%;
}

.cta-football:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.4);
}

/* Single Post - Match Report */
.single-football-header {
    padding: 10rem 0 5rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
    text-align: center;
    position: relative;
}

.single-football-cat {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.single-football-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.15;
    text-transform: uppercase;
}

.single-football-content {
    padding: 7rem 0;
}

.single-football-body {
    max-width: var(--content-width);
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.85;
}

.single-football-body h2 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 4.5rem 0 2rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.single-football-body h2::before {
    content: '▸';
    color: var(--primary);
    margin-right: 1rem;
}

.single-football-body p {
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}

/* Football Lists - Tactics Style */
.single-football-body ul {
    margin: 3.5rem 0;
    padding: 3rem;
    background: var(--bg-card);
    border-left: 5px solid var(--primary);
}

.single-football-body li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-main);
}

.single-football-body li:last-child {
    border-bottom: none;
}

.single-football-body li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Footer - Stadium Lights */
.site-footer-football {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-card) 100%);
    padding: 7rem 0 3rem;
    border-top: 3px solid var(--primary);
    position: relative;
}

.footer-football-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-football-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.footer-football-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-football-desc {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
    font-size: 1rem;
}

.footer-football-title {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.footer-football-links a {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-football-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-football-contact p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-football-bottom {
    padding-top: 3.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pagination - Match Days */
.pagination-container {
    margin-top: 7rem;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
}

.pagination-list a, .pagination-list span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-weight: 800;
    color: var(--text-main);
}

.pagination-list a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.pagination-list .is-active span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .football-grid, .posts-football-grid, .hero-stats, .footer-football-grid {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}
