/* Accordion Styles for Release Notes */
.accordion-item {
    padding: 0;
    margin-bottom: 10px;
    border-radius: 7px;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.07);
    overflow: hidden;
    transition: background 0.2s;
}
.accordion-header {
    padding: 10px 14px;
    font-size: 15px;
    color: #feca57;
    font-weight: bold;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}
.accordion-header:hover {
    background: #232742;
}
.accordion-content {
    padding: 10px 18px 12px 18px;
    font-size: 14px;
    color: #e0e6f6;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: fadeInAccordion 0.2s;
}
@keyframes fadeInAccordion {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Footer Styles */
.footer {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.version-info {
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.copyright-text {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
}

.reset-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.tab-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-icon {
    font-size: 24px;
}

.tab-text {
    font-size: 12px;
    font-weight: bold;
}

.tab-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tab-timer {
    font-size: 10px;
    color: #feca57;
    font-weight: bold;
}

.tab-badge {
    font-size: 8px;
    background: #e74c3c;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* News Overlay Styles */
.news-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 22, 40, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.news-content {
    background: linear-gradient(135deg, #232742 60%, #2d325a 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 32px 28px 24px 28px;
    min-width: 340px;
    max-width: 95vw;
    min-height: 320px;
    max-height: 80vh;
    overflow-y: auto;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
}

.news-tab-btn {
    background: none;
    border: none;
    color: #b2b8d6;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
}
.news-tab-btn.active, .news-tab-btn:hover {
    background: #232742;
    color: #fff;
}

.news-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.news-close-btn:hover {
    background: #e74c3c;
    color: #fff;
}

.news-tab-section {
    padding: 10px 0 0 0;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    background: rgba(255,255,255,0.06);
    border-radius: 7px;
    margin-bottom: 10px;
    padding: 10px 14px;
    font-size: 15px;
    color: #e0e6f6;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.07);
    transition: background 0.2s;
}
.news-list li b {
    color: #feca57;
    font-weight: bold;
}
.news-list li:last-child {
    margin-bottom: 0;
}

.news-tab-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    color: #feca57;
    letter-spacing: 0.5px;
}

/* Upcoming Features Styles */
.clickable-feature {
    cursor: pointer;
    background: linear-gradient(90deg, #232742 80%, #2d325a 100%);
    color: #feca57;
    transition: background 0.2s, color 0.2s;
}
.clickable-feature:hover {
    background: #feca57;
    color: #232742;
}

.feature-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20,22,40,0.85);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.feature-modal {
    background: #232742;
    border-radius: 14px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 28px 24px 18px 24px;
    min-width: 260px;
    max-width: 90vw;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.feature-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.feature-modal-close:hover {
    background: #e74c3c;
    color: #fff;
}
.feature-modal-content h4 {
    margin: 0 0 10px 0;
    color: #feca57;
    font-size: 18px;
}
.feature-modal-content p {
    margin: 0;
    font-size: 15px;
    color: #e0e6f6;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .tab-item {
        padding: 8px;
    }
    
    .tab-icon {
        font-size: 20px;
    }
    
    .tab-text {
        font-size: 11px;
    }
    
    .version-info {
        bottom: 4px;
        right: 12px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .footer-tabs {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
    
    .tab-item {
        padding: 6px;
    }
    
    .tab-icon {
        font-size: 18px;
    }
    
    .tab-text {
        font-size: 10px;
    }
    
    .tab-timer {
        font-size: 9px;
    }
    
    .tab-badge {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .version-info {
        bottom: 3px;
        right: 10px;
        font-size: 8px;
    }
    
    .copyright-text {
        font-size: 7px;
    }
    
    .reset-button {
        font-size: 10px;
        padding: 1px 4px;
    }
}

@media (max-width: 600px) {
    .news-content {
        min-width: 90vw;
        padding: 18px 6vw 12px 6vw;
    }
    .news-tab-btn {
        font-size: 14px;
        padding: 7px 10px;
    }
    .news-list li {
        font-size: 13px;
        padding: 8px 8px;
    }
}
