* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #020308;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(140, 60, 255, 0.18), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.14), transparent 35%);
    pointer-events: none;
}

.wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.card {
    width: 100%;
    max-width: 1100px;
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 32px;
    background: rgba(12, 13, 20, 0.94);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 0 60px rgba(0, 120, 255, 0.12);
}

.upload-panel {
    display: flex;
    flex-direction: column;
}

.file-preview {
    min-height: 305px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 24px;
    cursor: pointer;
    transition: 0.25s;
}

.file-preview.drag {
    border-color: #c455d9;
    box-shadow: inset 0 0 40px rgba(196, 85, 217, 0.16);
}

.empty-state {
    height: 255px;
    border: 2px dashed rgba(255,255,255,0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plus {
    width: 46px;
    height: 46px;
    border: 2px solid #9b4ba3;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 34px;
    color: #c86cff;
    margin-bottom: 20px;
}

.empty-state h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.empty-state p {
    margin: 0;
    color: #d9e4ff;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    padding: 16px 18px;
}

.file-icon {
    font-size: 28px;
    color: #c455d9;
}

.file-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.file-data strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-data span {
    font-size: 14px;
    color: #d9e4ff;
}

.remove-file {
    background: none;
    border: 0;
    color: rgba(255,255,255,0.55);
    font-size: 34px;
    cursor: pointer;
    padding: 0 6px;
}

.remove-file:hover {
    color: white;
}

.file-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 24px 0;
}

.choose-file {
    background: none;
    border: 0;
    color: white;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.choose-file span {
    width: 24px;
    height: 24px;
    border: 1px solid #c455d9;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #c455d9;
    font-size: 22px;
}

.total-size {
    color: #d9e4ff;
    font-size: 14px;
}

.options {
    margin-bottom: 22px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

select,
.password-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.24);
    color: white;
    padding: 8px 10px;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
}

select option {
    background: #231627;
    color: white;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.checkbox-row input {
    width: 24px;
    height: 24px;
}

.password-input {
    display: none;
    width: 100%;
    max-width: 310px;
}

.send-btn {
    border: 0;
    width: 100%;
    background: linear-gradient(135deg, #8b3f8d, #98499a);
    color: white;
    padding: 17px 28px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-size: 16px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(196, 85, 217, 0.35);
}

.send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.progress-wrap {
    display: none;
    width: 100%;
    margin-top: 22px;
}

.progress-bar {
    height: 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #8c3cff, #00d9ff);
}

#progressText {
    text-align: center;
    margin: 8px 0 0;
}

.result {
    margin-top: 20px;
    width: 100%;
    word-break: break-all;
}

.result a {
    color: #7ee7ff;
    font-weight: 700;
}

.copy-btn {
    margin-top: 14px;
    border: 0;
    background: linear-gradient(135deg, #8c3cff, #c455d9);
    color: white;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.error {
    color: #ff6b6b;
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 35px;
}

.info h1 {
    font-size: 34px;
    margin: 0 0 16px;
}

.info p {
    color: #fff;
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 900px) {
    .card {
        grid-template-columns: 1fr;
    }

    .info {
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding: 12px;
    }

    .card {
        padding: 18px;
    }

    .file-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .info h1 {
        font-size: 28px;
    }
}
.badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(140, 60, 255, 0.45);
    border-radius: 999px;
    background: rgba(140, 60, 255, 0.12);
    color: #cfa8ff;
    font-size: 13px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.feature-grid div {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-grid strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 6px;
}

.feature-grid span {
    color: #b8c7dd;
    font-size: 13px;
}