/* Luxurious Bio Page - Ultra Premium Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-light: #FFDF00;
    --platinum: #E5E4E2;
    --royal-purple: #4B0082;
    --dark: #050505;
    --dark-accent: #0F0F0F;
    --darker: #030303;
    --text-light: #FFFFFF;
    --text-gold: #FFD700;
    --gradient-dark: linear-gradient(135deg, #050505 0%, #0F0F0F 100%);
    --gradient-gold: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
    --gradient-luxury: linear-gradient(135deg, #030303 0%, #0A0A0A 40%, #1A1A1A 100%);
    --gradient-button: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(229, 228, 226, 0.05) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-luxury);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    perspective: 1000px;
}

.container {
    max-width: 600px;
    width: 90%;
    background-color: rgba(15, 15, 15, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
    justify-content: space-between;
    border: 1px solid rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-gold);
    opacity: 0.3;
}

/* Header */
header {
    margin-bottom: 40px;
    position: relative;
}

.profile-pic-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px rgba(212, 175, 55, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    filter: contrast(1.05) brightness(1.02);
}

.profile-pic:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.4);
}

.profile-pic-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 5px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-gold);
    z-index: 1;
    animation: rotateGlow 12s linear infinite;
    opacity: 0.8;
}

.profile-pic-container::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 8px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--platinum) 0%, var(--gold) 50%, var(--platinum) 100%);
    z-index: 0;
    animation: rotateGlow 20s linear infinite reverse;
    opacity: 0.4;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.name-container {
    margin-bottom: 20px;
    display: block;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(to right, var(--platinum), var(--gold), var(--platinum));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.bio-description {
    color: #e6e6e6;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    letter-spacing: 0.3px;
}

/* Status indicator */
.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    clear: both;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.status:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.85em;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Tags */
.tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(75, 0, 130, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    color: var(--platinum);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    cursor: default;
}

/* Links */
.links {
    margin-bottom: 30px;
    flex-grow: 1;
}

.link-button {
    display: block;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    color: var(--text-light);
    padding: 18px 24px;
    margin-bottom: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 1px rgba(255, 255, 255, 0.1);
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.link-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.link-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover::after {
    opacity: 0.7;
}

.link-button:active {
    transform: translateY(-2px);
    transition: transform 0.1s;
}

/* Ripple effect */
.link-button {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.link-button i {
    margin-right: 14px;
    width: 1.2em;
    text-align: center;
    font-size: 1.25em;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.link-button:hover i {
    transform: scale(1.15);
}

.link-button:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: var(--gold);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

footer a:hover {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

footer a i {
    margin-right: 6px;
}

/* Animations and Effects */
@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cool particle background effect */
.container {
    animation: fadeIn 1s ease forwards;
}

header {
    animation: fadeIn 1s ease 0.2s both;
}

.link-button:nth-child(1) {
    animation: fadeIn 1s ease 0.4s both;
}

.link-button:nth-child(2) {
    animation: fadeIn 1s ease 0.5s both;
}

.link-button:nth-child(3) {
    animation: fadeIn 1s ease 0.6s both;
}

.link-button:nth-child(4) {
    animation: fadeIn 1s ease 0.7s both;
}

footer {
    animation: fadeIn 1s ease 0.8s both;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding-top: 20px;
    }
    .container {
        width: 95%;
        padding: 30px 20px;
        min-height: calc(100vh - 40px);
    }
    .profile-pic-container {
        width: 130px;
        height: 130px;
    }
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    .profile-pic-container::before, .profile-pic-container::after {
        width: 120px;
        height: 120px;
    }
    h1 {
        font-size: 2em;
    }
    .bio-description {
        font-size: 1em;
        line-height: 1.6;
    }
    .link-button {
        padding: 16px 15px;
        font-size: 1em;
        margin-bottom: 15px;
    }
    footer a {
        font-size: 0.85em;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .container {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.25);
    }
}

/* Force dark mode regardless of system preference */
body {
    background: var(--gradient-luxury);
    color: var(--text-light);
}
.container {
    background-color: rgba(15, 15, 15, 0.95);
    color: var(--text-light);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
}
.bio-description {
    color: #e6e6e6;
}
.link-button {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    color: var(--text-light);
    border-color: rgba(212, 175, 55, 0.3);
}
.link-button:hover {
    color: var(--gold-light);
}
.link-button i {
    color: var(--gold);
}
