/* 
   LIA PRODUCTION v1.0 - MASTER CSS
   1. Pure Mobile 9:16 Vertical Design
   2. Face-Centric Image Logic (12% Offset)
   3. Monochrome UI (All White/Black)
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --safe-top: env(safe-area-inset-top, 20px);
    --safe-bottom: env(safe-area-inset-bottom, 20px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    width: 100vw;
}

.container {
    width: 100%;
    max-width: 450px;
    /* Lock to mobile aspect ratio on desktop */
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-black);
    position: relative;
}

/* --- 2. FACE-CENTRIC LOGIC --- */
img {
    width: 100%;
    display: block;
    object-fit: cover;
    /* Force focus on head/face area for vertical screens */
    object-position: center 12% !important;
}

/* --- 1. MOBILE HERO SLIDER (HOME) --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 10%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 30px calc(80px + var(--safe-bottom));
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 10;
    text-align: left;
    /* Cinematic alignment */
}

.c-tag {
    font-size: 9px;
    letter-spacing: 0.5em;
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
}

.c-name {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    line-height: 1;
}

.c-quote {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 40px;
}

.c-quote .en {
    font-size: 10px;
    opacity: 0.4;
    display: block;
    margin-top: 5px;
}

.enter-btn-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.enter-btn {
    font-size: 11px;
    letter-spacing: 0.4em;
    border: 1px solid #fff;
    padding: 12px 30px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* --- AUDIO & NAVIGATION --- */
.audio-control {
    position: fixed;
    top: calc(25px + var(--safe-top));
    right: 25px;
    z-index: 10005;
    cursor: pointer;
    padding: 10px;
}

.audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.audio-bars span {
    width: 1.5px;
    background: #fff;
    height: 100%;
    transform-origin: bottom;
    opacity: 0.3;
}

.audio-bars.playing span {
    opacity: 1;
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    from {
        transform: scaleY(0.3);
    }

    to {
        transform: scaleY(1);
    }
}

.back-btn-floating {
    position: fixed;
    top: calc(25px + var(--safe-top));
    left: 20px;
    z-index: 10001;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatingUI 3s infinite ease-in-out;
}

.back-btn-floating span {
    font-size: 10px;
    color: #fff;
    letter-spacing: 0.3em;
    font-weight: 600;
}

@keyframes floatingUI {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* --- 3. PORTFOLIO PAGE SECTIONS --- */
.portfolio-page .section {
    padding: 50px 20px;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 12px;
    border-bottom: 1px solid #111;
    margin-bottom: 40px;
}

.module-name {
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--text-dim);
}

/* Video Entrance */
.video-card {
    width: 100%;
    background: #080808;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #151515;
}

.video-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.glass-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.video-info p {
    font-size: 10px;
    opacity: 0.4;
}

/* 4 Series with Overlay Text */
.series-card {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #050505;
}

.series-img-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
}

.series-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 25px 25px;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
}

.series-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.series-overlay span {
    font-size: 9px;
    opacity: 0.5;
    letter-spacing: 0.2em;
    border-bottom: 1px solid #333;
    padding-bottom: 3px;
}

/* Footer & Socials */
.footer-final {
    padding: 100px 25px 80px;
    text-align: center;
    border-top: 1px solid #111;
}

.social-suspended {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.social-bubble {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s;
}

.social-bubble:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
}

/* ORIGINAL AI INTERACTION BOX */
.fans-chat-v3 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 450px;
    margin: 0 auto;
    background: #0d0d0d;
    border-radius: 20px 20px 0 0;
    z-index: 2000;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(calc(100% - 55px));
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid #1a1a1a;
}

.fans-chat-v3.active {
    transform: translateY(0);
}

.chat-head {
    height: 55px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
}

.chat-body {
    padding: 25px;
    height: 50vh;
    display: flex;
    flex-direction: column;
}

.msg {
    margin-bottom: 20px;
    max-width: 85%;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 14px;
}

.msg.fan {
    background: #1a1a1a;
    align-self: flex-start;
}

.msg.lia {
    background: #ffffff;
    color: #000;
    align-self: flex-end;
    font-weight: 500;
}

.chat-input {
    margin-top: auto;
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #151515;
}

.chat-input input {
    flex: 1;
    background: #000;
    border: 1px solid #1a1a1a;
    padding: 12px 20px;
    border-radius: 30px;
    color: #fff;
    outline: none;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {

    .hero-content,
    .footer-final,
    .fans-chat-v3.active {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* --- 密码保护层样式 --- */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.password-box {
    width: 90%;
    max-width: 350px;
    padding: 50px 30px;
    text-align: center;
}

.password-header {
    margin-bottom: 40px;
}

.lock-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
}

.password-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.password-header p {
    font-size: 10px;
    letter-spacing: 0.5em;
    opacity: 0.5;
}

.password-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.password-input-wrap input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.3em;
    outline: none;
    transition: all 0.3s;
}

.password-input-wrap input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.password-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.password-input-wrap button {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4em;
    cursor: pointer;
    transition: all 0.3s;
}

.password-input-wrap button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.password-input-wrap button:active {
    transform: translateY(0);
}

.password-error {
    font-size: 12px;
    color: #ff4444;
    min-height: 20px;
    opacity: 0.9;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.password-input-wrap input.shake {
    animation: shake 0.4s;
    border-color: #ff4444;
}