/* =========================================================
   思蛙官网 - 主样式表
   ========================================================= */

:root {
    --color-bg-deep: #05070d;
    --color-bg-space: #070b18;
    --color-bg-blue: #0b1220;
    --color-gold: #ffd447;
    --color-gold-bright: #ffe27a;
    --color-gold-dim: #d7a800;
    --color-text-main: #f5f7fb;
    --color-text-muted: #9aa7bd;
    --color-text-dim: #64748b;
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-gold: rgba(255, 212, 71, 0.35);
    --shadow-gold: 0 10px 40px rgba(255, 212, 71, 0.35);
    --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html, body {
    height: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text-main);
    background: var(--color-bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   背景层
   ========================================================= */

.bg-scene {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.bg-gradient-core {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 120, 255, 0.28), transparent 26%),
        radial-gradient(circle at 80% 20%, rgba(255, 212, 71, 0.18), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(12, 80, 200, 0.35), transparent 36%),
        linear-gradient(160deg, #05070d 0%, #070b18 40%, #0b1220 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    pointer-events: none;
}

.bg-glow-1 {
    width: 520px;
    height: 520px;
    background: #ffd447;
    top: -120px;
    right: -140px;
}

.bg-glow-2 {
    width: 460px;
    height: 460px;
    background: #2f6bff;
    bottom: -160px;
    left: -120px;
}

.bg-glow-3 {
    width: 340px;
    height: 340px;
    background: #7b5cff;
    top: 40%;
    left: 42%;
    opacity: 0.35;
}

/* =========================================================
   Logo 光环主视觉
   ========================================================= */

.orb-wrap {
    position: absolute;
    top: 48%;
    left: 10%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    max-width: 46vmin;
    max-height: 46vmin;
    pointer-events: none;
}

.orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 212, 71, 0.25);
    animation: spin 22s linear infinite;
}

.orb-ring-1 {
    inset: 0;
    border-width: 1px;
    animation-duration: 22s;
}

.orb-ring-2 {
    inset: 14%;
    border-color: rgba(255, 255, 255, 0.12);
    animation-duration: 17s;
    animation-direction: reverse;
}

.orb-ring-3 {
    inset: 28%;
    border-color: rgba(255, 212, 71, 0.45);
    border-style: dashed;
    animation-duration: 13s;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58%;
    height: 58%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 35%),
        linear-gradient(140deg, #101420, #000000);
    border: 1px solid rgba(255, 212, 71, 0.45);
    box-shadow:
        0 0 0 6px rgba(255, 212, 71, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 120px rgba(255, 212, 71, 0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 72%;
    height: 72%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 212, 71, 0.45));
}

/* =========================================================
   粒子层
   ========================================================= */

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: float linear infinite;
}

/* =========================================================
   页面布局
   ========================================================= */

.layout {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================================================
   Hero 主区
   ========================================================= */

.hero {
    position: relative;
    padding: 140px 8% 80px;
    z-index: 1;
}

.hero-inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: 6%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--color-border-subtle);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    font-size: 13px;
    color: var(--color-text-muted);
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    box-shadow: 0 0 12px var(--color-gold);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-top: 28px;
    font-size: clamp(64px, 9vw, 120px);
    font-weight: 800;
    letter-spacing: 6px;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #ffd447 55%, #d7a800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    margin-top: 14px;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.hero-desc {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 560px;
}

/* =========================================================
   按钮组
   ========================================================= */

.action-group {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    min-width: 240px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.35;
}

.btn-text strong {
    font-size: 17px;
}

.btn-text small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.btn-primary {
    background: linear-gradient(135deg, #ffe27a 0%, #ffd447 45%, #d7a800 100%);
    color: #1a1400;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 30px rgba(255, 212, 71, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary .btn-icon {
    background: rgba(0, 0, 0, 0.12);
    color: #1a1400;
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(255, 212, 71, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-main);
    border-color: var(--color-border-subtle);
    backdrop-filter: blur(10px);
}

.btn-ghost .btn-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-gold);
}

.btn-ghost:hover {
    border-color: var(--color-border-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 212, 71, 0.18);
}

/* =========================================================
   标签
   ========================================================= */

.hero-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border-subtle);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tag i {
    color: var(--color-gold);
}

/* =========================================================
   底部合规信息
   ========================================================= */

.footer {
    position: relative;
    z-index: 1;
    padding: 40px 8% 30px;
}

.compliance {
    max-width: 860px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 212, 71, 0.18);
    background: rgba(10, 14, 24, 0.7);
    backdrop-filter: blur(12px);
}

.compliance-title {
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.compliance-text {
    font-size: 12px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.copyright {
    margin-top: 14px;
    font-size: 12px;
    color: var(--color-text-dim);
}

/* =========================================================
   动画
   ========================================================= */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes float {
    from {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    to {
        transform: translateY(-120px) translateX(40px);
        opacity: 0;
    }
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1100px) {
    .orb-wrap {
        width: 280px;
        height: 280px;
        left: 50%;
        top: 12%;
        transform: translateX(-50%);
    }

    .hero {
        padding-top: 340px;
        text-align: center;
    }

    .hero-inner {
        margin: 0 auto;
    }

    .action-group,
    .hero-tags {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .orb-wrap {
        width: 220px;
        height: 220px;
    }

    .hero {
        padding-top: 280px;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }
}

