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

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', 'Monaco', monospace;
    overflow-x: hidden;
    background: #f3f0e8;
    color: #1e2a5e;
    min-height: 100vh;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg_library_20250823_140324.v02.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

.dark-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 42, 94, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    justify-content: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    text-align: center;
    color: #ffffff;
    background: rgba(30, 42, 94, 0.4);
    padding: 1rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(30, 42, 94, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    color: #ffffff;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
}

.link-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(30, 42, 94, 0.9);
    border: 1px solid rgba(243, 240, 232, 0.3);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.link-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 42, 94, 0.95);
    border-color: rgba(243, 240, 232, 0.5);
    box-shadow: 0 10px 30px rgba(30, 42, 94, 0.4);
}

.link-card:hover .link-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.link-card:hover .link-icon svg {
    transform: scale(1.1);
}

/* Platform-specific hover colors */
.link-card.linkedin:hover .link-icon {
    background: rgba(0, 119, 181, 0.3);
    color: #ffffff;
}

.link-card.credly:hover .link-icon {
    background: rgba(255, 89, 0, 0.3);
    color: #ffffff;
}

.link-card.github:hover .link-icon {
    background: rgba(88, 166, 255, 0.3);
    color: #ffffff;
}

.link-card.blog:hover .link-icon {
    background: rgba(255, 193, 7, 0.3);
    color: #ffffff;
}

.link-card.website:hover .link-icon {
    background: rgba(40, 167, 69, 0.3);
    color: #ffffff;
}

.link-card.stackoverflow:hover .link-icon {
    background: rgba(244, 128, 36, 0.3);
    color: #ffffff;
}

.link-card.x-twitter:hover .link-icon {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.link-card.telegram:hover .link-icon {
    background: rgba(54, 175, 226, 0.3);
    color: #ffffff;
}

.link-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: #ffffff;
    flex-shrink: 0;
}

.link-icon svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
    display: block;
}

.link-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    flex: 1;
    white-space: nowrap;
}

.link-description {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 300;
    line-height: 1.4;
    color: #ffffff;
}



@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.75rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .links-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .link-card {
        padding: 1.25rem;
    }
    
    .link-title {
        font-size: 1.1rem;
    }
    
    .link-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .link-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .link-header {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .content {
        padding: 1rem;
    }
} 