/* General Styles */
body {
    background: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Centered Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Title Section */
.title {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-gradient 4s infinite linear;
    letter-spacing: 2px;
}

@keyframes text-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Profile Picture - Perfectly Centered */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures perfect horizontal centering */
    justify-content: center; /* Ensures vertical alignment */
    text-align: center;
    width: 100%; /* Takes full width to ensure centering */
    margin-top: 20px;
}

.profile-pic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px; /* Adjusted size */
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(255, 88, 196, 0.7);
    margin: 0 auto; /* Centers it */
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-pic img:hover {
    transform: scale(1.1); /* Adds a cute hover effect */
    box-shadow: 0px 8px 20px rgba(255, 88, 196, 0.8);
}

/* Description Box - Animated Gradient Border */
.description-box {
    border: 3px solid;
    border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3);
    border-image-slice: 1;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    animation: outline-gradient 4s infinite linear;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

@keyframes outline-gradient {
    0% { border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3); }
    50% { border-image-source: linear-gradient(90deg, #d583ff, #ff65a3, #ff7eb3, #ff65a3); }
    100% { border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3); }
}

/* Description Box - Animated Gradient Border */
.description-box {
    border: 3px solid;
    border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3);
    border-image-slice: 1;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    animation: outline-gradient 4s infinite linear;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

@keyframes outline-gradient {
    0% { border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3); }
    50% { border-image-source: linear-gradient(90deg, #d583ff, #ff65a3, #ff7eb3, #ff65a3); }
    100% { border-image-source: linear-gradient(90deg, #ff7eb3, #ff65a3, #d583ff, #ff65a3); }
}

/* Languages Section */
.languages h2 {
    margin-top: 50px;
    font-size: 2.8rem;
    font-weight: bold;
}

.language-category {
    margin: 25px 0;
}

.language-category h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ff65a3;
    text-transform: uppercase;
    font-weight: 600;
}

.languages-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.language {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    padding: 10px;
}

.language img {
    width: 65px;
    margin-bottom: 12px;
}

.language:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(255, 101, 163, 0.6);
}

/* Links Section - Elegant Buttons */
.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
}

.links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ff7eb3, #ff65a3);
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    min-width: 160px;
    text-transform: uppercase;
}

.links .btn:hover {
    background: linear-gradient(45deg, #d583ff, #ff65a3);
    transform: scale(1.08);
    box-shadow: 0px 5px 15px rgba(255, 88, 196, 0.5);
}

.links .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7eb3;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
    min-width: 160px;
}

.links .btn-link:hover {
    color: #ff65a3;
    transform: scale(1.05);
    text-shadow: 0px 0px 8px rgba(255, 101, 163, 0.8);
}

/* Popup - Better Styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #222;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    border: 2px solid #ff7eb3;
    max-width: 420px;
    box-shadow: 0px 4px 10px rgba(255, 101, 163, 0.4);
}

.popup-content button {
    margin-top: 12px;
    padding: 12px 18px;
    background: #ff7eb3;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.popup-content button:hover {
    background: #ff65a3;
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 15px;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .title {
        font-size: 2.5rem;
    }

    .description-box {
        font-size: 1rem;
    }

    .languages h2 {
        font-size: 2rem;
    }

    .links .btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}
/* Level-Up & Easter Egg Styling */

.level-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 88, 196, 0.95);
    color: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 0 10px hotpink;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.level-status:hover {
    transform: scale(1.05);
}

.level-bar {
    margin-top: 6px;
    background: #ffffff2e;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(to right, #ff58c4, #ff99d6);
    width: 0%;
    transition: width 0.5s ease-in-out;
    border-radius: 10px;
}

/* LEVEL STATUS WIDGET */
.level-status {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 88, 196, 0.95);
  color: white;
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 0 10px hotpink;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}

.level-bar {
  margin-top: 6px;
  background: #ffffff2e;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.level-fill {
  height: 100%;
  background: linear-gradient(to right, #ff58c4, #ff99d6);
  width: 0%;
  transition: width 0.5s ease-in-out;
  border-radius: 10px;
}

/* CUSTOM MESSAGE BOX */
.custom-message {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 88, 196, 0.95);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 0 15px hotpink;
  z-index: 9999;
  animation: fadeInOut 3s ease-in-out forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.mobile-circle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  background-color: hotpink;
  border-radius: 50%;
  box-shadow: 0 0 20px hotpink;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 9999;
}

.mobile-circle.expanded {
  width: 280px;
  height: 180px;
  border-radius: 20px;
  padding: 20px;
}

.message-board {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-top: 20px;
  display: none;
  text-align: center;
}

.mobile-circle.expanded .message-board {
  display: block;
}
.message-board {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mobile-circle.expanded .message-board {
  opacity: 1;
}
