.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 48px 20px 80px; background: #fff; }
.hero-logo { font-size: 22px; font-weight: 700; letter-spacing: -.5px; color: var(--black); margin-bottom: 48px; align-self: flex-start; }
.hero-title { font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: -.03em; text-align: center; line-height: 1.1; max-width: 640px; margin-bottom: 12px; }
.hero-sub { font-size: 19px; color: var(--gray); text-align: center; margin-bottom: 40px; }

.drop-zone {
    width: 100%; max-width: 640px;
    border: 2px dashed var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    transition: border-color .2s, background .2s, transform .15s;
    cursor: pointer;
    background: var(--light);
    position: relative;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--blue); background: #f0f6ff; }
.drop-zone.dragover { transform: scale(1.01); }
.drop-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.drop-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.drop-hint { font-size: 15px; color: var(--gray); margin-bottom: 24px; }
.btn-select {
    display: inline-block; padding: 12px 28px; background: var(--blue); color: #fff;
    border: none; border-radius: 980px; font-size: 17px; font-weight: 500;
    transition: background .2s, transform .1s;
}
.btn-select:hover { background: var(--blue-hover); }
.btn-select:active { transform: scale(.97); }
.drop-accept { font-size: 13px; color: var(--gray); margin-top: 12px; }

.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 20px; text-align: left; }
.preview-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #e5e5ea; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-video { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.preview-remove {
    position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
    background: rgba(0,0,0,.55); border: none; border-radius: 50%; color: #fff;
    font-size: 12px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s;
}
.preview-remove:hover { background: var(--red); }

.upload-footer { width: 100%; max-width: 640px; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.file-count { font-size: 15px; color: var(--gray); }
.btn-upload {
    padding: 14px 36px; background: var(--blue); color: #fff; border: none;
    border-radius: 980px; font-size: 17px; font-weight: 600;
    transition: background .2s, transform .1s, opacity .2s;
}
.btn-upload:hover:not(:disabled) { background: var(--blue-hover); }
.btn-upload:active:not(:disabled) { transform: scale(.97); }
.btn-upload:disabled { opacity: .5; cursor: not-allowed; }

.progress-bar { width: 100%; max-width: 640px; margin-top: 12px; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--blue); border-radius: 2px; transition: width .3s ease; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; width: 100%; max-width: 640px; margin-top: 48px; }
.feature-card { background: var(--light); border-radius: var(--radius); padding: 24px 20px; }
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.feature-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.feature-desc { font-size: 15px; color: var(--gray); line-height: 1.4; }

.error-msg { width: 100%; max-width: 640px; margin-top: 12px; padding: 12px 16px; background: #fff2f1; border: 1px solid #ffd0ce; border-radius: 8px; color: var(--red); font-size: 15px; }

@media (max-width: 480px) {
    .hero { padding: 32px 16px 60px; }
    .drop-zone { padding: 32px 16px; }
    .upload-footer { flex-direction: column; align-items: stretch; }
    .btn-upload { text-align: center; }
}

.preview-play-badge {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: rgba(255,255,255,.9);
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
    pointer-events: none;
}
