
:root {
    --font-display: "Bricolage Grotesque", "Noto Sans TC", system-ui, sans-serif;
    --font-body:    "Schibsted Grotesk", "Noto Sans TC", system-ui, -apple-system, sans-serif;

   
    --signal: #d6ff3f;
    --signal-glow: rgba(214, 255, 63, 0.55);

    --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}


* {
    font-family: var(--font-body);
}

h1, h2, h3, h4,
.logo,
.hero h1,
.home-hero-content h1,
.section-title h2,
.philosophy-content h2,
.drop-card h2,
.portal-info h3,
.dashboard-section h3,
.feature-box h3,
.auth-box h2,
.result-title,
.not-found-title,
.privacy-wrap h1 {
    font-family: var(--font-display);
    font-feature-settings: "ss01" 1, "ss02" 1;
}




body {
    text-rendering: optimizeLegibility;
    letter-spacing: 0.3px;
}


.intro-skip #essence-intro { display: none !important; }

#essence-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 35%, #1a1a1a 0%, #0b0b0b 60%, #060606 100%);
    overflow: hidden;
    animation: intro-out 0.9s var(--ease-lux) 3.4s forwards; 
}
#essence-intro::after { 
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    opacity: 0.6;
}
#essence-intro.intro-leaving {
    animation: intro-out 0.9s var(--ease-lux) forwards;
}

.intro-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}
.intro-word {
    display: flex;
    justify-content: center;
    gap: 0.02em;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 11vw, 7rem);
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}
.intro-word span {
    display: inline-block;
    opacity: 0;
    transform: translateY(120%) rotate(8deg);
    animation: intro-letter 0.85s var(--ease-lux) forwards;
}
.intro-word span:nth-child(1) { animation-delay: 0.05s; }
.intro-word span:nth-child(2) { animation-delay: 0.11s; }
.intro-word span:nth-child(3) { animation-delay: 0.17s; }
.intro-word span:nth-child(4) { animation-delay: 0.23s; }
.intro-word span:nth-child(5) { animation-delay: 0.29s; }
.intro-word span:nth-child(6) { animation-delay: 0.35s; }
.intro-word span:nth-child(7) { animation-delay: 0.41s; }
.intro-word .intro-dot {
    color: var(--signal);
    text-shadow: 0 0 28px var(--signal-glow);
    animation-delay: 0.5s;
}
@keyframes intro-letter {
    to { opacity: 1; transform: translateY(0) rotate(0); }
}
.intro-tagline {
    margin-top: 18px;
    font-size: clamp(0.62rem, 1.6vw, 0.82rem);
    letter-spacing: 0.55em;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-indent: 0.55em;
    opacity: 0;
    animation: intro-fade 0.9s ease 0.7s forwards;
}
.intro-bar {
    width: min(240px, 60vw);
    height: 2px;
    margin: 30px auto 0;
    background: rgba(255,255,255,0.14);
    border-radius: 99px;
    overflow: hidden;
    opacity: 0;
    animation: intro-fade 0.6s ease 0.6s forwards;
}
.intro-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--signal), #fff);
    box-shadow: 0 0 18px var(--signal-glow);
    animation: intro-load 1.7s var(--ease-lux) 0.65s forwards;
}
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-load { to { width: 100%; } }
@keyframes intro-out {
    to { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; }
}


#essence-grain {
    position: fixed;
    inset: -120px;
    z-index: 9998;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: soft-light;
    animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
    0% { transform: translate(0,0); }
    25% { transform: translate(-3%, 2%); }
    50% { transform: translate(2%, -3%); }
    75% { transform: translate(-2%, -2%); }
    100% { transform: translate(2%, 3%); }
}


#essence-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    z-index: 100001;
    background: linear-gradient(90deg, var(--signal), var(--accent-2, #ff8a3d));
    box-shadow: 0 0 12px var(--signal-glow);
    transition: width 0.1s linear;
    pointer-events: none;
}

#essence-top {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 8900;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-lux), background 0.2s;
}
#essence-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#essence-top:hover { transform: translateY(-2px) scale(1.06); }
@media (max-width: 768px) { #essence-top { bottom: 82px; right: 16px; width: 42px; height: 42px; } }


   
#essence-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    z-index: 100000;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: width 0.22s var(--ease-lux), height 0.22s var(--ease-lux),
                margin 0.22s var(--ease-lux), opacity 0.25s, background 0.2s;
    opacity: 0;
    will-change: transform;
}
#essence-cursor.active { opacity: 1; }
#essence-cursor.grow {
    width: 56px; height: 56px; margin: -28px 0 0 -28px;
    background: rgba(255,255,255,0.12);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.85s var(--ease-lux), transform 0.85s var(--ease-lux);
    will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}


