
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #080d18;
    color: #f1f5f9;
}

header {
    text-align: center;
    padding: 45px 20px 20px;
}

.tag {
    display: inline-block;
    background: #1c2140;
    color: #a5b4fc;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 2px;
}

h1 {
    font-size: 48px;
    margin: 18px 0 0;
    letter-spacing: -2px;
}

h1 span {
    color: #818cf8;
}

p {
    color: #94a3b8;
}

main {
    max-width: 850px;
    margin: 10px auto;
    padding: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    background: #111827;
    border: 1px solid #263247;
    border-radius: 14px;
    padding: 20px;
}

.stat small {
    color: #94a3b8;
    display: block;
    margin-bottom: 12px;
}

.stat strong {
    color: #818cf8;
    font-size: 26px;
}

.panel {
    background: #111827;
    border: 1px solid #263247;
    border-radius: 20px;
    padding: 30px;
}

.upload {
    border: 2px dashed #475569;
    background: #0c1322;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    transition: 0.2s;
}

.upload:hover, .upload.dragover {
    border-color: #818cf8;
    background: #1b2340;
}

.upload-icon {
    background: #252b50;
    color: #a5b4fc;
    border-radius: 14px;
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 32px;
    margin: auto;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

input:not([type="file"]), select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    background: #080d18;
    color: white;
    border: 1px solid #334155;
    border-radius: 8px;
}

input[type="range"] {
    padding: 0;
    accent-color: #818cf8;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 16px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #4f46e5;
}

button:disabled {
    opacity: 0.5;
    cursor: wait;
}

button.secondary {
    width: auto;
    background: #252b50;
    color: #c7d2fe;
    padding: 12px 22px;
}

.privacy {
    text-align: center;
    font-size: 13px;
}

.result {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #080d18;
    border: 1px solid #263247;
    border-radius: 12px;
    overflow-wrap: anywhere;
}

.result img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result a {
    display: inline-block;
    color: #a5b4fc;
    text-decoration: none;
    margin-top: 5px;
}

.gain {
    color: #34d399;
    font-weight: bold;
}

#progress {
    text-align: center;
    color: #a5b4fc;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .stats, .columns {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 18px;
    }

    h1 {
        font-size: 38px;
    }
}
#downloadZip {
    background: #10b981;
    margin-top: 20px;
    color: #ffffff;
}

#downloadZip:hover {
    background: #059669;
}

#downloadZip[hidden] {
    display: none;
}
#downloadZip:disabled {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}
html {
    scroll-behavior: smooth;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 30px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -1.5px;
}

.brand span {
    color: #818cf8;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

header {
    padding: 65px 20px 50px;
    text-align: center;
}

header h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 24px 0;
}

header p {
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.7;
    color: #94a3b8;
}

.cta {
    display: inline-block;
    background: #6366f1;
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin: 20px 0;
    transition: 0.2s;
}

.cta:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.trust {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 10px;
}

.panel {
    border: 1px solid #334155;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .nav-link {
        font-size: 12px;
    }

    header {
        padding: 35px 15px;
    }
}