/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #2d3242;
    color: #f2e9e4;
}

/* True Millisecond Gradient Background - Controlled by JavaScript */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(-45deg, #f2e9e4, #2d3242, #f2e9e4, #2d3242, #f2e9e4),
        radial-gradient(circle at var(--grad-x, 30%) var(--grad-y, 70%), rgba(242, 233, 228, 0.6), transparent 70%),
        radial-gradient(circle at var(--grad-x2, 70%) var(--grad-y2, 30%), rgba(45, 50, 66, 0.6), transparent 70%);
    background-size: 600% 600%, 200% 200%, 200% 200%;
    background-position: var(--bg-pos, 0% 50%), var(--bg-pos-2, 0% 0%), var(--bg-pos-3, 100% 100%);
    filter: hue-rotate(var(--hue, 0deg)) saturate(var(--sat, 1.2)) brightness(var(--bright, 1.1));
    --grad-x: 30%;
    --grad-y: 70%;
    --grad-x2: 70%;
    --grad-y2: 30%;
    --bg-pos: 0% 50%;
    --bg-pos-2: 0% 0%;
    --bg-pos-3: 100% 100%;
    --hue: 0deg;
    --sat: 1.2;
    --bright: 1.1;
}

@keyframes ultraFastGradientShift {
    0% {
        background-position: 0% 50%, 0% 0%, 100% 100%;
        filter: hue-rotate(0deg) saturate(1.2) brightness(1.1);
    }
    25% {
        background-position: 100% 0%, 50% 50%, 0% 0%;
        filter: hue-rotate(90deg) saturate(1.4) brightness(1.2);
    }
    50% {
        background-position: 100% 100%, 100% 100%, 50% 50%;
        filter: hue-rotate(180deg) saturate(1.6) brightness(1.3);
    }
    75% {
        background-position: 0% 100%, 0% 50%, 100% 0%;
        filter: hue-rotate(270deg) saturate(1.4) brightness(1.2);
    }
    100% {
        background-position: 0% 50%, 0% 0%, 100% 100%;
        filter: hue-rotate(360deg) saturate(1.2) brightness(1.1);
    }
}

@keyframes colorCycle {
    0% { filter: hue-rotate(0deg) contrast(1.1); }
    33% { filter: hue-rotate(120deg) contrast(1.2); }
    66% { filter: hue-rotate(240deg) contrast(1.2); }
    100% { filter: hue-rotate(360deg) contrast(1.1); }
}

@keyframes waveEffect {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.05) rotate(1deg);
        opacity: 1;
    }
}

/* Ultra-Dynamic Overlay Effects */
.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 233, 228, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(45, 50, 66, 0.4) 0%, transparent 60%),
        conic-gradient(from 0deg at 50% 50%, rgba(242, 233, 228, 0.2), transparent, rgba(45, 50, 66, 0.2));
    animation: 
        rapidPulseOverlay 0.7s ease-in-out infinite alternate,
        spinningOverlay 2s linear infinite,
        breathingEffect 1.5s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(242, 233, 228, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(45, 50, 66, 0.1) 50%, transparent 60%);
    animation: lightRays 1.2s linear infinite;
}

@keyframes rapidPulseOverlay {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

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

@keyframes breathingEffect {
    0%, 100% { 
        filter: blur(0px) brightness(1);
    }
    50% { 
        filter: blur(1px) brightness(1.2);
    }
}

@keyframes lightRays {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3242 0%, #1a1f2e 50%, #2d3242 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #f2e9e4;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(242, 233, 228, 0.2);
    border-top: 4px solid #f2e9e4;
    border-right: 4px solid rgba(242, 233, 228, 0.6);
    border-radius: 50%;
    animation: smoothSpin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(242, 233, 228, 0.3);
}

.loading-icon {
    width: 32px;
    height: 32px;
    color: #f2e9e4;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes smoothSpin {
    0% { 
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 30px rgba(242, 233, 228, 0.3);
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        box-shadow: 0 0 50px rgba(242, 233, 228, 0.5);
    }
    100% { 
        transform: rotate(360deg) scale(1);
        box-shadow: 0 0 30px rgba(242, 233, 228, 0.3);
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-5px) scale(1.05);
    }
}

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.loading-bar {
    width: 280px;
    height: 8px;
    background: 
        linear-gradient(90deg, 
            rgba(242, 233, 228, 0.2) 0%, 
            rgba(242, 233, 228, 0.4) 50%, 
            rgba(242, 233, 228, 0.2) 100%),
        linear-gradient(45deg, 
            rgba(255, 255, 255, 0.1) 25%, 
            transparent 25%, 
            transparent 75%, 
            rgba(255, 255, 255, 0.1) 75%);
    background-size: 100% 100%, 10px 10px;
    border-radius: 4px;
    margin: 0 auto 18px;
    overflow: hidden;
    border: 1px solid rgba(242, 233, 228, 0.3);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2);
    animation: barGlow 2s ease-in-out infinite;
}

