/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 8-bit Retro Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    font-family: 'Press Start 2P', monospace;
    line-height: 1.8;
    color: #e0e0e0;
    background-color: #1a1a2e;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.5) 2px, rgba(0, 0, 0, 0.5) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.5) 2px, rgba(0, 0, 0, 0.5) 4px);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

.resume-container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #0f0f1e;
    box-shadow:
        0 0 0 4px #000000,
        0 0 0 8px #16213e,
        0 0 0 12px #000000,
        0 8px 0 12px #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.resume-header {
    background: #16213e;
    background-image:
        linear-gradient(45deg, #0f3460 25%, transparent 25%),
        linear-gradient(-45deg, #0f3460 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #0f3460 75%),
        linear-gradient(-45deg, transparent 75%, #0f3460 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    color: #e94560;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 8px solid #000000;
    box-shadow: inset 0 -8px 0 0 #533483;
    position: relative;
}

.resume-header::before {
    content: "★ ★ ★ RESUME ★ ★ ★";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: #e0e0e0;
    background: #533483;
    padding: 8px 16px;
    border: 4px solid #000000;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.5);
}

.profile-section {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
}

.profile-image-container {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 0;
    border: 8px solid #000000;
    box-shadow:
        0 0 0 4px #e94560,
        0 0 0 8px #000000,
        8px 8px 0 0 rgba(0, 0, 0, 0.8);
    object-fit: cover;
    background-color: #1a1a2e;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.name {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #e94560;
    text-shadow:
        4px 4px 0 #533483,
        8px 8px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: blink 2s steps(2, start) infinite;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.tagline {
    font-size: 0.7rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    background: #0f3460;
    display: inline-block;
    padding: 8px 16px;
    border: 4px solid #000000;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.6rem;
    transition: all 0.1s ease;
    border: 4px solid #000000;
    box-shadow: 4px 4px 0 0 #000000;
    position: relative;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 #000000;
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 0 #000000;
}

.btn i {
    font-size: 1rem;
}

.btn-contact {
    background-color: #0f3460;
    color: #e0e0e0;
}

.btn-linkedin {
    background-color: #533483;
    color: #e0e0e0;
}

.btn-pdf {
    background-color: #e94560;
    color: #e0e0e0;
}

/* Section Styles */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e94560;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #0f3460;
    display: inline-block;
    padding: 12px 24px;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.section-title::before {
    content: "▶";
    margin-right: 10px;
    color: #e94560;
    animation: blink 1s steps(2, start) infinite;
}

/* About Section */
.about-section {
    background-color: #0f0f1e;
    border-bottom: 8px solid #000000;
}

.about-description {
    font-size: 0.7rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #e0e0e0;
    background: #16213e;
    padding: 20px;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.interests-hobbies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.interests, .hobbies {
    background: linear-gradient(135deg, #0f3460 0%, #533483 100%);
    padding: 25px;
    border-radius: 0;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.5);
    position: relative;
}

.interests::before, .hobbies::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.3) 10px,
        rgba(0, 0, 0, 0.3) 20px
    );
    z-index: -1;
}

.interests h3, .hobbies h3 {
    color: #e94560;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.interests ul, .hobbies ul {
    list-style: none;
}

.interests li, .hobbies li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.65rem;
    color: #e0e0e0;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.interests li::before, .hobbies li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Experience Section */
.experience-section {
    background-color: #16213e;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 0, 0, 0.3) 40px, rgba(0, 0, 0, 0.3) 80px);
    border-bottom: 8px solid #000000;
}

.job {
    background-color: #0f3460;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 0;
    border: 6px solid #000000;
    box-shadow:
        8px 8px 0 0 #533483,
        12px 12px 0 0 #000000;
    transition: transform 0.1s ease;
    position: relative;
}

.job::before {
    content: "LVL UP!";
    position: absolute;
    top: -20px;
    right: 20px;
    background: #e94560;
    color: #e0e0e0;
    padding: 4px 12px;
    border: 3px solid #000000;
    font-size: 0.5rem;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.job:hover {
    transform: translate(-4px, -4px);
    box-shadow:
        12px 12px 0 0 #533483,
        16px 16px 0 0 #000000;
}

/* Company Logo */
.company-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(22, 33, 62, 0.5);
    border: 3px solid #000000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.company-logo {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    image-rendering: auto;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.company-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4) contrast(1.2);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.job-title h3 {
    font-size: 0.9rem;
    color: #e94560;
    margin-bottom: 5px;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.company {
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 400;
    margin-bottom: 5px;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.location {
    color: #a0a0a0;
    font-size: 0.6rem;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.job-dates {
    text-align: right;
}

.date {
    display: inline-block;
    background-color: #533483;
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.55rem;
    font-weight: 400;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.projects {
    margin-top: 20px;
}

.project {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 6px solid #e94560;
    background: rgba(233, 69, 96, 0.1);
    padding: 15px;
    padding-left: 20px;
}

.project-name {
    font-size: 0.75rem;
    color: #e94560;
    margin-bottom: 10px;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.project-description {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.65rem;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #16213e;
    border: 3px solid #000000;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.1s ease;
    padding: 8px;
    border: 2px solid #000000;
    background: #533483;
}

.tech-item:hover {
    transform: scale(1.2);
    background: #e94560;
    box-shadow: 3px 3px 0 0 #000000;
}

.tech-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: brightness(1.2) contrast(1.1);
}

.tech-item span {
    font-size: 0.45rem;
    color: #e0e0e0;
    font-weight: 400;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

/* Skills Section */
.skills-section {
    background-color: #0f0f1e;
    border-bottom: 8px solid #000000;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category {
    background: #16213e;
    padding: 25px;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.5);
}

.skill-category h3 {
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 4px solid #000000;
    text-transform: uppercase;
    background: #533483;
    padding: 10px;
    margin: -25px -25px 20px -25px;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 400;
    color: #e0e0e0;
    font-size: 0.6rem;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.skill-percentage {
    color: #e0e0e0;
    font-weight: 400;
    font-size: 0.6rem;
    background: #e94560;
    padding: 2px 8px;
    border: 2px solid #000000;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.skill-bar {
    width: 100%;
    height: 20px;
    background-color: #000000;
    border-radius: 0;
    overflow: hidden;
    border: 3px solid #000000;
    box-shadow: inset 0 0 0 2px #0f3460;
}

.skill-progress {
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #533483 0px,
        #533483 10px,
        #e94560 10px,
        #e94560 20px
    );
    border-radius: 0;
    transition: width 1s ease-in-out;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: scroll-bg 0.5s linear infinite;
}

@keyframes scroll-bg {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Footer */
.resume-footer {
    background-color: #000000;
    color: #e94560;
    text-align: center;
    padding: 30px 20px;
    border-top: 8px solid #533483;
    position: relative;
}

.resume-footer::before {
    content: "★ GAME OVER ★ INSERT COIN TO CONTINUE ★";
    display: block;
    margin-bottom: 10px;
    font-size: 0.5rem;
    color: #e94560;
    animation: blink 1.5s steps(2, start) infinite;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.resume-footer p {
    margin: 0;
    font-size: 0.6rem;
    color: #e0e0e0;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 0.6rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

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

    .job-dates {
        text-align: left;
    }

    .section-title {
        font-size: 0.9rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        gap: 10px;
    }

    .tech-item img {
        width: 35px;
        height: 35px;
    }

    .resume-footer::before {
        font-size: 0.4rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 15px;
    }

    .job {
        padding: 20px;
    }

    .interests-hobbies {
        grid-template-columns: 1fr;
    }

    .about-description {
        font-size: 0.6rem;
    }

    .project-description {
        font-size: 0.6rem;
    }

    .resume-header::before {
        font-size: 0.4rem;
        padding: 6px 12px;
    }
}

