.daylight-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #495057;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    border-top: 1px solid #dee2e6;
}

.daylight-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.daylight-footer-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.daylight-footer-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: daylight-float 25s ease-in-out infinite;
}

.daylight-footer-shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.daylight-footer-shape-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 10%;
    animation-delay: 8s;
}

.daylight-footer-shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 16s;
}

@keyframes daylight-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(120deg);
    }

    66% {
        transform: translateY(8px) rotate(240deg);
    }
}


.daylight-friend-links-section {
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.daylight-friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.daylight-friend-links-header {
    text-align: center;
    margin-bottom: 30px;
}

.daylight-friend-links-title {
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.daylight-friend-links-title i {
    color: #007bff;
    font-size: 22px;
}

.daylight-friend-links-desc {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.daylight-friend-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.daylight-friend-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.daylight-friend-links-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.daylight-friend-links-list a:hover::before {
    left: 100%;
}

.daylight-friend-links-list a:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.daylight-friend-links-list a i {
    font-size: 18px;
    color: #007bff;
    flex-shrink: 0;
}

.daylight-friend-links-list a span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}


.daylight-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
    position: relative;
    z-index: 2;
}

.daylight-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.daylight-footer-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.daylight-footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.daylight-footer-title i {
    color: #007bff;
}

.daylight-footer-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.daylight-footer-subtitle i {
    color: #007bff;
}

.daylight-footer-desc {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.daylight-footer-stats {
    display: flex;
    gap: 20px;
}

.daylight-stat {
    text-align: center;
    padding: 15px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    flex: 1;
}

.daylight-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.daylight-stat-label {
    font-size: 14px;
    color: #6c757d;
}

.daylight-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.daylight-footer-links li {
    margin-bottom: 8px;
}

.daylight-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #6c757d;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.daylight-footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #007bff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.daylight-footer-link:hover::before {
    transform: scaleY(1);
}

.daylight-footer-link:hover,
.daylight-footer-link.daylight-hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding-left: 20px;
}

.daylight-footer-link i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}


.daylight-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 20px;
}

.daylight-footer-copyright {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.daylight-footer-copyright a {
    color: #007bff;
    text-decoration: none;
}

.daylight-footer-copyright a:hover {
    text-decoration: underline;
}

.daylight-footer-powered {
    margin-top: 5px;
}

.daylight-highlight {
    color: #007bff;
    font-weight: 600;
}

.daylight-heart {
    color: #dc3545;
    animation: daylight-heartbeat 1.5s ease-in-out infinite;
}

@keyframes daylight-heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.daylight-footer-social {
    display: flex;
    gap: 10px;
}

.daylight-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    color: #6c757d;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.daylight-social-link:hover,
.daylight-social-link.daylight-pulse {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}


.daylight-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.daylight-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.daylight-back-to-top:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}


.daylight-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    z-index: 9999;
    transition: width 0.3s ease;
}


.cloud-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    animation: cloudMove linear infinite;
    will-change: transform;
}

.cloud-small {
    width: 60px;
    height: 20px;
}

.cloud-small::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: -15px;
    left: 10px;
}

.cloud-small::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 25px;
    border-radius: 50%;
    top: -10px;
    right: 5px;
}

.cloud-medium {
    width: 100px;
    height: 30px;
}

.cloud-medium::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -25px;
    left: 15px;
}

.cloud-medium::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 40px;
    border-radius: 50%;
    top: -20px;
    right: 10px;
}

.cloud-large {
    width: 140px;
    height: 40px;
}

.cloud-large::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: -35px;
    left: 20px;
}

.cloud-large::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 80px;
    height: 50px;
    border-radius: 50%;
    top: -25px;
    right: 15px;
}

.cloud-light {
    opacity: 0.4;
}

.cloud-medium {
    opacity: 0.6;
}

.cloud-dense {
    opacity: 0.8;
}

.floating-cloud {
    position: absolute;
    width: 40px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    animation: cloudFloat ease-in-out infinite;
}

.floating-cloud::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -10px;
    left: 8px;
}

.floating-cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    width: 25px;
    height: 18px;
    border-radius: 50%;
    top: -8px;
    right: 5px;
}


.sun-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}


.sun-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: sunParticleFloat ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}


@keyframes cloudMove {
    0% {
        transform: translateX(-20%);
    }

    100% {
        transform: translateX(120%);
    }
}


@keyframes cloudFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-10px) translateX(5px);
    }

    50% {
        transform: translateY(-5px) translateX(-3px);
    }

    75% {
        transform: translateY(-15px) translateX(8px);
    }
}


@keyframes sunParticleFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.9;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.95;
    }
}


.new-cloud {
    animation: newCloudMove linear forwards;
}

@keyframes newCloudMove {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}


.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


