/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f4e4a6;
    --purple: #8a2be2;
    --dark-purple: #6a1cb3;
    --green: #2e8b57;
    --dark-green: #1f6b3d;
    --beige: #f5f5dc;
    --dark-beige: #e6e6c8;
    --brown: #8b4513;
    --dark-brown: #654321;
    --light-brown: #a67c52;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --text-light: #e0e0e0;
    --text-dark: #333333;
    --boost-red: #ff4444;
    --boost-orange: #ff6b35;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('/images/bg2.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    z-index: -1;
}

/* ===== CONTAINER PRINCIPAL MAIS LARGO ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border-bottom: 3px solid var(--gold);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-height: 100px;
    filter: drop-shadow(0 0 10px var(--gold));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.nav-link.donate {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-purple) 100%);
    color: white;
    border-color: var(--light-gold);
}

.nav-link.donate:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--purple) 100%);
    transform: translateY(-2px) scale(1.05);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 139, 87, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--green);
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-weight: bold;
    color: #00ff00;
}

.players-online {
    font-size: 0.9em;
    color: var(--text-light);
}

/* ===== CONTEÚDO PRINCIPAL MAIS LARGO ===== */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 40px;
    margin: 30px 0;
    align-items: start;
}

/* ===== SIDEBARS ===== */
.left-sidebar,
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ===== MENU SECTIONS ===== */
.menu-section,
.login-section,
.server-save-section,
.boosted-section,
.top-players-section,
.rashid-section {
    background: linear-gradient(135deg, var(--beige) 0%, var(--dark-beige) 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 25px;
}

.menu-section .section-header,
.section-header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
    padding: 12px 15px;
    border-bottom: 2px solid var(--gold);
}

.menu-section .section-header h3,
.section-header h3 {
    color: var(--light-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.menu-content {
    padding: 15px;
}

.menu-link {
    display: block;
    color: var(--dark-brown);
    text-decoration: none;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9em;
}

.menu-link:hover {
    background: rgba(139, 69, 19, 0.2);
    border-left-color: var(--gold);
    transform: translateX(3px);
    color: var(--purple);
}

/* ===== SEÇÃO DE NOTÍCIAS MAIS LARGA ===== */
.news-section {
    background: linear-gradient(135deg, var(--beige) 0%, var(--dark-beige) 100%);
    border: 3px solid var(--gold);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 600px;
    padding: 30px 40px;
}

.news-section .section-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--brown);
}

.news-section .section-header h2 {
    color: var(--text-dark);
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.news-content {
    color: var(--text-dark);
    min-height: 400px;
    line-height: 1.7;
}

/* ===== ESTILOS DAS SEÇÕES DA DIREITA ===== */
.login-content,
.server-save-content,
.boosted-content,
.top-players-content,
.rashid-content {
    padding: 15px;
}

/* ===== FORMULÁRIO DE LOGIN ===== */
.login-form,
.account-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--light-brown);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text-dark);
    font-size: 0.9em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.form-input::placeholder {
    color: #666;
}

/* ===== BOTÕES ===== */
.login-btn,
.register-btn,
.logout-btn {
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    text-decoration: none;
}

.login-btn.purple {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-purple) 100%);
    color: white;
}

.login-btn.purple:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.register-btn.green {
    background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
    color: white;
}

.register-btn.green:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.4);
}

.logout-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    width: 100%;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
}

/* ===== SERVER SAVE TIMER ===== */
.countdown-timer {
    text-align: center;
    padding: 12px;
}

.timer-text {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.2em;
    color: var(--dark-brown);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== MONSTRO BOOSTED ===== */
.boosted-content {
    text-align: center;
    padding: 15px;
}

.boosted-monster-img {
    max-width: 100px;
    max-height: 100px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.boosted-monster-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
}

.boosted-monster-name {
    font-family: 'Cinzel', serif;
    font-size: 1em;
    color: var(--dark-brown);
    font-weight: bold;
    padding: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 6px;
    border: 2px solid var(--brown);
    margin-bottom: 12px;
}

.boosted-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 12px;
    gap: 8px;
}

.boosted-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--boost-orange) 0%, var(--boost-red) 100%);
    padding: 6px 10px;
    border-radius: 6px;
    border: 2px solid var(--gold);
    min-width: 60px;
}

