:root {
    --primary-color: #2B63F1;
    --text-color: #FFFFFF;
    --background-dark: #0A0E17;
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0A0E17;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Logo */
.logo {
    width: 200px;
    margin: 0 auto;
    padding-top: 2rem;
}

/* Logo Flutuante no Topo */
.logo img {
    width: 150px; /* Aumentando a largura da logo */
    height: auto; /* Mantendo a proporção da imagem */
    filter: drop-shadow(0 0 20px rgba(43, 99, 241, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translatey(0);
    }
    50% {
        transform: translatey(-10px);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(43, 99, 241, 0.15) 0%, rgba(43, 99, 241, 0) 100%);
    z-index: -1;
}

h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 16px;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.servers {
    padding: 6rem 0;
    text-align: center;
    width: 100%;
}

.servers h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--primary-color);
}

.server-boxes {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    max-width: 1200px;
}

/* Animação de entrada para os boxes dos servidores */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Adicionando a classe de animação */
.slide-in {
    animation: slideIn 0.5s ease forwards;
}

.server-box {
    flex: 0 0 350px; /* Aumentando a largura novamente */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(43, 99, 241, 0.1);
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 350px;
}

.server-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
    margin-top: auto;
}

.server-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.server-box p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: auto;
}

.server-box .button.connect {
    margin-top: 24px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-color);
}

.server-box .button.connect:hover {
    background: var(--primary-color);
}

.news {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    width: 100%;
}

.news::before {
    content: '';
    position: absolute;
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 800px;
    background: url('images/player.webp') no-repeat center/contain;
    z-index: 1;
}

.news h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--primary-color);
}

.discord-feed {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    margin-top: 3rem;
    position: relative;
}

.discord-messages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.discord-message {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.discord-message:nth-child(2) {
    margin-top: 40px;
}

.discord-message:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.message-info h3 {
    font-size: 16px;
    margin: 0;
    color: var(--primary-color);
}

.message-info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.message-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
}

.message-content h4 {
    font-size: 18px;
    margin: 16px 0 8px;
    color: #FFFFFF;
}

.message-content p {
    margin: 0 0 16px;
    font-size: 14px;
    opacity: 0.8;
}

.message-content img {
    width: 100%;
    border-radius: 12px;
    margin-top: 12px;
    height: 160px;
    object-fit: cover;
}

.see-more {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 32px;
    width: 100%;
}

.see-more:hover {
    transform: translateX(5px);
}

.see-more i {
    margin-left: 8px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .discord-messages-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .discord-message:nth-child(2) {
        margin-top: 0;
    }

    .see-more {
        margin-top: 24px;
    }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 200px;
}

.button i {
    font-size: 20px;
}

.button:hover {
    transform: translateY(-2px);
}

.button.download {
    background: linear-gradient(90deg, var(--primary-color), #4B83F1);
}

.button.ver-mais {
    background: transparent;
    border: 2px solid rgba(43, 99, 241, 0.5);
    margin-top: 16px;
}

.button.discord {
    background: #5865F2;
    margin: 2rem auto;
    display: inline-flex;
    width: 200px;
}

.button.discord.fixed {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
    opacity: 0;
    visibility: hidden;
}

.button.discord.fixed.visible {
    opacity: 1;
    visibility: visible;
}

/* Fixed Discord Icon */
.discord-icon-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #5865F2;
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
    opacity: 1;
    visibility: visible;
}

.discord-icon-fixed.hidden {
    opacity: 0;
    visibility: hidden;
}

.discord-icon-fixed img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.discord-icon-fixed:hover {
    transform: translateY(-2px);
    background: #4752C4;
}

.discord-icon-fixed:hover img {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #0056b3;
}

.back-to-top img {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 14px;
        padding: 0 1rem;
    }

    .news::before {
        display: none;
    }

    .news h2 {
        font-size: 32px;
    }

    .server-boxes {
        flex-direction: column;
        gap: 16px;
        padding: 0 1rem;
    }

    .server-box {
        padding: 24px;
    }

    .server-box i {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .server-box h3 {
        font-size: 20px;
    }

}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.footer-left {
    text-align: center;
}

/* Removendo animação da logo do rodapé */
.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-description {
    margin-top: 2rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--background-dark);
}

.contato-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contato-link:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        width: 100%;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }
}

/* Estilizando a faixa de redes sociais */
.social-media {
    background-color: transparent; /* Removendo a faixa branca */
    padding: 0;
    text-align: center;
    width: 100%; 
    position: relative;
    left: 0;
    margin-top: 60px; /* Aumentando a margem superior para descer a seção */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Aumentando o espaço entre os ícones */
    padding: 20px 0;
}

.social-icon {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1); /* Fundo dos ícones */
    border-radius: 50%; /* Tornando o fundo circular */
    padding: 20px; /* Aumentando o espaçamento interno para aumentar o fundo */
}

.social-icon img {
    width: 100%; /* Definindo a largura como 100% para se ajustar ao contêiner */
    height: auto; /* Mantendo a proporção da imagem */
    max-width: 300px; /* Definindo um tamanho máximo para os ícones */
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
    width: 12px; /* Largura da barra de rolagem */
}

::-webkit-scrollbar-thumb {
    background-color: #2B63F1; /* Cor do botão da barra de rolagem */
    border-radius: 10px; /* Bordas arredondadas */
}

::-webkit-scrollbar-track {
    background: rgba(105, 105, 105, 0.1); /* Cor do fundo da barra de rolagem */
}
