* {
    padding: 0;
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23132A44' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23020065'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    min-height: 100vh;
}

img {
    pointer-events: none;
}

.control {
    margin: 50px 0;
    text-align: center;
    width: 60%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
}

h1 {
    color: black;
    text-align: center;
    padding: 30px;
    font-size: 2.2rem;
}

.control__container {
    width: 92%;
    background-color: steelblue;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid black;
    margin-bottom: 35px;
}

.control__msg {
    text-align: center;
    background-color: #33DFFF;
}

.control__msg p,
.control__userActivo,
.control__equipos {
    padding: 9px;
    font-size: 1.1rem;
    font-weight: bold;
}

.control__logIn {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 15px;
}

.control__logIn input {
    border-radius: 10px;
    padding: 15px;
    border: none;
    width: 40%;
    margin-right: 15px;
    font-size: 1.1rem;
}

.control__logIn button {
    padding: 8px;
    border: none;
    border-radius: 10px;
    display: flex;
    box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    background-color: white;
    transition: background-color ease .3s;
    transition: box-shadow ease .3s;
}

.control__logIn button img {
    width: 35px;
    margin: auto;
}

.control__logIn button:hover {
    background-color: gainsboro;
    box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
    -webkit-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
    -moz-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
}

.control__botones {
    margin: 0px auto;
    text-align: center;
    padding-bottom: 25px;
    background-color: steelblue;
    transition: background-color 0.3s ease;
}

.control__botones.has-control {
    background-color: #7BFF33;
}

.control__botones.no-control {
    background-color: red;
}

.control__userActivo {
    background-color: #33DFFF;
    border-bottom: 1px solid black;
}

.control__control {
    padding: 9px;
    font-size: .9rem;
}

.control__botones img {
    width: 65px;
    padding: 5px;
    border-radius: 10px;
    margin: 2px;
    box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33);
    background-color: white;
    transition: background-color ease .3s;
    transition: box-shadow ease .3s;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.control__botones img:hover {
    background-color: gainsboro;
    box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
    -webkit-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
    -moz-box-shadow: -3px 4px 7px 3px rgba(0, 0, 0, 0.33) inset;
}

.control__equipos {
    margin: 0px auto;
    border-top: 1px solid black;
    text-align: center;
    background-color: #33DFFF;
}

.control__team {
    margin: 0px auto;
    text-align: center;
    border-top: 1px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
}

.team__title {
    padding: 5px;
    font-weight: bold;
}

.team__text {
    padding: 5px;
    font-size: .9rem;
}

.teamA {
    background-color: #FF0000;
    color: white;
}

.teamB {
    background-color: #00FF00;
    color: black;
}

.teamC {
    background-color: #FFC0CB;
    color: black;
}

.teamD {
    background-color: #FFFF00;
    color: black;
}

.teamE {
    background-color: #0000FF;
    color: white;
}

.teamF {
    background-color: #000000;
    color: white;
}

footer {
    background-color: black;
    padding: 25px;
}

footer img {
    width: 80px;
    margin: 0px auto;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width:1400px) {
    .control {
        width: 80%;
    }

    .control__logIn input {
        width: 70%;
    }

    .control__logIn button {
        padding: 7px;
    }

    .control__logIn button img {
        width: 45px;
    }
}

@media screen and (max-width:800px) {
    .control {
        width: 90%;
        margin: 25px;
    }

    .control__logIn input {
        width: 80%;
    }
}

@media screen and (max-width:500px) {
    .control {
        width: 95%;
    }

    .control__logIn input {
        width: 90%;
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px;
}

.header-container h1 {
    padding: 0;
    margin: 0;
}

.language-selector {
    position: absolute;
    right: 30px;
    display: flex;
    align-items: center;
    background-color: rgba(2, 0, 101, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-selector button {
    background: none;
    border: none;
    color: #020065;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector button:hover {
    color: #0066cc;
    text-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
}

.language-divider {
    color: #020065;
    margin: 0 5px;
    opacity: 0.7;
}

@media screen and (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .language-selector {
        position: static;
    }
}

.control__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.control__timer {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 80px;
    transition: all 0.3s ease;
}

.control__timer.warning {
    background-color: #ff6b6b;
    color: white;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}