@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f2f2f7;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.app-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.app-container:hover {
    transform: translateY(-5px);
}

.header {
    margin-bottom: 25px;
}

.header h1 {
    font-size: 24px;
    color: #ff4081;
    margin-bottom: 10px;
}

.header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    appearance: none;
    width: 100%;
    max-width: 220px;
    text-align: center;
}

button {
    background-color: #ff4081;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 220px;
    align-self: center;
}

button:hover {
    background-color: #e91e63;
}

.result {
    margin-top: 30px;
    font-size: 18px;
    color: #007BFF;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result.visible {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-sizing: border-box;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-button:hover {
    color: #ff4081;
}

/* Social Media Buttons */
.social-media {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    gap: 15px;
    padding: 20px;
    background-color: #f2f2f7;
    width: 100%;
    max-width: 450px;
    margin: 20px auto 0 auto; /* Center container and add margin at the top */
    box-sizing: border-box;
}

.social-button {
    text-decoration: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%; /* Full width for better responsiveness */
    max-width: 300px; /* Ensure buttons don’t stretch too wide */
}

.social-button:hover {
    transform: scale(1.05);
}

.instagram {
    background-color: #C13584;
}

.tiktok {
    background-color: #000;
}

.whatsapp {
    background-color: #25D366;
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 20px;
    }

    .header p {
        font-size: 14px;
    }

    .result {
        font-size: 16px;
    }

    .social-button {
        font-size: 14px;
        padding: 10px;
    }
}