.stat-label {
    font-size: 0.75em;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.stat-value {
    font-size: 0.85em;
    font-weight: bold;
    color: var(--light-gold);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* ===== TOP PLAYERS ===== */
.top-players-content {
    padding: 12px;
}

.top-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 6px;
    border-left: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.top-player:hover {
    background: rgba(139, 69, 19, 0.2);
    transform: translateX(3px);
}

.player-link {
    color: var(--dark-brown);
    font-weight: 600;
    flex: 1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85em;
}

.player-link:hover {
    color: var(--purple);
}

.top-player-level {
    color: var(--green);
    font-weight: bold;
    font-size: 0.8em;
    background: rgba(46, 139, 87, 0.1);
    padding: 3px 6px;
    border-radius: 4px;
}

/* ===== CAPTCHA ===== */
.captcha-container {
    transform: scale(0.8);
    transform-origin: center;
    margin: 8px 0;
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border-top: 3px solid var(--gold);
    padding: 25px 0;
    margin-top: 40px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    border-color: var(--light-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.social-link.whatsapp { background: #25D366; }
.social-link.discord { background: #5865F2; }
.social-link.facebook { background: #1877F2; }

.copyright {
    color: var(--text-light);
    font-size: 0.85em;
    text-align: center;
    opacity: 0.8;
}

/* ===== COUNTDOWN DE LANÇAMENTO ===== */
.server-countdown {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 5px;
    margin: 5px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-header h3 {
    color: var(--dark-brown);
    font-family: 'Cinzel', serif;
    font-size: 1.4em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    padding: 15px 10px;
    border-radius: 10px;
    min-width: 80px;
    border: 2px solid var(--brown);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-family: 'MedievalSharp', cursive;
    font-size: 2em;
    font-weight: bold;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8em;
    font-weight: bold;
    color: var(--dark-brown);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launch-date {
    background: rgba(212, 175, 55, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--gold);
    margin-top: 15px;
}

.launch-date p {
    color: var(--dark-brown);
    font-weight: 600;
    margin: 0;
    font-size: 0.95em;
}

/* ===== RASHID SECTION ===== */
.rashid-content {
    text-align: center;
    padding: 15px;
}

.rashid-gif {
    max-width: 100px;
    max-height: 100px;
    border: 2px solid var(--purple);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.rashid-gif:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.rashid-placeholder {
    font-size: 3em;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.rashid-city {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: var(--dark-brown);
    font-weight: bold;
    padding: 8px 12px;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 6px;
    border: 2px solid var(--purple);
    margin-top: 8px;
}

/* ===== SERVIDOR LANÇADO ===== */
.server-launched {
    background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--light-gold);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(46, 139, 87, 0.5); }
    50% { box-shadow: 0 0 20px rgba(46, 139, 87, 0.8); }
    100% { box-shadow: 0 0 10px rgba(46, 139, 87, 0.5); }
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-gold) 0%, var(--gold) 100%);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 20px;
    }
    
    .main-content {
        grid-template-columns: 280px 1fr 280px;
        gap: 35px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .main-content {
        grid-template-columns: 260px 1fr 260px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 240px 1fr 240px;
        gap: 25px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    
    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .news-section {
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .left-sidebar,
    .right-sidebar {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .news-section {
        order: 1;
        padding: 20px 25px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-link {
        justify-content: center;
        padding: 10px 15px;
    }
    
    .server-status {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .news-content {
        padding: 0;
    }
    
    .boosted-stats {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .boosted-stat {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        max-width: 120px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-unit {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 1.6em;
    }
    
    .countdown-label {
        font-size: 0.75em;
    }
    
    .countdown-header h3 {
        font-size: 1.2em;
    }
    
    .server-countdown {
        margin: 15px 0;
        padding: 15px;
    }
    
    .rashid-gif {
        max-width: 80px;
        max-height: 80px;
    }
    
    .rashid-placeholder {
        font-size: 2.5em;
    }
    
    .rashid-city {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .left-sidebar,
    .right-sidebar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .main-nav ul {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.4em;
    }
    
    .section-header h3 {
        font-size: 1em;
    }
    
    .form-input,
    .login-btn,
    .register-btn {
        padding: 8px 12px;
    }
    
    .boosted-monster-img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .menu-link {
        padding: 8px 10px;
        font-size: 0.85em;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .countdown-unit {
        min-width: 60px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 1.4em;
    }
    
    .countdown-label {
        font-size: 0.7em;
    }
    
    .server-countdown {
        margin: 10px 0;
        padding: 15px;
    }
    
    .news-section {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 0 10px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .countdown-unit {
        min-width: 55px;
        padding: 8px 5px;
    }
    
    .countdown-number {
        font-size: 1.3em;
    }
    
    .countdown-label {
        font-size: 0.65em;
    }
}