.resume {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    margin-top: 100px;
    margin-bottom: 40px;
}

.resume img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 2px solid rgba(79, 172, 254, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    background: rgba(13, 17, 23,0.1);
    will-change: transform, box-shadow;
    animation: resumeSlideIn 0.8s ease-out;
}

.resume button {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(0, 255, 255, 0.15));
    border: 2px solid rgba(79, 172, 254, 0.4);
    color: #4facfe;
    padding: 18px 36px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(10px);
    min-width: 220px;
    will-change: transform, box-shadow;
    animation: resumeSlideIn 0.8s ease-out 0.2s both;
    line-height: 1.4;
}

.resume button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='16' height='16' fill='%234facfe' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E");
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.resume button:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(0, 255, 255, 0.2));
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.resume button:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.resume button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.2);
}

@keyframes resumeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1564px) {
    .resume {
        margin-top: 130px;
    }
}

@media (max-width: 1024px) {
    .resume {
        max-width: 700px;
        margin-top: 110px;
    }

    .resume img {
        max-width: 700px;
        border-radius: 12px;
    }

    .resume button {
        padding: 14px 28px;
        font-size: 13px;
        min-width: 180px;
        border-radius: 25px;
    }
}

@media (max-width: 768px) {
    .resume {
        max-width: 100%;
        padding: 0 20px;
        margin-top: 100px;
    }

    .resume img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    }

    .resume button {
        padding: 12px 24px;
        font-size: 12px;
        min-width: 160px;
        border-radius: 22px;
    }

    .resume button::before {
        width: 14px;
        height: 14px;
        left: 14px;
    }
}

@media (max-width: 480px) {
    .resume {
        padding: 0 15px;
        margin-top: 80px;
    }

    .resume img {
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .resume button {
        padding: 10px 20px;
        font-size: 11px;
        min-width: 140px;
        border-radius: 20px;
        letter-spacing: 0.8px;
    }

    .resume button::before {
        width: 12px;
        height: 12px;
        left: 12px;
    }
}

@media (max-width: 360px) {
    .resume {
        padding: 0 10px;
        margin-top: 70px;
    }

    .resume button {
        padding: 8px 18px;
        font-size: 10px;
        min-width: 120px;
        border-radius: 18px;
        letter-spacing: 0.6px;
    }

    .resume button::before {
        width: 10px;
        height: 10px;
        left: 10px;
    }
}

@media (max-width: 320px) {
    .resume {
        padding: 0 8px;
        margin-top: 60px;
    }

    .resume img {
        max-width: 95%;
        border-radius: 8px;
    }

    .resume button {
        padding: 6px 15px;
        font-size: 9px;
        min-width: 100px;
        border-radius: 16px;
        letter-spacing: 0.4px;
        margin-top: 15px;
    }

    .resume button::before {
        width: 8px;
        height: 8px;
        left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resume img,
    .resume button {
        animation: none;
        transition: none;
    }

    .resume button:hover {
        transform: none;
    }
}

.resume img,
.resume button {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.resume button {
    contain: layout style paint;
}
