* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #6C63FF, #FF6CAB); /* Gen Z gradient */
    align-items: center;
    color: #fff;
    text-align: center;
}

.container {
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism effect */
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 900px; /* Increased max-width for larger screens */
    width: 90%;
    margin: 40px auto; /* Adjusted margin for better spacing */
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

input[type="url"],
select,
select {
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1em;
    outline: none;
    transition: all 0.3s ease;
}

input[type="url"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

select option {
    background-color: #333; /* Darker background for dropdown options */
    color: #fff;
}

input[type="url"]:focus,
select:focus {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

button {
    background: linear-gradient(45deg, #00C9FF, #92FE9D); /* Neon button */
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 201, 255, 0.6);
}

.live-counter h3 {
    font-size: 1.5em;
    color: #fff;
}

#activeQrCount {
    font-size: 1.8em;
    font-weight: bold;
    color: #92FE9D; /* Highlight color */
}

.qr-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 20px; /* Adjusted margin as button is now above */
    display: inline-block; /* To center the card */
    animation: pulse 2s infinite alternate;
    position: relative; /* Keep relative for potential future use or other elements */
}

.qr-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qr-card p {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 30px; /* Add some space below the paragraph */
}

.dispose-form {
    /* Positioning handled by JavaScript */
    cursor: grab;
    z-index: 1000; /* Ensure it's above other content */
}

#countdown {
    font-size: 1.8em;
    font-weight: bold;
    color: #FF6347; /* Bold red for countdown */
}

footer {
    margin-top: auto; /* Revert to auto margin for footer */
    padding: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

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

@keyframes pulse {
    from { transform: scale(1); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); }
    to { transform: scale(1.02); box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5); }
}