/* ============================================
   HELLO WORLD - Game Website Stylesheet
   Dark Fantasy Theme | Purple-Gold Accents
   ============================================ */

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
    background: #0a0820;
    color: #e8e6f0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Background Effects ========== */
.bg-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(170, 68, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(60, 30, 100, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, #0a0820 0%, #120a30 50%, #0a0820 100%);
}

.bg-stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 45% 40%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 65% 85%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 15% 55%, rgba(170,68,255,0.4), transparent),
        radial-gradient(2px 2px at 75% 45%, rgba(255,215,0,0.3), transparent),
        radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 55% 25%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 65%, rgba(255,255,255,0.3), transparent);
    background-size: 600px 600px;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ========== Navigation Bar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    background: rgba(10, 8, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(170, 68, 255, 0.2);
}

.navbar.scrolled {
    padding: 8px 40px;
    background: rgba(10, 8, 32, 0.92);
    box-shadow: 0 4px 30px rgba(170, 68, 255, 0.15);
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffd700, #aa44ff, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    cursor: pointer;
    text-shadow: 0 0 30px rgba(170, 68, 255, 0.3);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    align-items: center;
    justify-content: flex-end;
    max-width: 75%;
}

.nav-links a {
    font-size: 14px;
    color: #b8b0d0;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #aa44ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 22px;
    color: #ffd700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(170, 68, 255, 0.15) 0%, transparent 60%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-tagline {
    font-size: 14px;
    letter-spacing: 6px;
    color: #aa44ff;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 1s 0.2s forwards;
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 25%, #aa44ff 50%, #ffd700 75%, #ff8c00 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease infinite, fadeUp 1s 0.4s forwards;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(170, 68, 255, 0.5));
    text-transform: uppercase;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    color: #c0b8e0;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
    letter-spacing: 3px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #aa44ff, #7a2fd0);
    color: #fff;
    box-shadow: 0 4px 20px rgba(170, 68, 255, 0.4);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(170, 68, 255, 0.6), 0 0 40px rgba(170, 68, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.btn-secondary:hover {
    border-color: #ffd700;
    color: #fff;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.15);
    transform: translateY(-3px);
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0a0820;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
}

/* ========== Section Common ========== */
.section {
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffd700, #aa44ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
}

.section-title p {
    font-size: 15px;
    color: #8a82a8;
    letter-spacing: 2px;
}

.section-title .title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #aa44ff, #ffd700, #aa44ff, transparent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== Glass Card ========== */
.glass-card {
    background: rgba(20, 15, 50, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(170, 68, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(170, 68, 255, 0.5);
    box-shadow: 0 20px 60px rgba(170, 68, 255, 0.2), 0 0 40px rgba(170, 68, 255, 0.1);
    background: rgba(25, 18, 60, 0.6);
}

/* ========== Features Grid ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(170, 68, 255, 0.4));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 14px;
    color: #a8a0c0;
    line-height: 1.7;
}

/* ========== World Map ========== */
.maps-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.map-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 360px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(170, 68, 255, 0.2);
}

.map-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.map-card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    background: linear-gradient(180deg, rgba(10, 8, 32, 0.3) 0%, rgba(10, 8, 32, 0.9) 100%);
}

.map-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 50px rgba(170, 68, 255, 0.3);
}

.map-card:hover .map-card-content {
    background: linear-gradient(180deg, rgba(10, 8, 32, 0.1) 0%, rgba(10, 8, 32, 0.95) 100%);
}

.map-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    width: fit-content;
}

.map-card h3 {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.map-card p {
    font-size: 13px;
    color: #b0a8c8;
    line-height: 1.6;
}

.map-monsters {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.map-monsters span {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(170, 68, 255, 0.2);
    color: #c8b8e8;
    border: 1px solid rgba(170, 68, 255, 0.3);
}

/* Map backgrounds */
.map-bg-village {
    background: linear-gradient(135deg, #1a3a1a 0%, #0a2810 50%, #051808 100%);
}
.map-bg-village::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 60%, rgba(100, 200, 100, 0.15), transparent 60%);
}

.map-bg-plains {
    background: linear-gradient(135deg, #2a3a0a 0%, #1a2810 50%, #0a1808 100%);
}
.map-bg-plains::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(200, 180, 50, 0.12), transparent 60%);
}

