/* ============================================
   大妙未来 - Coming Soon Page
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-gold-100: #f7e8b0;
    --color-gold-200: #eed797;
    --color-gold-300: #e8c56d;
    --color-gold-400: #d4a853;
    --color-gold-500: #b8893a;
    --color-text: #e8e0d0;
    --color-text-muted: #8a8580;
    --color-text-dim: #5a5550;
    --color-border: rgba(212, 168, 83, 0.2);
    --font-cn: 'Noto Serif SC', serif;
    --font-en: 'Playfair Display', serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-cn);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Canvas Particle Background --- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Vignette Overlay --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 15, 0.8) 100%);
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Badge --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: rgba(212, 168, 83, 0.06);
    backdrop-filter: blur(4px);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInDown 0.8s var(--transition-smooth) 0.3s forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold-300);
    animation: pulse-dot 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-300);
    font-weight: 600;
}

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

/* --- Dividers --- */
.divider-top,
.divider-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    opacity: 0;
    animation: fadeIn 1s var(--transition-smooth) 0.6s forwards;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-400), transparent);
}

.divider-ornament {
    color: var(--color-gold-300);
    font-size: 0.6rem;
    opacity: 0.8;
    animation: spin-ornament 4s linear infinite;
}

@keyframes spin-ornament {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.divider-top {
    margin-bottom: 2.5rem;
}

.divider-bottom {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* --- Brand Name --- */
.brand-name {
    display: flex;
    justify-content: center;
    gap: 0.25em;
    margin-bottom: 1.5rem;
}

.brand-char {
    font-family: var(--font-cn);
    font-weight: 900;
    font-size: clamp(3.5rem, 12vw, 7rem);
    background: linear-gradient(
        135deg,
        var(--color-gold-100) 0%,
        var(--color-gold-300) 30%,
        var(--color-gold-400) 60%,
        var(--color-gold-500) 80%,
        var(--color-gold-100) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        gradient-shift 4s ease-in-out infinite,
        fadeInUp 0.8s var(--transition-smooth) calc(0.8s + var(--i, 0) * 0.15s) forwards;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-shadow: none;
    position: relative;
}

.brand-char::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(212, 168, 83, 0.15);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Subtitle --- */
.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text);
    letter-spacing: 0.3em;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 1.4s forwards;
    margin-bottom: 1rem;
}

/* --- Description --- */
.description {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 1.7s forwards;
    max-width: 400px;
}

/* --- Subscribe Section --- */
.subscribe-section {
    width: 100%;
    max-width: 420px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 2s forwards;
}

.subscribe-hint {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.subscribe-input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-cn);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-input::placeholder {
    color: var(--color-text-dim);
}

.subscribe-input:focus {
    border-color: var(--color-gold-400);
    background: rgba(212, 168, 83, 0.05);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.08);
}

.subscribe-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-300));
    border: none;
    border-radius: 8px;
    color: var(--color-bg);
    font-family: var(--font-cn);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(3px);
}

.subscribe-feedback {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    min-height: 1.2em;
    transition: all 0.3s ease;
}

.subscribe-feedback.success {
    color: var(--color-gold-300);
}

.subscribe-feedback.error {
    color: #e74c3c;
}

/* --- Social Links --- */
.social-links {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 2.3s forwards;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-gold-300);
    border-color: var(--color-gold-400);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.15);
}

/* --- Footer --- */
.footer {
    margin-top: 4rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s var(--transition-smooth) 2.8s forwards;
}

.footer p {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
}

/* --- Keyframes --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .brand-name {
        gap: 0.15em;
    }

    .brand-char {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-btn {
        justify-content: center;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .divider-top,
    .divider-bottom {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .brand-char {
        font-size: clamp(2.2rem, 16vw, 3.2rem);
    }

    .subtitle {
        letter-spacing: 0.2em;
    }

    .badge {
        padding: 0.3rem 1rem;
    }

    .footer {
        margin-top: 3rem;
    }
}

/* --- Selection --- */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: var(--color-gold-100);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}
