/* ========== 重置 + 变量 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
:root {
    --dark: #121212;
    --darker: #0A0A0A;
    --light: #F3F4F6;
    --muted: #9CA3AF;
    --accent: #FF7A00;
    --container: 1200px;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }
.container { max-width: var(--container); width: 100%; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }

/* ========== 动画 ========== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,0,0.6); } 70% { box-shadow: 0 0 0 12px rgba(255,122,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0); } }
@keyframes glowRotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.pulse-effect { animation: pulse 2s infinite; }

/* ========== 通用区块标题 ========== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}
.section-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 提示框 ========== */
.tooltip { position: relative; cursor: pointer; }
.tooltip .tooltip-text {
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s, top 0.3s;
    position: absolute; z-index: 100;
    top: 100%; left: 50%; transform: translateX(-50%);
    background: rgba(31,41,55,0.95); backdrop-filter: blur(4px);
    color: var(--light); text-align: center;
    padding: 10px; border-radius: 8px;
    border: 1px solid rgba(55,65,81,0.3);
    min-width: 200px; pointer-events: none; margin-top: 10px;
}
.tooltip:hover .tooltip-text { visibility: visible; opacity: 1; top: 105%; }
.tooltip .tooltip-text::after {
    content: ""; position: absolute; bottom: 100%; left: 50%; margin-left: -5px;
    border-width: 5px; border-style: solid;
    border-color: transparent transparent rgba(31,41,55,0.95) transparent;
}

/* ========== 文字 Logo ========== */
.site-logo-text {
    flex-direction: column;
    line-height: 1;
    gap: 4px;
    text-decoration: none;
}
.logo-main {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FF7A00 0%, #FFB347 40%, #FF6B35 70%, #FF9A00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShine 3s linear infinite;
    filter: drop-shadow(0 2px 8px rgba(255,122,0,0.3));
    text-shadow: none;
}
.logo-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
@keyframes logoShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FF7A00, #FFB347, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 8px;
}

/* ========== 导航栏 ========== */
#navbar {
    position: fixed; width: 100%; top: 0;
    padding: 12px 0; transition: all 0.3s ease; z-index: 50;
}
#navbar .nav-wrap {
    display: flex; justify-content: space-between; align-items: center; height: 60px;
}
#navbar .nav-list { display: flex; gap: 32px; align-items: center; }
#navbar .nav-list a, #navbar .nav-list .tooltip {
    font-size: 15px; font-weight: 500; transition: color 0.3s; color: rgba(255,255,255,0.85);
}
#navbar .nav-list a:hover, #navbar .nav-list .tooltip:hover { color: var(--accent); }
#menu-toggle { font-size: 24px; cursor: pointer; display: none; color: var(--light); background: none; border: none; }

/* 移动端菜单 */
#mobile-menu {
    background: rgba(18,18,18,0.97); backdrop-filter: blur(12px);
    position: absolute; width: 100%; left: 0; top: 100%;
    transform: translateY(-100%); opacity: 0;
    transition: all 0.3s ease; pointer-events: none; padding: 24px 20px;
}
#mobile-menu a { padding: 10px 0; font-size: 16px; display: block; color: rgba(255,255,255,0.85); transition: color 0.3s; }
#mobile-menu a:hover { color: var(--accent); }
#mobile-menu .btn {
    background: var(--accent); color: white;
    padding: 14px 24px; font-size: 16px; font-weight: 600;
    border-radius: 999px; text-align: center; display: block;
}
.cursor-pointer { cursor: pointer; }

/* 客服弹窗 */
#support-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    z-index: 60; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#support-modal .modal-content {
    background: var(--dark); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 24px; max-width: 320px; width: 100%; margin: 0 16px;
    transform: scale(0.95); transition: transform 0.3s;
}
#support-modal .modal-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
#support-modal .modal-header h3 { font-size: 18px; font-weight: 600; }
#support-modal .modal-header button { background: none; border: none; color: var(--muted); cursor: pointer; }
#support-modal .modal-body { display: flex; flex-direction: column; align-items: center; }
#support-modal .modal-body img { width: 200px; height: 200px; object-fit: cover; border-radius: 8px; padding: 8px; margin-bottom: 12px; }
#support-modal .modal-body p { text-align: center; }

