: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-links-section {
    background: linear-gradient(135deg, var(--sunset-bg-light) 0%, #fff5f0 100%);
    padding: 50px 0;
    border-top: 3px solid var(--sunset-primary);
    position: relative;
    overflow: hidden;
}

.sunset-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ff8c42" opacity="0.1"><circle cx="20" cy="20" r="1"/><circle cx="80" cy="40" r="0.8"/><circle cx="40" cy="80" r="1.2"/><circle cx="70" cy="10" r="0.6"/><circle cx="10" cy="60" r="1"/></svg>') repeat;
    background-size: 80px 80px;
    opacity: 0.3;
}


.sunset-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

.sunset-links-header {
    text-align: center;
    margin-bottom: 40px;
}

.sunset-links-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.sunset-links-icon {
    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;
    box-shadow: 0 4px 15px var(--sunset-shadow);
    transition: all 0.3s ease;
}

.sunset-links-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 25px var(--sunset-shadow-dark);
}

.sunset-links-icon i {
    font-size: 28px;
    color: #fff;
}

.sunset-links-title-content {
    text-align: left;
}

.sunset-links-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sunset-text);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.sunset-links-subtitle {
    font-size: 14px;
    color: var(--sunset-text-light);
    margin: 0;
    font-weight: 500;
}

.sunset-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}


.link-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.link-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;
}

.link-item:hover::before,
.link-item.sunset-link-hover::before {
    left: 100%;
}

.link-item:hover,
.link-item.sunset-link-hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
    border-color: var(--sunset-primary);
}


.sunset-footer {
    background: linear-gradient(135deg, var(--sunset-text) 0%, #1a0f08 100%);
    color: #f5f5f5;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.sunset-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sunset-primary) 0%, var(--sunset-secondary) 50%, var(--sunset-accent) 100%);
}

.sunset-footer.sunset-footer-loaded {
    animation: sunsetFooterFadeIn 1s ease-out;
}

@keyframes sunsetFooterFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sunset-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

.sunset-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    align-items: start;
}


.sunset-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sunset-footer-brand-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 15px;
}

.sunset-footer-brand-link:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.sunset-footer-logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.sunset-footer-brand-link:hover .sunset-footer-logo-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.sunset-footer-logo-icon i {
    font-size: 36px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sunset-footer-logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--sunset-accent), var(--sunset-warm));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sunset-footer-brand-link:hover .sunset-footer-logo-glow {
    opacity: 0.4;
}

.sunset-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sunset-footer-site-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.sunset-footer-brand-link:hover .sunset-footer-site-name {
    color: var(--sunset-accent);
}

.sunset-footer-tagline {
    font-size: 14px;
    color: var(--sunset-warm);
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}

.sunset-footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: #d0d0d0;
    margin: 0;
    max-width: 450px;
}


.sunset-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sunset-footer-nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sunset-primary);
}

.sunset-footer-nav-title i {
    font-size: 20px;
    color: var(--sunset-accent);
}

.sunset-footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sunset-footer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #d0d0d0;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.sunset-footer-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.4s ease;
}

.sunset-footer-nav-item:hover::before,
.sunset-footer-nav-item.sunset-nav-item-hover::before {
    left: 100%;
}

.sunset-footer-nav-item:hover,
.sunset-footer-nav-item.sunset-nav-item-hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--sunset-accent);
    border-color: var(--sunset-primary);
    transform: translateX(8px);
}

.sunset-footer-nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sunset-footer-nav-item span {
    position: relative;
    z-index: 1;
}


.sunset-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sunset-footer-contact-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sunset-primary);
}

.sunset-footer-contact-title i {
    font-size: 20px;
    color: var(--sunset-accent);
}

.sunset-footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sunset-social-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sunset-social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.4s ease;
}

.sunset-social-item:hover::before {
    left: 100%;
}

.sunset-social-item:hover {
    background: var(--sunset-primary);
    color: #fff;
    border-color: var(--sunset-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.sunset-social-item.sunset-social-clicked {
    transform: scale(0.95);
}

.sunset-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    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-social-item:hover .sunset-social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sunset-social-icon i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.sunset-social-item:hover .sunset-social-icon i {
    transform: scale(1.1);
}

.sunset-social-text {
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}


.sunset-footer-bottom {
    padding: 30px 0;
}

.sunset-footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--sunset-primary) 50%, transparent 100%);
    margin-bottom: 30px;
    border-radius: 1px;
}

.sunset-footer-copyright {
    text-align: center;
}

.sunset-copyright-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sunset-copyright-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
    flex-wrap: wrap;
    justify-content: center;
}

.sunset-icp-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.sunset-icp-info i {
    font-size: 14px;
    color: var(--sunset-accent);
}

.sunset-icp-link {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunset-icp-link:hover {
    color: var(--sunset-accent);
}

.sunset-divider {
    color: #666;
    font-weight: 300;
}

.sunset-copyright-main {
    color: #d0d0d0;
}

.sunset-footer-extra {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
}

.sunset-build-time {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.sunset-build-time i {
    font-size: 12px;
    color: var(--sunset-warm);
}


.sunset-footer-decoration {
    position: absolute;
    top: 20px;
    right: 50px;
    width: 200px;
    height: 150px;
    opacity: 0.1;
    pointer-events: none;
}

.sunset-decoration-sun {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--sunset-accent) 0%, var(--sunset-primary) 100%);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 60px;
    opacity: 0.6;
}

.sunset-decoration-sun.sunset-sun-glow {
    animation: sunsetSunGlow 4s ease-in-out infinite;
}

@keyframes sunsetSunGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--sunset-accent);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px var(--sunset-accent);
    }
}

