/* Professional & Stunning Resume Button */
.resume-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    text-decoration: none;
}

/* The stunning filling effect */
.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.resume-btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px);
}

.resume-btn:hover::before {
    width: 100%;
}

/* Icon Animation */
.resume-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.resume-btn:hover svg {
    transform: translateY(3px);
}

/* Glitch/Scanline effect on hover (Stunning detail) */
.resume-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.6s ease;
    opacity: 0;
}

.resume-btn:hover::after {
    left: 100%;
    opacity: 1;
    transition: all 0.6s ease;
}

/* Ensure Light Mode compatibility */
[data-theme="light"] .resume-btn {
    background: transparent;
    border: 1px solid var(--accent);
}

[data-theme="light"] .resume-btn:hover {
    color: #fff; /* Always white text on dark background in light mode hover */
    background-color: var(--accent);
}