/* ========== 英雄区域 ========== */
#home {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
#home .bg-video { position: absolute; inset: 0; z-index: 0; }
#home .bg-video::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(18,18,18,0.7), rgba(18,18,18,0.4), var(--dark));
    z-index: 1;
}
#home .bg-video video, #home .bg-video img { width: 100%; height: 100%; object-fit: cover; }
#home .home-content {
    position: relative; z-index: 2; text-align: center; max-width: 1200px; width: 100%; padding: 0 20px;
}
#home .home-content h1 {
    font-size: clamp(36px, 7vw, 72px); font-weight: 800; line-height: 1.15;
    margin-bottom: 20px; color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    animation: fadeIn 0.8s ease;
}
#home .home-subtitle {
    font-size: clamp(16px, 2.5vw, 22px); max-width: 600px;
    margin: 0 auto 36px; color: rgba(255,255,255,0.8);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1.2s ease;
}
#home .btn-group {
    display: flex; justify-content: center; gap: 16px; margin-bottom: 0;
    animation: fadeIn 1.6s ease;
}
#home .btn-primary {
    background: var(--accent); color: white;
    padding: 14px 40px; font-size: 17px; font-weight: 600;
    border-radius: 999px; transition: all 0.3s; display: inline-block;
}
#home .btn-primary:hover { background: #e86e00; transform: translateY(-2px); }
#home .scroll-down {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.5); transition: color 0.3s;
}
#home .scroll-down:hover { color: var(--accent); }
#home .scroll-down i { font-size: 28px; }

/* 首屏扫码卡片 */
.hero-qr-card {
    display: inline-block; position: relative; margin-top: 32px; animation: fadeIn 2s ease;
}
.hero-qr-glow {
    position: absolute; inset: -3px;
    background: linear-gradient(135deg, #25d366, #FF7A00, #25d366);
    background-size: 300% 300%;
    border-radius: 22px; animation: glowRotate 4s ease infinite;
    opacity: 0.6; filter: blur(6px);
}
.hero-qr-inner {
    position: relative; display: flex; align-items: center; gap: 24px;
    background: rgba(18,18,18,0.85); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 20px 28px 20px 20px;
}
.hero-qr-image {
    width: 130px; height: 130px; flex-shrink: 0;
    background: #fff; border-radius: 14px; padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-qr-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.hero-qr-info { text-align: left; }
.hero-qr-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; background: linear-gradient(135deg, #25d366, #128c7e);
    color: white; font-size: 12px; font-weight: 600;
    border-radius: 999px; margin-bottom: 8px;
}
.hero-qr-heading {
    font-size: 18px !important; font-weight: 700 !important;
    color: #fff !important; margin: 0 0 12px 0 !important;
    text-shadow: none !important;
}
.hero-qr-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-qr-tags span {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; background: rgba(255,122,0,0.12);
    border: 1px solid rgba(255,122,0,0.25);
    border-radius: 999px; font-size: 12px; color: rgba(255,255,255,0.85);
}
.hero-qr-tags span i { color: var(--accent); font-size: 11px; }

/* ========== 游戏介绍（简约四宫格） ========== */
#intro {
    padding: 80px 0;
    background: var(--dark);
}
.intro-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
.intro-item {
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s, transform 0.3s;
}
.intro-item:hover {
    border-color: rgba(255,122,0,0.3);
    transform: translateY(-4px);
}
.intro-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(255,122,0,0.1);
    margin-bottom: 20px;
}
.intro-icon i { font-size: 20px; color: var(--accent); }
.intro-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.intro-item p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ========== 扫码进群专区 ========== */
.follow-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative; overflow: hidden;
}
.follow-section::before {
    content: ""; position: absolute; top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,122,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.follow-card {
    display: flex; align-items: center; gap: 56px;
    max-width: 920px; margin: 0 auto;
    background: rgba(18,18,18,0.4); backdrop-filter: blur(8px);
    border-radius: 20px; padding: 44px;
    border: 1px solid rgba(255,255,255,0.08); position: relative;
}
.follow-left { flex: 1; }
.follow-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; background: linear-gradient(135deg, #25d366, #128c7e);
    color: white; font-size: 13px; font-weight: 600;
    border-radius: 999px; margin-bottom: 16px;
}
.follow-left h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.follow-left > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.follow-benefits { display: flex; flex-direction: column; gap: 10px; }
.follow-benefits li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 14px; }
.follow-benefits li i { color: var(--accent); font-size: 14px; flex-shrink: 0; }
.follow-right { flex-shrink: 0; text-align: center; }
.follow-right .qrcode {
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.95); border-radius: 14px; padding: 10px;
    box-shadow: 0 6px 24px rgba(255,122,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}
