:root {
    --sunset-primary: #ff6b35;
    --sunset-secondary: #f7931e;
    --sunset-accent: #ff8c42;
    --sunset-warm: #ffb347;
    --sunset-deep: #d2691e;
    --sunset-bg: #fff;
    --sunset-bg-light: #fff8f5;
    --sunset-text: #2c1810;
    --sunset-text-light: #8b4513;
    --sunset-text-lighter: #cd853f;
    --sunset-border: #ffe4d6;
    --sunset-shadow: rgba(255, 107, 53, 0.15);
    --sunset-shadow-dark: rgba(255, 107, 53, 0.25);
}

.sunset-header {
    background: var(--sunset-bg);
    border-bottom: 3px solid var(--sunset-primary);
    box-shadow: 0 4px 20px var(--sunset-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sunset-header.sunset-header-scrolled {
    box-shadow: 0 6px 30px var(--sunset-shadow-dark);
    border-bottom-color: var(--sunset-secondary);
}

.sunset-header.sunset-header-hidden {
    transform: translateY(-100%);
}

.sunset-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}


.sunset-brand {
    flex-shrink: 0;
    z-index: 1;
}

.sunset-brand-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 15px;
}

.sunset-brand-link:hover {
    background: var(--sunset-bg-light);
    transform: translateY(-2px);
}

.sunset-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--sunset-shadow);
}

.sunset-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 25px var(--sunset-shadow-dark);
}

.sunset-logo.sunset-logo-animate {
    animation: sunsetLogoGlow 1s ease-in-out;
}

@keyframes sunsetLogoGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px var(--sunset-shadow);
    }

    50% {
        box-shadow: 0 8px 30px var(--sunset-shadow-dark), 0 0 20px var(--sunset-accent);
    }
}

.sunset-logo i {
    font-size: 32px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sunset-logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--sunset-accent), var(--sunset-warm));
    border-radius: 23px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sunset-logo:hover .sunset-logo-glow {
    opacity: 0.3;
}

.sunset-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sunset-site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--sunset-text);
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.sunset-brand-link:hover .sunset-site-title {
    color: var(--sunset-primary);
}

.sunset-site-slogan {
    font-size: 13px;
    color: var(--sunset-text-light);
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}


.sunset-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.sunset-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sunset-bg-light);
    padding: 8px;
    border-radius: 25px;
    border: 2px solid var(--sunset-border);
    box-shadow: 0 2px 15px var(--sunset-shadow);
}

.sunset-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--sunset-text-light);
    text-decoration: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.sunset-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.sunset-nav-item:hover::before {
    left: 100%;
}

.sunset-nav-item:hover,
.sunset-nav-item.sunset-nav-hover {
    background: var(--sunset-bg);
    color: var(--sunset-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--sunset-shadow);
}

.sunset-nav-item.sunset-nav-active {
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--sunset-shadow-dark);
}

.sunset-nav-item.sunset-nav-active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
}

.sunset-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.sunset-nav-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.sunset-nav-item:hover .sunset-nav-icon i {
    transform: scale(1.1);
}

.sunset-nav-text {
    position: relative;
    z-index: 1;
}

.sunset-nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 3px;
    background: var(--sunset-accent);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.sunset-nav-item.sunset-nav-active .sunset-nav-indicator {
    transform: translateX(-50%) scaleX(1);
    background: #fff;
}


.sunset-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--sunset-bg-light);
    border: 2px solid var(--sunset-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 4px;
    z-index: 1001;
}

.sunset-mobile-toggle:hover {
    background: var(--sunset-primary);
    border-color: var(--sunset-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--sunset-shadow);
}

.sunset-toggle-line {
    width: 20px;
    height: 3px;
    background: var(--sunset-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.sunset-mobile-toggle:hover .sunset-toggle-line {
    background: #fff;
}

.sunset-mobile-toggle.sunset-toggle-active .sunset-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.sunset-mobile-toggle.sunset-toggle-active .sunset-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.sunset-mobile-toggle.sunset-toggle-active .sunset-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.sunset-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.sunset-mobile-nav.sunset-mobile-show {
    visibility: visible;
    opacity: 1;
}

.sunset-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.sunset-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--sunset-bg);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.sunset-mobile-nav.sunset-mobile-show .sunset-mobile-panel {
    transform: translateX(0);
}

.sunset-mobile-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.sunset-mobile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: sunsetMobileGlow 8s ease-in-out infinite;
}

@keyframes sunsetMobileGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

.sunset-mobile-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.sunset-mobile-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sunset-mobile-logo:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.sunset-mobile-logo i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
}

.sunset-mobile-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sunset-mobile-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.sunset-mobile-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.2;
}

.sunset-mobile-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

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

.sunset-mobile-close i {
    font-size: 18px;
}

.sunset-mobile-menu {
    flex: 1;
    padding: 30px 0;
    overflow-y: auto;
}

.sunset-mobile-menu::-webkit-scrollbar {
    width: 4px;
}

.sunset-mobile-menu::-webkit-scrollbar-track {
    background: var(--sunset-bg-light);
}

.sunset-mobile-menu::-webkit-scrollbar-thumb {
    background: var(--sunset-primary);
    border-radius: 2px;
}

.sunset-mobile-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 25px;
    color: var(--sunset-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--sunset-border);
    position: relative;
    overflow: hidden;
}

.sunset-mobile-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.4s ease;
}

.sunset-mobile-item:hover::before {
    left: 100%;
}

