/* Import styles from datstyles.css or copy relevant parts */
/* For brevity, I'll assume datstyles.css is available or its key variables/styles are merged. */
/* Specific styles for the draft simulator will be added/overridden here. */
/* Suggestion Box Modal */
/* Navbar Styles */
/* Portrait orientation warning */
/* Portrait orientation warning */

.orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 10, 26, 0.95);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.orientation-warning-content {
    background: linear-gradient(135deg, rgba(42, 15, 42, 0.95) 0%, rgba(26, 10, 26, 0.98) 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--primary-pink);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    max-width: 400px;
}

.orientation-warning i {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    animation: pulse 1.5s infinite;
}

.orientation-warning h3 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.orientation-warning p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

    
  .hero-pool-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For background image positioning */
    min-height: 400px; /* Ensure it has some height */
    max-height: 600px; /* Max height before scroll */
    padding: 1rem;
    background-color: rgba(0,0,0,0.3);
    border-radius: 15px;
}
.hero-pool-background {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 50%;
    z-index: -1;
    opacity: 0.55; /* Dim the background */
    overflow: hidden;
    border-radius: 15px;
}
.hero-pool-background img {
    width: auto;
    height: 50%;
    object-fit: cover; /* Cover the area, might crop */
}

    .team-bans {
        min-width: 150px;
    }
    
    .ban-slot {
        width: 30px;
        height: 30px;
    }
    
    .timer-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    #turn-indicator {
        font-size: 0.9rem;
    }
    
    .draft-main-area {
        flex-direction: row;
        min-height: 300px;
    }
    
    .team-picks {
        flex-direction: column;
        width: 70px;
    }
    
    .pick-slot {
        width: 60px;
        height: 60px;
    }
    
    .pick-slot img {
        width: 40px;
        height: 40px;
    }
    
    .hero-pool-container {
        max-height: 300px;
    }
    
    .hero-scroll-container {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.5rem;
    }
    
    .hero-pool-item {
        width: 60px;
        height: 60px;
    }
    
    .hero-filters {
        gap: 0.5rem;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .bottom-controls {
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .filter-dropdown-select, .toggle-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Show warning in portrait mode on mobile */
@media screen and (orientation: portrait) and (max-width: 768px) {
    .orientation-warning {
        display: flex;
    }
}

.draft-navbar {
    width: 100%;
    max-width: 1600px;
    margin-bottom: 1.5rem;
    background: rgba(42, 15, 42, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255, 105, 180, 0.2);
    border: 1px solid var(--primary-pink);
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--primary-pink);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.nav-btn.active {
    background: var(--primary-pink);
    color: var(--bg-dark);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}




.suggestion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 10, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.suggestion-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.suggestion-modal {
    background: linear-gradient(135deg, rgba(42, 15, 42, 0.95) 0%, rgba(26, 10, 26, 0.98) 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--primary-pink);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.suggestion-modal-overlay.active .suggestion-modal {
    transform: scale(1);
}

.suggestion-modal h3 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.suggestion-modal h3 i {
    font-size: 1.3rem;
}

.suggestion-content {
    margin: 1.5rem 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
}

.suggestion-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--gold-color);
}

.suggestion-hero img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-color);
}

.suggestion-hero-info {
    flex-grow: 1;
}

.suggestion-hero-name {
    font-weight: 600;
    color: var(--gold-color);
    font-size: 1.1rem;
}

.suggestion-hero-role {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.suggestion-reason {
    background: rgba(255, 105, 180, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-pink);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.suggestion-reason strong {
    color: var(--primary-pink);
}

.suggestion-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.suggestion-btn {
    background: rgba(255, 105, 180, 0.2);
    border: 1px solid var(--primary-pink);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.suggestion-btn:hover {
    background: var(--primary-pink);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.suggestion-btn.primary {
    background: var(--primary-pink);
    color: var(--bg-dark);
    font-weight: 600;
}

.suggestion-btn.primary:hover {
    background: var(--dark-pink);
}
:root {
    --primary-pink: #ff69b4;
    --dark-pink: #ff1493;
    --bg-dark: #1a0a1a;
    --bg-light: #2a0f2a;
    --text-light: #fff0f5;
    --text-dim: #e0b0ff;
    --blue-team: #3498db;
    --red-team: #e74c3c;
    --gold-color: gold;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 105, 180, 0.05) 0%, transparent S%),
        radial-gradient(circle at 90% 80%, rgba(255, 20, 147, 0.05) 0%, transparent 20%);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.draft-simulator-container {
    width: 100%;
    max-width: 1600px; /* Increased max-width for wider layout */
    background: rgba(26, 10, 26, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.draft-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

.team-bans {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    min-width: 250px; /* Ensure space for 5 small bans */
    flex-wrap: wrap; /* Allow wrapping if space is tight */
}

.ban-slot {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.ban-slot.active-slot {
    border-color: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
    transform: scale(1.1);
}


.ban-slot img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.blue-bans .ban-slot.active-slot { border-color: var(--blue-team); box-shadow: 0 0 10px var(--blue-team); }
.red-bans .ban-slot.active-slot { border-color: var(--red-team); box-shadow: 0 0 10px var(--red-team); }


.timer-container {
    text-align: center;
}

.timer-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid var(--primary-pink);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 2rem;
    margin: 0 auto 0.5rem auto;
    animation: pulse 1.5s infinite alternate;
    color: var(--text-light);
}
.timer-circle.warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}


@keyframes pulse {
    from { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4); }
    to { box-shadow: 0 0 0 12px rgba(255, 105, 180, 0); }
}

#turn-indicator {
    font-weight: 600;
    color: var(--text-dim);
    font-size: 1.1rem;
}
#ai-thinking-indicator {
    font-size: 0.9rem;
    color: var(--primary-pink);
}


.draft-main-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 450px; /* Ensure enough height for elements */
}

