﻿/* =========================
   GLOBAL
========================= */

body.guest-home {
    background: #000;
}

.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

    .home-hero video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
        z-index: 1;
    }

.home-hero-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* =========================
   HERO PANEL
========================= */

.hero-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 38vw;
    min-width: 420px;
    max-width: 560px;
    background: linear-gradient( to right, rgba(10,18,32,0.88), rgba(10,18,32,0.72), rgba(10,18,32,0.0) );
    backdrop-filter: blur(6px);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.06);
}

.hero-panel-inner {
    height: 100%;
    padding: 10vh 4vw 6vh 4vw;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.hero-eyebrow {
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(190,210,255,0.75);
}

/* =========================
   CINEMATIC TEXT
========================= */

.cinematic-text {
    position: relative;
    top: 7vh;
    left: 2vw;
    max-width: 36ch;
    padding-right: 2vw;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 2.2rem;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: pre-line;
    background: linear-gradient( 180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.75) );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.35);
    transform-origin: left center;
    overflow: visible;
}

    /* Title: CORA */
    .cinematic-text .title {
        display: inline-block;
        font-size: 4.2rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        margin-left: 0.3rem;
        background: linear-gradient(180deg, #fff, #e6efff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 3px 10px rgba(0,0,0,0.35), 0 0 6px rgba(160,200,255,0.2);
    }

/* =========================
   PUNCH LINE
========================= */

.punch-wrap {
    position: relative;
    margin-top: 0.85rem;
    min-height: 4.6rem;
    overflow: visible;
}

.punch {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: center top;
}

.cinematic-text .punch {
    font-size: clamp(2.3rem, 3vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.1;
    white-space: nowrap;
    transform: translateX(-1.4ch);
    background: linear-gradient(180deg, #fff, #e6efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35), 0 0 6px rgba(160,200,255,0.2);
}

/* =========================
   HERO HINT
========================= */

.hero-hint {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.5;
}

    .hero-hint span {
        width: 36px;
        height: 2px;
        background: linear-gradient( to right, transparent, rgba(255,255,255,0.6), transparent );
        animation: pulse 3s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.9;
    }
}

/* =========================
   MOBILE HERO MODE
========================= */

@media (max-width: 768px) {

    .hero-panel {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 35vh;
        min-width: unset;
        max-width: unset;
        background: linear-gradient( to top, rgba(10,18,32,0.95), rgba(10,18,32,0.75), rgba(10,18,32,0.35), transparent );
        backdrop-filter: blur(3px);
        box-shadow: none;
    }

    .hero-panel-inner {
        padding: 3.5vh 6vw 4vh;
        gap: 1.2rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.14em;
        opacity: 0.7;
    }

    .cinematic-text {
        font-size: 1.35rem;
        top: 1vh;
        left: 0;
        max-width: 100%;
    }

        .cinematic-text .title {
            font-size: 2.6rem;
        }

        .cinematic-text .punch {
            font-size: 2.4rem;
            transform: translateX(-0.4ch);
        }

    .hero-hint {
        display: none;
    }

    .home-hero video {
        object-position: 75% center;
        filter: brightness(0.97) contrast(1.04);
    }
}



.radial-progress-wrapper {
    width: 150px;
    height: 150px;
}

.radial-progress {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.radial-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 10;
}

.radial-bar {
    fill: none;
    stroke-width: 10;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.8s ease-out;
}

    .radial-bar.daily {
        stroke: #0d6efd;
    }

    .radial-bar.weekly {
        stroke: #20c997;
    }

.radial-text {
    font-size: 0.9rem;
    fill: #333;
    font-family: 'Segoe UI', sans-serif;
    dominant-baseline: middle;
}