/* ========================================
   VTuber Manager - styles.css
   Palette:
     Electric Pink:  #FF3CAC
     Deep Violet:    #562B7C
     Soft Lavender:  #E8D5F5
     Midnight Navy:  #0F0E2A
     Pure White:     #FFFFFF
     Candy Cyan:     #00E5FF
     Warm Blush:     #FFF0F5
   Fonts: Outfit 700, Inter 400/500, Chakra Petch 600
======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #0F0E2A;
    background: #FFFFFF;
    line-height: 1.65;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.genre-tag,
.stat-label,
.day-name,
.event-time {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #0F0E2A;
}

.section-title-light {
    color: #FFFFFF;
}

/* ---- FADE-IN ANIMATIONS ---- */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---- HERO SECTION ---- */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #FFF0F5 0%, #E8D5F5 40%, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    z-index: 2;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-silhouette {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #FF3CAC, #562B7C);
    clip-path: polygon(50% 0%, 85% 10%, 95% 35%, 90% 55%, 75% 65%, 80% 80%, 70% 100%, 30% 100%, 20% 80%, 25% 65%, 10% 55%, 5% 35%, 15% 10%);
    filter: drop-shadow(0 20px 40px rgba(86, 43, 124, 0.3));
    animation: silhouetteFloat 6s ease-in-out infinite;
}

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

.hero-right {
    flex: 1;
    z-index: 2;
}

.hero-title {
    display: flex;
    flex-direction: column;
}

.title-line {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
    color: #0F0E2A;
    display: block;
}

.title-line:first-child {
    color: #FF3CAC;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #562B7C;
    margin-top: 1rem;
    font-weight: 500;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: #FF3CAC;
    font-weight: 700;
}

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

/* ---- STAT CARDS ---- */

.stat-cards {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(86, 43, 124, 0.1);
}

.stat-label {
    display: block;
    color: #562B7C;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #FF3CAC;
}

/* ---- GLOSSY ORBS ---- */

.glossy-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 60, 172, 0.3) 50%, rgba(86, 43, 124, 0.2));
    animation: orbFloat 5s ease-in-out infinite;
}

.orb-1 { width: 120px; height: 120px; top: 10%; left: 5%; animation-duration: 6s; }
.orb-2 { width: 60px; height: 60px; top: 20%; right: 10%; animation-duration: 4s; animation-delay: 1s; }
.orb-3 { width: 80px; height: 80px; bottom: 15%; left: 15%; animation-duration: 5s; animation-delay: 0.5s; }
.orb-4 { width: 40px; height: 40px; top: 40%; right: 20%; animation-duration: 4.5s; animation-delay: 2s; }
.orb-5 { width: 100px; height: 100px; bottom: 10%; right: 5%; animation-duration: 5.5s; animation-delay: 1.5s; }

.orb-6 { width: 90px; height: 90px; top: 15%; left: 8%; animation-duration: 5s; }
.orb-7 { width: 50px; height: 50px; bottom: 20%; right: 15%; animation-duration: 4s; animation-delay: 1s; }
.orb-8 { width: 70px; height: 70px; top: 50%; right: 8%; animation-duration: 6s; animation-delay: 2s; }

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

/* ---- PIXEL STARS ---- */

.pixel-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00E5FF;
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    animation: starPulse 2s ease-in-out infinite;
}