.sunset-decoration-clouds {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
}

.sunset-cloud {
    background: var(--sunset-warm);
    border-radius: 20px;
    position: absolute;
    opacity: 0.4;
}

.sunset-cloud-1 {
    width: 60px;
    height: 20px;
    top: 0;
    left: 20px;
}

.sunset-cloud-2 {
    width: 40px;
    height: 15px;
    top: 25px;
    left: 100px;
}

.sunset-cloud-3 {
    width: 50px;
    height: 18px;
    top: 10px;
    left: 160px;
}

.sunset-cloud.sunset-cloud-float {
    animation: sunsetCloudFloat 6s ease-in-out infinite;
}

@keyframes sunsetCloudFloat {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}


.sunset-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px var(--sunset-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.sunset-back-to-top.sunset-back-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sunset-back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px var(--sunset-shadow-dark);
}

.sunset-back-to-top.sunset-back-clicked {
    transform: scale(0.9);
}

.sunset-back-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.sunset-back-icon i {
    font-size: 18px;
    color: #fff;
    transition: transform 0.3s ease;
}

.sunset-back-to-top:hover .sunset-back-icon i {
    transform: translateY(-2px);
}

.sunset-back-text {
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    opacity: 0.9;
}


.sunset-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--sunset-shadow);
    max-width: 300px;
    word-wrap: break-word;
}

.sunset-toast.sunset-toast-show {
    transform: translateX(0);
}


@media (max-width: 1024px) {

    .sunset-links-container,
    .sunset-footer-container {
        padding: 0 20px;
    }

    .sunset-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .sunset-footer-brand-link {
        justify-content: center;
    }

    .sunset-footer-description {
        max-width: none;
    }

    .sunset-footer-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .sunset-links-section {
        padding: 40px 0;
    }

    .sunset-links-container,
    .sunset-footer-container {
        padding: 0 15px;
    }

    .sunset-links-title-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .sunset-links-title-content {
        text-align: center;
    }

    .sunset-links-title {
        font-size: 24px;
    }

    .sunset-footer {
        padding: 50px 0 0;
    }

    .sunset-footer-main {
        gap: 35px;
        padding-bottom: 40px;
    }

    .sunset-footer-brand-link {
        flex-direction: column;
        gap: 15px;
    }

    .sunset-footer-logo-icon {
        width: 60px;
        height: 60px;
    }

    .sunset-footer-logo-icon i {
        font-size: 30px;
    }

    .sunset-footer-site-name {
        font-size: 22px;
    }

    .sunset-footer-nav-title,
    .sunset-footer-contact-title {
        font-size: 16px;
        justify-content: center;
    }

    .sunset-footer-social {
        align-items: center;
    }

    .sunset-social-item {
        max-width: 250px;
        justify-content: center;
    }

    .sunset-copyright-text {
        flex-direction: column;
        gap: 10px;
    }

    .sunset-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .sunset-back-icon {
        width: 28px;
        height: 28px;
    }

    .sunset-back-icon i {
        font-size: 16px;
    }

    .sunset-back-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .sunset-links-section {
        padding: 30px 0;
    }

    .sunset-links-container,
    .sunset-footer-container {
        padding: 0 12px;
    }

    .sunset-links-icon {
        width: 50px;
        height: 50px;
    }

    .sunset-links-icon i {
        font-size: 24px;
    }

    .sunset-links-title {
        font-size: 20px;
    }

    .sunset-footer {
        padding: 40px 0 0;
    }

    .sunset-footer-main {
        gap: 30px;
        padding-bottom: 35px;
    }

    .sunset-footer-logo-icon {
        width: 55px;
        height: 55px;
    }

    .sunset-footer-logo-icon i {
        font-size: 28px;
    }

    .sunset-footer-site-name {
        font-size: 20px;
    }

    .sunset-footer-tagline {
        font-size: 13px;
    }

    .sunset-footer-description {
        font-size: 14px;
    }

    .sunset-footer-nav-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .sunset-social-item {
        padding: 12px;
        gap: 12px;
    }

    .sunset-social-icon {
        width: 40px;
        height: 40px;
    }

    .sunset-social-icon i {
        font-size: 18px;
    }

    .sunset-social-text {
        font-size: 13px;
    }

    .sunset-footer-bottom {
        padding: 25px 0;
    }

    .sunset-copyright-text {
        font-size: 13px;
    }

    .sunset-footer-extra {
        font-size: 12px;
    }

    .sunset-back-to-top {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .sunset-back-icon {
        width: 25px;
        height: 25px;
    }

    .sunset-back-icon i {
        font-size: 15px;
    }

    .sunset-back-text {
        font-size: 8px;
    }

    .sunset-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

    .sunset-toast.sunset-toast-show {
        transform: translateY(0);
    }
}


.sunset-footer:focus-within {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}

.sunset-footer-nav-item:focus,
.sunset-social-item:focus,
.sunset-back-to-top:focus {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}


@media (prefers-contrast: high) {

    .sunset-footer-nav-item,
    .sunset-social-item {
        border-width: 2px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sunset-links-section::before,
    .sunset-decoration-sun,
    .sunset-cloud {
        display: none;
    }
}


.sunset-footer ::selection {
    background: var(--sunset-accent);
    color: #fff;
}

.sunset-footer ::-moz-selection {
    background: var(--sunset-accent);
    color: #fff;
}


.sunset-footer * {
    box-sizing: border-box;
}


.sunset-footer-brand-link,
.sunset-footer-nav-item,
.sunset-social-item,
.sunset-back-to-top,
.link-item {
    will-change: transform;
    backface-visibility: hidden;
}