
body {
    font-family: 'Pretendard', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 40px 0;
    background: linear-gradient(to right top, #d4eaf7, #a4c9e4, #75aace, #478cb8, #006da1);
    color: #2D3748; /* Dark Gray Blue */
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><g fill-opacity="0.2"><rect fill="%23a4c9e4" width="800" height="800"/><path fill="%23eaf6ff" d="M700 0L0 700V0h700zM800 700L100 0v700h700z"/></g></svg>');
    opacity: 0.2;
    pointer-events: none;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 90%;
    max-width: 700px;
}

h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1A202C; /* Darker Slate Blue */
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    transform: scale(0);
}

.generate-button {
    background: linear-gradient(45deg, #20bf55, #01baef);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(32, 191, 85, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-button:hover, .generate-button:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(1, 186, 239, 0.6);
    outline: none;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

/* Info Section Styles */
.info-container {
    margin-top: 30px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.info-button {
    background: linear-gradient(45deg, #3762E2, #6F42C1);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(55, 98, 226, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-button:hover, .info-button:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(111, 66, 193, 0.7);
    outline: none;
}

.info-box {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 50px;
    text-align: left;
    transition: all 0.3s ease;
}

/* Hide empty info-box */
.info-box:empty {
    display: none;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #005A9C;
    border-bottom: 1px solid rgba(0, 90, 156, 0.2);
    padding-bottom: 10px;
    font-weight: 600;
}

.info-box p {
    margin: 5px 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 20px 0;
    }
    .container {
        padding: 30px 20px;
        width: 95%;
    }
    h1 {
        font-size: 2rem;
    }
    .number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .generate-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Contact Form Styles */
.contact-container {
    margin-top: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.contact-form h2 {
    text-align: center;
    color: #1A202C;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2D3748; /* Dark Gray Blue */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #2D3748;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: rgba(45, 55, 72, 0.6);
}


.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center; /* Center the button in the column flex container */
    width: fit-content;
}

.submit-button:hover, .submit-button:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.7);
    outline: none;
}