.follow-right .qrcode:hover { transform: scale(1.05); box-shadow: 0 10px 32px rgba(255,122,0,0.3); }
.follow-right .qrcode img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.follow-right .qr-label { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ========== 游戏特色（简约编号卡片） ========== */
#features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1a1a 100%);
}
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
    padding: 28px 32px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s, transform 0.3s;
    display: flex; gap: 20px; align-items: flex-start;
}
.feature-card:hover { border-color: rgba(255,122,0,0.3); transform: translateY(-3px); }
.feature-num {
    font-size: 32px; font-weight: 800; color: rgba(255,122,0,0.2);
    line-height: 1; flex-shrink: 0; min-width: 48px;
}
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ========== 恐龙种类（简洁卡片） ========== */
#dinosaurs {
    padding: 80px 0;
    background: var(--dark);
}
.dino-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dino-card {
    display: flex; overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s, transform 0.3s;
}
.dino-card:hover { border-color: rgba(255,122,0,0.3); transform: translateY(-3px); }
.dino-card .dino-img {
    width: 140px; height: 120px; flex-shrink: 0; overflow: hidden; position: relative;
}
.dino-card .dino-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dino-card:hover .dino-img img { transform: scale(1.08); }
.dino-tag {
    position: absolute; top: 8px; left: 8px;
    background: var(--accent); color: white;
    font-size: 11px; font-weight: 600; padding: 2px 8px;
    border-radius: 999px;
}
.dino-info { padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.dino-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.dino-info p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ========== 游戏截图（瀑布流） ========== */
#screenshots {
    padding: 80px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, var(--dark) 100%);
}
.screenshot-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
}
.screenshot-item {
    overflow: hidden; border-radius: 10px; cursor: pointer; position: relative;
}
.screenshot-item img {
    width: 100%; height: 200px; object-fit: cover;
    transition: transform 0.5s;
}
.screenshot-item:hover img { transform: scale(1.05); }
.screenshot-item::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(255,122,0,0.25); opacity: 0;
    transition: opacity 0.3s; border-radius: 10px;
}
.screenshot-item:hover::after { opacity: 1; }

/* ========== 系统需求（简洁表格） ========== */
#requirements {
    padding: 80px 0;
    background: var(--dark);
}
.req-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px;
    max-width: 900px; margin: 0 auto;
}
.req-card {
    border-radius: 12px; padding: 32px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.req-recommend { border-color: rgba(255,122,0,0.2); }
.req-label {
    display: inline-block; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; color: var(--muted);
    text-transform: uppercase; margin-bottom: 20px;
    padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,0.06);
}
.req-label-highlight { color: var(--accent); border-bottom-color: rgba(255,122,0,0.3); }
.req-table { width: 100%; border-collapse: collapse; }
.req-table tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.req-table tr:last-child { border-bottom: none; }
.req-table td { padding: 10px 0; font-size: 14px; }
.req-table td:first-child { color: var(--muted); width: 100px; font-weight: 500; }
.req-table td:last-child { color: var(--light); }

/* ========== 页脚 ========== */
footer {
    background: var(--darker); padding: 56px 0 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
footer .footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 36px;
    margin-bottom: 48px;
}
footer .footer-col .logo img { height: 52px; margin-bottom: 16px; }
footer .footer-col p { color: var(--muted); margin-bottom: 16px; line-height: 1.6; font-size: 14px; }
footer .social-links { display: flex; gap: 12px; }
footer .social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: all 0.3s; font-size: 14px;
}
footer .social-links a:hover { background: var(--accent); color: white; border-color: var(--accent); }
.footer-column-title {
    position: relative; display: inline-block;
    padding-bottom: 8px; margin-bottom: 20px;
    font-size: 15px; font-weight: 600;
}
.footer-column-title::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    height: 2px; width: 32px; background: var(--accent);
}
footer .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
footer .footer-col ul li a { color: var(--muted); transition: color 0.3s; font-size: 14px; }
footer .footer-col ul li a:hover { color: var(--accent); }
footer .copyright {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 24px 20px; text-align: center;
}
footer .copyright p { color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 8px; line-height: 1.6; }
footer .copyright p:last-child { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 767px) {
    #menu-toggle { display: block; }
    #navbar .nav-list { display: none; }
    .follow-card { flex-direction: column; gap: 28px; padding: 28px 20px; text-align: center; }
    .follow-left > p, .follow-left h2 { text-align: center; }
    .follow-benefits { align-items: center; }
    .follow-benefits li { justify-content: center; }
    .hero-qr-inner { flex-direction: column; gap: 14px; padding: 18px; text-align: center; }
    .hero-qr-info { text-align: center; }
    .hero-qr-image { width: 110px; height: 110px; }
    .hero-qr-tags { justify-content: center; }
    .hero-qr-heading { font-size: 16px !important; }
    .dino-card { flex-direction: column; }
    .dino-card .dino-img { width: 100%; height: 160px; }
}

@media (min-width: 768px) {
    #menu-toggle { display: none; }
    .intro-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .dino-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-grid { grid-template-columns: repeat(3, 1fr); }
    .screenshot-item.large { grid-column: span 2; }
    .screenshot-item img { height: 240px; }
    .screenshot-item.large img { height: 280px; }
    .req-grid { grid-template-columns: repeat(2, 1fr); }
    footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .intro-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .dino-grid { grid-template-columns: repeat(3, 1fr); }
    footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