.team-picks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100px; /* Width for vertical pick slots */
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 0.75rem;
}
.blue-picks.active-turn-area, .red-picks.active-turn-area {
    box-shadow: 0 0 15px 3px var(--primary-pink);
}
.blue-picks.active-turn-area { box-shadow: 0 0 15px 3px var(--blue-team); }
.red-picks.active-turn-area { box-shadow: 0 0 15px 3px var(--red-team); }


.pick-slot {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden; /* To contain hero name */
    position: relative;
}
.pick-slot.active-slot {
    border-color: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
    transform: scale(1.05);
}
.blue-picks .pick-slot.active-slot { border-color: var(--blue-team); box-shadow: 0 0 10px var(--blue-team); }
.red-picks .pick-slot.active-slot { border-color: var(--red-team); box-shadow: 0 0 10px var(--red-team); }


.pick-slot img {
    width: 60px; /* Smaller image within pick slot */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 3px;
}
.pick-slot .hero-name-in-slot {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}


.hero-pool-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For background image positioning */
    min-height: 400px; /* Ensure it has some height */
    max-height: 600px; /* Max height before scroll */
    padding: 1rem;
    background-color: rgba(0,0,0,0.3);
    border-radius: 15px;
}
.hero-pool-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.55; /* Dim the background */
    overflow: hidden;
    border-radius: 15px;
}
.hero-pool-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, might crop */
}
.hero-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.search-box { position: relative; }
.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-pink);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}
.search-box input:focus {
    outline: none;
    border-color: var(--dark-pink);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    width: 250px;
}
.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-pink);
}
.filter-dropdown select { /* Reusing this class for consistency */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary-pink);
    border-radius: 50px;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    color: #000; /* Black text for dropdown */
    font-size: 0.9rem;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2em;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; /* White outline */

}
.filter-dropdown select:focus {
    outline: none;
    border-color: var(--dark-pink);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}


.hero-scroll-container { /* For the hero grid itself */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
    overflow-y: auto; /* Enable vertical scroll */
    max-height: calc(600px - 80px); /* Adjust based on filter height */
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.hero-pool-item {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative; /* For BANNED/PICKED overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-pool-item:hover {
    border-color: var(--primary-pink);
    transform: scale(1.1);
}
.hero-pool-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.hero-pool-item.banned, .hero-pool-item.picked {
    opacity: 0.4;
    filter: grayscale(90%);
    cursor: not-allowed;
}
.hero-pool-item.banned::after, .hero-pool-item.picked::after {
    content: attr(data-status);
    position: absolute;
    bottom: -5px; /* Position text below the icon */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 2;
    text-align: center;
}
.hero-pool-item.banned::after { content: 'BANNED'; background-color: var(--danger-color); }
.hero-pool-item.picked::after { content: 'PICKED'; background-color: var(--blue-team); }


.bottom-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    flex-wrap: wrap;
}
.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.control-group label {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.bottom-controls .filter-dropdown-select { /* For mode/opponent selectors */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary-pink);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
     padding-right: 2em; /* Space for arrow */
}

.bottom-controls .toggle-btn {
    background: rgba(255, 105, 180, 0.2);
    border: 1px solid var(--primary-pink);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bottom-controls .toggle-btn:hover:not(:disabled) {
    background: var(--primary-pink);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}
.bottom-controls .toggle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.bottom-controls .toggle-btn.active { /* For Start button primarily */
    background: var(--primary-pink);
    color: var(--bg-dark);
    font-weight: 600;
}

/* Tooltip (from datstyles.css, adapted) */
.tooltip-text {
    visibility: hidden;
    min-width: 180px;
    background-color: var(--bg-light);
    color: var(--text-light);
    text-align: left;
    border-radius: 8px;
    padding: 0.75rem;
    position: absolute;
    z-index: 1001; /* Above hero pool items */
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    border: 1px solid var(--primary-pink);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
    font-size: 0.85rem;
    pointer-events: none; /* Allow clicks to pass through to hero */
}
.tooltip-text.visible {
    visibility: visible;
    opacity: 1;
}
.tooltip-text h5 {
    color: var(--primary-pink);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.tooltip-text p {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}
.tooltip-text p strong {
    color: var(--text-light);
}


/* Loading Overlay & Draft Complete Modal (from datstyles.css, adapted) */
.loading-overlay, .draft-complete-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 10, 26, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
    padding: 1rem;
}
.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 105, 180, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-pink);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1.5rem;
}
.loading-text { /* Also used for Draft Complete title styling */
    font-family: 'Pacifico', cursive;
    color: var(--primary-pink);
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--primary-pink);
}
@keyframes spin { to { transform: rotate(360deg); } }

