@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #070b14;
    --bg-soft: #0b1220;
    --surface: #101827;
    --surface-light: #151f31;
    --text: #f4f7fb;
    --muted: #9aa8bd;
    --line: rgba(255,255,255,.09);
    --accent: #ff5d5d;
    --accent-2: #ff8b65;
    --white: #ffffff;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(7,11,20,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container,
.hero-container,
.section-container,
.download-container,
.footer-container,
.footer-bottom,
.notice-section {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.nav-container {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: white;
    font-size: 25px;
    font-weight: 900;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 30px rgba(255,93,93,.24);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.15;
}

.brand strong {
    font-size: 15px;
    letter-spacing: .02em;
}

.brand small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    padding: 9px 14px;
    color: #cbd4e2;
    border-radius: 9px;
    font-size: 14px;
    transition: .2s ease;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255,255,255,.07);
}

.nav-menu .nav-donate {
    color: white;
    background: rgba(255,93,93,.12);
    border: 1px solid rgba(255,93,93,.25);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px;
    border-radius: 2px;
    background: white;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    background:
        radial-gradient(circle at 75% 45%, rgba(255,93,93,.10), transparent 27%),
        radial-gradient(circle at 10% 80%, rgba(65,100,170,.10), transparent 28%),
        var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: .23;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-kicker {
    color: #ff8b78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6a62;
    box-shadow: 0 0 0 5px rgba(255,106,98,.1), 0 0 20px rgba(255,106,98,.65);
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.14;
    letter-spacing: -.055em;
    font-weight: 900;
}

.hero h1 span {
    background: linear-gradient(100deg, #ff7065, #ffae75);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 590px;
    margin: 26px 0 31px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 17px;
    border-radius: 13px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: white;
    color: #080b11;
    box-shadow: 0 15px 40px rgba(0,0,0,.22);
}

.button-secondary {
    color: white;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.055);
}

.button-icon {
    width: 28px;
    text-align: center;
    font-size: 25px;
    display: flex;
    margin-right: 10px;
}

.button span:not(.button-icon) {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
}

.button small {
    display: block;
    margin-bottom: 3px;
    font-size: 8px;
    letter-spacing: .12em;
    opacity: .62;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #c6d0de;
    font-size: 13px;
    transition: color .2s;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.hero-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
}

.radar {
    position: relative;
    width: min(440px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(circle, rgba(255,93,93,.05), rgba(255,255,255,.015) 50%, transparent 70%);
    box-shadow: inset 0 0 80px rgba(255,93,93,.04), 0 0 100px rgba(0,0,0,.25);
}

.radar-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    inset: 12%;
}

.ring-2 { inset: 27%; }
.ring-3 { inset: 42%; }

.radar-cross {
    position: absolute;
    background: rgba(255,255,255,.07);
}

.radar-cross.horizontal {
    left: 5%;
    right: 5%;
    top: 50%;
    height: 1px;
}

.radar-cross.vertical {
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 1px;
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255,93,93,.18) 24deg, transparent 55deg);
    animation: sweep 5s linear infinite;
}

@keyframes sweep {
    to { transform: rotate(360deg); }
}

.epicenter {
    position: absolute;
    left: 67%;
    top: 39%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff6b5f;
    box-shadow: 0 0 0 8px rgba(255,107,95,.11), 0 0 35px rgba(255,107,95,.75);
}

.epicenter span {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(255,107,95,.35);
    border-radius: 50%;
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(.65); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.quake-card,
.floating-card {
    position: absolute;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(14,21,34,.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0,0,0,.28);
}

.card-main {
    width: 245px;
    right: 1%;
    bottom: 4%;
    padding: 18px;
    border-radius: 18px;
}

.quake-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aeb9ca;
    font-size: 11px;
}

.live-pill {
    padding: 3px 7px;
    border-radius: 5px;
    color: #ff9a8d;
    background: rgba(255,93,93,.1);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}

.card-main > strong {
    display: block;
    margin-top: 15px;
    font-size: 18px;
}

.quake-lines {
    margin-top: 14px;
}

