body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 14px;
}

.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-image: url('https://scalovate.com/wp-content/uploads/2023/11/Scalovate_Logo_Black.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    opacity: 0.1;
    filter: blur(10px);
    z-index: -1;
}

.aits-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 50vh;
    background-image: url('https://scalovate.com/wp-content/uploads/2023/11/Scalovate_Logo_Black.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 0.2;
    filter: blur(5px);
    mix-blend-mode: overlay;
    z-index: -1;
}

.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 96px; /* Increased font size */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: pre-wrap; /* Allow line breaks */
    z-index: -1;
    width: 100%;
}

.container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin: 20px 0;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 24px;
}

.controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

label {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
}

input, select, button {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-size: 14px;
}

input:focus, select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 16px auto;
    padding-right: 30px;
    color: #ffffff; /* Ensure text color is white */
}

select option {
    background-color: #2c3e50; /* Dark background for options */
    color: #ffffff; /* White text color for options */
}

input[type="color"] {
    height: 40px;
    padding: 5px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    background-color: rgba(52, 152, 219, 0.8);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
}

button:hover {
    background-color: rgba(52, 152, 219, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#qrcode img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

#downloadButtons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Increased gap between buttons */
    margin-top: 20px;
}

#downloadButtons button {
    flex: 0 1 auto; /* Changed from flex: 1 to allow buttons to have their natural width */
    min-width: 150px; /* Set a minimum width for the buttons */
    padding: 12px 20px; /* Increased padding for larger buttons */
}

.footer-links {
    margin-top: 20px;
    text-align: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    button {
        padding: 10px 15px;
    }
}