/* --- Lecturer Page Styles --- */

.lecturer-hero {
    background: url('../assets/hero_bg.png') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lecturer Display - Fluid Height based on content */
.lecturer-display {
    display: flex;
    width: 100%;
    /* height removed to match content (image) height */
    background: #090909;
    border: 1px solid #333;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    align-items: stretch;
    /* Ensure both sides match height */
}

/* Left Side (40%) */
.lecturer-card-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #222;
    background: #111;
}

.lecturer-header {
    background: #1e2329;
    /* Dark blue-grey from reference */
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.lecturer-logo-text {
    font-family: 'Orbitron', sans-serif;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lecturer-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.champions-container {
    display: flex;
    flex: 1;
    width: 100%;
    /* No min-height needed if parent has fixed height, it will fill remaining space */
}

.champion-strip {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    filter: brightness(0.7) grayscale(0.5);
}

.champion-strip:last-child {
    border-right: none;
}

.champion-strip:hover {
    flex: 1.5;
    /* Slight expansion */
    filter: brightness(1) grayscale(0);
    z-index: 2;
}

.champ-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.champion-strip:hover .champ-overlay {
    opacity: 1;
    transform: translateY(0);
    /* Reset transform if previously set */
}

.champ-overlay h3 {
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 3px black;
}

/* Right Side Visual (60%) */
.lecturer-visual {
    flex: 0 0 60%;
    position: relative;
    background-color: #111;
    display: flex;
    /* Removes inline gap spacing */
}

/* The Character Image Overlay */
.lecturer-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures it covers the width nicely */
}

/* The Text/UI Overlay */
.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align text to right */
    justify-content: flex-start;
    text-align: right;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

/* Top Right Tag */
.visual-tag {
    background: white;
    color: #000;
    padding: 5px 15px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: skewX(-10deg);
}

.visual-tag span {
    display: inline-block;
    transform: skewX(10deg);
    /* Un-skew text */
}

/* Main Heading Title */
.visual-overlay h3 {
    font-size: 3rem;
    line-height: 1.1;
    width: 100%;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin: 0;
    background: none;
    border: none;
    padding: 0;
    display: block;
    margin-bottom: 0;
}

.visual-overlay .highlight-title {
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5));
}

.visual-overlay .sub-title {
    font-size: 3.5rem;
    color: white;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 10px rgba(230, 0, 18, 0.8);
}

.visual-game-ui {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 15, 20, 0.85);
    /* Dark semi-transparent UI bg */
    border: 1px solid #444;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.rank-emblem {
    width: 60px;
    height: 60px;
    object-fit: contain !important;
    /* Override the main img rule */
    position: static !important;
    filter: none !important;
}

.rank-info {
    text-align: left;
}

.rank-info h4 {
    color: #e6e6e6;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.rank-info .tier-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4da6ff;
    /* Diamond/Challenger blue tone */
}

/* Responsive Lecturer */
@media (max-width: 900px) {
    .lecturer-display {
        flex-direction: column;
        height: auto;
    }

    .lecturer-card-left {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .lecturer-header {
        height: auto;
        padding: 20px;
    }

    .champions-container {
        min-height: 250px;
    }

    .lecturer-visual {
        flex: none;
        width: 100%;
        height: 400px;
    }

    .lecturer-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .visual-overlay {
        align-items: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.4);
        /* Darken for readability on mobile */
    }

    .visual-overlay h3 {
        font-size: 2.2rem;
    }

    .visual-overlay .sub-title {
        font-size: 2.5rem;
    }

    .visual-game-ui {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: 90%;
    }
}