/* * SKITTER CLOUD - PREMIUM ROYAL BLUE STYLESHEET
 * VERSION: FINAL INTEGRAL - NO SIMPLIFICATION - MOBILE READY
 */

:root {
    --glass-bg: rgba(10, 12, 20, 0.92);
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); 
    --accent: #3b82f6;
    --text-white: #ffffff;
    --text-muted: #64748b;
    --border-soft: rgba(59, 130, 246, 0.12);
    --shadow-premium: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
    --transition-speed: 0.4s;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #02040a;
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* FUNDAL STUDIO DEEP SPACE MULTISTRATIFICAT */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(30, 64, 175, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #05070f 0%, #02040a 100%);
    z-index: -2;
}

/* TEXTURĂ STARDUST PREMIUM */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

/* CARDUL PRINCIPAL GLASSMORPHISM */
.upload-card {
    background: var(--glass-bg);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid var(--border-soft);
    border-radius: 40px;
    padding: 60px;
    width: 100%;
    max-width: 650px;
    box-shadow: var(--shadow-premium);
    text-align: center;
    position: relative;
    animation: cardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* TIPOGRAFIE HEADER */
.header h2 {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 12px;
    line-height: 1;
}

.header h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.2px;
    margin-bottom: 45px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* FORMULAR SI ETICHETE */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label.premium-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 10px;
    padding-left: 5px;
    letter-spacing: 1.2px;
    opacity: 0.9;
}

/* INPUT-URI SI FIX AUTOFILL BROWSER */
input[type="text"], 
input[type="email"], 
input[type="password"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 25px;
    color: #ffffff !important;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0a0c14 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* DROP ZONE UPLOAD */
.drop-zone {
    border: 1px dashed rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    padding: 60px 20px;
    background: rgba(59, 130, 246, 0.01);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-bottom: 30px;
}

.drop-zone:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.04);
    transform: scale(1.01);
}

.drop-zone i {
    font-size: 55px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* BUTON PRINCIPAL PREMIUM */
button.main-btn {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 22px;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -5px rgba(30, 64, 175, 0.4);
    text-transform: uppercase;
}

button.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

/* SISTEM MODAL / POPUP */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 4, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #0a0c14;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 60px;
    border-radius: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    animation: modalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(60px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
    color: #fff;
}

.modal-text {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 35px;
    font-size: 15px;
}

/* LISTE SI ELEMENTE FILE */
.file-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 18px 25px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-soft);
}

/* PROGRESS BAR */
.progress-area {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
}

.progress-bar-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    transition: width 0.3s ease;
}

/* LINK-URI SI TEXTE SECUNDARE */
a.premium-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: 0.3s;
}

.footer-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   MEDIA QUERIES - OPTIMIZARE MOBIL (FĂRĂ TĂIERI)
   ============================================================ */
@media screen and (max-width: 768px) {
    body { padding: 10px; }
    
    .upload-card {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .header h2 {
        font-size: 32px;
        letter-spacing: -1.5px;
    }

    .header p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .drop-zone {
        padding: 40px 15px;
    }

    .drop-zone i {
        font-size: 40px;
    }

    button.main-btn {
        padding: 18px;
        font-size: 15px;
    }
    
    .file-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}