body {
    background: #0D0D0D;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    background: #F5F7FB;
    border-bottom: 1px solid rgba(58,10,106,0.12);
    height: 100px;
}

.site-logo {
    height: 90px;
    width: auto;
}

.site-footer {
    text-align: center;
    padding: 20px;
    background: #0B0F1A;
    color: #C6A8FF;
}

.site-footer a {
    color: #C6A8FF;
    text-decoration: none;
}

.video-container {
    position: relative;
    background: black;
    border: 2px solid #5B1FA8;
    border-radius: 6px;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    background: black;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    background: rgba(0,0,0,0.6);
}

.btn-control {
    background: #C1121F;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
}

.btn-control:hover {
    background: #E31A28;
}

.player-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.video-wrapper {
    margin-top: 10px;
    width: 100%;
    height: auto;
}

.player-controls {
    margin-top: 12px;
}


/* =========================
   LOGIN
========================= */

.login-bg {
    min-height: 100vh;
    background: url("../img/login-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* overlay escuro */
.login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.65);
    backdrop-filter: blur(4px);
}

/* box do login */
.login-box {
    position: relative;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeUp .6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-box img {
    max-width: 190px;
    margin: 0 auto 25px;
    display: block;
}

/* inputs */
.login-box input {
    width: 100%;
    height: 46px;
    margin-bottom: 15px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.login-box input:focus {
    outline: none;
    border-color: #4b6cff;
    box-shadow: 0 0 0 2px rgba(75,108,255,.15);
}

/* botão gradiente */
.login-box button {
    height: 46px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #3b82f6, #6d28d9);
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.login-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59,130,246,.35);
}

/* mensagem institucional */
.login-info {
    margin-top: 18px;
    font-size: 13px;
    color: #555;
    text-align: center;
}

/* erro */
.login-error {
    margin-top: 12px;
    color: #c0392b;
    font-size: 14px;
    text-align: center;
}

/* mobile */
@media (max-width: 480px) {
    .login-box {
        width: 90%;
        height: auto;
        padding: 30px;
    }
}

/* =========================
   LOGOUT
========================= */

.logout-box {
    position: relative;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeUp .6s ease;
}

.logout-box img {
    max-width: 180px;
    margin-bottom: 25px;
}

.logout-box h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #111;
}

.logout-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.logout-timer {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

@media (max-width: 480px) {
    .logout-box {
        width: 90%;
        height: auto;
        padding: 30px;
    }
}

/* =========================
   TELA DE PLAYERS
========================= */

.players-bg {
    min-height: 100vh;
    background: url("../img/login-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* overlay mais leve que login */
.players-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.45);
    backdrop-filter: blur(2px);
}

/* garante conteúdo acima do overlay */
.players-content {
    position: relative;
    z-index: 1;
    padding: 30px 20px 40px;
}

/* grid dos players */
.players-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* card do player */
.player-card {
    flex: 1 1 calc(50% - 12px);
    background: rgba(15, 20, 40, 0.85);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,.45);
    padding: 16px;
}

/* título do player */
.player-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: .3px;
}

/* vídeo */
.player-card video {
    width: 100%;
    border-radius: 10px;
    background: #000;
}

/* botão play (caso exista no layout atual) */
.player-card button {
    margin-top: 10px;
}

/* mobile */
@media (max-width: 768px) {
    .player-card {
        flex: 1 1 100%;
    }
}

/* =========================
   CONTROLES DO PLAYER
========================= */

.video-wrapper {
    position: relative;
}

/* barra de controles */
.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

/* botões */
.player-controls button {
    background: linear-gradient(135deg, #3b82f6, #6d28d9);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.player-controls button:hover {
    opacity: 0.9;
}

/* volume */
.player-controls input[type="range"] {
    flex: 1;
    accent-color: #6366f1;
}

.control-btn {
    background: linear-gradient(135deg, #3b82f6, #6d28d9);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.control-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99,102,241,.4);
}

.volume-icon {
    cursor: default;
    opacity: .85;
}

