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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    position: relative;
    overflow-x: hidden;
}

body.dark {
    background: linear-gradient(135deg, #0d6976 0%, #0a5c5c 100%);
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#root {
    position: relative;
    z-index: 1;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s ease-out backwards;
    border: 2px solid transparent;
    color: white;
}

.dark .link-card {
    background: rgba(31, 41, 55, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(23, 162, 184, 0.4);
    border-color: rgba(23, 162, 184, 0.6);
}

.link-card.highlighted {
    background: linear-gradient(135deg, #fd7e14 0%, #ff6b35 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(253, 126, 20, 0.4);
}

.link-card.highlighted:hover {
    box-shadow: 0 12px 32px rgba(253, 126, 20, 0.6);
    transform: translateY(-6px) scale(1.03);
}

.copy-btn {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(23, 162, 184, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    color: white;
}

.copy-btn:hover {
    background: rgba(23, 162, 184, 0.3);
    transform: scale(1.1);
}

.link-card.highlighted .copy-btn {
    background: rgba(255, 255, 255, 0.2);
}

.link-card.highlighted .copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}

@media (max-width: 640px) {
    .link-card {
        padding: 1rem 1.25rem;
    }
    
    .link-card span {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #background-canvas {
        display: none;
    }
}