/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title i {
    margin-right: 1rem;
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Breadcrumb */
.ai-breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    font-size: 0.95rem;
}

.breadcrumb-link {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #2b6cb0;
}

.ai-breadcrumb i {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.breadcrumb-current {
    color: #718096;
    font-weight: 500;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.report-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.report-card.has-report {
    border-color: #48bb78;
}

.report-card.has-report:hover {
    border-color: #38a169;
    box-shadow: 0 15px 35px rgba(72, 187, 120, 0.2);
}

.report-card.no-report {
    border-color: #cbd5e0;
    opacity: 0.8;
}

/* Match Header */
.match-header {
    padding: 2rem 2rem 1rem;
}

.match-participants {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4299e1, #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.player-avatar i {
    font-size: 1.5rem;
    color: white;
}

.player-name {
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    font-size: 1rem;
}

.vs-divider {
    margin: 0 1rem;
    display: flex;
    align-items: center;
}

.vs-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Match Info */
.match-info {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-badge {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.info-badge i {
    margin-right: 0.5rem;
    color: #a0aec0;
}

.status-indicator .status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.completed {
    color: #48bb78;
}

.status.processing {
    color: #ed8936;
}

.status.pending {
    color: #a0aec0;
}

/* Card Action */
.card-action {
    padding: 1rem 2rem 2rem;
}

.btn-view-report {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.btn-view-report:hover {
    background: linear-gradient(135deg, #38a169, #2f855a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
    color: white;
}

.btn-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #f7fafc;
    color: #a0aec0;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    width: 100%;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.empty-icon i {
    font-size: 2rem;
    color: #a0aec0;
}

.empty-state h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-back-tournaments {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-tournaments:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Navigation Footer */
.navigation-footer {
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    text-align: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f7fafc;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.btn-nav:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .match-participants {
        flex-direction: column;
        gap: 1rem;
    }

    .vs-divider {
        margin: 1rem 0;
    }

    .match-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .hero-section {
        padding: 3rem 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .report-card {
        background: #2d3748;
        border-color: #4a5568;
    }

    .player-name {
        color: #e2e8f0;
    }

    .info-badge {
        background: #4a5568;
        color: #e2e8f0;
        border-color: #718096;
    }

    .btn-disabled {
        background: #4a5568;
        color: #a0aec0;
        border-color: #718096;
    }

    .empty-state h3 {
        color: #e2e8f0;
    }

    .empty-state p {
        color: #cbd5e0;
    }

    .btn-nav {
        background: #4a5568;
        color: #e2e8f0;
        border-color: #718096;
    }
}
