:root {
    --primary-green: #28a745;
    --primary-blue: #007bff;
    --success-color: #20c997;
    --danger-color: #dc3545;
    --dark-bg: #1a1a1a;
    --light-gray: #f8f9fa;
    --accent-orange: #fd7e14;
    --border-color: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-gray) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #ffc107 !important;
    font-weight: 600;
}

/* Breadcrumb Styles */
.breadcrumb-section {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Page Layout */
.page-header {
    background: linear-gradient(rgba(40, 167, 69, 0.05), rgba(0, 123, 255, 0.05));
    padding: 2rem 0;
}

.hero-section {
    background: linear-gradient(rgba(40, 167, 69, 0.1), rgba(0, 123, 255, 0.1));
    padding: 3rem 0;
}

.author-hero {
    background: linear-gradient(rgba(40, 167, 69, 0.1), rgba(0, 123, 255, 0.1));
    padding: 4rem 0;
}

/* Match Header */
.match-header {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.match-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}

/* Team Logos */
.team-logos-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.team-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.team-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid #dee2e6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.manchester-city-logo {
    background: linear-gradient(135deg, #6CABDD, #98D8EA);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="white" stroke-width="3"/><text x="50" y="58" text-anchor="middle" fill="white" font-family="Arial" font-size="20" font-weight="bold">MC</text></svg>');
}

.arsenal-logo {
    background: linear-gradient(135deg, #EF0107, #FF6B6B);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="white" stroke-width="3"/><text x="50" y="58" text-anchor="middle" fill="white" font-family="Arial" font-size="16" font-weight="bold">ARS</text></svg>');
}

.vs-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
}

/* Match Info */
.match-info {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.match-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.match-time {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
}

.match-status {
    background: var(--success-color);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sport Icons */
.sport-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sport-football { background: linear-gradient(135deg, #28a745, #20c997); }
.sport-tennis { background: linear-gradient(135deg, #ffc107, #fd7e14); }
.sport-hockey { background: linear-gradient(135deg, #007bff, #0056b3); }
.sport-esports { background: linear-gradient(135deg, #6f42c1, #563d7c); }
.sport-basketball { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.sport-volleyball { background: linear-gradient(135deg, #17a2b8, #138496); }

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 5px;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Predictions Grid */
.predictions-grid {
    padding: 2rem 0;
}

.prediction-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f3f4;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.prediction-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.prediction-brief {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.8rem 0;
}

/* Section Titles */
.section-title {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stats-section {
    background: white;
    padding: 2rem 0;
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #6c757d;
    font-weight: 500;
}

/* Prediction Box */
.prediction-box {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.prediction-text {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Coefficients */
.coefficient {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.coefficient-large {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 1rem;
    display: inline-block;
    margin-top: 1rem;
}

.coefficient-large .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.coefficient-large .value {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* Like/Dislike Section */
.like-dislike-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.interaction-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.interaction-buttons-large {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 1rem 0;
}

.btn-like, .btn-dislike {
    border: none;
    background: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #6c757d;
}

.btn-like:hover { 
    color: var(--success-color); 
    transform: scale(1.2); 
}

.btn-dislike:hover { 
    color: var(--danger-color); 
    transform: scale(1.2); 
}

.btn-like-large, .btn-dislike-large {
    border: none;
    background: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-like-large {
    background: var(--success-color);
    color: white;
}

.btn-dislike-large {
    background: var(--danger-color);
    color: white;
}

.btn-like-large:hover { transform: scale(1.1); }
.btn-dislike-large:hover { transform: scale(1.1); }

.like-dislike-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #e9ecef;
    margin: 10px 0;
}

.like-dislike-bar-large {
    height: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
    margin: 15px 0;
    position: relative;
}

.like-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--primary-green));
    transition: width 0.3s ease;
}

.like-bar-large {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--primary-green));
    transition: width 0.3s ease;
    position: relative;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Action Buttons */
.prediction-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.btn-view-prediction {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.btn-view-prediction:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.btn-quick-bet {
    background: linear-gradient(135deg, var(--accent-orange), #e74c3c);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.btn-quick-bet:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.betting-buttons {
    display: flex;
    gap: 15px;
    margin: 2rem 0;
}

.btn-view-bookmaker {
    background: linear-gradient(135deg, var(--accent-orange), #e74c3c);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    flex: 1;
    text-align: center;
}

.btn-view-bookmaker:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.view-all-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Prediction Meta */
.prediction-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Author Section */
.author-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.author-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.author-bio {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

.social-telegram { background: linear-gradient(135deg, #0088cc, #0077bb); }
.social-twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.social-youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.social-vk { background: linear-gradient(135deg, #4c75a3, #45668e); }

/* Expertise */
.expertise-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    border-left: 5px solid;
}

.expertise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.expertise-football { border-left-color: var(--primary-green); }
.expertise-tennis { border-left-color: #ffc107; }
.expertise-hockey { border-left-color: var(--primary-blue); }
.expertise-esports { border-left-color: #6f42c1; }

.expertise-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-football { background: var(--primary-green); }
.icon-tennis { background: #ffc107; }
.icon-hockey { background: var(--primary-blue); }
.icon-esports { background: #6f42c1; }

/* Achievement Badge */
.achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), var(--primary-green));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px;
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-green);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 15px;
    width: 1px;
    height: calc(100% + 1rem);
    background: #e9ecef;
}

.timeline-item:last-child::after {
    display: none;
}

/* Results Section */
.results-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.result-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-win { border-left: 5px solid var(--success-color); }
.result-loss { border-left: 5px solid var(--danger-color); }

/* Related Predictions */
.related-predictions {
    background: var(--light-gray);
    padding: 3rem 0;
}

.related-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

/* SEO Section */
.seo-section {
    padding: 4rem 0;
    background: white;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .filter-section {
        position: static;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .team-logos-large {
        gap: 1rem;
    }
    
    .team-logo-large {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .author-photo {
        width: 150px;
        height: 150px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .interaction-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .interaction-buttons-large {
        flex-direction: column;
        gap: 15px;
    }
    
    .prediction-card {
        margin-bottom: 1.5rem;
    }
    
    .prediction-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .betting-buttons {
        flex-direction: column;
    }
    
    .team-logos {
        flex-wrap: wrap;
    }
}
