* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #4a9eff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, select, textarea {
    font-family: 'Courier New', Courier, monospace;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.container-sm { max-width: 400px; gap: 20px; } 
.container-md { max-width: 500px; }            
.container-lg { max-width: 600px; }            
.container-xl { max-width: 800px; }            

header {
    margin-bottom: 30px;
}

.container-sm header {
    margin-bottom: 10px;
}

h1 {
    font-size: 14px;
    font-weight: normal;
    color: #4a9eff;
    margin-bottom: 5px;
}

.description {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

button.main-menu-btn {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #4a9eff;
    padding: 20px;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    text-align: left;
}

button.main-menu-btn:hover {
    background-color: #222;
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}

button.main-menu-btn:active {
    transform: translateY(2px);
}

button.main-menu-btn::before {
    content: '> ';
    opacity: 0;
    transition: opacity 0.2s;
}

button.main-menu-btn:hover::before {
    opacity: 1;
}

.back-button {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #4a9eff;
    padding: 15px 20px;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    display: inline-block;
    margin-top: 20px;
    text-align: left;
}

.back-button:hover {
    background-color: #222;
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}

.back-button:active {
    transform: translateY(2px);
}

.back-button::before {
    content: '< ';
    opacity: 0;
    transition: opacity 0.2s;
}

.back-button:hover::before {
    opacity: 1;
}

.content-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    margin-bottom: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.content-box::-webkit-scrollbar { width: 8px; }
.content-box::-webkit-scrollbar-track { background: #0a0a0a; }
.content-box::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.content-box::-webkit-scrollbar-thumb:hover { background: #4a9eff; }

.content-box h2 {
    font-size: 12px;
    color: #4a9eff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: normal;
}
.content-box h2:first-child { margin-top: 0; }

.content-box p {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 15px;
}
.content-box ul { list-style: none; margin-bottom: 15px; }
.content-box li {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}
.content-box li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #4a9eff;
}

.section { margin-bottom: 25px; }
.section-title {
    font-size: 12px;
    color: #4a9eff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}
.mod-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mod-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    transition: all 0.2s;
}
.mod-item:hover { border-color: #4a9eff; }
.mod-name { font-size: 13px; color: #4a9eff; margin-bottom: 5px; }
.mod-description { font-size: 11px; color: #999; line-height: 1.5; }
.mod-no-description { font-size: 11px; color: #666; font-style: italic; }

.loading { text-align: center; padding: 20px; color: #666; font-size: 11px; }
.error { color: #ff4a4a; font-size: 11px; padding: 15px; background-color: #1a1a1a; border: 1px solid #333; }
.empty { color: #666; font-size: 11px; padding: 15px; background-color: #1a1a1a; border: 1px solid #333; text-align: center; }

.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.download-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    transition: all 0.2s;
}
.download-item:hover { border-color: #4a9eff; }
.download-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
}
.download-title { font-size: 13px; color: #4a9eff; margin-bottom: 5px; }
.download-version { font-size: 10px; color: #666; }
.download-meta { font-size: 10px; color: #666; text-align: right; }
.download-description {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 15px;
}
.download-btn {
    background-color: #0a0a0a;
    border: 1px solid #333;
    color: #4a9eff;
    padding: 12px 20px;
    font-size: 12px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
    display: inline-block;
}
.download-btn:hover {
    background-color: #222;
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}
.download-btn:active { transform: translateY(2px); }
.download-btn::before {
    content: 'v ';
    opacity: 0;
    transition: opacity 0.2s;
}
.download-btn:hover::before { opacity: 1; }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
}
.contact-item:hover { border-color: #4a9eff; }
.contact-info { flex: 1; min-width: 0; }
.contact-label { font-size: 10px; color: #666; margin-bottom: 5px; }
.contact-handle { font-size: 13px; color: #4a9eff; word-break: break-all; }

.copy-btn {
    background-color: #0a0a0a;
    border: 1px solid #333;
    color: #4a9eff;
    padding: 8px 12px;
    font-size: 11px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.copy-btn:hover {
    background-color: #222;
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}
.copy-btn:active { transform: translateY(2px); }
.copy-btn.copied { color: #00ff00; border-color: #00ff00; }