@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --dark-blue: #0B0F19;
    --neon-cyan: #00F0FF;
    --neon-purple: #8B5CF6;
    --neon-pink: #EC4899;
    --neon-green: #10B981;
    --card-bg: rgba(11, 15, 25, 0.8);
    --glass-bg: rgba(11, 15, 25, 0.6);
    --glass-border: rgba(0, 240, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-blue);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.logo-link {
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neon-cyan);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1f35 50%, var(--dark-blue) 100%);
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-chinese-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 20px rgba(0, 240, 255, 0.8),
        0 0 40px rgba(0, 240, 255, 0.5),
        0 0 80px rgba(0, 240, 255, 0.3);
    margin-bottom: 0.5rem;
    animation: chineseGlow 3s ease-in-out infinite alternate;
}

@keyframes chineseGlow {
    from { text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(0, 240, 255, 0.3); }
    to { text-shadow: 0 0 30px rgba(0, 240, 255, 1), 0 0 60px rgba(0, 240, 255, 0.7), 0 0 120px rgba(0, 240, 255, 0.5); }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(0, 240, 255, 0.5),
        0 0 30px rgba(0, 240, 255, 0.3),
        0 0 60px rgba(0, 240, 255, 0.2);
    margin-bottom: 1rem;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.2); }
    to { text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 50px rgba(0, 240, 255, 0.5), 0 0 100px rgba(0, 240, 255, 0.3); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    letter-spacing: 0.2em;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.cta-button:hover {
    background: transparent;
    color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

/* News Section */
.news-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--neon-cyan);
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

.news-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.news-summary {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Quick Nav Section */
.quick-nav-section {
    padding: 5rem 5%;
    background: var(--dark-blue);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-nav-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-nav-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.quick-nav-card:hover::after {
    transform: scale(1);
}

.quick-nav-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
}

.quick-nav-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.quick-nav-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0f1525 0%, var(--dark-blue) 100%);
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Characters Page */
.characters-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.character-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
}

.character-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-info {
    padding: 0;
    text-align: center;
}

.character-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.character-role {
    display: inline-block;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
}

/* Character Detail Page */
.character-detail-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.character-detail {
    max-width: 1400px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--neon-cyan) 50%, transparent 100%);
}

.detail-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 60px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), 0 0 80px rgba(139, 92, 246, 0.3);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    margin-bottom: 1rem;
}

.detail-role {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 25px;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.backstory {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skill-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
}

.skill-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.skill-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.track-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.track-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, transparent 100%);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.track-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.track-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.track-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.equipment-section {
    margin-bottom: 3rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.equipment-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.partner-section {
    margin-bottom: 4rem;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.partner-tag {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.partner-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

a.partner-tag {
    text-decoration: none;
}

/* Beginner Guide Page */
.guide-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.guide-container {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar {
    width: 280px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-left: 3px solid var(--neon-cyan);
}

.guide-content {
    flex: 1;
}

.guide-section {
    margin-bottom: 4rem;
}

.guide-section:last-child {
    margin-bottom: 0;
}

.guide-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guide-section h3::before {
    content: '';
    width: 3px;
    height: 1.5rem;
    background: var(--neon-cyan);
    border-radius: 2px;
}

.guide-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.mobile-sidebar-toggle {
    display: none;
    margin-bottom: 2rem;
    padding: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--neon-cyan);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

/* Combat Page */
.combat-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.combat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.combat-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.combat-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

.combat-icon {
    font-size: 3rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.5));
}

.combat-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.combat-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.harmony-table {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.harmony-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
}

.harmony-table th,
.harmony-table td {
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.harmony-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.harmony-table td {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.harmony-table tr:hover td {
    background: rgba(0, 240, 255, 0.05);
}

.element-light { color: #FBBF24; }
.element-spirit { color: #10B981; }
.element-curse { color: #EC4899; }
.element-dark { color: #8B5CF6; }
.element-soul { color: #EF4444; }
.element-phase { color: #00F0FF; }

/* Events Page */
.events-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 240, 255, 0.05);
}

.accordion-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.accordion-icon {
    font-size: 1.25rem;
    color: var(--neon-cyan);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.event-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 15px;
    margin-left: 1rem;
}

.badge-main {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.badge-commission {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.badge-limited {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
    border: 1px solid rgba(139, 92, 246, 0.5);
}

/* Wiki Page */
.wiki-page {
    padding: 8rem 5% 5rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, #0f1525 100%);
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 1rem 4rem 1rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.search-bar::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 0.8rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.tab-content {
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-database {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.equipment-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
}

.equipment-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.equipment-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.equipment-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .detail-image {
        width: 140px;
        height: 140px;
    }

    .guide-container {
        flex-direction: column;
        gap: 2rem;
    }

    .sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-chinese-title {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .sidebar {
        display: none;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .guide-section h3 {
        font-size: 1.4rem;
    }

    .guide-section p {
        font-size: 1rem;
    }

    .harmony-table {
        font-size: 0.8rem;
    }

    .accordion-header {
        padding: 1rem 1.5rem;
    }

    .accordion-title {
        font-size: 0.95rem;
    }

    .equipment-database {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-nav-grid {
        grid-template-columns: 1fr;
    }

    .equipment-database {
        grid-template-columns: 1fr;
    }

    .detail-name {
        font-size: 2rem;
    }

    .detail-image {
        width: 120px;
        height: 120px;
    }
}