
:root {
    --bg-dark: #050b14;
    --bg-panel: #0f172a;
    --card-bg: rgba(16, 33, 60, 0.6);
    --neon-cyan: #00f3ff;
    --neon-pink: #bc13fe;
    --neon-green: #0aff60;
    --text-main: #e0f7fa;
    --text-dim: #8ba4b6;
    --glass-border: 1px solid rgba(0, 243, 255, 0.2);
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* =========================================
   2. TYPOGRAPHY & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6, .logo-text, .btn {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

/* =========================================
   3. STICKY HEADER & NAVIGATION
   ========================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--neon-cyan); }

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 20px;
}

/* WordPress Menu Classes Support */
.nav-menu li { display: inline-block; }
.nav-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: 8px 15px;
    border-radius: 4px;
    display: block;
}

.nav-menu a:hover, .nav-menu .current-menu-item a {
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login {
    background: transparent;
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}
.btn-login:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.btn-register {
    background: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.4);
}
.btn-register:hover {
    background: #d946ef;
    box-shadow: 0 0 20px var(--neon-pink);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--neon-cyan);
    transition: 0.3s;
}

/* =========================================
   4. MAIN CONTENT AREA
   ========================================= */
.main-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 80vh;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, var(--neon-cyan), #fff, var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Match Grid */
.match-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    width: 100%;
}

/* =========================================
   5. FUTURISTIC MATCH CARD
   ========================================= */
.match-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.match-card::before, .match-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    transition: all 0.3s ease;
    z-index: 1;
}
.match-card::before { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 15px; }
.match-card::after { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 15px; }

.match-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.league-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 5px rgba(188, 19, 254, 0.3);
}

.match-time {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(10, 255, 96, 0.5);
}

.teams-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    z-index: 2;
}

.team-badge {
    width: 75px;
    height: 75px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transition: all 0.3s;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); 
}

.team-badge.away {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

.match-card:hover .team-badge {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 243, 255, 0.1);
}
.match-card:hover .team-badge.away {
    background: rgba(188, 19, 254, 0.1);
}

.team-name {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vs {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.prediction-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.score-prediction {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.score-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px var(--neon-cyan);
    letter-spacing: 5px;
}

.stat-box {
    background: rgba(255,255,255,0.03);
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    border-left: 2px solid var(--neon-green);
}

.stat-title {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--neon-cyan);
}

.win-probability {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 3px;
    font-family: 'Orbitron', sans-serif;
}

.progress-bar-bg {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.bar-home { background: var(--neon-cyan); box-shadow: 0 0 5px var(--neon-cyan); }
.bar-draw { background: #555; }
.bar-away { background: var(--neon-pink); box-shadow: 0 0 5px var(--neon-pink); }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    padding: 8px;
    border-radius: 4px;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.tv-icon {
    width: 14px;
    height: 14px;
    fill: var(--neon-cyan);
}

/* =========================================
   6. SINGLE POST & CONTENT STYLES
   ========================================= */
.single-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: var(--glass-border);
    margin-bottom: 40px;
}
.single-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
}
.single-content p {
    margin-bottom: 20px;
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
}
.related-posts h3 {
    margin-bottom: 30px;
    border-left: 4px solid var(--neon-pink);
    padding-left: 15px;
}

/* =========================================
   7. FAQ & TESTIMONIALS
   ========================================= */
details {
    margin-bottom: 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 10px;
}
details summary {
    cursor: pointer; 
    font-weight: 700; 
    color: var(--neon-cyan); 
    list-style: none; 
    display: flex; 
    justify-content: space-between;
}
details p {
    margin-top: 10px; 
    color: var(--text-dim); 
    font-size: 0.9rem;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background: rgba(0,0,0,0.8); 
    border-top: 1px solid var(--neon-cyan); 
    padding: 40px 20px; 
    margin-top: 80px; 
    text-align: center;
}
footer p {
    color: var(--text-dim);
    line-height: 1.6;
}
footer a {
    color: var(--neon-cyan);
    margin: 0 10px;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .match-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        border-top: 1px solid rgba(0, 243, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        display: block;
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }
    
    .auth-buttons {
        display: none; /* Hide on mobile for simplicity, or move inside menu */
    }
}

/* =========================================
   MOBILE HEADER ADDITIONS
   ========================================= */
@media (max-width: 768px) {
    header {
        height: 60px;
        padding: 0 15px;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .auth-buttons-mobile {
        display: flex !important;
        gap: 8px;
        margin-left: auto;
    }
    
    .auth-buttons-mobile .btn {
        padding: 6px 10px;
        font-size: 0.7rem;
        font-weight: 600;
    }
    
    .auth-buttons-desktop {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        margin-left: 10px;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
}

@media (min-width: 769px) {
    .auth-buttons-mobile {
        display: none !important;
    }
}