* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.game-area {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.score-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
}

.running-score-section {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
}

.correct-answers {
    color: #28a745;
}

.incorrect-answers {
    color: #dc3545;
}

.total-players {
    color: #6c757d;
}

.score {
    color: #2a5298;
}

.guesses {
    color: #d9534f;
}

.player-section {
    text-align: center;
    margin-bottom: 30px;
}

.player-image {
    margin-bottom: 20px;
}

.player-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2a5298;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.player-info h2 {
    font-size: 1.8rem;
    color: #2a5298;
    margin-bottom: 10px;
}

.guess-section {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
    align-items: flex-start;
}

.college-dropdown-container {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.college-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.dropdown-option:last-child {
    border-bottom: none;
}

#guess-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#guess-input:focus {
    border-color: #2a5298;
}

#submit-guess {
    padding: 12px 20px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submit-guess:hover {
    background: #1e3c72;
}

#submit-guess:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#pass-button {
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#pass-button:hover {
    background: #5a6268;
}

#pass-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.feedback-section {
    min-height: 80px;
    margin-bottom: 20px;
}

.feedback {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
}

.feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.previous-guesses {
    text-align: center;
    color: #666;
    font-style: italic;
}

.game-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.game-controls button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

#next-player {
    background: #28a745;
    color: white;
}

#next-player:hover {
    background: #218838;
}

#restart-game {
    background: #ffc107;
    color: #212529;
}

#restart-game:hover {
    background: #e0a800;
}

.game-over {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-over h2 {
    color: #2a5298;
    margin-bottom: 20px;
    font-size: 2rem;
}

.game-over p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #333;
}

#play-again {
    padding: 15px 30px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#play-again:hover {
    background: #1e3c72;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .game-area {
        padding: 20px;
    }
    
    .player-image img {
        width: 150px;
        height: 150px;
    }
    
    .guess-section {
        flex-direction: column;
        align-items: center;
    }
    
    #guess-input {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .game-controls button {
        width: 100%;
        max-width: 200px;
        margin-bottom: 10px;
    }
}