/* 暗黑破坏神2重制版专属官网样式表 */

:root {
    --gold-primary: #f0c365;
    --gold-light: #fff2cc;
    --gold-dark: #b8860b;
    --gold-border: #997a38;
    --red-glow: #e63946;
    --bg-dark: #0a0a0c;
    --bg-card: rgba(18, 18, 22, 0.85);
    --text-primary: #e6e6e6;
    --text-secondary: #a3a3a3;
    --font-heading: 'Cinzel', 'Noto Serif SC', serif;
    --font-title: 'Cinzel Decorative', 'Noto Serif SC', serif;
    --font-body: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('stone_bg.webp');
    background-repeat: repeat;
    background-attachment: fixed;
}

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

/* 顶部导航栏 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.75) 75%, transparent 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.25);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-item {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c9c0b0;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(240, 195, 101, 0.6);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: 0 0 6px var(--gold-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 80%;
}

.btn-d2r-sm {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(180deg, #3d0d0d 0%, #1a0505 100%);
    border: 1px solid #8b1e1e;
    color: #ffcccc;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
    text-shadow: 0 1px 2px #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6), inset 0 0 5px rgba(255, 50, 50, 0.2);
    transition: all 0.3s;
}

.btn-d2r-sm:hover {
    background: linear-gradient(180deg, #5c1414 0%, #290808 100%);
    border-color: #d93838;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(217, 56, 56, 0.6);
    transform: translateY(-1px);
}

/* 首屏 Hero 区域 */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    transform: scale(1.02);
    filter: brightness(0.9);
}

.hero-fog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 0.85) 70%, #0a0a0c 100%),
                linear-gradient(180deg, transparent 70%, #0a0a0c 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 24px;
}

.badge-fire {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.4);
    border-radius: 20px;
    color: #ff9999;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.2);
}

.hero-title {
    font-family: var(--font-title);
    font-size: 58px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fdf5e6;
    background: linear-gradient(180deg, #fff7db 0%, #f0c365 40%, #c48b28 75%, #593c0d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.95));
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #cfc6b8;
    max-width: 760px;
    margin: 0 auto 36px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* 按钮规范 */
.btn-d2r-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 16px 36px;
    background: linear-gradient(180deg, #7c1a1a 0%, #3a0808 100%);
    border: 2px solid #b83232;
    border-radius: 3px;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(184, 50, 50, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-d2r-primary:hover {
    background: linear-gradient(180deg, #992222 0%, #4a0a0a 100%);
    border-color: #ff5555;
    box-shadow: 0 6px 28px rgba(255, 60, 60, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-d2r-primary .btn-text {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff4d9;
    text-shadow: 0 2px 4px #000;
}

.btn-d2r-primary .btn-subtext {
    font-size: 12px;
    color: #e0a3a3;
    margin-top: 3px;
}

.btn-d2r-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 32px;
    background: linear-gradient(180deg, rgba(35, 30, 25, 0.9) 0%, rgba(20, 16, 12, 0.9) 100%);
    border: 2px solid var(--gold-border);
    border-radius: 3px;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    transition: all 0.3s;
}

.btn-d2r-secondary:hover {
    background: linear-gradient(180deg, rgba(55, 48, 38, 0.95) 0%, rgba(30, 25, 18, 0.95) 100%);
    border-color: var(--gold-light);
    color: #fff;
    box-shadow: 0 0 20px rgba(240, 195, 101, 0.4);
    transform: translateY(-2px);
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 18, 0.85);
    border: 1px solid rgba(184, 134, 11, 0.3);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    color: #b5ada0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
    animation: pulseGlow 2s infinite;
}

.server-status-pill strong {
    color: #2ecc71;
}

.divider-dot {
    color: rgba(184, 134, 11, 0.4);
}

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

/* 分割线与装饰物 */
.ornament-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.ornament-divider img {
    max-width: 600px;
    width: 90%;
    opacity: 0.75;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}

/* 核心版块通用样式 */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold-light);
    background: linear-gradient(180deg, #fff7db 0%, #f0c365 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.9));
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #9f9689;
    letter-spacing: 1px;
}

/* 特色卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(16, 16, 20, 0.85);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 32px rgba(240, 195, 101, 0.2);
}

.feature-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.08);
}

.feature-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #f7e7c4;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.feature-info p {
    font-size: 14px;
    color: #9c9588;
    line-height: 1.7;
}

/* 职业选择专区 */
.class-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.class-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(20, 20, 24, 0.8);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.class-tab:hover {
    background: rgba(35, 35, 42, 0.9);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.class-tab.active {
    background: linear-gradient(180deg, rgba(60, 48, 28, 0.9) 0%, rgba(25, 20, 12, 0.9) 100%);
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(240, 195, 101, 0.35);
}

.class-tab.highlight {
    border-color: rgba(186, 85, 211, 0.5);
}

.class-tab.highlight.active {
    border-color: #d187ff;
    box-shadow: 0 0 15px rgba(186, 85, 211, 0.5);
}

.class-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px #000);
    transition: transform 0.3s;
}

.class-tab.active .class-icon {
    transform: scale(1.12);
}

.class-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #cfc6b8;
    letter-spacing: 0.5px;
}

.class-tab.active .class-name {
    color: var(--gold-primary);
}

.class-stage {
    position: relative;
    min-height: 520px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 6px;
    overflow: hidden;
    background: #0d0d10;
    box-shadow: 0 12px 40px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
}

.stage-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    transition: opacity 0.4s ease, transform 0.6s ease;
    z-index: 1;
}

.stage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.85) 45%, rgba(8, 8, 10, 0.25) 80%, transparent 100%);
    z-index: 2;
}

