/* Core Reset and Variables */
:root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.2);
    --hover-glass: rgba(255, 255, 255, 0.2);

    --btn-bg: rgba(255, 255, 255, 0.15);
    --btn-hover: rgba(255, 255, 255, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Glassmorphism Container */
.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.profile-container {
    width: 100%;
    max-width: 540px;
    /* Increased from 480px */
    padding: 50px 40px;
    /* Increased padding */
    text-align: center;
    position: relative;
    z-index: 10;
    /* Above animations */
    animation: fadeIn 0.8s ease-out;
}

/* Header Styles */
.profile-pic-container {
    margin-bottom: 20px;
}

.profile-pic {
    width: 150px;
    /* Increased from 120px */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    /* Increased from 28px */
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-desc {
    font-size: 17px;
    /* Increased from 15px */
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-btn {
    display: flex;
    align-items: center;
    background: var(--btn-bg);
    border: 1px solid var(--border-glass);
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-align: left;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.link-btn:active {
    transform: translateY(1px);
}

.link-icon {
    font-size: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.link-text {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 18px;
    /* Increased from 16px */
    font-weight: 600;
}

.sub-action {
    font-size: 14px;
    /* Increased from 12px */
    color: var(--text-secondary);
    margin-top: 3px;
    opacity: 0.8;
}

/* Inline Copy Button */
.inline-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-primary);
    border-radius: 6px;
    padding: 2px 6px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.inline-copy-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.inline-copy-btn:active {
    transform: scale(0.95);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .profile-container {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 28px;
    }

    .profile-desc {
        font-size: 15px;
    }

    .link-btn {
        padding: 12px 15px;
    }

    .main-title {
        font-size: 16px;
    }

    .sub-action {
        font-size: 12px;
    }
}

/* Footer */
.profile-footer {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.profile-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}