/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0f3f, #1d4ed8);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    color: #fff;
}

.container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 35px;
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.7s ease forwards;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.9;
}

input[type="file"] {
    padding: 12px;
    width: 100%;
    border: 2px dashed #ffffff55;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    transition: 0.3s ease;
}

input[type="file"]:hover {
    border-color: #fff;
}

#convertBtn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

#convertBtn:hover {
    background: #2563eb;
}

#preview {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#preview img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: popIn 0.3s ease;
}

.ad-container {
    margin-top: 25px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