@keyframes barGlow {
    0%, 100% {
        box-shadow: 
            inset 0 1px 3px rgba(0, 0, 0, 0.3),
            0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 rgba(242, 233, 228, 0);
    }
    50% {
        box-shadow: 
            inset 0 1px 3px rgba(0, 0, 0, 0.3),
            0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 15px rgba(242, 233, 228, 0.4);
    }
}

.loading-progress {
    height: 100%;
    background: 
        linear-gradient(90deg, #f2e9e4, #d4c5b9, #f2e9e4, #b8a693, #f2e9e4),
        linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 75%);
    background-size: 300% 100%, 20px 20px;
    border-radius: 3px;
    animation: 
        rapidShimmer 0.6s ease-in-out infinite,
        glowPulse 1s ease-in-out infinite,
        movingStripes 0.8s linear infinite;
    box-shadow: 
        0 0 25px rgba(242, 233, 228, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform-origin: left center;
    width: 0%;
    transition: filter 0.1s ease;
}

@keyframes rapidShimmer {
    0% { background-position: -300% 0, 0 0; }
    100% { background-position: 300% 0, 20px 0; }
}

@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 
            0 0 25px rgba(242, 233, 228, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(242, 233, 228, 0.9),
            0 0 60px rgba(242, 233, 228, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
}

@keyframes movingStripes {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 300% 0, 20px 0; }
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 1.5s ease-in-out infinite;
}

/* Removed ultraSmoothProgress - width now controlled by JavaScript */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-percentage {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #f2e9e4;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(242, 233, 228, 0.5);
    }
    50% { 
        text-shadow: 0 0 20px rgba(242, 233, 228, 0.8), 0 0 30px rgba(242, 233, 228, 0.3);
    }
}

/* Lucide Icon Styles */
.inline-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    opacity: 0.8;
}

.bio-icon {
    width: 24px;
    height: 24px;
    color: #f2e9e4;
    margin-right: 15px;
    opacity: 0.9;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.section-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
}

.large-icon {
    width: 48px;
    height: 48px;
    color: #f2e9e4;
    animation: iconPulse 2s ease-in-out infinite;
}

.spinning-icon {
    animation: spin 1s linear infinite;
}

.sparkle-icon {
    width: 32px;
    height: 32px;
    color: #f2e9e4;
    animation: sparkle 2s ease-in-out infinite;
}

.bean-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    animation: bounce 2s ease-in-out infinite;
}

.avatar-icon {
    width: 60px;
    height: 60px;
    color: #f2e9e4;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        filter: brightness(1);
    }
    25% { 
        transform: rotate(90deg) scale(1.1);
        filter: brightness(1.3);
    }
    50% { 
        transform: rotate(180deg) scale(1);
        filter: brightness(1);
    }
    75% { 
        transform: rotate(270deg) scale(1.1);
        filter: brightness(1.3);
    }
}

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

/* Music Modal */
.music-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 50, 66, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.music-modal.hidden {
    display: none;
}

.music-modal-content {
    background: linear-gradient(135deg, #2d3242, #1a1f2e);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(242, 233, 228, 0.2);
    animation: modalSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.music-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(242, 233, 228, 0.05), transparent);
    animation: modalShimmer 3s ease-in-out infinite;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.modal-icon {
    margin-bottom: 20px;
}

.music-modal h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f2e9e4;
}

.music-modal p {
    margin-bottom: 25px;
    color: #d4c5b9;
}

.music-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.music-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.music-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.music-btn:hover::before {
    left: 100%;
}

.music-btn.yes {
    background: linear-gradient(135deg, #f2e9e4, #d4c5b9);
    color: #2d3242;
}

.music-btn.yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(242, 233, 228, 0.4);
}

.music-btn.no {
    background: transparent;
    color: #f2e9e4;
    border: 2px solid #f2e9e4;
}

