/* Button system */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.9rem;
    border: 1px solid;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 44px;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn--social {
    color: #e6edf3;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn--social:hover,
.btn--social:focus {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn--primary {
    color: #000000;
    background: #4c9fae;
    border-color: transparent;
}

.btn--primary:hover,
.btn--primary:focus {
    color: #0b1015;
    background: #45bfd5;
    transform: translateY(-2px);
}

/* Icon system */
.btn__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.btn__icon--cults {
    transform: translateX(-1.5px);
}

.contact {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    margin: 8px 0 4px 0;
    backdrop-filter: blur(2px) saturate(110%);
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact__link {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.contact__link:hover {
    transform: none;
    text-decoration: underline;
}

.contact .btn__icon {
    /*filter: invert(1);*/
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Carousel */
.carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    width: 100%;
}

.carousel__viewport {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.carousel__track {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
    transform: translateX(0);
    transition: transform 600ms ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform var(--transition), filter var(--transition);
    margin: 0;
    padding: 0;
    border: none;
    line-height: 0;
    font-size: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.9;
}

.carousel__btn:hover,
.carousel__btn:focus {
    background: rgba(0, 0, 0, 0.55);
    outline: none;
    transform: scale(1.04);
}

/* Skills list */
.skills {
    margin: 1rem 0 1rem 0;
    padding-left: 1.1rem;
    line-height: 1.7;
}

.skills li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}