:root {
    --size-multiplier: 1.6;
}

body {
    background-color: #2d2c38;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1em * var(--size-multiplier));
}

.container {
    width: 90%;
    max-width: calc(900px * var(--size-multiplier));
    background-color: #3d3c48;
    padding: calc(20px * var(--size-multiplier));
    border-radius: calc(15px * var(--size-multiplier));
    box-shadow: 0 calc(4px * var(--size-multiplier)) calc(8px * var(--size-multiplier)) 0 rgba(0,0,0,0.2);
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: calc(20px * var(--size-multiplier));
}

input[type="email"], input[type="text"], input[type="number"], .usdt-address-section input, .address-section input {
    width: calc(100% - 20px); /* Adjusted to fill available space, accounting for padding */
    padding: calc(10px * var(--size-multiplier));
    margin-bottom: calc(10px * var(--size-multiplier)); /* Improved centering */
    border-radius: calc(10px * var(--size-multiplier));
    border: 1px solid #ccc;
    background-color: #2d2c38;
    color: white;
    display: block;
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

input[type="email"]:focus, input[type="text"]:focus, input[type="number"]:focus, .usdt-address-section input:focus, .address-section input:focus {
    outline: none;
    border-color: #555;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(5px * var(--size-multiplier));
}

.button-group button {
    padding: calc(10px * var(--size-multiplier));
    border-radius: calc(10px * var(--size-multiplier));
    border: none;
    color: white;
    cursor: pointer;
    flex-grow: 1; /* Ensures buttons fill the space */
    margin: 0 calc(5px * var(--size-multiplier)); /* Spacing between buttons */
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

.button-group button:first-child {
    background-color: #50c878; /* A lighter green */
    margin-left: 0;
}

.button-group button:nth-child(2) {
    background-color: #ff6961; /* A lighter red */
}

.button-group button:last-child {
    background-color: #50c878; /* A lighter green */
    margin-right: 0;
}

.terms-section {
    display: flex;
    align-items: center;
    margin-top: calc(10px * var(--size-multiplier));
    margin-bottom: calc(15px * var(--size-multiplier));
}

#terms-checkbox {
    transform: scale(calc(1.5 * var(--size-multiplier)));
    margin-right: calc(10px * var(--size-multiplier));
    cursor: pointer;
}

#terms-label a {
    color: white;
    text-decoration: none;
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

#terms-label a:visited {
    color: white;
}

.address-section {
    text-align: left;
    margin-bottom: calc(15px * var(--size-multiplier));
}

.address-section span {
    color: white;
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

#usdt-address-field, #bnb-address-field, #sol-usdt-address-field {
    cursor: pointer;
    background-color: #3d3c48;
    color: #fff;
    text-align: center;
    width: calc(100% - 20px); /* Adjusted to fill available space, accounting for padding */
    margin-bottom: calc(10px * var(--size-multiplier)); /* Improved centering */
    padding: calc(10px * var(--size-multiplier));
    border-radius: calc(10px * var(--size-multiplier));
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

#result {
    margin-bottom: calc(10px * var(--size-multiplier));
    text-align: center;
    color: #76ff03;
    font-size: calc(1em * var(--size-multiplier)); /* Text scaling */
}

#terms-label a {
    text-decoration: underline;
}
