/* Bio Overlay Glassmorphism Themes */

/* Default Theme Variables */
.bio-overlay {
    --bio-primary-color: rgba(0, 0, 0, 0.9);
    --bio-secondary-color: rgba(0, 0, 0, 0.7);
    --bio-accent-color: rgba(139, 125, 107, 1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        linear-gradient(225deg, rgba(120, 119, 198, 0.3), rgba(255, 255, 255, 0.1)),
        linear-gradient(315deg, rgba(132, 204, 22, 0.2), rgba(255, 255, 255, 0.05)),
        linear-gradient(45deg, rgba(239, 68, 68, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bioFadeIn 1s ease-in-out;
    transition: all 0.8s ease-in-out;
}

/* Only show bio overlay on initial page load */
.bio-overlay.initial-load {
    display: flex;
}

.bio-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

/* Custom HTML Mode */
.bio-overlay.custom-html-mode {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.bio-overlay.custom-html-mode * {
    cursor: pointer;
}

/* Default Glass Bio Paper */
.bio-paper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 50px 60px 40px 60px;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: visible;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: glassFloat 8s ease-in-out infinite;
}

.bio-paper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Album Title Text Styling */
.album-title-text {
    color: var(--bio-primary-color);
    text-align: center;
    margin: 20px 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: none;
}

.bio-title {
    text-align: center;
    margin-bottom: 30px;
    animation: titleFadeIn 2s ease-in-out;
    position: relative;
    width: 100%;
    overflow: visible;
}

.bio-title img {
    max-width: 450px;
    width: 95%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.bio-title img:hover {
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.4));
    transform: scale(1.02);
}

.bio-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--bio-primary-color);
    margin-bottom: 20px;
    text-align: left;
    animation: textFadeIn 2s ease-in-out 0.5s both;
    font-weight: 400;
}

.bio-text p {
    margin-bottom: 20px;
    text-indent: 20px;
}

.bio-text em {
    color: var(--bio-accent-color);
    font-style: italic;
    font-weight: 500;
}

.click-to-enter {
    text-align: center;
    margin-top: 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: var(--bio-secondary-color);
    font-style: italic;
    animation: glassGlow 3s infinite ease-in-out 2s;
    font-weight: 300;
}

/* Glassmorphism Theme Variations */

/* Classic Glass (Default) */
.bio-theme-classic-glass .bio-paper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Dark Glass */
.bio-theme-dark-glass .bio-overlay {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)),
        linear-gradient(225deg, rgba(30, 30, 50, 0.4), rgba(0, 0, 0, 0.2)),
        linear-gradient(315deg, rgba(50, 30, 30, 0.3), rgba(0, 0, 0, 0.1)),
        linear-gradient(45deg, rgba(30, 50, 30, 0.2), rgba(0, 0, 0, 0.1));
}

.bio-theme-dark-glass .bio-paper {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    --bio-primary-color: rgba(255, 255, 255, 0.9);
    --bio-secondary-color: rgba(255, 255, 255, 0.7);
    --bio-accent-color: rgba(139, 125, 107, 1);
}

.bio-theme-dark-glass .bio-text {
    color: rgba(255, 255, 255, 0.8);
}

.bio-theme-dark-glass .click-to-enter {
    color: rgba(255, 255, 255, 0.7);
}

.bio-theme-dark-glass .album-title-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Glass Container Styles */

/* Floating Card */
.bio-container-floating-card .bio-paper {
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Glass Bubble */
.bio-container-bubble .bio-paper {
    border-radius: 50px;
    aspect-ratio: 1.2;
    padding: 60px 50px;
    max-width: 700px;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.2),
        0 30px 80px rgba(0, 0, 0, 0.3);
}

