﻿/* ============================================================
   轩澜·昂游万界之旅 — 首页专属样式
   ============================================================ */


/* ---------- 主页元素多级唤醒进场机制 ---------- */
.navbar {
    opacity: 0;
    animation: navbarAwake 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 4.6s;
}

.container {
    opacity: 0;
    animation: containerAwake 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 4.8s;
}

.footer-bar {
    opacity: 0;
    animation: navbarAwake 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 5.1s;
}

@keyframes navbarAwake {
    0% { opacity: 0; transform: translateY(-15px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes containerAwake {
    0% { opacity: 0; transform: translateY(40px) scale(0.97); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ---------- 主体内容容器 ---------- */
.container {
    max-width: 1200px;
    margin: 120px auto 100px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* 英雄横幅板块 */
.hero-section {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        inset 0 10px 30px rgba(0, 180, 255, 0.05);
    margin-bottom: 2.5rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 180, 255, 0.1);
    border: 1px solid rgba(0, 180, 255, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #64d2ff;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.1) inset;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #bbf0ff, #e3b6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 我的世界 · 矩阵卡片网格 */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.matrix-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}

.matrix-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 255, 0.3);
    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 180, 255, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    background: linear-gradient(135deg, #0cf, #94f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 1px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.hero-section, .matrix-card, .footer-bar {
    user-select: text;
}

/* ---------- 首页响应式 ---------- */
@media (max-width: 768px) {
    .container { margin-top: 100px; }
    .hero-section { padding: 2.5rem 1.5rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; }
}