.draft-complete-content {
    background: linear-gradient(135deg, rgba(42, 15, 42, 0.95) 0%, rgba(26, 10, 26, 0.98) 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--primary-pink);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    max-width: 900px; /* Wider for more analysis */
    width: 95%;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}
.draft-complete-content h2 {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-family: 'Pacifico', cursive;
}
.draft-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.draft-summary-team {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
}
.draft-summary-team.blue { border: 2px solid var(--blue-team); }
.draft-summary-team.red { border: 2px solid var(--red-team); }

.draft-summary-team h3 {
    margin-bottom: 1rem;
    color: var(--primary-pink);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.draft-summary-team h3 .role-icon { font-size: 1rem; } /* For team comp icons */

.draft-summary-heroes {
    display: grid;
    grid-template-columns: 1fr; /* Single column for vertical list */
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.draft-summary-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.9rem;
}
.draft-summary-hero img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-pink);
}
.draft-summary-team p { margin-top: 0.5rem; font-size: 0.9rem; }

.draft-analysis-section { margin-bottom: 1.5rem; }
.draft-analysis-section h4 {
    color: var(--primary-pink);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,105,180,0.2);
    padding-bottom: 0.3rem;
}
.win-probability {
    display: flex;
    align-items: center;
    justify-content: space-around; /* More space */
    margin: 1rem 0;
    background: rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 10px;
}
.team-prob {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%; /* Adjust width */
    font-size: 1rem;
}
.team-prob.blue { color: var(--blue-team); }
.team-prob.red { color: var(--red-team); }
.team-prob strong { font-size: 1.5rem; margin: 0.25rem 0; }

.meter-bar { /* Used in win-probability */
    height: 15px; /* Thicker bar */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%; /* Full width of its container */
    margin-top: 0.5rem;
}
.meter-bar span { /* The actual colored part */
    display: block;
    height: 100%;
    border-radius: 8px; /* Match container */
    transition: width 0.5s ease-in-out;
}
.meter-bar.blue span { background: linear-gradient(90deg, var(--blue-team), #5dade2); }
.meter-bar.red span { background: linear-gradient(90deg, var(--red-team), #e67e22); }

.vs-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary-pink);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.analysis-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}
.analysis-team h5 {
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.analysis-team ul, #general-analysis ul {
    list-style: none;
    padding-left: 0;
}
.analysis-team li, #general-analysis li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
}
.analysis-team li::before, #general-analysis li::before {
    content: "\f005"; /* FontAwesome star */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-pink);
    position: absolute;
    left: 0;
    top: 1px;
}
#general-analysis { text-align: left; margin-top: 1rem; }


.draft-complete-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.draft-complete-actions .toggle-btn { font-size: 1rem; padding: 0.8rem 1.5rem;}

/* Animation for hero selection */
.hero-pop-in {
    animation: popIn 0.3s ease-out forwards;
}
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .team-bans { min-width: 200px; }
    .ban-slot { width: 40px; height: 40px; }
    .pick-slot { width: 70px; height: 70px; }
    .pick-slot img { width: 50px; height: 50px; }
}

@media (max-width: 1200px) {
    .draft-main-area { flex-direction: column; align-items: center; }
    .team-picks { flex-direction: row; width: auto; max-width: 500px; justify-content: center; }
    .hero-pool-container { width: 100%; max-width: 700px; } /* Ensure it doesn't get too wide */
}

@media (max-width: 768px) {
    body { padding: 0.5rem; }
    .draft-simulator-container { padding: 1rem; }
    .draft-header-controls { flex-direction: column; gap: 1rem; }
    .team-bans { justify-content: center; }
    .hero-filters { flex-direction: column; gap: 0.5rem; align-items: stretch; }
    .search-box input, .filter-dropdown select { width: 100%; }
    .search-box input:focus { width: 100%; }
    .bottom-controls { flex-direction: column; gap: 0.8rem; align-items: stretch;}
    .bottom-controls .toggle-btn, .bottom-controls .filter-dropdown-select { width: 100%; justify-content: center;}
    .draft-summary, .analysis-row { grid-template-columns: 1fr; }
    .draft-complete-content { padding: 1.5rem; }
    .draft-complete-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .ban-slot { width: 35px; height: 35px; }
    .pick-slot { width: 60px; height: 60px; }
    .pick-slot img { width: 40px; height: 40px; }
    .hero-pool-item { width: 60px; height: 60px; }
    .timer-circle { width: 60px; height: 60px; font-size: 1.5rem; }
    .loading-text, .draft-complete-content h2 { font-size: 1.5rem;}
}
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #399c4a;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(60, 201, 90, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
}