/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9c27b0;
    --primary-dark: #7b1fa2;
    --primary-light: #e1bee7;
    --secondary-color: #00bcd4;
    --dark-color: #121212;
    --light-color: #f5f5f5;
    --gray-color: #2d2d2d;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
}

body {
    font-family: 'Press Start 2P', cursive, sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra de Navegação */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--light-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Banner Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/background.png') no-repeat center center/cover;
    margin-top: 70px;
}

.server-status {
    background-color: rgba(30, 30, 30, 0.9);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
    animation: pulse 2s infinite;
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.server-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.server-status h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.7);
}

.motd {
    font-size: 0.8rem;
    color: var(--light-color);
    opacity: 0.8;
}

.status-info {
    margin: 20px 0;
    font-size: 0.9rem;
}

.status-info p {
    margin: 10px 0;
}

.online {
    color: var(--success-color);
    font-size: 1.2rem;
}

.status-text {
    color: var(--success-color);
    font-weight: bold;
}

.play-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-family: 'Press Start 2P', cursive;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.5);
}

.play-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(156, 39, 176, 0.8);
}

/* Seções */
section {
    padding: 80px 0;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* FAQ */
.faq-section {
    background-color: rgba(20, 20, 20, 0.7);
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--gray-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(45, 45, 45, 0.8);
}

.faq-question h3 {
    font-size: 0.9rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(30, 30, 30, 0.8);
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    font-size: 0.8rem;
}

.faq-item.active .faq-question {
    background-color: var(--primary-dark);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Contato */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
    border-bottom: 4px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 0.9rem;
    font-family: 'Press Start 2P', cursive;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    width: 100%;
    max-width: 200px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Diretrizes */
.rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rule {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.rule h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.rule p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Rodapé */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-color);
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--light-color);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-color);
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Animações */
@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        height: auto;
        padding: 150px 0 80px;
    }

    .server-status {
        margin: 20px 0;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .status-header {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .rules {
        grid-template-columns: 1fr;
    }
}
/* Isso garante uma transição suave quando a cor mudar via JS */
.online, .status-text {
    transition: color 0.3s ease;
}

.play-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}