/* Links Page Specific Styles */
body.page-template-page-links {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.links-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a1628 0%, #1a2332 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Starry Background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Content Container */
.links-container {
    position: relative;
    z-index: 10;
    max-width: 680px;
    width: 100%;
    text-align: center;
}

/* Profile Section */
.links-profile {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.links-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.links-avatar:hover {
    transform: scale(1.05);
}

.links-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links-name {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* Social Icons */
.links-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.links-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.links-social a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(95, 127, 255, 0.3), rgba(142, 158, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.links-social a:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(95, 127, 255, 0.5);
    box-shadow: 0 8px 24px rgba(95, 127, 255, 0.4);
}

.links-social a:hover::before {
    opacity: 1;
}

.links-social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Tab Navigation */
.links-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    background: rgba(95, 127, 255, 0.1);
    border: 1px solid rgba(95, 127, 255, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-button:hover {
    background: rgba(95, 127, 255, 0.2);
    border-color: rgba(95, 127, 255, 0.4);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(95, 127, 255, 0.3), rgba(142, 158, 255, 0.2));
    border-color: rgba(95, 127, 255, 0.5);
    box-shadow: 0 4px 15px rgba(95, 127, 255, 0.2);
}

/* Links Section */
.links-section {
    display: none;
    animation: fadeIn 0.5s ease-out;
    min-height: 400px;
}

.links-section.active {
    display: block;
}

.link-item {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out both;
}

.link-item:nth-child(1) {
    animation-delay: 0.4s;
}

.link-item:nth-child(2) {
    animation-delay: 0.5s;
}

.link-item:nth-child(3) {
    animation-delay: 0.6s;
}

.link-item:nth-child(4) {
    animation-delay: 0.7s;
}

.link-item:nth-child(5) {
    animation-delay: 0.8s;
}

.link-item:nth-child(6) {
    animation-delay: 0.9s;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(95, 127, 255, 0.2), rgba(142, 158, 255, 0.15));
    border: 1px solid rgba(95, 127, 255, 0.4);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(95, 127, 255, 0.1);
}

.link-button:hover {
    background: linear-gradient(135deg, rgba(95, 127, 255, 0.35), rgba(142, 158, 255, 0.25));
    border-color: rgba(95, 127, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(95, 127, 255, 0.3);
}

.link-button svg,
.link-button img {
    width: 20px;
    height: 20px;
}

.link-button svg {
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.link-button img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .links-name {
        font-size: 28px;
    }

    .links-avatar {
        width: 100px;
        height: 100px;
    }

    .links-social {
        gap: 16px;
    }

    .links-social a {
        width: 44px;
        height: 44px;
    }

    .links-social svg {
        width: 20px;
        height: 20px;
    }

    .tab-button {
        font-size: 13px;
        padding: 10px 15px;
    }

    .link-button {
        font-size: 15px;
        padding: 14px 20px;
    }
}