/* =========================================================
   Newbang International — entry site
   Brand: deep space ground + purple→cyan gradient
   ========================================================= */

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

:root {
    --bg: #01030d;
    --bg-soft: #070b1c;
    --ink: #eef2ff;
    --ink-dim: #9aa6c9;
    --ink-faint: #5c688c;

    --grad-1: #b300ff;
    --grad-2: #7a6aff;
    --grad-3: #46b9ff;
    --grad-4: #05f6ff;

    --brand-gradient: linear-gradient(105deg, var(--grad-1) 0%, var(--grad-2) 34%, var(--grad-3) 68%, var(--grad-4) 100%);

    --edge: rgba(255, 255, 255, 0.08);
    --maxw: 1140px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", Tahoma, system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at 18% 12%, rgba(179, 0, 255, 0.22), transparent 60%),
        radial-gradient(1100px 800px at 82% 20%, rgba(5, 246, 255, 0.16), transparent 62%),
        radial-gradient(900px 900px at 50% 120%, rgba(70, 185, 255, 0.14), transparent 60%),
        var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- animated aurora blobs ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    filter: blur(90px) saturate(130%);
    overflow: hidden;
}

.blob {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(360px, 42vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.55;
    mix-blend-mode: screen;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.blob:nth-child(1) { background: var(--grad-1); }
.blob:nth-child(2) { background: var(--grad-4); opacity: 0.5; }
.blob:nth-child(3) { background: var(--grad-2); }
.blob:nth-child(4) { background: var(--grad-3); opacity: 0.45; }
.blob:nth-child(5) { background: var(--grad-1); opacity: 0.4; }

/* ---------- film grain ---------- */
.grain {
    position: fixed;
    inset: -200%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 8s steps(6) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -4%); }
    60% { transform: translate(-2%, 3%); }
    80% { transform: translate(3%, -1%); }
}

/* ---------- layout shell ---------- */
.site {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 5vw, 4rem);
}

/* ---------- header ---------- */
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    animation: fade-down 900ms cubic-bezier(.2, .7, .2, 1) both;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-mark {
    display: block;
    height: 26px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(90, 140, 255, 0.35));
}

.brand-word {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    letter-spacing: 0.32em;
    font-size: 0.82rem;
    color: var(--ink);
    padding-left: 0.32em;
}

.top-locale {
    font-size: 0.68rem;
    letter-spacing: 0.34em;
    font-weight: 500;
    color: var(--ink-faint);
}

/* ---------- hero ---------- */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: clamp(1.5rem, 3.4vw, 2.6rem);
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    padding: clamp(2.5rem, 8vh, 6rem) 0;
}

.hero-mark img {
    display: block;
    width: clamp(150px, 20vw, 240px);
    height: auto;
    filter: drop-shadow(0 18px 60px rgba(122, 106, 255, 0.4));
    animation: float 7s ease-in-out infinite;
}

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

.hero-name {
    font-family: "Sora", sans-serif;
    font-weight: 200;
    font-size: clamp(2.1rem, 6.4vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.hero-name span {
    font-weight: 600;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- pillars ---------- */
.pillars {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: clamp(1.4rem, 4vw, 3.4rem);
    list-style: none;
    margin-top: 0.4rem;
}

.pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 clamp(0.5rem, 2vw, 1.6rem);
    min-width: 180px;
}

.pillar + .pillar::before {
    content: "";
    position: absolute;
    left: calc(-1 * clamp(0.7rem, 2vw, 1.7rem));
    top: 18%;
    height: 64%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--edge), transparent);
}

.pillar-word {
    font-family: "Sora", sans-serif;
    font-weight: 300;
    font-size: clamp(1.15rem, 2.3vw, 1.6rem);
    letter-spacing: 0.04em;
    color: var(--ink);
    position: relative;
    padding-bottom: 0.5rem;
}

.pillar-word::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-gradient);
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(.2, .7, .2, 1);
}

.pillar:hover .pillar-word::after,
.pillar-word:hover::after {
    width: 78%;
}

.pillar-note {
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--ink-dim);
}

/* ---------- tagline ---------- */
.tagline {
    max-width: 46ch;
    font-size: clamp(0.92rem, 1.5vw, 1.06rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-dim);
    letter-spacing: 0.01em;
}

/* ---------- footer ---------- */
.foot {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-top: clamp(1.6rem, 4vh, 2.6rem);
    border-top: 1px solid var(--edge);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.foot-name {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.foot-addr {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--ink-dim);
}

.foot-copy {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
}

/* ---------- entrance reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    animation: fade-up 1s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- responsive ---------- */
@media (max-width: 620px) {
    .top-locale { display: none; }

    .pillars {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pillar + .pillar::before { display: none; }

    .pillar {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--edge);
    }

    .pillar:last-child { border-bottom: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .top {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-mark img,
    .grain { animation: none; }

    .blob { display: none; }

    .aurora {
        background:
            radial-gradient(600px 400px at 25% 30%, rgba(179, 0, 255, 0.3), transparent 60%),
            radial-gradient(600px 400px at 75% 40%, rgba(5, 246, 255, 0.22), transparent 60%);
        filter: blur(40px);
    }
}

/* ---------- CTA (flashop.me) ---------- */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: clamp(1.6rem, 3vw, 2.4rem);
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(122, 106, 255, 0.35);
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1),
                border-color 0.4s ease, box-shadow 0.4s ease;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta svg { transition: transform 0.4s cubic-bezier(.2, .7, .2, 1); }

.cta:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 14px 40px -12px rgba(122, 106, 255, 0.6);
}

.cta:hover::before { opacity: 1; }
.cta:hover svg { transform: translateX(4px); }
.cta:focus-visible { outline: 2px solid var(--grad-4); outline-offset: 3px; }

/* ---------- actions row + secondary CTA (zugu.cc) ---------- */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.actions .cta { margin-top: 0; }

.cta-alt {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--ink-dim);
}

.cta-alt::before { background: linear-gradient(105deg, var(--grad-4), var(--grad-3)); }
.cta-alt:hover { color: var(--ink); box-shadow: 0 14px 40px -12px rgba(5, 246, 255, 0.45); }
