/* Import base styles from style.css */
@import url('style.css');

/* Watch Page Specific Styles */

/* VS Banner - Match Header Section */
.vs-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.vs-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.match-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.match-header .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.match-header .team-logo {
    width: 70px !important;
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.match-header .team-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.match-header .team h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vs-text {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    padding: 0 15px;
}

/* Breadcrumb */
.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Server Selection */
.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.server-btn {
    padding: 12px 24px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.server-btn.active {
    background: #2ecc71;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.unmute-btn {
    background: #667eea;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* Match Details Grid */
.match-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

[data-theme="dark"] .detail-card {
    background: #2a2a2a;
}

.detail-icon {
    font-size: 32px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-item .label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.meta-item .value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

[data-theme="dark"] .meta-item .value {
    color: #fff;
}

.score-large {
    font-size: 48px;
    font-weight: 900;
    color: #667eea;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #2ecc71;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vs-banner {
        padding: 15px;
        margin-bottom: 15px;
    }

    .match-header {
        gap: 10px;
    }

    .vs-text {
        font-size: 22px;
        padding: 0 10px;
    }

    .match-header .team h2 {
        font-size: 14px;
    }

    .match-header .team-logo {
        width: 50px !important;
        height: 50px !important;
        padding: 5px;
    }

    .server-list {
        gap: 8px;
    }

    .server-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .match-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-card {
        padding: 15px;
    }
}