.azure-friend-links-section {
    background: #f8fbff;
    padding: 50px 0 40px;
    border-top: 1px solid rgba(0, 122, 204, 0.1);
}

.azure-friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.azure-friend-links-header {
    text-align: center;
    margin-bottom: 40px;
}

.azure-friend-links-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.azure-friend-links-title i {
    font-size: 32px;
    color: #007acc;
}

.azure-friend-links-desc {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

.azure-friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.link-item {
    padding: 10px 20px;
    background: #fff;
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.08);
    border: 1px solid rgba(0, 122, 204, 0.1);
}

.link-item:hover,
.azure-link-hover {
    background: #007acc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.25);
    border-color: #007acc;
}


.azure-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
    position: relative;
}

.azure-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 204, 0.5), transparent);
}

.azure-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.azure-footer-content {
    display: flex;
    flex-direction: column;
}

.azure-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.azure-footer-brand {
    display: flex;
    flex-direction: column;
}

.azure-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.azure-footer-logo:hover {
    color: #007acc;
    transform: translateX(3px);
}

.azure-footer-logo-icon {
    width: 40px;
    height: 40px;
    background: #007acc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.azure-footer-logo:hover .azure-footer-logo-icon {
    background: #0066cc;
    transform: rotate(5deg);
}

.azure-footer-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #bdc3c7;
    margin: 0 0 25px 0;
}

.azure-footer-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.azure-footer-stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(0, 122, 204, 0.1);
    border-radius: 10px;
    flex: 1;
    transition: all 0.3s ease;
}

.azure-footer-stat-item:hover {
    background: rgba(0, 122, 204, 0.2);
    transform: translateY(-2px);
}

.azure-footer-stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #007acc;
    margin-bottom: 4px;
}

.azure-footer-stat-label {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.azure-footer-links {
    display: contents;
}

.azure-footer-column {
    display: flex;
    flex-direction: column;
}

.azure-footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007acc;
    position: relative;
}

.azure-footer-column-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #007acc;
}

.azure-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.azure-footer-nav-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.azure-footer-nav-link:hover {
    color: #007acc;
    padding-left: 10px;
}

.azure-footer-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #007acc;
    transition: width 0.3s ease;
}

.azure-footer-nav-link:hover::before {
    width: 6px;
}


.azure-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.azure-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.azure-contact-item:hover {
    color: #007acc;
    transform: translateX(5px);
}

.azure-contact-item i {
    width: 20px;
    text-align: center;
    color: #007acc;
    font-size: 16px;
}


.azure-footer-social {
    display: flex;
    flex-direction: column;
}

