body {
    background: url('Fondo.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; 
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.trivia-container {
    width: 100%;
    max-width: 375px; 
    height: 100vh;    
    max-height: 812px; 
    position: relative;
}

.trivia-inner {
    width: 100%;
    height: 100%;
    
    background: url('Fondo.jpeg') no-repeat center center;
    background-size: cover;
    
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 10px solid #4f82a0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #05161e;
    z-index: 100;
    transition: transform 0.2s;
    cursor: pointer;
}
.back-arrow:hover { transform: scale(1.1); color: #4f82a0; }

.team-card {
    background-color: rgba(255, 255, 255, 0.45); 
    border-radius: 15px;
    cursor: pointer;
    color: #000;
    transition: background-color 0.2s;
}
.team-card:active {
    background-color: rgba(255, 255, 255, 0.6);
}

.mini-logo {
    width: 25px;
    height: 25px;
    background-color: #000;
    border-radius: 50%;
}

.question-box {
    background-color: rgba(255, 255, 255, 0.5);
    height: 200px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
}

.option-btn {
    background-color: #05161e;
    border: none;
    height: 50px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.option-btn:active {
    background-color: #4f82a0;
}
.scroll-menu {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.scroll-menu::-webkit-scrollbar {
    display: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #121212;
    color: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 2px solid #004a8c;
}

.modal-title {
    margin-bottom: 15px;
    font-weight: bold;
}

.modal-message {
    font-size: 18px;
    margin-bottom: 25px;
    color: #ddd;
}

.modal-btn {
    background-color: #004a8c;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

.modal-btn:hover {
    background-color: #003366;
}