/* Premium Styling for Single Game Page */

/* General Page Layout */
.game-single-page {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 30px auto;
    max-width: 1000px;
    transition: all 0.3s ease-in-out;
}

/* Header Section */
.game-header {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: #ffffff;
    padding: 25px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.game-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-meta {
    font-size: 1.1em;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-meta span::before {
    font-family: 'Font Awesome 5 Free'; /* Assuming Font Awesome is available */
    font-weight: 900;
    color: #1abc9c; /* Accent color */
}

.game-meta span:nth-child(1)::before { content: '\f073'; } /* Calendar icon */
.game-meta span:nth-child(2)::before { content: '\f017'; } /* Clock icon */
.game-meta span:nth-child(3)::before { content: '\f091'; } /* Trophy icon */

/* Content Area */
.game-content {
    font-size: 1.15em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
    padding: 0 15px;
}

/* Expert Prediction Section */
.game-analysis-section {
    background: #e8f4f8;
    border-left: 6px solid #3498db;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.game-analysis-section h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.game-analysis-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
}

.analysis-point {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
}

.analysis-point::before {
    content: '\f00c'; /* Checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #27ae60;
    position: absolute;
    left: 0;
    top: 3px;
}

.analysis-point strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Team Streak Display */
.team-streak-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-streak-section h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.streak-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-streak {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-streak h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.streak-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.streak-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.streak-item:hover {
    transform: scale(1.1);
}

.streak-item.win {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
}

.streak-item.draw {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #ffffff;
}

.streak-item.loss {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff;
}

.streak-summary {
    font-size: 1.1em;
    color: #ecf0f1;
    margin-top: 15px;
    line-height: 1.5;
}

.streak-summary strong {
    color: #ffffff;
}

/* Statistics and Charts */
.stats-charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.chart-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
}

.chart-container:hover {
    transform: translateY(-5px);
}

.chart-container h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Ad Container */
.ad-container {
    margin: 50px 0;
    text-align: center;
    background: #fdf3e8;
    border: 2px dashed #f39c12;
    padding: 30px;
    border-radius: 10px;
}

.ad-placeholder {
    font-size: 1.4em;
    color: #e67e22;
    font-weight: 600;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .game-single-page {
        padding: 20px;
        margin: 20px auto;
    }
    .game-header h1 {
        font-size: 2em;
    }
    .game-meta {
        flex-direction: column;
        gap: 10px;
    }
    .game-analysis-section h2 {
        font-size: 1.8em;
    }
    .stats-charts-container {
        grid-template-columns: 1fr;
    }
    .chart-container {
        padding: 20px;
    }
    .ad-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .game-single-page {
        padding: 15px;
        margin: 15px auto;
    }
    .game-header h1 {
        font-size: 1.6em;
    }
    .game-meta {
        font-size: 0.9em;
    }
    .game-analysis-section h2 {
        font-size: 1.5em;
    }
    .game-content {
        font-size: 1em;
    }
    .analysis-point {
        font-size: 1em;
    }
    .chart-container h3 {
        font-size: 1.4em;
    }
    .ad-placeholder {
        font-size: 1.1em;
    }
}