.music-btn.no:hover {
    background: #f2e9e4;
    color: #2d3242;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(242, 233, 228, 0.4);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

.main-content.hidden {
    display: none;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

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

/* Bio Section */
.bio-section {
    background: rgba(45, 50, 66, 0.85);
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 233, 228, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f2e9e4, transparent);
    animation: topGlow 3s ease-in-out infinite;
}

@keyframes topGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.bio-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(242, 233, 228, 0.1), rgba(45, 50, 66, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid rgba(242, 233, 228, 0.2);
    animation: avatarFloat 4s ease-in-out infinite;
    position: relative;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f2e9e4, transparent, #f2e9e4);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderRotate 3s linear infinite;
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

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

.bio-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f2e9e4, #d4c5b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.bio-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #d4c5b9;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bio-intro {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: bold;
    color: #f2e9e4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.bio-item {
    background: rgba(242, 233, 228, 0.05);
    padding: 18px;
    border-radius: 15px;
    border-left: 4px solid #f2e9e4;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.bio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(242, 233, 228, 0.1), rgba(242, 233, 228, 0.05));
    transition: width 0.4s ease;
    z-index: 0;
}

.bio-item:hover::before {
    width: 100%;
}

.bio-content-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.bio-item:nth-child(1) { animation-delay: 0.1s; }
.bio-item:nth-child(2) { animation-delay: 0.2s; }
.bio-item:nth-child(3) { animation-delay: 0.3s; }
.bio-item:nth-child(4) { animation-delay: 0.4s; }
.bio-item:nth-child(5) { animation-delay: 0.5s; }
.bio-item:nth-child(6) { animation-delay: 0.6s; }
.bio-item:nth-child(7) { animation-delay: 0.7s; }
.bio-item:nth-child(8) { animation-delay: 0.8s; }
.bio-item:nth-child(9) { animation-delay: 0.9s; }
.bio-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bio-item:hover {
    background: rgba(242, 233, 228, 0.08);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-width: 6px;
}

.bio-item:hover .bio-icon {
    transform: scale(1.2) rotate(10deg);
    color: #f2e9e4;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(242, 233, 228, 0.5));
}

.bio-outro {
    text-align: center;
    padding: 25px;
    background: rgba(242, 233, 228, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(242, 233, 228, 0.15);
    position: relative;
    overflow: hidden;
}

.bio-outro::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, rgba(242, 233, 228, 0.3), transparent, rgba(242, 233, 228, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.outro-icon {
    margin-bottom: 15px;
}

.bio-outro p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.bean-roll {
    font-size: 1.3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f2e9e4, #d4c5b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

/* Contact Section */
.contact-section {
    background: rgba(45, 50, 66, 0.85);
    padding: 35px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 233, 228, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f2e9e4, transparent);
    animation: bottomGlow 3s ease-in-out infinite;
}

@keyframes bottomGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #f2e9e4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-content {
    background: rgba(242, 233, 228, 0.08);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(242, 233, 228, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 233, 228, 0.1), transparent);
    animation: contactShine 3s ease-in-out infinite;
}

@keyframes contactShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.contact-message {
    color: #f2e9e4;
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* Footer Section */
.footer-section {
    background: rgba(45, 50, 66, 0.95);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(242, 233, 228, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(242, 233, 228, 0.03), transparent);
    animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-message {
    color: #f2e9e4;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f2e9e4, #d4c5b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

/* Enhanced Discord Profile */
.discord-profile-header {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(242, 233, 228, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(242, 233, 228, 0.1);
}

.discord-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.discord-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(242, 233, 228, 0.3);
    animation: avatarPulse 3s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(242, 233, 228, 0.3);
    transition: all 0.3s ease;
}

.discord-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(242, 233, 228, 0.5);
}

.discord-avatar-fallback {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2e9e4, #2d3242);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(242, 233, 228, 0.3);
    animation: avatarPulse 3s ease-in-out infinite;
}

.status-indicator-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(45, 50, 66, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(242, 233, 228, 0.3);
        border-color: rgba(242, 233, 228, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(242, 233, 228, 0.5);
        border-color: rgba(242, 233, 228, 0.6);
    }
}

.user-details {
    flex: 1;
}

.display-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #f2e9e4;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #f2e9e4, #d4c5b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.username {
    font-size: 1.2rem;
    color: #d4c5b9;
    margin-bottom: 3px;
}

.discriminator {
    color: #a0a0a0;
    font-size: 1rem;
}

.profile-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.badge {
    width: 32px;
    height: 32px;
    background: rgba(242, 233, 228, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 233, 228, 0.2);
    transition: all 0.3s ease;
    cursor: help;
}

.badge:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(242, 233, 228, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(242, 233, 228, 0.05);
    border-radius: 8px;
    border-left: 3px solid #f2e9e4;
    transition: all 0.3s ease;
}

.info-row:hover {
    background: rgba(242, 233, 228, 0.08);
    transform: translateX(5px);
}

.info-row.bio {
    flex-direction: column;
    align-items: flex-start;
}

.info-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    flex-shrink: 0;
}

.info-label {
    font-weight: bold;
    color: #f2e9e4;
    min-width: 120px;
}

.info-value {
    color: #d4c5b9;
    flex: 1;
}

.bio-text {
    margin-top: 5px;
    line-height: 1.4;
    padding: 8px;
    background: rgba(242, 233, 228, 0.03);
    border-radius: 6px;
    font-style: italic;
}

.activities-section {
    margin-bottom: 20px;
}

.discord-activity.enhanced {
    margin-bottom: 15px;
    padding: 18px;
    background: rgba(242, 233, 228, 0.06);
    border-radius: 12px;
    border-left: 4px solid #f2e9e4;
    transition: all 0.3s ease;
}

.discord-activity.enhanced:hover {
    background: rgba(242, 233, 228, 0.1);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.activity-title {
    font-size: 1.2rem;
    color: #f2e9e4;
}

.activity-content {
    margin-left: 35px;
}

.activity-details {
    color: #d4c5b9;
    margin-bottom: 5px;
    font-size: 1rem;
}

.activity-state {
    color: #b8a693;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.activity-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-top: 8px;
}

.activity-image {
    margin-top: 10px;
}

.activity-large-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid rgba(242, 233, 228, 0.2);
}

.spotify-activity {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(29, 185, 84, 0.05));
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    animation: spotifyGlow 3s ease-in-out infinite;
}

