body {
    font-family: 'Arial', sans-serif;
    background: #0d0d0d;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden; /* পুরো পেজের জন্য স্ক্রল বন্ধ */
}

/* Container Styling */
.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    max-height: 80vh;
    overflow-y: auto; /* শুধুমাত্র কনটেইনারের জন্য স্ক্রল */
    position: relative;
}

/* Snowflake Effect */
.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(100vh) translateX(calc(-50px + 100px * random()));
    }
}

/* Header Styling */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

h3.highlight {
    font-size: 18px;
    font-style: italic;
}

h3 span {
    color: #00ffff;
}

/* Input Field Styling */
input[type="text"] {
    width: 90%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #00ffff;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
}

/* Focused Input */
input[type="text"]:focus {
    border-color: cyan;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

/* Placeholder Styling */
input[type="text"]::placeholder {
    color: #00ffff;
    font-style: italic;
    opacity: 0.7;
}

/* Button Styling */
button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: cyan;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    font-style: italic;
}

button:hover {
    background: #00ffff;
    box-shadow: 0 0 10px cyan;
    transform: scale(1.1);
}

/* Art Image Styling */
#artImage {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease-in-out;
    max-height: 80vh; /* ছবি অংশে স্ক্রল করার জন্য */
    overflow-y: auto; /* শুধু ছবি অংশের জন্য স্ক্রল */
}

#artImage:hover {
    transform: scale(1.05);
}

/* Download Button Styling */
#downloadBtn {
    display: none;
    margin: 10px auto;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    background: linear-gradient(45deg, cyan, #00ffff);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease-in-out;
}

#downloadBtn:hover {
    background: linear-gradient(45deg, #00ffff, cyan);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

/* Loader Styling */
.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid cyan;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message styling */
#error-message {
    color: red;
    margin-top: 20px;
}

/* model */

.form-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 🔥 row layout for input + select */
.input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* prompt (bigger) */
.input-row input {
    flex: 2;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #00ffff;
    outline: none;
}

/* model (smaller) */
.input-row select {
    flex: 1;
    padding: 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 2px solid #00ffff;
    background: #fff;
    color: #000;
}

/* button full width below */
.form-card button {
    width: 100%;
    padding: 12px;
    font-size: 17px;
    border-radius: 10px;
    border: none;
    background: cyan;
    cursor: pointer;
}