/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #6a0dad, #2f1045, #ff007f);
    background-size: 200% 750%;
    animation: gradientShift 10s ease infinite;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    padding: 20px;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff0033;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.delete-button:hover {
    transform: scale(1.1);
    background: #ff1a4d;
}

.notifications-list {
    position: relative;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.notifications-list li {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ff79c6;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.notifications-list li p {
    margin: 0;
    font-size: 1em;
    color: #ffffff;
}

.notifications-list li small {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #cccccc;
}

.notifications-list,
.notifications-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.notifications-list li,
.notifications-section li {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ff79c6;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.notifications-list li p,
.notifications-section li p {
    margin: 0;
    font-size: 1em;
    color: #ffffff;
}

.notifications-list li small,
.notifications-section li small {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #cccccc;
}

.notifications-section h3 {
    color: #ff79c6;
    margin-bottom: 15px;
    font-size: 1.5em;
}
.tip-section {
    margin-top: 20px;
    padding: 10px;
    background: #313143;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.tip-section h3 {
    color: #ff79c6;
    margin-bottom: 10px;
	font-size: 1.5em;
}
.tip-section input {
    width: 80%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #6a0dad;
    background: #2f1045;
    color: white;
}
.tip-section button {
    padding: 10px 20px;
    background: #7c58ae;
    color: white;
    border: 2px #6a0dad;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80%;
    font-weight: 900;
}
.tip-section button:hover {
    background: #ff007f;
}
.back-button {
    display: inline-block;
    background: linear-gradient(135deg, #be7ef3, #6e5ccf);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    margin-bottom: 20px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .back-button {
        display: inline-block;
        background: linear-gradient(135deg, #be7ef3, #6e5ccf);
        color: #ffffff;
        text-decoration: none;
        padding: 10px 25px;
        margin-bottom: 20px;
        border-radius: 5px;
        font-size: 1.2em;
        font-weight: bold;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        width: 100%;
    }
}


.back-button:hover {
    background: linear-gradient(135deg, #ff007f, #6a0dad);
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}
/* Profile Grid for Index */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding-top: 20px;
	padding-bottom: 20px;
}

/* Profile Box */
.profile-box {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 400px; /* Maintain a taller aspect ratio */
    background-size: cover; /* Ensure the image covers the box */
    background-position: center; /* Center the image */
    border-radius: 15px;
    margin: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Add a shadow for aesthetics */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensure no overflow from children */
}

.profile-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

/* Overlay for Profile Box */
.profile-box .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 1em;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: transform 0.3s ease;
}

.profile-box .overlay h2 {
    margin: 5px 0;
    font-size: 1.2em;
    color: #ff79c6;
    font-weight: bold;
}

.profile-box .overlay a {
    color: #ff79c6;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
    padding: 8px 15px;
    background-color: #ffffff;
    color: #6a0dad;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.profile-box .overlay a:hover {
    background-color: #ff007f;
    color: #ffffff;
    transform: scale(1.1);
}

/* Profile Picture Styling */
.profile-picture {
    max-width: 100%; /* Fit within container */
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Limit height */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Visual depth */
    object-fit: contain; /* Ensure the full image fits */
}

/* Profile Page */
.profile-page {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    margin: auto;
    max-width: 900px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.8s ease;
}

.profile-page h1 {
    font-size: 2.5em;
    margin-bottom: 0px;
    color: #ff79c6;
    text-align: center;
}

.profile-page p {
    font-size: 1.2em;
    margin: 5px;
}

/* Social Links */
.profile-page .social-links {
    text-align: center;
    margin: 20px 0;
}

.profile-page .social-links a {
    color: #ff007f;
    font-weight: bold;
    text-decoration: none;
    margin: 10px;
    padding: 10px 20px;
    background: #ffffff;
    color: #6a0dad;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-page .social-links a:hover {
    background: #ff79c6;
    color: #ffffff;
}

/* Like Button */
.like-button {
    background-color: #ab76eaad;
    color: #ffffff;
    border: none;
    padding: 5px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    top: 0px;
    position: relative;
    min-width: 25%;
}

.like-button:hover {
    background-color: #ff007f;
    transform: scale(1.05);
}

/* Profile Bio */
.profile-bio {
    text-align: center;
    font-size: 1em;
    color: #ffffff;
    margin: 20px auto;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
/* Profile Gallery Section */
.profile-gallery {
    text-align: center;
    margin: 30px auto;
    max-width: 800px;
}

.profile-gallery h3 {
    font-size: 1.5em;
    color: #ff79c6;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* Individual Gallery Items */
.gallery-item img {
    width: 100%; /* Fit inside the grid column */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Hover Effect */
.gallery-item img:hover {
    transform: scale(1.05);
}
/* Header Banner */
.header-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #1c1b29, #342058);
    color: white;
    text-align: center;
    padding: 25px 15px;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    top: -21px;
    left: 0px;
}

/* Subtle overlay for texture */
.header-overlay {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    padding: 10px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* Gradient Text Animation */
.gradient-text {
    font-size: 2.8em; /* Keeps it luxurious and eye-catching */
    font-weight: bold;
    margin: 0;
    background: linear-gradient(90deg, #ffdf00, #6a0dad, #ff79c6, #ffdf00);
    background-size: 300%; /* Smooth transition effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s linear infinite; /* Faster animation */
}

.header-banner p {
    font-size: 1em;
    color: #d3cfe5; /* Softer text color for contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-top: 8px;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-banner {
        padding: 15px 10px;
    }

    .gradient-text {
        font-size: 1.8em;
    }

    .header-banner p {
        font-size: 0.9em;
    }
}
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.profile-name-container {
    background: linear-gradient(135deg, #380138, #2c001c, purple);
    background-size: 300% 300%;
    animation: gradient-shift 8s ease-in-out infinite;
    border: 1px solid #6a0dad;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    padding: 0px;
    margin: 0px auto;
    max-width: 100%;
    border-radius: 15px;
    text-align: center;
}

.profile-name {
    font-family: 'Courgette', cursive;
    font-size: 2.5em;
        background: linear-gradient(90deg, #e066ed, #f8f1ff);
		animation: gradient-shift 8s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0; /* Remove default margin */
}