/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background Elements */
@keyframes float-1 {

    0%,
    100% {
        -webkit-transform: translate(0, 0) rotate(0deg);
        -moz-transform: translate(0, 0) rotate(0deg);
        -ms-transform: translate(0, 0) rotate(0deg);
        -o-transform: translate(0, 0) rotate(0deg);
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -20px) rotate(2deg);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, 15px) rotate(-1deg);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(10px, -15px) rotate(3deg);
    }
}

.animate-float-1 {
    animation: float-1 12s ease-in-out infinite;
}

.animate-float-2 {
    animation: float-2 15s ease-in-out infinite;
}

.animate-float-3 {
    animation: float-3 18s ease-in-out infinite;
}

/* Border Gradient Animation */
@keyframes border-pulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-border-pulse {
    background-size: 200% 200%;
    animation: border-pulse 3s ease infinite;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover::before {
    opacity: 1;
}

.link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.link-content {
    flex-grow: 1;
    text-align: left;
}

.link-content h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.link-content p {
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.link-card {
    animation: fadeIn 0.6s forwards;
    opacity: 0;
}

/* Delay animations for staggered effect */
.link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.link-card:nth-child(5) {
    animation-delay: 0.5s;
}

.link-card:nth-child(6) {
    animation-delay: 0.6s;
}

.link-card:nth-child(7) {
    animation-delay: 0.7s;
}

.link-card:nth-child(8) {
    animation-delay: 0.8s;
}

.link-card:nth-child(9) {
    animation-delay: 0.9s;
}

.link-card:nth-child(10) {
    animation-delay: 1.0s;
}

.link-card:nth-child(11) {
    animation-delay: 1.1s;
}

.link-card:nth-child(12) {
    animation-delay: 1.2s;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .link-card {
        padding: 14px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
}