.quake-lines i {
    display: block;
    width: 100%;
    height: 3px;
    margin: 6px 0;
    border-radius: 3px;
    background: rgba(255,255,255,.08);
}

.quake-lines i:nth-child(1) { width: 72%; }
.quake-lines i:nth-child(2) { width: 88%; }
.quake-lines i:nth-child(3) { width: 48%; }

.floating-card {
    display: flex;
    flex-direction: column;
    padding: 13px 17px;
    border-radius: 14px;
}

.floating-card strong {
    margin-top: 2px;
    font-size: 25px;
    line-height: 1.1;
}

.floating-card strong span {
    font-size: 11px;
    color: var(--muted);
}

.mini-label {
    color: var(--muted);
    font-size: 9px;
}

.floating-card-1 {
    top: 13%;
    left: 5%;
}

.floating-card-2 {
    right: 3%;
    top: 24%;
}

.features {
    padding: 120px 0;
    background: #090e18;
    border-top: 1px solid var(--line);
}

.section-heading {
    max-width: 660px;
    margin-bottom: 55px;
}

.section-heading h2,
.download-container h2 {
    margin: 12px 0 15px;
    font-size: clamp(33px, 4vw, 52px);
    line-height: 1.22;
    letter-spacing: -.04em;
}

.section-heading p,
.download-container p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-card {
    position: relative;
    min-height: 300px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.025);
}

.feature-card-highlight {
    background: linear-gradient(145deg, rgba(255,93,93,.10), rgba(255,255,255,.025) 55%);
    border-color: rgba(255,93,93,.18);
}

.feature-number {
    position: absolute;
    top: 23px;
    right: 26px;
    color: rgba(255,255,255,.22);
    font-size: 11px;
    letter-spacing: .1em;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 50px;
    border-radius: 13px;
    color: #ff8b7c;
    background: rgba(255,93,93,.1);
    font-size: 21px;
}

.feature-card h3 {
    margin: 0 0 9px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.download-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(255,93,93,.11), transparent 30%),
        #070b14;
}

.download-container {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 80px;
    align-items: center;
}

.download-container h2 {
    margin-top: 11px;
}

.download-actions {
    display: grid;
    gap: 11px;
}

.large-link {
    min-height: 90px;
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 19px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255,255,255,.035);
    transition: .2s ease;
}

.large-link:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.16);
}

.large-link-icon {
    font-size: 27px;
    text-align: center;
}

.large-link small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .15em;
}

.large-link span:not(.large-link-icon) {
    font-weight: 700;
}

.large-link b {
    color: #8d9bb0;
    font-size: 21px;
}

.notice-section {
    padding: 0 0 90px;
}

.notice {
    display: flex;
    gap: 16px;
    padding: 20px 23px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.notice-icon {
    flex: 0 0 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,180,100,.3);
    border-radius: 50%;
    color: #ffb67e;
    font-weight: 800;
}

.notice strong {
    font-size: 13px;
}

.notice p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #050811;
}

.footer-container {
    min-height: 190px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 15px;
}

.footer-container p {
    margin: 0;
    color: #68778d;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: #8996a9;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    min-height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #566377;
    font-size: 10px;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 125px;
    }

    .hero-container,
    .download-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 440px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 250px;
    }

    .footer-container {
        align-items: flex-start;
        padding: 45px 0;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .nav-container,
    .hero-container,
    .section-container,
    .download-container,
    .footer-container,
    .footer-bottom,
    .notice-section {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .nav-container {
        height: 68px;
    }

    .menu-toggle {
        display: block;
        z-index: 3;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 14px 18px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
        background: rgba(7,11,20,.97);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 14px;
    }

    .hero {
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        min-height: 390px;
    }

    .radar {
        width: min(340px, 82vw);
    }

    .card-main {
        right: 0;
        bottom: 0;
        transform: scale(.9);
        transform-origin: right bottom;
    }

    .floating-card-1 {
        left: 0;
        top: 10%;
    }

    .floating-card-2 {
        right: 0;
        top: 20%;
    }

    .features,
    .download-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .download-container h2 {
        font-size: 34px;
    }

    .notice-section {
        padding-bottom: 60px;
    }

    .footer-bottom {
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
