/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.image-container img {
    max-width: 36px;
    height: auto;
}

.packages {
    margin-bottom: 20px;
}

.package {
    background-color: #eaeaea;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.package h3 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-size: 1.5rem;
}

.package p {
    margin: 5px 0;
    font-size: 1rem;
}

.package button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.package button:hover {
    background-color: #0056b3;
}

.earnings {
    margin-top: 20px;
}

.earnings p {
    font-size: 2rem;
    color: #28a745;
    margin: 0;
}

#withdrawButton {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#withdrawButton:hover {
    background-color: #218838;
}

#withdrawButton:active {
    background-color: #1e7e34;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    .package h3 {
        font-size: 1.25rem;
    }

    .package p {
        font-size: 0.9rem;
    }

    .package button, #withdrawButton {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .earnings p {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .package h3 {
        font-size: 1.1rem;
    }

    .package p {
        font-size: 0.85rem;
    }

    .package button, #withdrawButton {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .earnings p {
        font-size: 1.5rem;
    }
}
