/*
Theme Name: 德信娱乐
Theme URI: https://www.dexin.com
Author: 德信娱乐
Author URI: https://www.dexin.com
Description: 德信综合娱乐平台官方WordPress主题，支持Elementor页面编辑器，可自由修改所有页面内容。
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: Private
Text Domain: dexin
Tags: elementor, entertainment, dark, one-page
*/

/* === 基础重置 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #fff;
    color: #222;
    overflow-x: hidden;
}

/* === 品牌色变量 === */
:root {
    --color-primary: #6c63f0;
    --color-primary-dark: #5a52d5;
    --color-primary-light: #8b7cf8;
    --color-dark: #0d0d0d;
    --color-dark-mid: #111;
    --color-white: #ffffff;
    --color-text-muted: rgba(255,255,255,0.75);
    --font-main: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

/* === 导航 === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 48px;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 24px;
}

.site-logo img { height: 52px; width: auto; }

.nav-cert {
    display: flex;
    align-items: center;
    border: 2px solid #d4281e;
    padding: 4px 10px;
    gap: 8px;
}
.cert-check { color: #d4281e; font-size: 18px; font-weight: 900; }
.cert-text { display: flex; flex-direction: column; line-height: 1.2; }
.cert-text span:first-child { font-size: 9px; color: #fff; letter-spacing: 1px; font-weight: 700; }
.cert-text span:last-child { font-size: 11px; color: #d4281e; font-weight: 900; }

.main-navigation { margin-left: 36px; }
.main-navigation ul { display: flex; gap: 56px; list-style: none; }
.main-navigation a {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color .2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a { color: #a99bf8; }

.header-download-btn {
    margin-left: auto;
    padding: 9px 28px;
    background: linear-gradient(135deg, #6c63f0, #8b7cf8);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
    white-space: nowrap;
}
.header-download-btn:hover { opacity: .85; color: #fff; }

/* === HERO 区 === */
.hero-section {
    background: #0d0d0d;
    position: relative;
    height: calc(100vh - 60px);
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 90% at 78% 50%, #181410 0%, #0d0d0d 55%);
}
.hero-bg::before {
    content: '♠';
    position: absolute;
    right: 2%; top: 50%;
    transform: translateY(-52%);
    font-size: 680px;
    color: #1c1c1c;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
.hero-bg::after {
    content: '♠';
    position: absolute;
    right: 30%; top: 54%;
    transform: translateY(-50%);
    font-size: 340px;
    color: #181818;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.hero-phone-wrap {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 40px 48px;
}

.hero-phone-frame {
    width: 260px;
    background: #111;
    border-radius: 36px;
    border: 6px solid #2c2c2c;
    box-shadow: 0 0 0 1px #3a3a3a, 0 40px 120px rgba(0,0,0,.95);
    overflow: hidden;
    position: relative;
}
.hero-phone-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 95px; height: 26px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}
.hero-phone-frame img,
.hero-phone-frame video {
    width: 100%;
    display: block;
}

.hero-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 0 48px;
    color: #fff;
}

.hero-brand-name {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: 6px;
}

.hero-tagline {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 3px;
}

.hero-divider {
    width: 360px;
    height: 2px;
    background: rgba(255,255,255,.65);
    margin: 14px 0 16px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,.75);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-subtitle::before,
.hero-subtitle::after {
    content: '——';
    color: rgba(255,255,255,.4);
    font-size: 16px;
}

.hero-download-btns {
    display: flex;
    gap: 20px;
    margin-top: 36px;
}

.hero-dl-btn {
    flex: 1;
    max-width: 220px;
    padding: 15px 0;
    background: linear-gradient(135deg, #6c63f0, #8b7cf8);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .2s;
    letter-spacing: 1px;
}
.hero-dl-btn:hover {
    background: linear-gradient(135deg, #5a52d5, #7b72f2);
    transform: translateY(-2px);
    color: #fff;
}

/* === 内容区块 === */
.content-section {
    background: #fff;
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: 80px 120px;
    overflow: hidden;
}
.content-section.reverse { flex-direction: row-reverse; }

.cs-text { flex: 0 0 460px; padding-right: 60px; }
.content-section.reverse .cs-text { padding-right: 0; padding-left: 60px; }

.cs-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}
.cs-divider {
    width: 44px; height: 3px;
    background: var(--color-primary);
    margin-bottom: 22px;
    border-radius: 2px;
}
.cs-desc { font-size: 16px; color: #555; line-height: 2; margin-bottom: 24px; }
.cs-desc a { color: var(--color-primary); text-decoration: none; }

.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cs-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(108,99,240,.08);
    color: var(--color-primary);
    border: 1px solid rgba(108,99,240,.2);
}
.cs-points { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.cs-point { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #444; line-height: 1.6; }
.cs-point-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; margin-top: 6px; }

.cs-img { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.cs-img img { max-width: 100%; height: auto; }
.illus { width: 100%; max-width: 580px; }

/* === 页脚 === */
.site-footer {
    background: linear-gradient(135deg, #4a3fa8 0%, #6c63f0 50%, #8b7cf8 100%);
    padding: 60px 48px 40px;
    text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.footer-logo img { height: 60px; }
.footer-copy { font-size: 15px; color: rgba(255,255,255,.85); }
.footer-copy a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* === ELEMENTOR 兼容覆盖 === */
.elementor-section { width: 100%; }
.e-con, .elementor-container { max-width: 1300px; margin: 0 auto; }

/* === 响应式 === */
@media (max-width: 900px) {
    .site-header { padding: 0 16px; height: 56px; gap: 10px; }
    .main-navigation { display: none; }
    .nav-cert { display: none; }
    .site-logo img { height: 36px !important; }

    .hero-section { height: auto !important; min-height: auto !important; margin-top: 56px; }
    .hero-inner { flex-direction: column; overflow: visible; }
    .hero-bg::before { font-size: 300px; right: -40px; }
    .hero-bg::after { display: none; }

    .hero-phone-wrap { flex: none; width: 100%; justify-content: center; padding: 32px 20px 16px; }
    .hero-phone-frame { width: 220px; border-radius: 32px; border-width: 5px; }

    .hero-text-wrap { flex: none; width: 100%; padding: 20px 24px 40px; text-align: center; }
    .hero-brand-name { font-size: 52px; letter-spacing: 4px; margin-bottom: 6px; }
    .hero-tagline { font-size: 32px; letter-spacing: 3px; }
    .hero-divider { margin: 12px auto 16px; width: 240px; }
    .hero-subtitle { font-size: 14px; justify-content: center; letter-spacing: 1px; }
    .hero-subtitle::before, .hero-subtitle::after { content: '—'; }
    .hero-download-btns { justify-content: center; margin-top: 24px; gap: 12px; }
    .hero-dl-btn { max-width: 150px; min-width: 120px; padding: 13px 8px; font-size: 14px; gap: 7px; border-radius: 8px; letter-spacing: 0; }

    .content-section { flex-direction: column !important; padding: 40px 20px; min-height: auto; }
    .cs-text { flex: none; width: 100%; padding: 0 0 20px 0 !important; }
    .cs-title { font-size: 22px; }
    .cs-img { min-height: 240px; width: 100%; }

    .site-footer { padding: 32px 20px; }
    .footer-logo img { height: 40px !important; }
}
