/* Changelog Modal Styles */
.changelog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-in;
}

.changelog-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #3498db;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.changelog-header h2 {
    margin: 0;
    color: #3498db;
    font-size: 24px;
    font-family: 'Modesto Condensed', serif;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.close-changelog {
    background: transparent;
    border: none;
    color: #e74c3c;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}

.close-changelog:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: rotate(90deg);
}

.changelog-body {
    padding: 30px;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3498db #1a1a2e;
}

.changelog-body::-webkit-scrollbar {
    width: 8px;
}

.changelog-body::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.changelog-body::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.changelog-version {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #3498db;
    border-radius: 8px;
    transition: all 0.3s;
}

.changelog-version:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}

.version-header h3 {
    margin: 0;
    color: #27ae60;
    font-size: 20px;
    font-weight: bold;
}

.version-date {
    color: #95a5a6;
    font-size: 14px;
    font-style: italic;
}

.changelog-section {
    margin-bottom: 15px;
}

.changelog-section h4 {
    margin: 10px 0;
    color: #3498db;
    font-size: 16px;
    font-weight: bold;
}

.changelog-section ul {
    margin: 5px 0;
    padding-left: 0;
    list-style: none;
}

.changelog-section ul li {
    color: #ecf0f1;
    margin: 5px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.changelog-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Version number hover effect */
.version-number {
    transition: color 0.2s, text-shadow 0.2s;
}

.version-number:hover {
    color: #3498db !important;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .changelog-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .changelog-header {
        padding: 15px 20px;
    }
    
    .changelog-header h2 {
        font-size: 20px;
    }
    
    .changelog-body {
        padding: 20px;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-date {
        margin-top: 5px;
    }
}