.azure-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.azure-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.azure-social-link:hover,
.azure-social-hover {
    background: #007acc;
    color: #fff;
    transform: translateX(5px);
    border-color: #007acc;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

.azure-social-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.azure-social-link span {
    font-size: 14px;
    font-weight: 500;
}


.azure-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.azure-footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.azure-copyright-left,
.azure-copyright-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.azure-copyright-text {
    font-size: 14px;
    color: #95a5a6;
    line-height: 1.5;
}

.azure-icp-link {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.azure-icp-link:hover {
    color: #007acc;
}

.azure-divider {
    color: #7f8c8d;
}

.azure-build-info {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}


.azure-back-to-top,
.azure-back-to-bottom {
    position: fixed;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.azure-back-to-top {
    bottom: 90px;
    background: #007acc;
    color: white;
}

.azure-back-to-bottom {
    bottom: 25px;
    background: #28a745;
    color: white;
}

.azure-back-to-top.azure-show,
.azure-back-to-bottom.azure-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.azure-back-to-top:hover {
    background: #0066cc;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
}

.azure-back-to-bottom:hover {
    background: #218838;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.azure-back-to-top i,
.azure-back-to-bottom i {
    font-size: 20px;
    line-height: 1;
}

.azure-back-text {
    font-size: 10px;
    margin-top: 2px;
    opacity: 0.8;
}


.azure-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.azure-progress-fill {
    height: 100%;
    background: #007acc;
    width: 0;
    transition: width 0.2s ease;
    position: relative;
}

.azure-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}


.azure-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}


.azure-toolbar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.azure-toolbar.azure-hidden {
    transform: translateY(-50%) translateX(80px);
    opacity: 0;
}

.azure-toolbar-item {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #007acc;
    border: 1px solid rgba(0, 122, 204, 0.2);
}

.azure-toolbar-item:hover {
    background: #007acc;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

.azure-toolbar-item i {
    font-size: 18px;
}


.azure-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007acc;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

.azure-toast.azure-toast-show {
    transform: translateX(0);
}


.azure-article-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.azure-article-item.azure-load-fade {
    opacity: 1;
    transform: translateY(0);
}


img.azure-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.azure-lazy.loaded {
    opacity: 1;
}


body.azure-dark-theme {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.azure-dark-theme .azure-friend-links-section {
    background: #2d2d2d;
    border-top-color: rgba(0, 122, 204, 0.3);
}

body.azure-dark-theme .link-item {
    background: #3d3d3d;
    color: #e0e0e0;
    border-color: rgba(0, 122, 204, 0.3);
}

body.azure-dark-theme .azure-footer {
    background: #1a1a1a;
}

body.azure-dark-theme .azure-toolbar-item {
    background: rgba(45, 45, 45, 0.9);
    color: #007acc;
    border-color: rgba(0, 122, 204, 0.3);
}


@media (max-width: 1024px) {
    .azure-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .azure-footer-brand {
        grid-column: 1 / -1;
    }

    .azure-footer-stats {
        justify-content: center;
    }

    .azure-toolbar {
        right: 20px;
    }

    .azure-back-to-top {
        right: 20px;
        bottom: 85px;
    }

    .azure-back-to-bottom {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .azure-friend-links-section {
        padding: 30px 0 25px;
    }

    .azure-friend-links-container {
        padding: 0 15px;
    }

    .azure-friend-links-title {
        font-size: 22px;
    }

    .azure-friend-links-desc {
        font-size: 14px;
    }

    .azure-footer {
        padding: 40px 0 15px;
    }

    .azure-footer-container {
        padding: 0 15px;
    }

    .azure-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .azure-footer-stats {
        flex-direction: column;
        gap: 10px;
    }

    .azure-footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .azure-social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .azure-toolbar {
        display: none;
    }

    .azure-back-to-top {
        right: 15px;
        bottom: 80px;
        width: 45px;
        height: 45px;
    }

    .azure-back-to-top i {
        font-size: 18px;
    }

    .azure-back-text {
        display: none;
    }

    .azure-back-to-bottom {
        right: 15px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

    .azure-back-to-bottom i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .azure-friend-links-title {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }

    .azure-friend-links-desc {
        font-size: 13px;
    }

    .link-item {
        padding: 8px 16px;
        font-size: 14px;
    }

    .azure-footer-logo {
        font-size: 20px;
        justify-content: center;
    }

    .azure-footer-desc {
        font-size: 14px;
    }

    .azure-social-link {
        padding: 8px 12px;
    }

    .azure-social-link span {
        font-size: 13px;
    }

    .azure-back-to-top {
        right: 10px;
        bottom: 70px;
        width: 40px;
        height: 40px;
    }

    .azure-back-to-top i {
        font-size: 16px;
    }

    .azure-back-to-bottom {
        right: 10px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }

    .azure-back-to-bottom i {
        font-size: 16px;
    }

    .azure-toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }

    .azure-toast.azure-toast-show {
        transform: translateY(0);
    }
}


@media (prefers-contrast: high) {
    .azure-footer {
        border-top: 3px solid #007acc;
    }

    .azure-footer-nav-link,
    .azure-social-link,
    .azure-contact-item {
        border: 1px solid transparent;
    }

    .azure-footer-nav-link:focus,
    .azure-social-link:focus,
    .azure-contact-item:focus {
        border-color: #007acc;
        outline: 2px solid #007acc;
    }
}


@media (prefers-reduced-motion: reduce) {

    .azure-back-to-top,
    .azure-back-to-bottom,
    .azure-toolbar-item,
    .azure-social-link,
    .azure-footer-nav-link,
    .azure-article-item {
        transition: none;
    }

    .azure-back-to-top:hover,
    .azure-back-to-bottom:hover,
    .azure-toolbar-item:hover {
        transform: none;
    }
}


@media print {

    .azure-back-to-top,
    .azure-back-to-bottom,
    .azure-toolbar,
    .azure-progress-bar,
    .azure-canvas,
    .azure-toast {
        display: none;
    }

    .azure-footer {
        background: #fff;
        color: #000;
        box-shadow: none;
    }

    .azure-footer-nav-link,
    .azure-social-link {
        color: #000;
    }
}