/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
 
 /* Base Body Styles */
 body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 15px;
    transition: all 0.3s ease;
    overflow-x: hidden;
 }
 
 /* Light Mode Styles */
 body.light-mode {
    background: #ffffff;
    color: #0D0C22;
 }
 
 .container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    padding: 0 10px;
 }
 
 /* Profile Section */
 .profile {
    margin-bottom: clamp(20px, 5vw, 40px);
    padding-top: 60px; /* Space for top buttons */
 }
 
 .profile-img {
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
    border-radius: 50%;
    margin: 0 auto clamp(10px, 2vw, 20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4),
               inset 0 1px 2px rgba(255, 255, 255, 0.05);
    object-fit: cover;
 }
 
 .profile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
 }
 
 .profile h1 {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    margin-bottom: clamp(5px, 1vw, 10px);
    line-height: 1; /* Consistent height for alignment */
 }
 
 .profile-header .verified-badge {
    width: clamp(16px, 3.5vw, 20px);
    height: clamp(16px, 3.5vw, 20px);
    /* Adjusted vertical alignment */
    position: relative;
    top: -1px;
 }
 
 .profile p {
    font-size: clamp(12px, 4vw, 16px);
    font-weight: 400;
    opacity: 0.9;
 }
 
 /* Links Section */
 .links {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 15px);
 }
 
 .link-btn {
    display: block;
    padding: clamp(12px, 3vw, 15px);
    background: #1e1e1e;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(12px, 4vw, 16px);
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-out;
 }
 
 .link-btn:hover {
    background: #2a2a2a;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
 }
 
 .light-mode .link-btn {
    background: #f5f5f5;
    color: #0D0C22;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }
 
 .light-mode .link-btn:hover {
    background: #e0e0e0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
 }
 
 /* Social Links Section */
 .social-links {
    margin-top: clamp(20px, 5vw, 30px);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
 }
 
 .social-icon {
    width: clamp(24px, 6vw, 32px);
    height: clamp(24px, 6vw, 32px);
    fill: #ffffff;
    transition: all 0.3s ease;
 }
 
 .social-icon:hover {
    fill: #ef5321;
    transform: scale(1.1);
 }
 
 .light-mode .social-icon {
    fill: #0D0C22;
 }
 
 /* Fixed Buttons (Mode Toggle & Share) */
 .mode-toggle, .share-menu {
    position: fixed;
    top: 15px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 .mode-toggle:hover, .share-menu:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #2a2a2a;
 }
 .mode-toggle {
    right: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2v2m0 16v2m10-10h-2M4 12H2m16.36-6.36l-1.42 1.42M7.06 17.94l-1.42 1.42M18.36 18.36l-1.42-1.42M7.06 6.06l-1.42-1.42M12 6a6 6 0 100 12 6 6 0 000-12z"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
 }
 .share-menu {
    left: 15px;
 }
 .share-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
 }
 
 /* Light Mode Fixed Buttons */
 .light-mode .mode-toggle, .light-mode .share-menu {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }
 .light-mode .mode-toggle:hover, .light-mode .share-menu:hover {
    background-color: #f0f0f0;
 }
 .light-mode .mode-toggle {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230D0C22"><path d="M12 2.25a.75.75 0 01.75.75v2.25a.75.75 0 01-1.5 0V3a.75.75 0 01.75-.75zM7.5 4.875a.75.75 0 011.06-.15l1.5 1.125a.75.75 0 11-.91 1.2L7.65 5.925a.75.75 0 01-.15-1.05zM3 9a.75.75 0 010-1.5h2.25a.75.75 0 010 1.5H3zM4.875 16.5a.75.75 0 01.15-1.06l1.125-1.5a.75.75 0 111.2.91l-1.125 1.5a.75.75 0 01-1.05.15zM9 21a.75.75 0 01-.75-.75v-2.25a.75.75 0 011.5 0v2.25A.75.75 0 019 21zM16.5 19.125a.75.75 0 01-.15 1.05l-1.5 1.125a.75.75 0 11-.91-1.2l1.5-1.125a.75.75 0 011.06.15zM21 15a.75.75 0 01-.75.75h-2.25a.75.75 0 010-1.5H21A.75.75 0 0121 15zM19.125 7.5a.75.75 0 01-1.05.15l-1.5-1.125a.75.75 0 11.91-1.2l1.5 1.125a.75.75 0 01.15 1.05zM12 18a6 6 0 100-12 6 6 0 000 12z"/></svg>');
 }
 .light-mode .share-icon {
    color: #0D0C22;
 }
 
 /* Share Popup */
 .share-popup {
    display: none;
    position: fixed;
    top: 65px;
    left: 15px;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 160px;
 }
 .share-popup.active {
    display: block;
 }
 .share-option {
    padding: 10px;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s ease;
 }
 .share-option:hover {
    background: #2a2a2a;
 }
 .light-mode .share-popup {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }
 .light-mode .share-option {
    color: #0D0C22;
 }
 .light-mode .share-option:hover {
    background: #f0f0f0;
 }
 
 /* Toast Notification */
 .toast {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 25px;
    padding: 12px 24px;
    z-index: 2000;
    font-size: 14px;
    transition: opacity 0.3s, visibility 0.3s;
 }
 .toast.show {
    visibility: visible;
    opacity: 1;
 }
 .toast.error {
    background-color: #d32f2f;
 }
 .light-mode .toast {
    background-color: #f5f5f5;
    color: #0D0C22;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }
 .light-mode .toast.error {
    background-color: #ef5350;
    color: white;
 }
 
 
 /* Responsive Adjustments */
 @media (max-width: 480px) {
    .mode-toggle, .share-menu {
        top: 10px;
        width: 40px;
        height: 40px;
    }
    .share-popup {
        top: 55px;
        left: 10px;
        width: 150px;
    }
    .profile {
        padding-top: 50px;
    }
 }