@keyframes spotifyGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(29, 185, 84, 0.4);
    }
}

.spotify-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.spotify-icon {
    width: 24px;
    height: 24px;
    color: #1db954;
}

.spotify-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1db954;
}

.spotify-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.spotify-artwork {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.spotify-artwork:hover {
    transform: scale(1.05) rotate(2deg);
}

.spotify-details {
    flex: 1;
}

.spotify-song {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f2e9e4;
    margin-bottom: 5px;
}

.spotify-artist {
    color: #d4c5b9;
    margin-bottom: 3px;
}

.spotify-album {
    color: #b8a693;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.spotify-progress {
    color: #a0a0a0;
    font-size: 0.9rem;
    display: flex;
    gap: 5px;
    align-items: center;
}

.discord-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 currentColor;
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 4px transparent;
    }
}

.status-online { background: #43b581; }
.status-idle { background: #faa61a; }
.status-dnd { background: #f04747; }
.status-offline { background: #747f8d; }

.discord-activity {
    margin-top: 15px;
    padding: 20px;
    background: rgba(242, 233, 228, 0.05);
    border-radius: 15px;
    font-size: 1.1rem;
    border-left: 4px solid #f2e9e4;
    position: relative;
    overflow: hidden;
}

.discord-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f2e9e4, #d4c5b9, #f2e9e4);
    animation: activityGlow 2s ease-in-out infinite;
}

@keyframes activityGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.activity-details {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.activity-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-section,
    .discord-section {
        padding: 25px;
        margin: 0 10px 20px 10px;
    }
    
    .bio-title {
        font-size: 2.2rem;
    }
    
    .music-modal-content {
        margin: 20px;
        padding: 30px;
    }
    
    .music-buttons {
        flex-direction: column;
    }
    
    .content-container {
        padding: 0 10px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-icon {
        width: 50px;
        height: 50px;
    }
    
    .bio-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .bio-icon {
        margin-right: 0;
        margin-top: 2px;
    }
    
    .discord-user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .discord-avatar,
    .discord-avatar-fallback {
        width: 80px;
        height: 80px;
    }
    
    .spotify-content {
        flex-direction: column;
        text-align: center;
    }
    
    .spotify-artwork {
        width: 100px;
        height: 100px;
    }
    
    .activity-content {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .info-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .bio-title {
        font-size: 1.8rem;
    }
    
    .bio-item {
        font-size: 1rem;
        padding: 15px;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
    }
    
    .loading-icon {
        width: 24px;
        height: 24px;
    }
    
    .large-icon {
        width: 36px;
        height: 36px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .discord-avatar {
        width: 60px;
        height: 60px;
    }
}