.star-1 { top: 12%; left: 25%; animation-delay: 0s; }
.star-2 { top: 30%; right: 18%; background: #FF3CAC; animation-delay: 0.5s; }
.star-3 { bottom: 25%; left: 40%; animation-delay: 1s; }
.star-4 { top: 55%; left: 8%; background: #FF3CAC; animation-delay: 1.5s; }
.star-5 { bottom: 10%; right: 30%; animation-delay: 0.3s; }
.star-6 { top: 8%; right: 35%; background: #FF3CAC; animation-delay: 0.8s; }

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

/* ---- WAVE DIVIDERS ---- */

.wave-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave-1 { background: linear-gradient(135deg, #FFF0F5, #E8D5F5); }
.wave-2 { background: #FFFFFF; }
.wave-3 { background: #0F0E2A; }
.wave-4 { background: #FFFFFF; }

/* ---- TALENT ROSTER GRID ---- */

.roster {
    background: #FFFFFF;
    padding: clamp(3rem, 5vw, 6rem) 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.talent-card {
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.1s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.card-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 300px;
}

.card-small {
    grid-column: span 1;
    grid-row: span 1;
}

.card-1 { background: linear-gradient(135deg, #FF3CAC, #562B7C); }
.card-2 { background: linear-gradient(135deg, #562B7C, #0F0E2A); }
.card-3 { background: linear-gradient(135deg, #00E5FF, #562B7C); }
.card-4 { background: linear-gradient(135deg, #0F0E2A, #FF3CAC); }
.card-5 { background: linear-gradient(135deg, #E8D5F5, #FF3CAC); }
.card-6 { background: linear-gradient(135deg, #00E5FF, #0F0E2A); }

/* ---- CARD AVATARS ---- */

.card-avatar {
    position: relative;
    width: 80px;
    height: 100px;
    margin-bottom: 1rem;
}

.card-large .card-avatar {
    width: 100px;
    height: 120px;
}

.avatar-head {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.card-large .avatar-head {
    width: 60px;
    height: 60px;
}

.avatar-ear-left,
.avatar-ear-right {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid rgba(255, 255, 255, 0.7);
    position: absolute;
    top: -12px;
}

.avatar-ear-left { left: 12px; transform: rotate(-15deg); }
.avatar-ear-right { right: 12px; transform: rotate(15deg); }

.card-large .avatar-ear-left { left: 18px; }
.card-large .avatar-ear-right { right: 18px; }

.avatar-eye-left,
.avatar-eye-right {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0F0E2A;
    position: absolute;
    top: 18px;
}

.avatar-eye-left { left: 50%; transform: translateX(-16px); }
.avatar-eye-right { left: 50%; transform: translateX(9px); }

.card-large .avatar-eye-left { top: 22px; }
.card-large .avatar-eye-right { top: 22px; }

.avatar-body {
    width: 40px;
    height: 45px;
    border-radius: 12px 12px 8px 8px;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.card-large .avatar-body {
    width: 48px;
    height: 50px;
}

.card-info {
    z-index: 2;
}

.talent-name {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.card-large .talent-name {
    font-size: 1.8rem;
}

.genre-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 14, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-radius: 0 0 16px 16px;
}

.talent-card:hover .card-overlay {
    transform: translateY(0);
}

.talent-bio {
    color: #FFFFFF;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---- SCHEDULE SECTION ---- */

.schedule {
    background: #0F0E2A;
    padding: clamp(3rem, 5vw, 6rem) 2rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border-radius: 16px;
    padding-bottom: 1rem;
}

.timeline-wrapper::-webkit-scrollbar {
    height: 8px;
}

.timeline-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.timeline-wrapper::-webkit-scrollbar-thumb {
    background: #FF3CAC;
    border-radius: 4px;
}

.timeline {
    display: flex;
    gap: 16px;
    min-width: max-content;
    padding: 1rem;
}

.day-column {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.day-name {
    color: #00E5FF;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.event-block {
    border-radius: 12px;
    padding: 1rem;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.4;
}

.event-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    margin-top: 0.3rem;
    display: block;
}

.event-stream { background: linear-gradient(135deg, #FF3CAC, #562B7C); }
.event-record { background: linear-gradient(135deg, #00E5FF, #0F0E2A); }
.event-collab { background: linear-gradient(135deg, #562B7C, #FF3CAC); }
.event-rest { background: rgba(232, 213, 245, 0.2); color: #E8D5F5; }

/* ---- PHILOSOPHY SECTION ---- */

.philosophy {
    background: #FFFFFF;
    padding: clamp(4rem, 8vw, 8rem) 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.philosophy-block {
    padding: clamp(2rem, 5vw, 6rem);
}

.pull-quote {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #562B7C;
    border-left: 4px solid #FF3CAC;
    padding-left: 1.5rem;
    line-height: 1.3;
    font-style: italic;
}

.philosophy-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #0F0E2A;
    margin-bottom: 1rem;
}

.philosophy-text {
    font-size: 1.1rem;
    color: #0F0E2A;
    line-height: 1.8;
    border-left: 3px solid #FF3CAC;
    padding-left: 1.5rem;
}

/* ---- CTA SECTION ---- */

.cta {
    background: linear-gradient(135deg, #FF3CAC, #562B7C);
    padding: clamp(4rem, 8vw, 8rem) 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #FFFFFF;
    color: #FF3CAC;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.bounce-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bounce-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

.cta-orbs {
    z-index: 0;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .avatar-silhouette {
        width: 200px;
        height: 260px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
    }

    .stat-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* ---- REDUCED MOTION ---- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
