.resume-page {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 100px;
    min-height: 100vh;
}

.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Header Section */
.resume-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.resume-name {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.resume-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.resume-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-link:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
}

.contact-logo {
    width: 28px;
    height: 28px;
}

/* Sections */
.resume-section {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Experience */
.exp-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.exp-role {
    font-size: 1.25rem;
    font-weight: 700;
}

.exp-company {
    color: var(--secondary-text);
    font-weight: 600;
}

.exp-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.exp-desc {
    color: var(--secondary-text);
    margin-bottom: 1rem;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-tag {
    background: var(--tag-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-cat-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-pill {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.skill-pill:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15);
}

.skill-logo,
.contact-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-pill:hover .skill-logo {
    transform: rotate(10deg) scale(1.2);
}

.contact-logo {
    width: 24px;
    height: 24px;
}

.contact-link:hover .contact-logo {
    transform: translateY(-3px);
    animation: bounce 0.5s ease infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

.inverted {
    filter: invert(var(--dark-mode-invert));
}

/* Theme variable for inversion */
:root {
    --dark-mode-invert: 0;
}

[data-theme="dark"] {
    --dark-mode-invert: 1;
}

/* Actions */
.resume-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-download {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}

.btn-back {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-back:hover {
    background: var(--bg-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .resume-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .resume-name {
        font-size: 2rem;
    }

    .exp-header {
        flex-direction: column;
    }

    .resume-actions {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
    }
}