@font-face {
    font-family: 'AverageMono';
    src: url('AverageMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'AverageMono', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    color: #e0e0e0;
    background: #0a0a0a;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    height: 100vh;
    justify-content: center;
}

.updates-box {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.updates-box:hover {
    transform: translateY(-3px);
    border-color: #3a3a3a;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.updates-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}

.click-hint {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.download-section {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.download-section h1 {
    font-size: 48px;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 700;
}

.download-btn {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(3px);
    color: white;
    border: 2px solid #3a3a3a;
    padding: 20px 60px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'AverageMono', monospace;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(51, 51, 51, 0.8);
    border-color: #4a4a4a;
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.version {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #1a1a1a;
    padding: 40px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.close {
    color: #666;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #fff;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 28px;
}

.update-item {
    padding: 20px;
    margin-bottom: 20px;
    background: #0a0a0a;
    border-radius: 8px;
    border-left: 3px solid #3a3a3a;
}

.update-item:last-child {
    margin-bottom: 0;
}

.update-item h3 {
    color: #ffffff;
    margin: 8px 0;
    font-size: 18px;
}

.date {
    display: inline-block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.update-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #b0b0b0;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .download-section h1 {
        font-size: 32px;
    }
    
    .download-btn {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    .updates-box {
        padding: 20px;
    }
    
    .container {
        gap: 40px;
    }
    
    .modal-content {
        padding: 25px;
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
}