/* Frosted Panel */
.bio-container-frosted-panel .bio-paper {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Crystal Clear */
.bio-container-crystal .bio-paper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

/* Tinted Window */
.bio-container-tinted-window .bio-paper {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

/* Holographic Surface */
.bio-container-holographic .bio-paper {
    background: linear-gradient(135deg, 
        rgba(255, 100, 200, 0.1) 0%,
        rgba(100, 255, 200, 0.1) 25%,
        rgba(200, 100, 255, 0.1) 50%,
        rgba(255, 200, 100, 0.1) 75%,
        rgba(255, 100, 200, 0.1) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    animation: holographicShimmer 6s ease-in-out infinite;
}

/* Liquid Metal */
.bio-container-liquid-metal .bio-paper {
    background: linear-gradient(135deg, 
        rgba(200, 200, 220, 0.2) 0%,
        rgba(180, 180, 200, 0.15) 50%,
        rgba(160, 160, 180, 0.2) 100%);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    box-shadow: 
        0 0 40px rgba(200, 200, 220, 0.3),
        0 25px 70px rgba(0, 0, 0, 0.3);
}

/* Neon Glass */
.bio-container-neon-glass .bio-paper {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.4);
    animation: neonGlow 3s ease-in-out infinite alternate;
}

/* Font Family Styles */
.bio-font-sf-pro .bio-text,
.bio-font-sf-pro .album-title-text,
.bio-font-sf-pro .click-to-enter {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.bio-font-sf-compact .bio-text,
.bio-font-sf-compact .album-title-text,
.bio-font-sf-compact .click-to-enter {
    font-family: 'SF Compact Display', 'SF Compact Text', -apple-system, system-ui, sans-serif;
}

.bio-font-new-york .bio-text,
.bio-font-new-york .album-title-text,
.bio-font-new-york .click-to-enter {
    font-family: 'New York', 'Times New Roman', serif;
}

.bio-font-helvetica-neue .bio-text,
.bio-font-helvetica-neue .album-title-text,
.bio-font-helvetica-neue .click-to-enter {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.bio-font-avenir .bio-text,
.bio-font-avenir .album-title-text,
.bio-font-avenir .click-to-enter {
    font-family: 'Avenir Next', Avenir, system-ui, sans-serif;
}

.bio-font-system-ui .bio-text,
.bio-font-system-ui .album-title-text,
.bio-font-system-ui .click-to-enter {
    font-family: system-ui, -apple-system, sans-serif;
}

.bio-font-inter .bio-text,
.bio-font-inter .album-title-text,
.bio-font-inter .click-to-enter {
    font-family: 'Inter', system-ui, sans-serif;
}

.bio-font-poppins .bio-text,
.bio-font-poppins .album-title-text,
.bio-font-poppins .click-to-enter {
    font-family: 'Poppins', system-ui, sans-serif;
}

.bio-font-montserrat .bio-text,
.bio-font-montserrat .album-title-text,
.bio-font-montserrat .click-to-enter {
    font-family: 'Montserrat', system-ui, sans-serif;
}

/* Font Weight Classes */
.bio-weight-200 .bio-text { font-weight: 200; }
.bio-weight-300 .bio-text { font-weight: 300; }
.bio-weight-400 .bio-text { font-weight: 400; }
.bio-weight-500 .bio-text { font-weight: 500; }
.bio-weight-600 .bio-text { font-weight: 600; }
.bio-weight-700 .bio-text { font-weight: 700; }
.bio-weight-800 .bio-text { font-weight: 800; }

/* Enhanced Entrance Animations */
.bio-entrance-glass-float .bio-paper {
    animation: glassFloat 8s ease-in-out infinite;
}

.bio-entrance-fade-blur .bio-paper {
    animation: fadeBlurIn 2s ease-out;
}

@keyframes fadeBlurIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        transform: translateY(0);
    }
}

.bio-entrance-scale-blur .bio-paper {
    animation: scaleBlurIn 1.8s ease-out;
}

@keyframes scaleBlurIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
}

.bio-entrance-slide-glass .bio-paper {
    animation: slideGlassIn 2.2s ease-out;
}

@keyframes slideGlassIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
}

.bio-entrance-morphism-appear .bio-paper {
    animation: morphismAppear 2.5s ease-out;
}

@keyframes morphismAppear {
    0% {
        opacity: 0;
        background: rgba(255, 255, 255, 0);
        transform: scale(0.5);
        border-radius: 50%;
    }
    50% {
        opacity: 0.7;
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
        border-radius: 40px;
    }
    100% {
        opacity: 1;
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1);
        border-radius: 20px;
    }
}

.bio-entrance-crystal-emerge .bio-paper {
    animation: crystalEmerge 3s ease-out;
}

@keyframes crystalEmerge {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateY(90deg);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotateY(10deg);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

.bio-entrance-liquid-form .bio-paper {
    animation: liquidForm 2.8s ease-out;
}

@keyframes liquidForm {
    0% {
        opacity: 0;
        border-radius: 0;
        transform: scaleY(0.1) scaleX(2);
        backdrop-filter: blur(100px);
        -webkit-backdrop-filter: blur(100px);
    }
    30% {
        opacity: 0.6;
        border-radius: 50px;
        transform: scaleY(0.8) scaleX(1.2);
        backdrop-filter: blur(60px);
        -webkit-backdrop-filter: blur(60px);
    }
    70% {
        opacity: 0.9;
        border-radius: 30px;
        transform: scaleY(1.1) scaleX(0.9);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }
    100% {
        opacity: 1;
        border-radius: 20px;
        transform: scaleY(1) scaleX(1);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
}

.bio-entrance-prismatic-entry .bio-paper {
    animation: prismaticEntry 3.2s ease-out;
}

@keyframes prismaticEntry {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(180deg);
        border: 5px solid rgba(255, 0, 0, 0.8);
        filter: hue-rotate(0deg);
    }
    25% {
        opacity: 0.4;
        transform: scale(0.6) rotate(90deg);
        border: 3px solid rgba(0, 255, 0, 0.8);
        filter: hue-rotate(90deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.9) rotate(45deg);
        border: 2px solid rgba(0, 0, 255, 0.8);
        filter: hue-rotate(180deg);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.05) rotate(15deg);
        border: 1px solid rgba(255, 255, 0, 0.6);
        filter: hue-rotate(270deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        border: 1px solid rgba(255, 255, 255, 0.3);
        filter: hue-rotate(360deg);
    }
}

/* Basic Animations */
@keyframes glassFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes titleFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes textFadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes glassGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes bioFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes neonGlow {
    0% {
        box-shadow: 
            0 0 20px rgba(0, 255, 255, 0.3),
            0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(0, 255, 255, 0.5);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 255, 255, 0.6),
            0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(0, 255, 255, 0.8);
    }
}

@keyframes holographicShimmer {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(255, 100, 200, 0.1) 0%,
            rgba(100, 255, 200, 0.1) 25%,
            rgba(200, 100, 255, 0.1) 50%,
            rgba(255, 200, 100, 0.1) 75%,
            rgba(255, 100, 200, 0.1) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(100, 255, 200, 0.15) 0%,
            rgba(200, 100, 255, 0.15) 25%,
            rgba(255, 200, 100, 0.15) 50%,
            rgba(255, 100, 200, 0.15) 75%,
            rgba(100, 255, 200, 0.15) 100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-paper {
        padding: 30px 25px;
        max-width: 95vw;
        margin: 20px;
    }
    
    .bio-title img {
        max-width: 300px;
    }
    
    .bio-text {
        font-size: 1em;
        line-height: 1.6;
    }
    
    .album-title-text {
        font-size: 2em;
    }
} 