/* ═══════════════════════════════════════════════════════
   Журнал — Photo Upload v3.0
   Dark premium design — Google Blue accent
   ═══════════════════════════════════════════════════════ */

:root {
    --bg: #0a0a0a;
    --surface: #121212;
    --surface-hover: #1a1a1a;
    --surface-alt: #181818;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --accent-subtle: rgba(59, 130, 246, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(59, 130, 246, 0.3);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --danger: #ef4444;
    --warning: #f59e0b;
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══ Subtle BG Gradient ═══ */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(59, 130, 246, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════
   LANGUAGE SELECTION — Full Screen, 3 Big Buttons
   ═══════════════════════════════════════════════════════ */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lang-modal {
    max-width: 480px;
    width: 90%;
    text-align: center;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
}

.lang-modal-header {
    margin-bottom: 48px;
}

.lang-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-top: 16px;
    letter-spacing: -0.3px;
}

.lang-modal-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

.lang-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.lang-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.lang-option:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), 0 0 20px var(--accent-glow);
}

.lang-option:active {
    transform: translateY(-1px);
}

.lang-flag {
    font-size: 40px;
}

.lang-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ═══ Footer Language Switcher (subtle) ═══ */
.lang-switcher-footer {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 0;
}

.lang-btn-footer {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-fast);
    font-family: inherit;
}

.lang-btn-footer:hover {
    opacity: 0.8;
    color: var(--text-secondary);
}

.lang-btn-footer.active {
    opacity: 1;
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.2);
    background: var(--accent-subtle);
}

/* HIDE the old mini switcher */
.lang-switcher-mini {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════ */
.container {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px;
}

/* ═══ Header — Minimal ═══ */
.header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    -webkit-text-fill-color: unset !important;
}

/* ═══ Card ═══ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

/* ═══ Sections ═══ */
.section {
    margin-bottom: 28px;
}

.section:last-of-type {
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.section-icon {
    font-size: 20px;
}

/* ═══ Form ═══ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-grid .form-group:last-child {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ═══ Upload Notice ═══ */
.upload-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--accent-subtle);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.notice-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════
   DROPZONE — Large, 70%+ of viewport
   ═══════════════════════════════════════════════════════ */
.dropzone {
    border: 2px dashed rgba(59, 130, 246, 0.25);
    border-radius: var(--radius);
    padding: 80px 24px;
    min-height: 280px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(59, 130, 246, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropzone:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.08);
}

.dropzone.dragover {
    border-color: var(--accent-light);
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
    border-style: solid;
}

.dropzone-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.dropzone-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.dropzone-subtext {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-browse {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

/* ═══ Stats ═══ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.stat-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

.stat-vertical .stat-number {
    color: var(--success);
}

.stat-horizontal .stat-number {
    color: var(--warning);
}

.stat-size .stat-number {
    font-size: 18px;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ═══ File List ═══ */
.file-list {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.2) transparent;
}

.file-list::-webkit-scrollbar {
    width: 4px;
}

.file-list::-webkit-scrollbar-track {
    background: transparent;
}

.file-list::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
    border-radius: 2px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: transparent;
    border-radius: var(--radius-xs);
    margin-bottom: 4px;
    transition: var(--transition-fast);
    animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.file-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.file-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.file-orientation {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.orientation-vertical {
    background: var(--success-glow);
    color: var(--success);
}

.orientation-horizontal {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.file-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.file-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

/* ═══ Submit Button ═══ */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-submit:not(:disabled):active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Price Tag */
.price-tag {
    color: var(--success);
    font-weight: 800;
    margin-left: 5px;
}

/* ═══ Features & Pricing ═══ */
.features-section, .about-section {
    margin-top: 40px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.about-content {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* ═══ Footer ═══ */
.footer {
    margin-top: 60px;
    text-align: center;
    padding: 32px 0 16px;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: inline-block;
}

.camera-animation {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    position: relative;
    animation: cameraRotate 4s infinite ease-in-out;
}

@keyframes cameraRotate {
    0%, 100% { transform: rotate(0) scale(1); }
    50% { transform: rotate(8deg) scale(1.05); }
}

.camera-body {
    width: 32px;
    height: 22px;
    background: var(--surface-alt);
    border-radius: 4px;
    position: absolute;
    bottom: 8px;
    left: 8px;
    border: 1.5px solid var(--text-muted);
}

.camera-lens {
    width: 12px;
    height: 12px;
    background: var(--bg);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 8px;
    border: 1.5px solid var(--text-muted);
}

.camera-flash {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 3px;
    animation: flashBlink 3s infinite;
}

@keyframes flashBlink {
    0%, 90%, 100% { opacity: 0; }
    95% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
}

.footer-credits {
    color: var(--text-muted);
    font-size: 12px;
}

/* ═══ Referral Banner ═══ */
.ref-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--success-glow);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--success);
}

.ref-badge {
    font-size: 20px;
}

/* ═══════════════════════════════════════════════════════
   UPLOAD OVERLAY — Full Screen Progress
   ═══════════════════════════════════════════════════════ */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upload-overlay.active {
    display: flex;
    opacity: 1;
}

.overlay-content {
    text-align: center;
    width: 90%;
    max-width: 440px;
}

.upload-spinner {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 32px;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.06);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    animation: spinner-pulse 2s ease-in-out infinite;
}

.overlay-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    font-size: 14px;
    min-height: 20px;
}

/* Progress Bar — Wide, gradient, visible % */
.progress-container {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    height: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar {
    background: var(--gradient-accent);
    height: 100%;
    width: 0%;
    border-radius: 100px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percent {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: -0.5px;
}

/* ═══ Success Page ═══ */
.success-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-card-content {
    width: 100%;
    max-width: 460px;
    animation: slideUpFade 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.success-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-details {
    padding: 16px;
    background: var(--success-glow);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.final-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 10px;
}

.btn-new {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.btn-new:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ═══ Error/Validation Modal ═══ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    width: 90%;
    max-width: 480px;
    padding: 28px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 28px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.error-list {
    list-style: none;
    margin-bottom: 20px;
}

.error-list li {
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--danger);
    margin-bottom: 8px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text);
}

.orientation-guide {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.orientation-guide h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.guide-item {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.btn-modal-close {
    width: 100%;
    padding: 14px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.modal-footer {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .container {
        padding: 20px 16px;
    }

    .card {
        padding: 20px 16px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .form-group:last-child {
        grid-column: auto;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropzone {
        padding: 60px 16px;
        min-height: 240px;
        width: calc(100% + 8px);
        margin-left: -4px;
    }

    .dropzone-icon {
        font-size: 48px;
    }

    .lang-options {
        flex-direction: column;
        gap: 12px;
    }

    .lang-option {
        flex-direction: row;
        padding: 20px 24px;
    }

    .overlay-content h2 {
        font-size: 18px;
    }

    .progress-container {
        height: 10px;
    }

    .features-section, .about-section {
        padding: 20px 16px;
        margin-top: 24px;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .container {
        max-width: 760px;
    }

    .dropzone {
        padding: 100px 40px;
        min-height: 340px;
    }
}

/* ═══ Animations ═══ */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinner-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes slideUpFade {
    0% { transform: translateY(24px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
