/* CSS Variables for Theme System */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #90ee90;
    --text-accent: #4CAF50;
    --text-highlight: #FFD700;
    --border-color: #333;
    --border-accent: #4CAF50;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-bg: #333;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

h1 {
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 5px;
}

#current-time {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Theme Toggle Styles */
.theme-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.profile-toggle, .favorites-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    color: var(--text-accent);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-toggle:hover, .favorites-toggle:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.controls-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.control-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.controls label {
    font-weight: bold;
}

.controls select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #4CAF50;
    background-color: #1e1e1e;
    color: #e0e0e0;
    width: 100%;
    cursor: pointer;
}

.server-column {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: all 0.3s ease;
}

.server-name {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-accent);
    margin-bottom: 15px;
    text-align: center;
}

/* Favorites System Styles */
.favorite-star {
    position: absolute;
    top: 10px;
    right: 45px;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.favorite-star.favorited {
    color: var(--text-highlight);
    transform: scale(1.2);
}

.favorite-star:hover {
    transform: scale(1.3);
    color: var(--text-highlight);
}

.favorites-filter {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    color: var(--text-accent);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-filter.active {
    background: var(--text-accent);
    color: var(--bg-primary);
}

/* Profile Panel Styles */
.profile-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 350px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 2px solid var(--border-accent);
    z-index: 1001;
    transition: left 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-panel.open {
    left: 0;
}

.profile-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.profile-content h3 {
    color: var(--text-accent);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 10px;
}

.profile-stats {
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item label {
    color: var(--text-primary);
    font-weight: 500;
}

.stat-item span {
    color: var(--text-accent);
    font-weight: bold;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.action-btn:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
}

.action-btn.danger {
    border-color: #f44336;
    color: #f44336;
}

.action-btn.danger:hover {
    background: #f44336;
    color: white;
}

.close-panel {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-accent);
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-panel:hover {
    transform: scale(1.2);
}

/* PWA Install Banner Styles */
.pwa-install-banner {
    background: linear-gradient(135deg, var(--text-accent), #66bb6a);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    animation: slideInDown 0.5s ease;
}

.pwa-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pwa-icon {
    font-size: 2em;
    min-width: 50px;
}

.pwa-text {
    flex: 1;
}

.pwa-text strong {
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.pwa-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

.pwa-install-btn {
    background: white;
    color: var(--text-accent);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pwa-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pwa-dismiss-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pwa-dismiss-btn:hover {
    opacity: 1;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.subservers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.subservidor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

.subservidor-name {
    font-weight: bold;
}

.subservidor-time {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
}

.sound-toggle {
    margin-top: 20px;
    padding: 10px 15px;
    border: 1px solid #4CAF50;
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.sound-toggle:hover {
    background-color: #2a2a2a;
}

.boss-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px var(--shadow-color);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.boss-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.boss-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 100px;
    flex-shrink: 0;
}

.boss-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: containcover;
    border: 2px solid #4CAF50;
}

.boss-header .boss-spawn-img {
    width: 100px;
    border-radius: 4px;
    border: 1px solid #000000;
    margin-top: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.boss-header .boss-spawn-img:hover {
    transform: scale(2.5);
    z-index: 1000;
    position: relative;
    border: 2px solid #000000;
}

.boss-header h2 {
    margin: 0;
    color: #e0e0e0;
    text-align: left;
    width: 100%;
}

.boss-info {
    flex: 1;
    text-align: left;
}

.boss-info p {
    margin: 8px 0;
    line-height: 1.5;
}

.section-title {
    color: #4CAF50;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: left;
}

li {
    background-color: #2a2a2a;
    border-left: 3px solid #4CAF50;
    padding: 12px 15px;
    margin-bottom: 6px;
    border-radius: 4px;
    line-height: 1.4;
    transition: background-color 0.2s ease;
}

li:hover {
    background-color: #333;
}

.highlight {
    color: #FFD700;
    font-weight: bold;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Navigation Styles */
.nav-container {
    background-color: #1e1e1e;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-tabs {
    display: flex;
    border-bottom: 2px solid #333;
}

.nav-tab {
    flex: 1;
    padding: 15px 20px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
}

.nav-tab:last-child {
    margin-right: 0;
}

.nav-tab:hover {
    background-color: #3a3a3a;
    color: #4CAF50;
}

.nav-tab.active {
    background-color: #4CAF50;
    color: #121212;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Event Styles */
.event-card, .sort-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.event-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.event-header h2 {
    color: #4CAF50;
    margin: 0;
    text-align: center;
}

.event-header img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #4CAF50;
    transition: transform 0.3s ease, width 0.5s ease-in-out;
    cursor: pointer;
}

.event-header img:hover {
    transform: scale(1.05);
    width: 300px;
}

.event-info {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.event-answers {
    margin-bottom: 15px;
}

.event-answers h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

/* ===== ESTILOS PARA IMAGENS DAS RELÍQUIAS ===== */
.relics-images {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    padding: 0 10px;
    overflow: visible; /* Mudado para visible para não cortar a imagem */
}
.event-answers {
    display: contents;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    padding: 0 10px;
    overflow: visible; /* Mudado para visible para não cortar a imagem */
}

.relics-images img,
.event-answers img {
    max-width: 100%; /* Volta para 100% para usar todo espaço disponível */
    max-height: 600px; /* Altura controlada */
    width: auto; /* Largura automática baseada na proporção */
    height: auto; /* Altura automática baseada na proporção */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    object-fit: contain; /* Mantém proporção sem distorcer */
}

/* Garantir altura mínima sem forçar cortes */
.relics-images img {
    min-height: 300px; /* Reduzido para evitar cortes */
}

.event-answers img {
    min-height: 300px; /* Reduzido para evitar cortes */
}

/* ===== TAMANHO ESPECÍFICO PARA REMIX EM MONITORES GRANDES ===== */
@media (min-width: 1200px) {
    .relics-images img {
        max-height: 800px; /* Muito maior para a Remix em monitores grandes */
        min-height: 500px; /* Altura mínima maior para a Remix */
        max-width: 80%; /* Controla largura para não ficar desproporcional */
    }
    
    /* A imagem original mantém tamanho menor */
    .event-answers img {
        max-height: 500px; /* Tamanho menor para a original */
        min-height: 300px;
    }
}

/* Para monitores muito grandes (1440p, 4K, etc) */
@media (min-width: 1440px) {
    .relics-images img {
        max-height: 1000px; /* GIGANTE para monitores 4K */
}

/* ===== BOTÕES DE PERSONAGEM (Builds Tab) ===== */
.builds-tab-btn {
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    color: #FFD700;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-weight: bold;
    font-size: 1em;
    padding: 12px 24px;
    margin: 6px 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    position: relative;
    z-index: 1;
}
.builds-tab-btn:hover, .builds-tab-btn:focus {
    background: linear-gradient(90deg, #FFD700 0%, #f2ba30 100%);
    color: #232526;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(242,186,48,0.25);
}
.builds-tab-btn.selected {
    background: linear-gradient(90deg, #f2ba30 0%, #FFD700 100%);
    color: #232526;
    box-shadow: 0 4px 16px rgba(242,186,48,0.35);
    border-bottom: 3px solid #FFD700;
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .builds-tab-btn {
        font-size: 0.95em;
        padding: 10px 8px;
        margin: 4px 2px;
        min-width: 90px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.18);
        white-space: nowrap;
        overflow-x: auto;
        max-width: 98vw;
    }
    .builds-tab-btn.selected {
        border-bottom: 2px solid #FFD700;
        transform: scale(1.04);
    }
}
        min-height: 700px; /* Altura mínima bem grande */
        max-width: 90%; /* Mais largura disponível */
    }
    
    .relics-images {
        padding: 20px; /* Mais espaço ao redor */
    }
    
    /* Hover zoom específico para a Remix em monitores grandes */
    .relics-images img:hover {
        transform: scale(1.1); /* Zoom adicional no hover */
        cursor: zoom-in;
    }
}

.relics-images img:hover,
.event-answers img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

/* Responsividade para imagens das relíquias */
@media (max-width: 768px) {
    .relics-images,
    .event-answers {
        padding: 0 15px;
    }
    
    .relics-images img,
    .event-answers img {
        max-height: 450px; /* Altura controlada para tablet */
        max-width: 100%; /* Largura automática */
        width: auto;
        height: auto;
    }
}

@media (max-width: 480px) {
    .relics-images,
    .event-answers {
        padding: 0 10px;
    }
    
    .relics-images img,
    .event-answers img {
        max-height: 350px; /* Altura controlada para mobile */
        max-width: 100%; /* Largura automática */
        width: auto;
        height: auto;
    }
    
    /* Remover hover em mobile para melhor performance */
    .relics-images img:hover,
    .event-answers img:hover {
        transform: none;
    }
}

.answer-item {
    background-color: #333;
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 4px;
    border-left: 3px solid #FFD700;
}

.event-location {
    margin-top: 15px;
}

.event-location h4 {
    color: #4CAF50;
    margin-bottom: 8px;
}

.location-info {
    background-color: #333;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #FF6B6B;
}

.frequency-info {
    background-color: #2d4a3d;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    border-left: 3px solid #4CAF50;
    font-weight: bold;
}

/* Timer and Notifications Styles */
.timer-section {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 200px;
    background-color: rgba(30, 30, 30, 0.3);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    backdrop-filter: blur(5px);
    transform: scale(0.85);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.timer-section.scrolling {
    opacity: 0.3;
    transform: scale(0.8);
    pointer-events: none;
}

.timer-section.no-scroll-fade {
    opacity: 0.4 !important;
    transform: scale(0.85) !important;
    pointer-events: auto !important;
}

.timer-section.no-scroll-fade.scrolling {
    opacity: 0.4 !important;
    transform: scale(0.85) !important;
    pointer-events: auto !important;
}

.timer-section:hover {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    background-color: rgba(30, 30, 30, 0.95);
    border-color: #4CAF50;
    width: 280px;
    padding: 15px;
}

.timer-section.expanded {
    width: 280px;
    padding: 15px;
    opacity: 1;
    transform: scale(1);
    background-color: rgba(30, 30, 30, 0.95);
    border-color: #4CAF50;
}

.timer-section.expanded .notification-controls {
    display: block !important;
}

.timer-section .notification-controls {
    display: none;
}

.timer-controls {
    position: absolute;
    top: 5px;
    right: 8px;
    display: flex;
    gap: 5px;
}

.timer-toggle, .settings-toggle {
    background: transparent;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    font-size: 1em;
    padding: 2px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.timer-toggle:hover, .settings-toggle:hover {
    background-color: rgba(76, 175, 80, 0.2);
}

.timer-toggle.active {
    color: #FFD700;
    background-color: rgba(76, 175, 80, 0.2);
}

.timer-section h3 {
    color: #4CAF50;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    text-align: center;
}

.countdown-timer {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    margin: 5px 0;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    text-align: center;
}

.next-boss-info {
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    border-left: 3px solid #4CAF50;
}

.next-boss-name {
    font-size: 1em;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 3px;
}

.next-boss-location {
    color: #90ee90;
    font-size: 0.9em;
    margin-bottom: 3px;
}

.notification-controls {
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

.notification-controls h4 {
    color: #4CAF50;
    margin: 0 0 8px 0;
    font-size: 0.95em;
}

.sound-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 5px;
}

.sound-control label {
    color: #e0e0e0;
    font-size: 0.85em;
    min-width: 70px;
}

.sound-toggle-btn {
    padding: 4px 8px;
    border: 1px solid #4CAF50;
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8em;
    flex: 1;
    text-align: center;
}

.sound-toggle-btn:hover {
    background-color: #4CAF50;
    color: #121212;
}

.sound-toggle-btn.active {
    background-color: #4CAF50;
    color: #121212;
}

.sound-select {
    padding: 4px;
    border: 1px solid #4CAF50;
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-radius: 4px;
    font-size: 0.8em;
    flex: 1;
    cursor: pointer;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.volume-slider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.volume-display {
    font-size: 0.75em;
    color: #90ee90;
    min-width: 30px;
}

.warning-timer {
    color: #FF6B6B !important;
    animation: pulse 1s infinite;
}

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

/* Lottery Styles */
.lottery-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.lottery-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.lottery-text {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.range-section {
    margin-top: 15px;
}

.lottery-input {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-accent);
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    width: 80px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.lottery-input:focus {
    outline: none;
    border-color: var(--text-accent);
    background: var(--bg-primary);
}

.range-input {
    width: 100px;
}

.options-section {
    margin: 30px 0;
}

.options-toggle {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.options-toggle:hover {
    background: var(--hover-bg);
    border-color: var(--text-accent);
}

.options-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    text-align: left;
}

.option-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-primary);
    cursor: pointer;
    gap: 10px;
}

.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--text-accent);
}

.lottery-button {
    width: 100%;
    background: linear-gradient(135deg, var(--text-accent), #66bb6a);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
}

.lottery-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.lottery-results {
    background: var(--bg-secondary);
    border: 2px solid var(--text-accent);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.lottery-results h3 {
    color: var(--text-accent);
    margin: 0 0 20px 0;
    font-size: 1.5em;
}

.results-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    min-height: 60px;
    align-items: center;
}

.result-number {
    background: linear-gradient(135deg, var(--text-accent), #66bb6a);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px;
    border-radius: 50%;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 0.5s ease;
}

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0 15px 0;
}

.results-actions button {
    background: var(--bg-tertiary);
    border: 1px solid var(--text-accent);
    border-radius: 6px;
    color: var(--text-accent);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.results-actions button:hover {
    background: var(--text-accent);
    color: white;
}

.draw-info {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 15px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Help Modal Styles */
.help-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 10000;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.help-modal-overlay.show {
    display: flex;
}

.help-modal {
    background: var(--bg-secondary);
    border: 2px solid var(--border-accent);
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    margin: 20px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.help-modal h3 {
    color: var(--text-accent);
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 1.5em;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 10px;
}

.help-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-accent);
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.help-close:hover {
    transform: scale(1.2);
}

.help-section {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--text-accent);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.help-section h4 {
    color: var(--text-accent);
    margin: 0 0 10px 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    color: var(--text-primary);
    margin: 5px 0;
    line-height: 1.5;
}

.help-example {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-family: monospace;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.help-timeline {
    background: var(--bg-primary);
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.help-timeline-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    padding: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.help-timeline-icon {
    font-size: 1.2em;
    min-width: 25px;
}

.help-tip {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: bold;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .timer-section {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 1201px) {
    .container {
        max-width: calc(100vw - 340px);
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .boss-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .boss-header {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }

    .boss-header h2 {
        text-align: center;
    }

    .boss-info {
        width: 100%;
    }

    .lottery-text {
        font-size: 1.5em;
    }
    
    .lottery-input {
        font-size: 1em;
        width: 60px;
    }
    
    .range-input {
        width: 80px;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .results-actions button {
        width: 150px;
    }

    .help-modal {
        max-width: 95%;
        margin: 10px;
        padding: 20px;
        max-height: 90vh;
    }
    
    .help-modal h3 {
        font-size: 1.3em;
    }
    
    .help-section h4 {
        font-size: 1.1em;
    }
    
    .help-timeline-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .help-timeline-icon {
        align-self: center;
        margin-bottom: 5px;
    }
}

@media (min-width: 600px) {
    .controls-container {
        flex-direction: row;
    }

    .boss-header img {
        width: 100px;
        height: 100px;
    }

    .boss-header .boss-spawn-img {
        width: 120px;
    }

    .boss-header .boss-spawn-img:hover {
        transform: scale(3);
        z-index: 1000;
        position: relative;
    }

    .nav-tab {
        font-size: 1.1em;
        padding: 18px 25px;
    }

    .event-header {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .event-header img {
        width: 150px;
        margin-right: 20px;
    }

    .event-header img:hover {
        width: 400px;
    }
} 
/* ===== LAYOUT PRINCIPAL COM SIDEBARS ===== */
.main-layout {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    min-width: 0; /* Permite que o conteúdo principal encolha */
}

/* ===== SIDEBARS ===== */
.left-sidebar,
.right-sidebar {
    width: 160px;
    flex-shrink: 0;
}

.sidebar-content {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaço discreto entre os anúncios */
}

/* ===== CONTAINERS DE ANÚNCIOS ===== */
.adsense-container {
    margin: 0;
    text-align: center;
}

.sidebar-ad {
    width: 160px;
    min-height: 200px; /* Altura discreta */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.bottom-ad {
    width: 100%;
    max-width: 728px;
    margin: 20px auto;
    min-height: 90px;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .left-sidebar,
    .right-sidebar {
        width: 140px;
    }
    
    .sidebar-ad {
        width: 140px;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .left-sidebar,
    .right-sidebar {
        width: 100%;
        order: 3; /* Mover anúncios para o final */
    }
    
    /* Combinar as duas sidebars em uma única linha */
    .left-sidebar {
        margin-bottom: 0;
    }
    
    .right-sidebar {
        margin-top: 0;
    }
    
    .main-content {
        order: 1;
    }
    
    .sidebar-content {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 0;
        justify-content: center;
    }
    
    .sidebar-ad {
        width: calc(25% - 8px); /* Quatro anúncios por linha quando combinados */
        min-height: 180px;
        flex-shrink: 0;
        min-width: 120px; /* Largura mínima para caber 4 anúncios */
    }
    
    .bottom-ad {
        min-height: 50px;
    }
    
    /* Melhorias na navegação mobile */
    .nav-tabs {
        flex-wrap: wrap;
        gap: 2px;
        border-bottom: none;
    }
    
    .nav-tab {
        flex: 1 1 calc(50% - 1px); /* Duas abas por linha */
        font-size: 0.85em;
        padding: 12px 6px;
        text-align: center;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: 0;
        margin-bottom: 2px;
        border-radius: 6px;
    }
    
    .nav-tab:nth-child(odd) {
        margin-right: 2px;
    }
    
    .nav-tab:last-child {
        flex: 1 1 100%; /* Última aba ocupa linha inteira */
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .sidebar-ad {
        width: 100%; /* Um anúncio por linha no mobile */
        min-height: 200px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .sidebar-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    /* Navegação ainda mais compacta */
    .nav-tab {
        font-size: 0.8em;
        padding: 10px 4px;
        flex: 1 1 calc(50% - 1px);
    }
    
    .nav-tab:nth-child(odd) {
        margin-right: 2px;
    }
    
    .nav-tab:last-child {
        flex: 1 1 100%;
        font-size: 0.8em; /* Mesmo tamanho das outras */
    }
    
    /* Melhorar espaçamento geral mobile */
    .container {
        padding: 0 10px;
    }
    
    body {
        padding: 10px;
    }
    
    .nav-container {
        margin-bottom: 15px;
    }
}

/* ===== CONTAINERS DE ANÚNCIOS ===== */
.adsense-container {
    margin: 0;
    text-align: center;
}

.bottom-ad {
    width: 100%;
    max-width: 728px;
    margin: 20px auto;
    min-height: 90px;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

/* ===== ESTILOS PARA ANÚNCIOS REAIS ===== */
.adsense-container ins {
    display: block;
    width: 100%;
    height: 100%;
}

.adsense-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* ===== CLASSES PARA PLACEHOLDERS DOS ANÚNCIOS ===== */
.ad-placeholder-sidebar {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    padding: 8px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.7em;
    border-radius: 4px;
}

.ad-placeholder-banner {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin: 20px 0;
    border-radius: 8px;
}

.ad-placeholder-mobile {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    padding: 15px;
    text-align: center;
    color: var(--text-secondary);
    border-radius: 8px;
}

/* ===== CLASSES PARA OUTROS ELEMENTOS ===== */
.future-updates-card {
    border: 2px dashed #4CAF50;
    background-color: #1a2a1a;
}

.future-item {
    background-color: #2a2a2a;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border-left: 3px solid #FFD700;
}

/* ===== SEÇÃO DE ANÚNCIOS MOBILE ===== */
.mobile-ads-section {
    display: none; /* Oculto por padrão */
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    margin-top: 30px;
    padding: 20px 0;
}

.mobile-ads-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.mobile-ads-container h3 {
    color: var(--text-accent);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.mobile-banner-ad {
    width: 100%;
    margin-bottom: 20px;
}

.mobile-banner-ad .ad-placeholder {
    min-height: 100px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.mobile-ads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.mobile-square-ad .ad-placeholder {
    min-height: 200px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

/* Mostrar anúncios mobile apenas em telas pequenas */
@media (max-width: 768px) {
    .mobile-ads-section {
        display: block;
    }
    
    /* Permitir que sidebars sejam exibidas em mobile junto com mobile-ads-section */
}

@media (max-width: 480px) {
    .sidebar-ad {
        width: calc(50% - 5px); /* Dois anúncios por linha em mobile pequeno */
        min-height: 160px;
        min-width: 140px;
    }
    
    .sidebar-content {
        gap: 8px;
        padding: 8px 0;
        flex-wrap: wrap; /* Permite quebra de linha em telas muito pequenas */
    }
    
    /* Mobile ads grid */
    .mobile-ads-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile pequeno */
        gap: 10px;
    }
    
    .mobile-square-ad .ad-placeholder {
        min-height: 250px;
    }
    
    .mobile-banner-ad .ad-placeholder {
        min-height: 80px;
    }
}

/* ===== MELHORIAS NO CONTAINER PRINCIPAL ===== */
.container {
    max-width: 100%;
    margin: 0;
    position: relative;
}

/* ===== AJUSTES PARA O TIMER SECTION ===== */
.timer-section {
    position: relative;
    z-index: 10;
}

/* ===== AJUSTES PARA MODAIS ===== */
.help-modal-overlay {
    z-index: 10000;
}

/* ===== AJUSTES PARA CONTROLES ===== */
.theme-controls {
    z-index: 1000;
}

/* ===== AJUSTES PARA WHATSAPP FLOAT ===== */
.whatsapp-float {
    z-index: 999;
}