.home-hero {
   
    background:
        radial-gradient(circle at 18% 24%, rgba(214,255,63,0.20), transparent 24vw),
        radial-gradient(circle at 86% 12%, rgba(255,138,61,0.18), transparent 22vw),
        linear-gradient(135deg, #141414 0%, #1f1f1f 46%, #101010 100%) !important;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -3;
    background:
        radial-gradient(40% 50% at 30% 30%, rgba(214,255,63,0.10), transparent 70%),
        radial-gradient(40% 50% at 75% 70%, rgba(255,138,61,0.10), transparent 70%);
    filter: blur(20px);
    animation: aurora-drift 16s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes aurora-drift {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    100% { transform: translate(-3%, 2%) rotate(6deg) scale(1.08); }
}


.home-hero-content h1.kin { overflow: hidden; }
.home-hero-content h1.kin .kin-char {
    display: inline-block;
    transform: translateY(115%);
    opacity: 0;
    transition: transform 0.9s var(--ease-lux), opacity 0.6s ease;
}
.home-hero-content h1.kin.kin-go .kin-char {
    transform: translateY(0);
    opacity: 1;
}

.home-hero-content h1 {
    background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--signal) 50%, #fff 62%, #fff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-sheen 7s ease-in-out infinite;
}
@keyframes title-sheen {
    0%, 70%, 100% { background-position: 150% 0; }
    85% { background-position: -50% 0; }
}




.scroll-cue { mix-blend-mode: difference; }


.essence-ticker {
    position: relative;
    margin: 70px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background:
        linear-gradient(90deg, var(--bg-color) 0%, transparent 8%, transparent 92%, var(--bg-color) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: ticker-scroll 34s linear infinite;
}
.essence-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track .ti {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    padding: 0 34px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    color: var(--text-color);
    white-space: nowrap;
}
.ticker-track .ti.ghost {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
}
.ticker-track .ti::after {
    content: "✦";
    font-size: 0.5em;
    color: var(--signal);
    -webkit-text-stroke: 0;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}



.navbar.scrolled {
    box-shadow: 0 12px 40px rgba(0,0,0,0.18) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.logo { letter-spacing: 1px; }


.product-card { transform-style: preserve-3d; }
.product-card .product-image img,
.product-card .product-img { transition: transform 0.7s var(--ease-lux), filter 0.7s ease; }
.product-card:hover .product-image img,
.product-card:hover .product-img { transform: scale(1.07); }
.product-card .product-info { position: relative; }
.product-card .product-info::before {
    content: "";
    position: absolute;
    top: 0; left: 20px;
    width: 26px; height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-lux);
    box-shadow: 0 0 10px var(--signal-glow);
}
.product-card:hover .product-info::before { transform: scaleX(1); }
.product-card .price { letter-spacing: 0.4px; }


.hero-btn.primary { box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04); }
.hero-btn.primary:hover { box-shadow: 0 26px 60px rgba(0,0,0,0.36), 0 0 30px var(--signal-glow); }


.section-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.section-kicker::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--signal);
    display: inline-block;
}
.section-title h2,
.philosophy-content h2 { letter-spacing: -1px; }


.portal-card { transform-style: preserve-3d; }
.portal-info .shop-now { position: relative; }

.philosophy-content h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }


.footer-col h3 { position: relative; padding-left: 14px; }
.footer-col h3::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    width: 6px; height: 6px; margin-top: -3px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 10px var(--signal-glow);
}

.announcement-bar { background: linear-gradient(90deg, #000 0%, #0a0a0a 50%, #000 100%); }


@media (hover: none) {
    #essence-cursor { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    #essence-grain,
    .home-hero::before,
    .home-hero-content h1,
    .ticker-track { animation: none !important; }
    .home-hero-content h1 {
        -webkit-text-fill-color: #fff;
        background: none;
    }
    #essence-intro { animation-delay: 0.2s; }
}
@media (max-width: 768px) {
    .essence-ticker { margin: 50px 0; padding: 22px 0; }
    
}
