/* Basic Reset and Variables */
:root {
    --primary-color: #3f51b5; /* A deep blue/purple for primary accents */
    --secondary-color: #4CAF50; /* Green for success/odds */
    --background-dark: #1e1e1e; /* Main dark background */
    --card-dark: #2a2a2a; /* Slightly lighter dark for sections/cards */
    --text-light: #f0f0f0;
    --text-muted: #aaaaaa;
    --border-color: #333;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Header/Navigation */
header {
    background-color: var(--card-dark);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Main Content Layout */
main {
    padding: 20px 5%;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Layer 1: Daily Tips Section (Inspired by Image 2) */
.tips-section {
    margin-bottom: 40px;
}

.tips-container {
    display: flex;
    gap: 20px;
}

.tips-sidebar {
    flex: 0 0 250px; /* Fixed width sidebar */
    background-color: var(--card-dark);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tips-sidebar h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.tips-sidebar ul {
    list-style: none;
    margin-bottom: 20px;
}

.tips-sidebar ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s;
}

.tips-sidebar ul li a:hover {
    color: var(--secondary-color);
}

.cta-button {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #66bb6a;
}

.tips-main-content {
    flex: 1;
}

.tips-header-bar {
    background-color: var(--card-dark);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    font-weight: 700;
    color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Placeholder for the large visual (Pitch/Analysis) */
.pitch-graphic-placeholder {
    height: 400px; /* Adjust height as needed */
    background-color: #242c23; /* Dark green/grey to resemble the pitch in Image 2 */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%23242c23"/><circle cx="50%" cy="50%" r="40" fill="none" stroke="%23384236" stroke-width="2"/><line x1="50%" y1="0" x2="50%" y2="100%" stroke="%23384236" stroke-width="2"/></svg>'); /* Simple field lines */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.match-list-preview {
    background-color: var(--card-dark);
    padding: 15px;
    border-radius: 8px;
}

.match-list-preview h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.match-fixture {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.match-fixture:last-child {
    border-bottom: none;
}

.match-fixture span {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Layer 2: Live Scores Section */
.livescores-section {
    padding-top: 20px;
}

/* Footer */
footer {
    background-color: var(--card-dark);
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tips-container {
        flex-direction: column;
    }

    .tips-sidebar {
        flex: 1 1 auto;
    }

    header {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }
    
    .tips-header-bar {
        flex-direction: column;
        gap: 5px;
    }
}
