.crystal-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(52, 152, 219, 0.15);
    box-shadow: 0 2px 20px rgba(52, 152, 219, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.crystal-header-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    
}

.crystal-site-brand {
    display: flex;
    align-items: center;
}

.crystal-site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.crystal-site-logo:hover {
    color: #3498db;
    transform: translateY(-1px);
}

.crystal-site-logo i {
    font-size: 28px;
    color: #3498db;
}

.crystal-brand-text {
    display: flex;
    flex-direction: column;
}

.crystal-site-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.crystal-site-subtitle {
    font-size: 12px;
    color: #95a5a6;
    margin: 0;
    font-weight: 400;
}

.crystal-header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.crystal-nav-item2 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.crystal-nav-item2:hover,
.crystal-nav-item2.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.08);
    transform: translateY(-1px);
}

.crystal-nav-item2 i {
    font-size: 16px;
}

.crystal-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.crystal-mobile-menu-btn:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.crystal-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crystal-mobile-nav.active {
    opacity: 1;
    visibility: visible;
    position: unset;
}

.crystal-mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.crystal-mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.crystal-mobile-nav.active .crystal-mobile-nav-content {
    transform: translateX(0);
}

.crystal-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.crystal-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crystal-mobile-brand i {
    font-size: 24px;
}

.crystal-mobile-brand-text {
    display: flex;
    flex-direction: column;
}

.crystal-mobile-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.crystal-mobile-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

.crystal-mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.crystal-mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.crystal-mobile-nav-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.crystal-mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crystal-mobile-nav-item:hover,
.crystal-mobile-nav-item.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.08);
}

.crystal-mobile-nav-item i:first-child {
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.crystal-nav-arrow {
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.crystal-mobile-nav-item:hover .crystal-nav-arrow {
    opacity: 1;
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .crystal-header-nav {
        gap: 20px;
    }

    .crystal-nav-item2 {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .crystal-header-container {
        height: 60px;
        padding: 0 15px;
    }

    .crystal-header-nav {
        display: none;
    }

    .crystal-mobile-menu-btn {
        display: block;
    }

    .crystal-site-logo i {
        font-size: 24px;
    }

    .crystal-site-title {
        font-size: 18px;
    }

    .crystal-site-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .crystal-header-container {
        padding: 0 10px;
    }

    .crystal-mobile-nav-content {
        width: 100%;
        max-width: 320px;
    }

    .crystal-mobile-nav-header {
        padding: 16px;
    }

    .crystal-mobile-title {
        font-size: 16px;
    }

    .crystal-mobile-nav-item {
        padding: 14px 16px;
    }
}

@media (min-width: 769px) {
    .crystal-header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 25px rgba(52, 152, 219, 0.12);
        height: 60px;
    }

    .crystal-header.scrolled .crystal-site-title {
        font-size: 18px;
    }

    .crystal-header.scrolled .crystal-site-subtitle {
        display: none;
    }
}