.stage-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding: 50px 60px;
    transition: opacity 0.3s ease;
}

.class-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(184, 134, 11, 0.15);
    border: 1px solid var(--gold-border);
    border-radius: 2px;
    color: var(--gold-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.class-title {
    font-family: var(--font-title);
    font-size: 38px;
    font-weight: 800;
    color: #fff4d9;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px #000;
}

.class-summary {
    font-size: 15px;
    color: #c4baa9;
    line-height: 1.8;
    margin-bottom: 30px;
}

.class-traits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding-top: 20px;
}

.trait-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trait-label {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--gold-border);
    font-weight: 700;
    min-width: 70px;
}

.trait-val {
    font-size: 14px;
    color: #e6ded1;
}

/* 画廊区块 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 11, 0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    aspect-ratio: 16 / 9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 下载区块 */
.download-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
}

.download-card {
    background: rgba(14, 14, 18, 0.94);
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    padding: 60px 40px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.9);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.download-logo {
    height: 70px;
    margin-bottom: 20px;
}

.download-header h2 {
    font-family: var(--font-title);
    font-size: 34px;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.download-header p {
    color: #a89f91;
    font-size: 15px;
    margin-bottom: 40px;
}

.client-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.info-box {
    background: rgba(24, 24, 30, 0.7);
    border: 1px solid rgba(184, 134, 11, 0.2);
    padding: 16px 12px;
    border-radius: 4px;
}

.info-title {
    display: block;
    font-size: 12px;
    color: #8c8374;
    margin-bottom: 6px;
}

.info-val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #f0e6d6;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.download-buttons .large {
    min-width: 280px;
    padding: 18px 36px;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding-top: 40px;
}

.step-card {
    background: rgba(22, 22, 28, 0.5);
    padding: 24px;
    border-radius: 4px;
    border-left: 2px solid var(--gold-border);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 16px;
    color: #ede3d2;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: #9c9384;
    line-height: 1.6;
}

/* 页脚 */
.site-footer {
    background: #060608;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding: 50px 20px 40px;
    text-align: center;
}

.footer-camp {
    margin-bottom: 20px;
}

.camp-img {
    height: 60px;
    opacity: 0.85;
    filter: drop-shadow(0 0 15px rgba(255, 120, 40, 0.5));
}

.copyright {
    font-size: 13px;
    color: #6d665b;
    line-height: 1.8;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-title { font-size: 42px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .client-info-grid { grid-template-columns: repeat(2, 1fr); }
    .install-steps { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .stage-content { padding: 40px 30px; }
    .stage-overlay {
        background: linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.96) 100%);
    }
}
