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

body {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

/* Fundo animado com blur */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.pinimg.com/originals/8e/46/15/8e46150f790fbefe438d9c2767c32ad1.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: -1;
}

/* Camada de escurecimento */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
    background: #35424a;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

h1 {
    margin: 0;
}

nav {
    margin: 20px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}

nav a:hover {
    background: #e8491d;
}

/* Barra de navegação */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 500px; /* Aumentado para acomodar o novo botão */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Logo animation fix */
.navbar .logo {
    width: 40px;
    height: 40px;
    background-image: url('https://media.discordapp.net/attachments/1188212025864765452/1344895080812777593/image.png?ex=67c292a6&is=67c14126&hm=d5bf99221ad17900e331a305bc966f2977b1c4bd3aeae0a634f6485027ec5e83&=&format=webp&quality=lossless&width=432&height=324');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.navbar .logo:hover {
    transform: scale(1.1);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0 20px;
}

.navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 8px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease-out;
    border: 1px solid transparent;
}

.navbar ul li a::before {
    content: none;
}

.navbar ul li a:hover {
    color: #ffffff;
    background: rgba(255, 77, 77, 0.3);
    border-color: rgba(255, 77, 77, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.2);
}

.navbar ul li a:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 77, 77, 0.1);
}

.navbar .login-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(88, 101, 242, 0.8);
    transition: all 0.2s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .login-btn:hover {
    background: rgba(88, 101, 242, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.navbar .login-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Torna o logo branco */
}

/* Conteúdo central */
.container {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Alterado para ficar acima da bouncing-image */
}

.center-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.center-image:hover {
    transform: scale(1.05);
}

.center-image:active {
    transform: scale(0.95);
}

.center-video {
    width: 268px;
    height: 255px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: cover; /* Remove as bordas pretas */
    background-color: transparent; /* Remove o fundo preto */
}

/* Remover controles do vídeo */
.center-video::-webkit-media-controls {
    display: none !important;
}

p {
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Imagem quicante */
.bouncing-image {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 1;
    transition: transform 0.1s linear;
    border-radius: 15px;
    object-fit: cover;
    top: 0;  /* Adiciona posição inicial no topo */
    left: 0; /* Adiciona posição inicial na esquerda */
    pointer-events: none; /* Evita interferência com outros elementos */
}

/* Vídeo */
.video-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
    backdrop-filter: blur(0px);
}

.video-container.active {
    display: block;
    opacity: 1;
    backdrop-filter: blur(0px);
}

.video-container.closing {
    opacity: 0;
    backdrop-filter: blur(20px);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-container video::-webkit-media-controls {
    display: none !important;
}

.em-breve-text {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 1.2em;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

footer {
    background: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Estilos Responsivos */
@media screen and (max-width: 1400px) {
    .info-container, 
    .commands-section,
    .add-bot-section {
        max-width: 90%;
    }

    .navbar {
        min-width: 80%;
        max-width: 1200px;
    }
}

@media screen and (max-width: 992px) {
    .navbar {
        min-width: 90%;
        padding: 15px;
    }

    .info-container {
        flex-direction: column;
        text-align: center;
    }

    .bot-image {
        width: 200px;
        height: 190px;
    }

    .commands-image {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .navbar ul {
        gap: 10px;
    }

    .navbar ul li a,
    .login-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .bot-text,
    .commands-text {
        font-size: 1em;
    }

    .center-image {
        max-width: 80%;
    }

    .notification {
        width: 90%;
        max-width: 300px;
        font-size: 1em;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar ul {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .logo {
        order: 1;
    }

    .login-btn {
        order: 3;
    }

    .bot-image {
        width: 150px;
        height: 143px;
    }

    .add-bot-button {
        padding: 10px 15px;
    }

    .add-bot-button span {
        font-size: 1em;
    }

    .commands-section {
        padding: 10px;
    }
}

@media screen and (max-width: 400px) {
    body {
        font-size: 14px;
    }

    .navbar ul li a,
    .login-btn {
        font-size: 11px;
        padding: 6px 10px;
    }

    .bouncing-image {
        width: 60px;
        height: 60px;
    }
}

/* Ajustes para telas muito grandes */
@media screen and (min-width: 1800px) {
    .info-container, 
    .commands-section,
    .add-bot-section {
        max-width: 1400px;
    }

    body {
        font-size: 18px;
    }
}