.map-bg-forest {
    background: linear-gradient(135deg, #0a1a08 0%, #051005 50%, #020a02 100%);
}
.map-bg-forest::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(50, 100, 30, 0.15), transparent 60%);
}

.map-bg-mine {
    background: linear-gradient(135deg, #2a1a08 0%, #1a1005 50%, #0a0802 100%);
}
.map-bg-mine::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(200, 120, 30, 0.1), transparent 60%);
}

.map-bg-snow {
    background: linear-gradient(135deg, #0a1a3a 0%, #051028 50%, #020818 100%);
}
.map-bg-snow::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 60%, rgba(150, 200, 255, 0.15), transparent 60%);
}

/* ========== Equipment System ========== */
.equip-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.equip-slots {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.equip-slot {
    aspect-ratio: 1;
    background: rgba(20, 15, 50, 0.6);
    border: 1px solid rgba(170, 68, 255, 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #a8a0c8;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 4px;
}

.equip-slot-icon {
    font-size: 22px;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 8px rgba(170, 68, 255, 0.3));
}

.equip-slot:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.equip-slot:hover .equip-slot-icon {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

.quality-tiers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.quality-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: default;
}

.quality-badge:hover {
    transform: scale(1.1);
}

.quality-normal { border-color: #ccc; color: #ccc; background: rgba(204, 204, 204, 0.1); }
.quality-fine { border-color: #00ff66; color: #00ff66; background: rgba(0, 255, 102, 0.1); }
.quality-rare { border-color: #3399ff; color: #3399ff; background: rgba(51, 153, 255, 0.1); }
.quality-epic { border-color: #aa44ff; color: #cc88ff; background: rgba(170, 68, 255, 0.1); }
.quality-legend { border-color: #ff8c00; color: #ffb347; background: rgba(255, 140, 0, 0.1); }

.equip-info-list {
    list-style: none;
    padding: 0;
}

.equip-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(170, 68, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #b0a8c8;
}

.equip-info-list li .info-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.equip-info-list li strong {
    color: #ffd700;
}

/* ========== Enhancement System ========== */
.enhance-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.enhance-table th,
.enhance-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(170, 68, 255, 0.15);
    font-size: 14px;
}

.enhance-table th {
    background: rgba(170, 68, 255, 0.15);
    color: #ffd700;
    font-weight: bold;
    letter-spacing: 1px;
}

.enhance-table td {
    color: #b0a8c8;
}

.enhance-level-safe {
    color: #00ff66 !important;
    font-weight: bold;
}

.enhance-level-risk {
    color: #ff6644 !important;
    font-weight: bold;
}

.enhance-level-max {
    color: #fff !important;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(170, 68, 255, 0.2), rgba(0, 200, 255, 0.2));
}

.enhance-color-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.enhance-color-bar div {
    flex: 1;
    transition: flex 0.3s ease;
}

.enhance-color-bar div:hover {
    flex: 2;
}

.rainbow-effect {
    background: linear-gradient(90deg,
        #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #0088ff, #8800ff, #ff00ff, #ff0000);
    background-size: 200% 100%;
    animation: rainbow-slide 3s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 2px;
}

@keyframes rainbow-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ========== NPC Zero ========== */
.npc-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.npc-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.npc-figure {
    width: 240px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.npc-glow {
    position: absolute;
    width: 280px;
    height: 360px;
    background: radial-gradient(ellipse, rgba(0, 255, 200, 0.3) 0%, transparent 60%);
    animation: npc-pulse 3s ease-in-out infinite;
}

@keyframes npc-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.npc-sprite { /* removed - now using CSS energy orb */ }

.npc-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(0,255,204,0.85) 30%, rgba(0,180,160,0.4) 70%, transparent 100%);
    box-shadow: 0 0 40px rgba(0,255,204,0.6), 0 0 80px rgba(0,255,204,0.3);
    animation: npc-float 4s ease-in-out infinite, npc-core-pulse 2s ease-in-out infinite;
}

@keyframes npc-core-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.npc-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    z-index: 1;
    pointer-events: none;
}

.npc-ring-1 {
    width: 90px;
    height: 32px;
    border-color: rgba(0,255,204,0.5);
    animation: npc-ring-spin 4s linear infinite;
}

.npc-ring-2 {
    width: 110px;
    height: 50px;
    border-color: rgba(255,215,0,0.4);
    animation: npc-ring-spin 6s linear infinite reverse;
}

@keyframes npc-ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes npc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.npc-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 255, 200, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.6);
}

.npc-particle:nth-child(1) { top: 10%; left: 10%; animation: particle-orbit 3s linear infinite; }
.npc-particle:nth-child(2) { top: 20%; right: 5%; animation: particle-orbit 4s linear infinite reverse; }
.npc-particle:nth-child(3) { bottom: 15%; left: 15%; animation: particle-orbit 5s linear infinite; }
.npc-particle:nth-child(4) { bottom: 25%; right: 10%; animation: particle-orbit 3.5s linear infinite reverse; }
.npc-particle:nth-child(5) { top: 50%; left: 50%; animation: particle-orbit 4.5s linear infinite; }

@keyframes particle-orbit {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(30px, -20px) scale(0.5); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

.npc-info h3 {
    font-size: 28px;
    color: #00ffc8;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
}

.npc-code {
    font-size: 13px;
    color: #888;
    font-family: monospace;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.npc-info p {
    font-size: 15px;
    color: #b0a8c8;
    line-height: 1.8;
    margin-bottom: 12px;
}

.npc-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.npc-feature-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid rgba(0, 255, 200, 0.3);
    color: #00ffc8;
}

/* ========== Ranking Podium ========== */
.ranking-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    min-height: 360px;
}

.podium-item {
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.podium-item:hover {
    transform: translateY(-10px);
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 3px solid;
    position: relative;
}

.podium-rank-1 .podium-avatar {
    width: 100px;
    height: 100px;
    font-size: 44px;
    border-color: #ffd700;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    animation: crown-glow 2s ease-in-out infinite;
}

.podium-rank-2 .podium-avatar {
    border-color: #c0c0c0;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.15), transparent);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.podium-rank-3 .podium-avatar {
    border-color: #cd7f32;
    background: radial-gradient(circle, rgba(205, 127, 50, 0.15), transparent);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
}

@keyframes crown-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 0.7); }
}

