/* NBL Design - Match Details v2.0 */
:root {
    --ub-red: #e2272e;
    --ub-red-light: #ff3d44;
    --ub-dark: #0c1015;
    --ub-gray: #f7fafc;
    --ub-text-muted: #718096;
}

.nbl-event-profile {
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    background-color: #fdfdfd;
    min-height: 100vh;
}

/* Hero Scoreboard */
.nbl-event-hero {
    background: var(--ub-dark);
    position: relative;
    padding: 80px 0 100px;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.nbl-event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(226,39,46,0.15) 0%, rgba(12,16,21,0) 70%);
    pointer-events: none;
}

.nbl-hero-scoreboard {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.nbl-scoreboard-meta {
    margin-bottom: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a0aec0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-sep {
    margin: 0 5px;
    opacity: 0.3;
}

.meta-venue {
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 30px;
}

/* Teams & Score */
.nbl-scoreboard-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.nbl-score-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.nbl-score-logo-wrap {
    background: #fff;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    border: 4px solid rgba(255,255,255,0.05);
}

.nbl-score-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nbl-score-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.team-label {
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 700;
}

/* Center Score Display */
.nbl-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

.nbl-score-display {
    font-family: 'Oswald', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.score-divider {
    color: var(--ub-red);
    font-size: 3rem;
    opacity: 0.8;
}

.nbl-score-vs {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    letter-spacing: 10px;
}

.match-status-label {
    margin-top: 25px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 6px;
}

.status-finished { background: rgba(255,255,255,0.05); color: #a0aec0; }
.status-upcoming { background: var(--ub-red); color: #fff; box-shadow: 0 10px 25px rgba(226,39,46,0.3); }

/* Quarters */
.nbl-scoreboard-quarters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nbl-quarter-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nbl-quarter-label {
    font-size: 0.7rem;
    color: #718096;
    font-weight: 800;
    text-transform: uppercase;
}

.nbl-quarter-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
}

/* Info Grid Section */
.nbl-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.info-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #edf2f7;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border-color: rgba(226,39,46,0.1);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: #fdfdfd;
    color: var(--ub-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.info-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #1a202c;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Map Styling */
.nbl-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background: #eee;
}

.nbl-map-wrapper iframe {
    filter: grayscale(1) contrast(1.2) opacity(0.8);
    transition: all 0.5s ease;
}

.nbl-map-wrapper:hover iframe {
    filter: grayscale(0) contrast(1) opacity(1);
}

/* Sections Branding */
.nbl-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--ub-dark);
}

.nbl-section-title::before {
    content: '';
    width: 4px;
    height: 25px;
    background: var(--ub-red);
    display: block;
}

.nbl-content-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .nbl-scoreboard-main {
        flex-direction: column;
        gap: 40px;
    }
    .nbl-score-center { order: -1; margin-bottom: 0px; }
    .nbl-info-grid { grid-template-columns: 1fr; margin-top: -30px; }
    .nbl-score-display { font-size: 4rem; }
    .nbl-score-name { font-size: 1.8rem; }
    .nbl-event-hero { padding: 40px 0 60px; }
    .nbl-score-logo-wrap { width: 120px; height: 120px; }
}