/*
Theme Name: GoalMatrix
Theme URI: 
Author: 
Description: A unique, tactical analysis themed design for GoalMatrix.
Version: 1.0
*/

:root {
    /* Color Palette - Tactical Pitch */
    --c-void: #020b06;          /* Deepest Black-Green */
    --c-pitch: #0a2416;         /* Field Dark Green */
    --c-pitch-light: #123f27;   /* Field Light Green */
    --c-line: #e6f2ec;          /* Chalk White */
    --c-accent: #ccff00;        /* Neon Lime (Ball/Boots) */
    --c-alert: #ff3333;         /* Red Card */
    --c-mid-grey: #5c7066;      /* Tactical Grey */
    --c-text: #dcece4;          /* Off-white text */

    /* Typography */
    --f-head: 'Barlow Condensed', sans-serif;
    --f-body: 'Manrope', sans-serif;

    /* Spacing & Layout */
    --gap-sm: 1rem;
    --gap-md: 2.5rem;
    --gap-lg: 5rem;
    --container: 1400px;
    
    /* Effects */
    --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
    --border-glow: 0 0 15px rgba(204, 255, 0, 0.2);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--c-void);
    color: var(--c-text);
    font-family: var(--f-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--c-line);
}

a { color: var(--c-line); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--c-accent); }

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

/* LAYOUT UTILS */
.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}

/* BACKGROUND LINES (Tactical Grid) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: -1;
    pointer-events: none;
}

/* HEADER - Tactical HUD */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(2, 11, 6, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--f-head);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--c-line);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo span { color: var(--c-accent); }
.brand-logo::before {
    content: '';
    display: block;
    width: 12px; height: 12px;
    background: var(--c-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-accent);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}

.main-nav a {
    font-family: var(--f-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--c-accent);
    transition: width 0.3s ease;
}

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

/* HERO - Asymmetric Analysis */
.hero-section {
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative Field Elements */
.hero-bg-element {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    z-index: -1;
}
.circle-1 { top: -10%; right: -5%; width: 600px; height: 600px; }
.circle-2 { bottom: 10%; left: 10%; width: 300px; height: 300px; border-style: dashed; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--c-accent);
    color: var(--c-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    background: rgba(204, 255, 0, 0.05);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 2rem;
    position: relative;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--c-line);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--c-mid-grey);
    max-width: 500px;
    margin-bottom: 3rem;
    border-left: 3px solid var(--c-accent);
    padding-left: 1.5rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    background: 
        linear-gradient(135deg, var(--c-pitch-light) 0%, var(--c-pitch) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero abstract visual - Tactical Board */
.tactical-board {
    width: 90%; height: 90%;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
}
.player-dot {
    position: absolute;
    width: 15px; height: 15px;
    background: var(--c-line);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.player-dot.accent { background: var(--c-accent); box-shadow: 0 0 15px var(--c-accent); }
.p1 { top: 20%; left: 30%; }
.p2 { top: 50%; left: 50%; }
.p3 { top: 70%; left: 40%; }
.p4 { top: 40%; left: 70%; animation: movePlayer 4s infinite alternate ease-in-out; }
@keyframes movePlayer {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 40px); }
}

/* SECTION: TACTICAL CARDS (Based on About Us/Contacts) */
.mission-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin: 0;
}

.section-subtitle {
    color: var(--c-mid-grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tactical-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tactical-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--c-pitch-light);
    transition: 0.4s;
}

.tactical-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: var(--c-accent);
}

.tactical-card:hover::before { background: var(--c-accent); }

.card-icon {
    font-size: 2rem;
    color: var(--c-accent);
    margin-bottom: 1.5rem;
    font-family: var(--f-head);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--c-text);
    opacity: 0.8;
}

/* LATEST INTEL (Posts) */
.latest-posts-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--c-void), var(--c-pitch));
}

.intel-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intel-row {
    display: grid;
    grid-template-columns: 150px 1fr 200px; /* Date | Content | Action */
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    background: rgba(0,0,0,0.2);
}

.intel-row:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--c-accent);
    padding-left: 3rem; /* Slide effect */
}

.intel-date {
    font-family: var(--f-head);
    font-size: 1.5rem;
    color: var(--c-mid-grey);
    text-align: right;
    border-right: 2px solid var(--c-accent);
    padding-right: 1.5rem;
    line-height: 1;
}
.intel-date span { display: block; font-size: 0.9rem; color: var(--c-text); opacity: 0.5; margin-top: 5px; }

.intel-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.intel-info h3 a { color: var(--c-line); }
.intel-info h3 a:hover { color: var(--c-accent); }

.intel-meta {
    font-size: 0.85rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.intel-action .btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: var(--c-line);
    transition: 0.3s;
}
.intel-row:hover .intel-action .btn-view {
    background: var(--c-accent);
    color: var(--c-void);
    border-color: var(--c-accent);
    transform: rotate(45deg);
}

/* FOOTER - Match Report */
.site-footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 4px solid var(--c-accent);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-block h4 {
    color: var(--c-accent);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--c-mid-grey);
    font-style: normal;
    font-weight: bold;
}

.footer-contact-item span {
    color: var(--c-text);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--c-mid-grey);
}

/* INNER PAGES */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(to bottom, var(--c-pitch), var(--c-void));
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.single-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.entry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #cbd5e0;
}

.entry-content h2, .entry-content h3 {
    color: var(--c-line);
    margin-top: 3rem;
}

/* PAGINATION */
.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}
.pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}
.pagination .page-numbers li a, .pagination .page-numbers li span {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--c-line);
    font-family: var(--f-head);
    transition: 0.3s;
}
.pagination .page-numbers li span.current, 
.pagination .page-numbers li a:hover {
    background: var(--c-accent);
    color: var(--c-void);
    border-color: var(--c-accent);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .intel-row { grid-template-columns: 1fr; gap: 1rem; }
    .intel-date { text-align: left; border: none; padding: 0; margin-bottom: 0.5rem; display: flex; gap: 1rem; align-items: baseline; }
    .intel-date span { display: inline; margin: 0; }
    .intel-action { display: none; }
}