.podium-name {
    font-size: 16px;
    color: #e8e6f0;
    margin-bottom: 4px;
    font-weight: bold;
}

.podium-power {
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 12px;
}

.podium-block {
    width: 100px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
}

.podium-rank-2 .podium-block {
    height: 120px;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.1));
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-bottom: none;
}

.podium-rank-1 .podium-block {
    height: 160px;
    width: 120px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: none;
    font-size: 48px;
    color: rgba(255, 215, 0, 0.5);
}

.podium-rank-3 .podium-block {
    height: 90px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.3), rgba(205, 127, 50, 0.1));
    border: 1px solid rgba(205, 127, 50, 0.2);
    border-bottom: none;
}

/* ========== News Section ========== */
.news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-item {
    padding: 24px;
    border-radius: 12px;
    background: rgba(20, 15, 50, 0.5);
    border: 1px solid rgba(170, 68, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(255, 215, 0, 0.1);
}

.news-category {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: bold;
}

.cat-announcement { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); }
.cat-update { background: rgba(0, 255, 100, 0.15); color: #00ff66; border: 1px solid rgba(0, 255, 100, 0.3); }
.cat-event { background: rgba(255, 100, 100, 0.15); color: #ff6464; border: 1px solid rgba(255, 100, 100, 0.3); }
.cat-guide { background: rgba(100, 200, 255, 0.15); color: #64c8ff; border: 1px solid rgba(100, 200, 255, 0.3); }

.news-item h4 {
    font-size: 17px;
    color: #e8e6f0;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.news-item:hover h4 {
    color: #ffd700;
}

.news-item p {
    font-size: 14px;
    color: #a8a0c0;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-time {
    font-size: 12px;
    color: #6a6288;
}

.news-empty {
    text-align: center;
    padding: 40px;
    color: #6a6288;
    font-size: 15px;
    grid-column: 1 / -1;
}

.news-loading {
    text-align: center;
    padding: 40px;
    color: #aa44ff;
    font-size: 15px;
    grid-column: 1 / -1;
}

/* ========== Suggestion Form ========== */
.suggest-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #c0b8e0;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 15, 50, 0.6);
    border: 1px solid rgba(170, 68, 255, 0.25);
    border-radius: 10px;
    color: #e8e6f0;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #aa44ff;
    box-shadow: 0 0 20px rgba(170, 68, 255, 0.2), inset 0 0 10px rgba(170, 68, 255, 0.05);
    background: rgba(25, 18, 60, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a5278;
}

.form-error {
    color: #ff6464;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.form-error.show {
    display: block;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 32px;
    background: rgba(20, 15, 50, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 100, 0.4);
    border-radius: 50px;
    color: #00ff66;
    font-size: 15px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 255, 100, 0.2);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    border-color: rgba(255, 100, 100, 0.4);
    color: #ff6464;
    box-shadow: 0 4px 30px rgba(255, 100, 100, 0.2);
}

/* ========== Footer ========== */
.footer {
    padding: 40px 20px;
    text-align: center;
    background: rgba(10, 8, 32, 0.8);
    border-top: 1px solid rgba(170, 68, 255, 0.15);
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 13px;
    color: #6a6288;
    margin-bottom: 8px;
}

.footer a {
    color: #aa44ff;
    transition: color 0.3s ease;
}

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

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #8a82a8;
}

/* ========== Scroll Reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Loading Animation ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0820;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffd700, #aa44ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(170, 68, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #aa44ff);
    border-radius: 2px;
    animation: loader-fill 1.5s ease-in-out forwards;
}

@keyframes loader-fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========== Auth Page ========== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.auth-box {
    width: 100%;
    max-width: 460px;
    background: rgba(20, 15, 50, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(170, 68, 255, 0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 80px rgba(170, 68, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.auth-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #aa44ff, #ffd700, transparent);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffd700, #aa44ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.auth-logo p {
    font-size: 13px;
    color: #8a82a8;
    letter-spacing: 1px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    background: rgba(10, 8, 32, 0.5);
    border-radius: 10px;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    color: #8a82a8;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font-family: inherit;
}

.auth-tab.active {
    background: linear-gradient(135deg, rgba(170, 68, 255, 0.3), rgba(122, 47, 208, 0.3));
    color: #fff;
    box-shadow: 0 2px 12px rgba(170, 68, 255, 0.3);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeUp 0.4s ease forwards;
}

.gender-select {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(170, 68, 255, 0.25);
    background: rgba(20, 15, 50, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #a8a0c8;
}

.gender-option.selected {
    border-color: #aa44ff;
    background: rgba(170, 68, 255, 0.15);
    color: #fff;
    box-shadow: 0 0 15px rgba(170, 68, 255, 0.2);
}

.auth-back {
    text-align: center;
    margin-top: 20px;
}

.auth-back a {
    font-size: 13px;
    color: #8a82a8;
    transition: color 0.3s ease;
}

.auth-back a:hover {
    color: #ffd700;
}

/* ========== Admin Page ========== */
.admin-container {
    min-height: 100vh;
    padding: 80px 20px 40px;
}

.admin-login-box {
    max-width: 400px;
    margin: 60px auto;
}

.admin-panel {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: rgba(20, 15, 50, 0.5);
    border-radius: 12px;
    padding: 4px;
}

.admin-tab {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    color: #8a82a8;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font-family: inherit;
    letter-spacing: 1px;
}

.admin-tab.active {
    background: linear-gradient(135deg, rgba(170, 68, 255, 0.3), rgba(122, 47, 208, 0.3));
    color: #fff;
}

.admin-panel-content {
    display: none;
}

.admin-panel-content.active {
    display: block;
}

.admin-news-form {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(20, 15, 50, 0.5);
    border: 1px solid rgba(170, 68, 255, 0.2);
    border-radius: 12px;
}

.admin-news-form .full-width {
    grid-column: 1 / -1;
}

.admin-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(20, 15, 50, 0.5);
    border: 1px solid rgba(170, 68, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-news-item:hover {
    border-color: rgba(170, 68, 255, 0.4);
}

.admin-news-item-info {
    flex: 1;
}

.admin-news-item-info h4 {
    font-size: 15px;
    color: #e8e6f0;
    margin-bottom: 4px;
}

.admin-news-item-info p {
    font-size: 13px;
    color: #8a82a8;
}

.admin-news-item-actions {
    display: flex;
    gap: 8px;
}

.admin-suggest-item {
    padding: 16px 20px;
    background: rgba(20, 15, 50, 0.5);
    border: 1px solid rgba(170, 68, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 12px;
}

.admin-suggest-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.admin-suggest-item .nick {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
}

.admin-suggest-item .time {
    font-size: 12px;
    color: #6a6288;
}

.admin-suggest-item .content {
    font-size: 14px;
    color: #b0a8c8;
    line-height: 1.6;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-header h2 {
    font-size: 22px;
    color: #ffd700;
    letter-spacing: 2px;
}

.admin-logout {
    font-size: 13px;
    color: #8a82a8;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font-family: inherit;
}

.admin-logout:hover {
    color: #ff6464;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .maps-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .equip-section {
        grid-template-columns: 1fr;
    }

    .npc-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .npc-features {
        justify-content: center;
    }

    .npc-core {
        width: 36px;
        height: 36px;
    }

    .npc-ring-1 {
        width: 66px;
        height: 24px;
    }

    .npc-ring-2 {
        width: 82px;
        height: 38px;
    }

    .npc-figure {
        width: 180px;
        height: 240px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .navbar.scrolled {
        padding: 8px 20px;
    }

    .nav-links {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: rgba(10, 8, 32, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(170, 68, 255, 0.2);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .maps-container {
        grid-template-columns: 1fr 1fr;
    }

    .equip-slots {
        grid-template-columns: repeat(5, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    .ranking-podium {
        gap: 12px;
    }

    .podium-rank-1 .podium-block {
        width: 90px;
        height: 120px;
    }

    .podium-rank-2 .podium-block {
        height: 90px;
    }

    .podium-rank-3 .podium-block {
        height: 70px;
    }

    .admin-news-form {
        grid-template-columns: 1fr;
    }

    .auth-box {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .maps-container {
        grid-template-columns: 1fr;
    }

    .equip-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .quality-tiers {
        justify-content: flex-start;
    }

    .ranking-podium {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .podium-rank-1 { order: 1; }
    .podium-rank-2 { order: 2; }
    .podium-rank-3 { order: 3; }

    .enhance-table {
        font-size: 12px;
    }

    .enhance-table th,
    .enhance-table td {
        padding: 8px 6px;
    }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.text-gold { color: #ffd700; }
.text-purple { color: #aa44ff; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ===== 广告Banner ===== */
.ad-banner-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    position: relative;
}
.ad-banner-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(170,68,255,0.15), 0 0 0 1px rgba(255,215,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ad-banner-link:hover {
    box-shadow: 0 6px 30px rgba(170,68,255,0.35), 0 0 0 1px rgba(255,215,0,0.3);
    transform: translateY(-2px);
}
.ad-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.ad-banner-label {
    position: absolute;
    top: 12px;
    right: 32px;
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    pointer-events: none;
}
.ad-banner-mid {
    max-width: 900px;
}
@media (max-width: 768px) {
    .ad-banner-wrap {
        margin: 20px auto;
        padding: 0 12px;
    }
    .ad-banner-label {
        top: 8px;
        right: 20px;
        font-size: 10px;
    }
}

/* ====== 主线任务 - 十大魔王 ====== */
.quest-story {
    max-width: 800px;
    margin: 0 auto 32px;
    padding: 32px;
    border-left: 3px solid #ff44aa;
}

.quest-boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quest-boss-card {
    position: relative;
    padding: 24px 20px 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quest-boss-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255,68,170,0.15);
}

.quest-boss-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: #e8e0f8;
    letter-spacing: 1px;
}

.quest-boss-card p {
    font-size: 13px;
    color: #a8a0c8;
    line-height: 1.7;
    margin: 8px 0 10px;
}

.quest-boss-num {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(119,34,204,0.3);
    border: 2px solid rgba(255,68,170,0.5);
    color: #ff66aa;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quest-boss-num-final {
    background: rgba(255,0,255,0.2);
    border: 2px solid rgba(255,0,255,0.6);
    color: #ff00ff;
    box-shadow: 0 0 12px rgba(255,0,255,0.4);
    animation: boss-final-pulse 2s ease-in-out infinite;
}

@keyframes boss-final-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255,0,255,0.4); }
    50% { box-shadow: 0 0 24px rgba(255,0,255,0.7); }
}

.quest-boss-final {
    border: 1px solid rgba(255,0,255,0.3);
    box-shadow: 0 0 16px rgba(255,0,255,0.1);
}

.quest-boss-loc {
    display: inline-block;
    font-size: 12px;
    color: #88d;
    margin-bottom: 4px;
}

.quest-boss-tier {
    display: inline-block;
    font-size: 11px;
    color: #ffd700;
    background: rgba(255,215,0,0.08);
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.2);
}

.quest-boss-tier-final {
    color: #ff00ff;
    background: rgba(255,0,255,0.08);
    border: 1px solid rgba(255,0,255,0.3);
}

.quest-rewards {
    padding: 28px;
    border-top: 2px solid rgba(255,215,0,0.3);
}

/* 地图Boss标签 */
.map-bosses {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.map-boss-tag {
    font-size: 11px;
    color: #ff66aa;
    background: rgba(255,68,170,0.1);
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,68,170,0.25);
}

@media (max-width: 600px) {
    .quest-boss-grid {
        grid-template-columns: 1fr;
    }
    .quest-story {
        padding: 20px;
    }
}

/* ====== v60809: 镇劫甲商店 ====== */
.shop-icon-btn {
    position: fixed;
    top: 52px;
    right: 200px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20,20,35,0.85);
    border: 1px solid rgba(136,204,255,0.4);
    color: #88ccff;
    font-size: 18px;
    cursor: pointer;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    box-shadow: 0 0 4px rgba(136,204,255,0.3);
}
.shop-icon-btn:hover {
    background: rgba(40,40,65,0.9);
    border-color: rgba(136,204,255,0.7);
    box-shadow: 0 0 6px rgba(136,204,255,0.5);
}

.shop-panel {
    position: fixed;
    top: 60px;
    right: 200px;
    width: 520px;
    max-height: 400px;
    background: rgba(15,15,25,0.95);
    border: 1px solid rgba(136,204,255,0.35);
    border-radius: 8px;
    z-index: 190;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
    overflow: hidden;
}
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(30,30,50,0.9);
    border-bottom: 1px solid rgba(136,204,255,0.2);
    cursor: move;
}
.shop-title {
    color: #88ccff;
    font-size: 14px;
    font-weight: bold;
}
.shop-close-btn {
    background: none;
    border: none;
    color: #ff6644;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
}
.shop-close-btn:hover { color: #ff8866; }
.shop-body {
    overflow-y: auto;
    max-height: 360px;
    padding: 8px;
}

/* 阶选择栏 */
.shop-tier-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}
.shop-tier-tab {
    flex: 1;
    padding: 6px 4px;
    text-align: center;
    background: rgba(25,25,40,0.8);
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.12s;
}
.shop-tier-tab:hover { background: rgba(40,40,60,0.9); }
.shop-tier-active {
    background: rgba(35,35,55,0.95) !important;
}
.shop-tier-name {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}
.shop-tier-sub {
    font-size: 9px;
    color: #888;
}

/* 玄晶余额 */
.shop-balance-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(20,30,45,0.6);
    border-radius: 5px;
    margin-bottom: 8px;
}
.shop-balance-label {
    font-size: 11px;
    color: #aaa;
}
.shop-balance-val {
    font-size: 14px;
    font-weight: bold;
    color: #88ccff;
}
.shop-balance-hint {
    font-size: 9px;
    color: #666;
    margin-left: auto;
}

/* 套装描述 */
.shop-tier-lore {
    font-size: 10px;
    color: #aaa;
    padding: 4px 8px;
    margin-bottom: 8px;
    background: rgba(20,20,30,0.5);
    border-radius: 3px;
    line-height: 1.4;
}

/* 装备卡片网格 */
.shop-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.shop-item-card {
    background: rgba(20,20,32,0.8);
    border-radius: 5px;
    padding: 6px 8px;
    transition: all 0.12s;
}
.shop-item-card:hover {
    background: rgba(30,30,45,0.9);
}
.shop-item-disabled {
    opacity: 0.5;
}
.shop-card-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.shop-card-quality {
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    white-space: nowrap;
}
.shop-card-name {
    font-size: 11px;
    font-weight: bold;
    flex: 1;
}
.shop-card-slot {
    font-size: 9px;
    color: #777;
}
.shop-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 3px;
}
.shop-stat {
    font-size: 9px;
    color: #88ff88;
    background: rgba(0,40,0,0.3);
    padding: 1px 4px;
    border-radius: 2px;
}
.shop-card-desc {
    font-size: 9px;
    color: #999;
    line-height: 1.3;
    margin-bottom: 4px;
}
.shop-card-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.shop-card-price {
    font-size: 11px;
    font-weight: bold;
}
.shop-buy-btn {
    font-size: 10px;
    padding: 3px 10px;
    background: rgba(60,100,160,0.6);
    border: 1px solid rgba(100,150,210,0.5);
    color: #aaccff;
    border-radius: 3px;
    cursor: pointer;
}
.shop-buy-btn:hover {
    background: rgba(80,120,180,0.8);
}
.shop-buy-disabled {
    background: rgba(50,30,30,0.5) !important;
    border-color: rgba(100,60,60,0.3) !important;
    color: #886666 !important;
    cursor: not-allowed !important;
}

/* 套装总价栏 */
.shop-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-top: 8px;
    background: rgba(25,25,40,0.7);
    border-radius: 5px;
    font-size: 11px;
    color: #ccc;
}
.shop-buy-all-btn {
    font-size: 11px;
    padding: 4px 14px;
    background: rgba(80,140,60,0.6);
    border: 1px solid rgba(120,180,100,0.5);
    color: #aaffaa;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .shop-panel {
        width: 94vw;
        right: 3vw;
        max-height: 70vh;
    }
    .shop-item-grid {
        grid-template-columns: 1fr;
    }
    .shop-icon-btn {
        right: 190px;
        top: 48px;
    }
}