.daylight-friend-links-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.2);
}

.daylight-friend-links-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #adb5bd;
}

.daylight-friend-links-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

.daylight-friend-links-empty a {
    color: #007bff;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #007bff;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.daylight-friend-links-empty a:hover {
    background: #007bff;
    color: #fff;
}


@media (max-width: 768px) {
    .daylight-footer {
        margin-top: 40px;
    }

    .daylight-friend-links-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .daylight-friend-links-container {
        padding: 0 15px;
    }

    .daylight-friend-links-title {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }

    .daylight-friend-links-desc {
        font-size: 14px;
    }

    .daylight-friend-links-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .daylight-friend-links-list a {
        padding: 12px 15px;
        font-size: 13px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .daylight-footer-container {
        padding: 40px 15px 15px;
    }

    .daylight-footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .daylight-footer-section {
        padding: 20px;
    }

    .daylight-footer-title {
        font-size: 18px;
    }

    .daylight-footer-subtitle {
        font-size: 15px;
    }

    .daylight-footer-stats {
        flex-direction: column;
        gap: 15px;
    }

    .daylight-stat {
        padding: 12px;
    }

    .daylight-stat-number {
        font-size: 20px;
    }

    .daylight-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px;
    }

    .daylight-footer-social {
        justify-content: center;
    }

    .daylight-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }


    .cloud-large {
        width: 100px;
        height: 30px;
    }

    .cloud-large::before {
        width: 50px;
        height: 50px;
        top: -25px;
    }

    .cloud-large::after {
        width: 60px;
        height: 35px;
        top: -18px;
    }

    .cloud-medium {
        width: 80px;
        height: 25px;
    }

    .cloud-medium::before {
        width: 40px;
        height: 40px;
        top: -20px;
    }

    .cloud-medium::after {
        width: 50px;
        height: 30px;
        top: -15px;
    }

    .cloud-small {
        width: 50px;
        height: 18px;
    }

    .cloud-small::before {
        width: 25px;
        height: 25px;
        top: -12px;
    }

    .cloud-small::after {
        width: 35px;
        height: 20px;
        top: -8px;
    }


    .sun-particle:nth-child(n+4) {
        display: none;
    }
}


@media (max-width: 480px) {
    .daylight-friend-links-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .daylight-friend-links-list a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .daylight-footer-container {
        padding: 30px 10px 10px;
    }

    .daylight-footer-section {
        padding: 15px;
    }

    .daylight-footer-title {
        font-size: 16px;
    }

    .daylight-footer-subtitle {
        font-size: 14px;
    }

    .daylight-footer-desc {
        font-size: 14px;
    }

    .daylight-stat-number {
        font-size: 18px;
    }

    .daylight-stat-label {
        font-size: 12px;
    }

    .daylight-footer-link {
        padding: 6px 10px;
        font-size: 13px;
    }

    .daylight-footer-copyright {
        font-size: 12px;
    }

    .daylight-social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }


    .cloud-field {
        display: none;
    }

    .sun-particles {
        display: none;
    }
}


@media (prefers-reduced-motion: reduce) {

    .cloud,
    .floating-cloud,
    .sun-particle,
    .daylight-footer-shape {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .daylight-heart {
        animation: none;
    }

    .ripple {
        animation: none;
    }
}


@media (prefers-contrast: high) {
    .daylight-footer {
        background: #fff;
        border-top: 2px solid #000;
    }

    .daylight-friend-links-section {
        background: #f8f9fa;
        border-top: 2px solid #000;
        border-bottom: 2px solid #000;
    }

    .daylight-footer-section {
        background: #fff;
        border: 2px solid #000;
    }

    .daylight-friend-links-list a,
    .daylight-footer-link,
    .daylight-social-link {
        border: 2px solid #000;
    }

    .cloud-field,
    .sun-particles {
        display: none;
    }
}


@media print {
    .daylight-footer {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    .daylight-back-to-top,
    .daylight-progress-bar,
    .cloud-field,
    .sun-particles,
    .daylight-footer-social {
        display: none !important;
    }

    .daylight-friend-links-section,
    .daylight-footer-section {
        background: #fff !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    .daylight-footer-link {
        color: #000 !important;
    }
}


@media (prefers-reduced-transparency: reduce) {

    .daylight-footer,
    .daylight-friend-links-section,
    .daylight-footer-section,
    .daylight-friend-links-list a,
    .daylight-social-link {
        background: #fff !important;
    }

    .cloud,
    .floating-cloud,
    .sun-particle {
        opacity: 0.2 !important;
    }
}


.daylight-footer-link:focus,
.daylight-friend-links-list a:focus,
.daylight-social-link:focus,
.daylight-back-to-top:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}


.daylight-footer ::selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.daylight-footer ::-moz-selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}