/* NOWOCZESNY SLIDER AUTORA - NATANIEL WALIGÓRA */
.author-slider {
    position: fixed;
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.author-slider.active {
    right: 0;
}

.author-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

/* Trigger Button */
.author-trigger {
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 120px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 15px 0 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 123, 255, 0.3);
}

.author-trigger:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-50%) translateX(-5px);
    box-shadow: -8px 0 25px rgba(0, 123, 255, 0.4);
}

.author-trigger i {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.author-slider.active .author-trigger i {
    transform: rotate(180deg);
}

/* Slider Content */
.author-content {
    padding: 30px;
    color: white;
    height: 100%;
    position: relative;
}

/* Author Header */
.author-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.author-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Author Stats */
.author-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Author Skills */
.author-skills {
    margin-bottom: 25px;
}

.skills-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.skill-name {
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.skill-level {
    display: flex;
    gap: 3px;
    margin-left: 10px;
}

.skill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-dot.active {
    background: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Author Contact */
.author-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.contact-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Animation dla pojawienia się */
@keyframes slideInAuthor {
    from {
        right: -350px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

.author-slider.animate-in {
    animation: slideInAuthor 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-slider {
        width: 280px;
        right: -280px;
    }
    
    .author-content {
        padding: 20px;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .author-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .author-slider {
        width: calc(100vw - 40px);
        right: calc(-100vw + 40px);
        border-radius: 20px 0 0 20px;
    }
    
    .author-trigger {
        left: -40px;
        width: 40px;
        height: 80px;
    }
}

/* Scroll Trigger Styles */
.scroll-indicator {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.author-trigger:hover .scroll-indicator {
    opacity: 1;
    top: -25px;
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .author-slider {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        border-color: rgba(255, 255, 255, 0.05);
    }
}
