/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #ff7eb9, #7afcff); /* Initial gradient */
    font-family: 'Arial', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Ensure mobile-friendly scaling */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 20px;
    }

    .gradient-container {
        width: 100%;
        padding: 10px;
    }
    
    .gradient-button {
        padding: 10px 15px;
    }
}

/* Container for the gradient content */
.gradient-container {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

/* Profile picture styling */
.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header with gradient effect */
.gradient-header {
    font-size: 2rem;
    background: linear-gradient(90deg, #ff7eb9, #7afcff);
    -webkit-background-clip: text;
    color: transparent; /* Gradient text effect */
    margin-bottom: 15px;
}

/* Description paragraph */
.gradient-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}

/* Links section */
.links {
    display: flex;
    flex-direction: column;
}

/* Gradient button styling */
.gradient-button {
    display: inline-block;
    margin: 10px 0;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #ff7eb9, #7afcff);
    border-radius: 30px; /* Rounded button for soft feel */
    transition: background 0.5s ease, transform 0.3s, content 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

/* Button hover effect with gradient shift and text change */
.gradient-button:hover {
    background: linear-gradient(135deg, #ff65a3, #50caff);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Customizer section */
.customizer {
    margin-top: 40px;
    text-align: center;
}

.customizer input {
    margin: 5px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#apply-gradient {
    padding: 10px 20px;
    background: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#apply-gradient:hover {
    background: #555;
}

/* Soft Gradient Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px; /* Slim scrollbar */
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2); /* Transparent-like track */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-gradient, linear-gradient(135deg, #ff7eb9, #7afcff)); /* Use the custom variable */
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.5); /* Soft border around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-gradient, linear-gradient(135deg, #ff65a3, #50caff)); /* Brighter gradient on hover */
}

/* Style the input color boxes to appear thicker */
input[type="color"] {
    border: none;
    width: 25px; /* Increase the width */
    height: 25px; /* Increase the height */
    border-radius: 10px; /* Rounded corners */
    padding: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

input[type="color"]::-webkit-color-swatch {
    border: none; /* Remove inner border */
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}