/* ===== 复古传奇网站样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    background: #1a1209;
    color: #e8d9b8;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 600px;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(139,69,19,0.4) 0%, transparent 70%),
        linear-gradient(180deg, #2a1f14 0%, #1a1209 100%);
    z-index: -1;
}

/* Banner区域 */
.banner {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26,18,9,0.3) 0%, rgba(26,18,9,0.8) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-title {
    font-size: 64px;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 40px rgba(255,215,0,0.5);
    margin-bottom: 20px;
    letter-spacing: 8px;
    font-family: "SimSun", serif;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 20px rgba(255,215,0,0.3); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 0 0 40px rgba(255,215,0,0.6); }
}

.banner-subtitle {
    font-size: 20px;
    color: #e8d9b8;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 40px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: bold;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(180deg, #ffd700 0%, #d4a84b 50%, #a67c2d 100%);
    color: #3d2914;
    border: 2px solid #8b6914;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-secondary {
    background: linear-gradient(180deg, #8b4513 0%, #654321 50%, #3d2914 100%);
    color: #ffd700;
    border: 2px solid #a67c2d;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #a0522d 0%, #8b4513 50%, #654321 100%);
}

/* 主内容区 */
.main {
    max-width: 1200px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
    padding: 0 20px 40px;
}

/* 公告栏 */
.notice-bar {
    background: linear-gradient(180deg, #2a1f14 0%, #1a1209 100%);
    border: 2px solid #c9a96e;
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.notice-icon {
    color: #ff4444;
    font-size: 20px;
    font-weight: bold;
}

.notice-text {
    flex: 1;
    color: #ffd700;
    font-size: 15px;
    overflow: hidden;
}

.notice-text span {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 25px;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* 卡片通用样式 */
.card {
    background: linear-gradient(180deg, #2a1f14 0%, #1f170e 100%);
    border: 2px solid #8b6914;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}

.card-header {
    background: linear-gradient(180deg, #4a3520 0%, #3d2914 100%);
    border-bottom: 2px solid #c9a96e;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    width: 8px;
    height: 20px;
    background: linear-gradient(180deg, #ffd700 0%, #d4a84b 100%);
    border-radius: 2px;
}

.card-title {
    font-size: 18px;
    color: #ffd700;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: "SimSun", serif;
}

.card-body {
    padding: 20px 25px;
}

/* 版本介绍 */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #5a4a32;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.8;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '◆';
    color: #ffd700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list .highlight {
    color: #ff6b35;
    font-weight: bold;
}

.feature-list .gold {
    color: #ffd700;
    font-weight: bold;
}

/* 开服信息 */
.server-info {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid #c9a96e;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.server-info h3 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.server-time {
    font-size: 24px;
    color: #ff4444;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255,68,68,0.5);
}

.server-label {
    color: #e8d9b8;
    font-size: 14px;
    margin-top: 5px;
}

/* 倒计时 */
.countdown-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #8b6914;
}

.countdown-title {
    font-size: 14px;
    color: #c9a96e;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-num {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(180deg, #4a3520 0%, #2a1f14 100%);
    border: 2px solid #c9a96e;
    border-radius: 6px;
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
    font-family: "SimSun", serif;
}

.cd-text {
    font-size: 12px;
    color: #a08060;
    margin-top: 5px;
}

/* 侧边栏按钮 */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-btn {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(180deg, #4a3520 0%, #3d2914 100%);
    border: 2px solid #8b6914;
    border-radius: 6px;
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.sidebar-btn:hover {
    background: linear-gradient(180deg, #5a4530 0%, #4a3520 100%);
    border-color: #ffd700;
    transform: translateX(5px);
    box-shadow: -3px 0 15px rgba(255,215,0,0.2);
}

.sidebar-btn::before {
    content: '▶ ';
    font-size: 12px;
    color: #ff6b35;
}

/* 微信二维码 */
.qrcode-box {
    text-align: center;
    padding: 20px;
}

.qrcode-box img {
    width: 180px;
    height: 180px;
    border: 4px solid #c9a96e;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

.qrcode-box p {
    color: #e8d9b8;
    margin-top: 10px;
    font-size: 14px;
}

/* 装备展示 */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.equip-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid #5a4a32;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.equip-item:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}

.equip-name {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.equip-tier {
    font-size: 12px;
    color: #ff6b35;
}

/* 装备展示大图 */
.equip-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.equip-showcase-item {
    background: linear-gradient(180deg, rgba(42,31,20,0.8) 0%, rgba(26,18,9,0.9) 100%);
    border: 2px solid #8b6914;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.equip-showcase-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.equip-showcase-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
}

.equip-showcase-item:hover::before {
    opacity: 1;
}

.equip-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #c9a96e;
    background: linear-gradient(135deg, #2a1f14 0%, #1a1209 100%);
}

.equip-icon::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 8px;
}

.equip-emoji {
    font-size: 36px;
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.5));
}

.equip-icon.warrior { background: linear-gradient(135deg, #4a2020 0%, #2a1010 100%); border-color: #cc4444; }
.equip-icon.warrior .equip-emoji { filter: drop-shadow(0 0 8px rgba(255,68,68,0.6)); }

.equip-icon.holy { background: linear-gradient(135deg, #3d2914 0%, #2a1f14 100%); border-color: #ffd700; }
.equip-icon.holy .equip-emoji { filter: drop-shadow(0 0 8px rgba(255,215,0,0.6)); }

.equip-icon.weapon { background: linear-gradient(135deg, #4a3520 0%, #2a1f14 100%); border-color: #ff8c00; }
.equip-icon.weapon .equip-emoji { filter: drop-shadow(0 0 8px rgba(255,140,0,0.6)); }

.equip-icon.hero { background: linear-gradient(135deg, #4a2020 0%, #2a1010 100%); border-color: #ff6b35; }
.equip-icon.hero .equip-emoji { filter: drop-shadow(0 0 8px rgba(255,107,53,0.6)); }

.equip-icon.mage { background: linear-gradient(135deg, #1a2a4a 0%, #0a1a2a 100%); border-color: #4488ff; }
.equip-icon.mage .equip-emoji { filter: drop-shadow(0 0 8px rgba(68,136,255,0.6)); }

.equip-icon.robe { background: linear-gradient(135deg, #2a1a4a 0%, #1a0a2a 100%); border-color: #8844ff; }
.equip-icon.robe .equip-emoji { filter: drop-shadow(0 0 8px rgba(136,68,255,0.6)); }

.equip-icon.fsuit { background: linear-gradient(135deg, #1a3a4a 0%, #0a2a3a 100%); border-color: #44ccff; }
.equip-icon.fsuit .equip-emoji { filter: drop-shadow(0 0 8px rgba(68,204,255,0.6)); }

.equip-icon.bingyu { background: linear-gradient(135deg, #2a3a5a 0%, #1a2a4a 100%); border-color: #66aaff; }
.equip-icon.bingyu .equip-emoji { filter: drop-shadow(0 0 8px rgba(102,170,255,0.6)); }

.equip-icon.taoist { background: linear-gradient(135deg, #1a3a2a 0%, #0a2a1a 100%); border-color: #44cc88; }
.equip-icon.taoist .equip-emoji { filter: drop-shadow(0 0 8px rgba(68,204,136,0.6)); }

.equip-icon.tianzun { background: linear-gradient(135deg, #2a3a2a 0%, #1a2a1a 100%); border-color: #88cc44; }
.equip-icon.tianzun .equip-emoji { filter: drop-shadow(0 0 8px rgba(136,204,68,0.6)); }

.equip-icon.longwen { background: linear-gradient(135deg, #3a3a1a 0%, #2a2a0a 100%); border-color: #cccc44; }
.equip-icon.longwen .equip-emoji { filter: drop-shadow(0 0 8px rgba(204,204,68,0.6)); }

.equip-icon.daopao { background: linear-gradient(135deg, #1a3a3a 0%, #0a2a2a 100%); border-color: #44cccc; }
.equip-icon.daopao .equip-emoji { filter: drop-shadow(0 0 8px rgba(68,204,204,0.6)); }

.equip-show-name {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.equip-show-type {
    font-size: 12px;
    color: #ff6b35;
    margin-bottom: 8px;
}

.equip-show-attr {
    font-size: 11px;
    color: #a08060;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .equip-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 活动列表 */
.activity-list {
    list-style: none;
}

.activity-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #5a4a32;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.activity-list li:last-child {
    border-bottom: none;
}

.activity-name {
    color: #e8d9b8;
}

.activity-time {
    color: #ffd700;
    font-size: 13px;
}

/* 底部 */
.footer {
    background: #0f0a05;
    border-top: 2px solid #8b6914;
    padding: 30px 20px;
    text-align: center;
    color: #8b7355;
    font-size: 13px;
    line-height: 2;
}

.footer a {
    color: #c9a96e;
    text-decoration: none;
}

.footer a:hover {
    color: #ffd700;
}

/* 职业介绍 */
.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.class-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid #5a4a32;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s;
}

.class-item:hover {
    border-color: #ffd700;
}

.class-name {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.class-desc {
    font-size: 12px;
    color: #c0b090;
    line-height: 1.6;
}

.class-stars {
    margin-top: 8px;
    font-size: 12px;
    color: #ffd700;
}

.class-special {
    margin-top: 6px;
    font-size: 12px;
    color: #ff6b35;
    text-align: center;
    font-weight: bold;
}

/* 响应式 */
@media (max-width: 768px) {
    .banner-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    .banner-subtitle {
        font-size: 16px;
    }
    .nav-menu {
        display: none;
    }
    .equip-grid,
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
