/* ===================================
   MicroVisuals 中文版 — 1.txt 设计 + 滚动切屏
   =================================== */

.liquid-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 0.5px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.strong-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    letter-spacing: -0.05em;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===================================
   Video Background
   =================================== */
#video-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -1;
    overflow: hidden;
    background-color: #131313;
}

#boomerang-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transform-origin: center center;
    will-change: transform;
}

.radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vh;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(19,19,19,0) 60%);
    pointer-events: none;
    z-index: -1;
}

/* ===================================
   Scroll Indicator
   =================================== */
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-indicator {
    animation: scroll-line 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.scroll-indicator-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

/* ===================================
   Sections
   =================================== */
.sections-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px clamp(20px, 6vw, 80px) 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.8s;
    pointer-events: auto;
}

.section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.section.exit-up {
    opacity: 0;
    transform: translateY(-40px);
}

.section.exit-down {
    opacity: 0;
    transform: translateY(40px);
}

.section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;
}

.section-header {
    display: flex;
    align-items: center;
}

/* ===================================
   Hero Bottom Row
   =================================== */
.hero-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 20px;
    position: relative;
}

.hero-bottom-center {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
}

.hero-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* ===================================
   Work Grid
   =================================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.work-card {
    cursor: pointer;
}

.work-card-visual {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-card-visual {
    transform: scale(1.02);
}

.work-card-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s;
}

.work-card:hover .work-card-hover {
    opacity: 1;
}

/* ===================================
   About
   =================================== */
.about-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.about-stats {
    display: flex;
    gap: 56px;
    flex-shrink: 0;
}

.about-stat {
    text-align: left;
}

.about-stat-num {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.about-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

/* ===================================
   Contact
   =================================== */
.contact-link {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.contact-link:hover::after {
    background: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Mobile Overlay
   =================================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-overlay-link {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.mobile-overlay-link:hover {
    color: #fff;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
    .hero-bottom-left, .hero-bottom-right { display: none; }
    .hero-bottom-center { position: relative; left: auto; transform: none; }
    .work-grid { grid-template-columns: 1fr; }
    .about-bottom { flex-direction: column; }
    .about-stats { gap: 32px; }
}