.sunset-mobile-item:hover {
    background: var(--sunset-bg-light);
    color: var(--sunset-primary);
    transform: translateX(10px);
}

.sunset-mobile-item.sunset-mobile-active {
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    color: #fff;
    border-bottom-color: var(--sunset-secondary);
}

.sunset-mobile-item.sunset-mobile-clicked {
    transform: scale(0.98);
}

.sunset-mobile-item-icon {
    width: 45px;
    height: 45px;
    background: var(--sunset-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sunset-mobile-item:hover .sunset-mobile-item-icon {
    background: var(--sunset-primary);
    transform: scale(1.1);
}

.sunset-mobile-item.sunset-mobile-active .sunset-mobile-item-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sunset-mobile-item-icon i {
    font-size: 20px;
    color: var(--sunset-primary);
    transition: color 0.3s ease;
}

.sunset-mobile-item:hover .sunset-mobile-item-icon i,
.sunset-mobile-item.sunset-mobile-active .sunset-mobile-item-icon i {
    color: #fff;
}

.sunset-mobile-item-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.sunset-mobile-item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.sunset-mobile-item-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sunset-text-lighter);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sunset-mobile-item:hover .sunset-mobile-item-arrow {
    color: var(--sunset-primary);
    transform: translateX(5px);
}

.sunset-mobile-item.sunset-mobile-active .sunset-mobile-item-arrow {
    color: rgba(255, 255, 255, 0.8);
}

.sunset-mobile-item-arrow i {
    font-size: 14px;
}

.sunset-mobile-footer {
    padding: 25px;
    background: var(--sunset-bg-light);
    border-top: 2px solid var(--sunset-border);
    text-align: center;
}

.sunset-mobile-decoration {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.sunset-decoration-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sunset-primary);
    animation: sunsetDecorationPulse 2s ease-in-out infinite;
}

.sunset-decoration-circle:nth-child(2) {
    background: var(--sunset-secondary);
    animation-delay: 0.3s;
}

.sunset-decoration-circle:nth-child(3) {
    background: var(--sunset-accent);
    animation-delay: 0.6s;
}

@keyframes sunsetDecorationPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.sunset-mobile-copyright {
    font-size: 12px;
    color: var(--sunset-text-light);
    margin: 0;
    font-weight: 500;
}


@media (max-width: 1024px) {
    .sunset-header-container {
        padding: 0 20px;
        height: 75px;
    }

    .sunset-nav-list {
        gap: 6px;
        padding: 6px;
    }

    .sunset-nav-item {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }

    .sunset-logo {
        width: 55px;
        height: 55px;
    }

    .sunset-logo i {
        font-size: 28px;
    }

    .sunset-site-title {
        font-size: 22px;
    }

    .sunset-site-slogan {
        font-size: 12px;
    }
}

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

    .sunset-nav {
        display: none;
    }

    .sunset-mobile-toggle {
        display: flex;
    }

    .sunset-logo {
        width: 50px;
        height: 50px;
    }

    .sunset-logo i {
        font-size: 26px;
    }

    .sunset-site-title {
        font-size: 20px;
    }

    .sunset-site-slogan {
        font-size: 11px;
    }

    .sunset-brand-link {
        gap: 15px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .sunset-header-container {
        padding: 0 12px;
        height: 65px;
    }

    .sunset-logo {
        width: 45px;
        height: 45px;
    }

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

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

    .sunset-site-slogan {
        font-size: 10px;
    }

    .sunset-brand-link {
        gap: 12px;
        padding: 6px;
    }

    .sunset-mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .sunset-toggle-line {
        width: 18px;
        height: 2px;
    }

    .sunset-mobile-panel {
        width: 100%;
        max-width: 100vw;
    }

    .sunset-mobile-header {
        padding: 20px 15px;
    }

    .sunset-mobile-brand {
        gap: 12px;
    }

    .sunset-mobile-logo {
        width: 45px;
        height: 45px;
    }

    .sunset-mobile-logo i {
        font-size: 24px;
    }

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

    .sunset-mobile-desc {
        font-size: 11px;
    }

    .sunset-mobile-close {
        width: 35px;
        height: 35px;
    }

    .sunset-mobile-close i {
        font-size: 16px;
    }

    .sunset-mobile-menu {
        padding: 25px 0;
    }

    .sunset-mobile-item {
        padding: 15px 20px;
        gap: 15px;
    }

    .sunset-mobile-item-icon {
        width: 40px;
        height: 40px;
    }

    .sunset-mobile-item-icon i {
        font-size: 18px;
    }

    .sunset-mobile-item-title {
        font-size: 15px;
    }

    .sunset-mobile-footer {
        padding: 20px 15px;
    }
}


.sunset-header:focus-within {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}

.sunset-nav-item:focus,
.sunset-mobile-item:focus,
.sunset-mobile-toggle:focus,
.sunset-mobile-close:focus {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}


@media (prefers-contrast: high) {

    .sunset-nav-item,
    .sunset-mobile-item {
        border: 2px solid var(--sunset-primary);
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.sunset-header ::selection {
    background: var(--sunset-accent);
    color: #fff;
}

.sunset-header ::-moz-selection {
    background: var(--sunset-accent);
    color: #fff;
}


.sunset-header * {
    box-sizing: border-box;
}


body {
    padding-top: 80px;
}


@media (max-width: 1024px) {
    body {
        padding-top: 75px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
}