/* Pixel Art Resume - Retro Gaming Style */

/* Pixel Loading Screen */
.pixel-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.pixel-loading-content {
    text-align: center;
    color: #4ade80;
    font-family: 'Press Start 2P', monospace;
}

.pixel-loading-frame {
    border: 4px solid #4ade80;
    background: #000000;
    padding: 40px;
    box-shadow: 
        0 0 20px rgba(74, 222, 128, 0.3),
        inset 0 0 20px rgba(74, 222, 128, 0.05);
    position: relative;
}

.pixel-loading-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4ade80, #22d3ee, #a78bfa, #fbbf24, #4ade80);
    z-index: -1;
}

.pixel-loading-penguin {
    margin-bottom: 20px;
}

.pixel-gif {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: contrast(1.2) brightness(1.1);
}

.pixel-loading-text {
    font-size: 14px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #000000;
}

.pixel-dots {
    animation: pixelBlink 1.5s infinite;
}

.pixel-progress-bar {
    width: 200px;
    height: 20px;
    border: 2px solid #4ade80;
    background: #000000;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pixel-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    width: 0%;
    animation: pixelProgress 3.5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

@keyframes pixelBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pixelBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pixelProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

body {
    font-family: 'Press Start 2P', monospace;
    line-height: 1.6;
    color: #d4d4d4;
    background: #1e1e1e;
    min-height: 100vh;
    overflow-x: hidden;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.pixel-container {
    max-width: 1200px;
    margin: 2rem auto;
    background: #2d2d30;
    border: 4px solid #007acc;
    box-shadow: 
        0 0 30px rgba(0, 122, 204, 0.3),
        inset 0 0 30px rgba(0, 122, 204, 0.05);
    position: relative;
    image-rendering: pixelated;
}

.pixel-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007acc, #4fc1ff, #9cdcfe, #569cd6, #007acc);
    z-index: -1;
}

/* Pixel Header Styles */
.pixel-header {
    background: linear-gradient(135deg, #2d2d30 0%, #3c3c3c 100%);
    color: #d4d4d4;
    padding: 40px;
    position: relative;
    border-bottom: 4px solid #007acc;
}

.pixel-header-frame {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pixel-profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.pixel-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.pixel-avatar {
    width: 120px;
    height: 120px;
    border: 4px solid #3b82f6;
    background: #1e293b;
    position: relative;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
    image-rendering: pixelated;
}

.pixel-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: contrast(1.2) brightness(1.1);
}

.pixel-name-section {
    flex: 1;
    min-width: 250px;
}

.pixel-name {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #4fc1ff;
    text-shadow: 3px 3px 0px #000000;
    letter-spacing: 2px;
}

.pixel-title-frame {
    border: 2px solid #007acc;
    background: #2d2d30;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: inset 0 0 10px rgba(0, 122, 204, 0.1);
}

.pixel-title {
    font-size: 14px;
    font-weight: normal;
    color: #ce9178;
    text-shadow: 2px 2px 0px #000000;
    line-height: 1.4;
}

.pixel-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pixel-stat {
    font-size: 12px;
    color: #b5cea8;
    text-shadow: 1px 1px 0px #000000;
}

.pixel-contact-panel {
    background: #2d2d30;
    border: 4px solid #007acc;
    padding: 20px;
    min-width: 300px;
    box-shadow: 
        0 0 20px rgba(0, 122, 204, 0.3),
        inset 0 0 20px rgba(0, 122, 204, 0.05);
}

.pixel-panel-title {
    font-size: 14px;
    color: #c586c0;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px #000000;
    border-bottom: 2px solid #007acc;
    padding-bottom: 10px;
}

.pixel-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pixel-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    padding: 8px;
    background: rgba(0, 122, 204, 0.1);
    border: 1px solid #007acc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pixel-contact-item:hover {
    background: rgba(0, 122, 204, 0.2);
    box-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
    transform: translateX(5px);
    font-size: 16px;
}

.pixel-icon {
    color: #569cd6;
    font-weight: bold;
    min-width: 30px;
}

/* Pixel Section Styles */
.pixel-section {
    padding: 30px;
    border-bottom: 2px solid #007acc;
    position: relative;
}

.pixel-section:last-child {
    border-bottom: none;
}

.pixel-section-frame {
    background: #2d2d30;
    border: 2px solid #007acc;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(0, 122, 204, 0.05);
}

.pixel-section-header {
    margin-bottom: 20px;
}

.pixel-section-title {
    font-size: 16px;
    color: #dcdcaa;
    text-shadow: 2px 2px 0px #000000;
    border-bottom: 2px solid #007acc;
    padding-bottom: 10px;
    display: inline-block;
}

/* Pixel Summary Styles */
.pixel-summary-box {
    background: rgba(0, 122, 204, 0.05);
    border: 1px solid #007acc;
    padding: 20px;
}

.pixel-summary {
    font-size: 12px;
    line-height: 1.8;
    color: #d4d4d4;
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.3s ease;
}

.pixel-summary-box:hover .pixel-summary {
    font-size: 16px;
    line-height: 2;
}

/* Pixel Experience Styles */
.pixel-experience-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid #3b82f6;
    position: relative;
    transition: all 0.3s ease;
}

.pixel-experience-item:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.pixel-experience-item:last-child {
    margin-bottom: 0;
}

.pixel-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3b82f6;
}

.pixel-job-title {
    font-size: 14px;
    color: #4fc1ff;
    text-shadow: 2px 2px 0px #000000;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.pixel-experience-item:hover .pixel-job-title {
    font-size: 18px;
}

.pixel-company-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.pixel-company {
    font-size: 12px;
    color: #ce9178;
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.3s ease;
}

.pixel-company a {
    color: #ce9178;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pixel-company a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #06b6d4;
    font-size: 16px;
}

.pixel-experience-item:hover .pixel-company {
    font-size: 16px;
}

.pixel-website-link {
    font-size: 10px;
    color: #10b981;
    margin-left: 10px;
}

.pixel-date {
    font-size: 10px;
    color: #b5cea8;
    background: rgba(0, 122, 204, 0.1);
    padding: 3px 8px;
    border: 1px solid #007acc;
    transition: all 0.3s ease;
}

.pixel-experience-item:hover .pixel-date,
.pixel-project-item:hover .pixel-date,
.pixel-certification-item:hover .pixel-date {
    font-size: 14px;
}

.pixel-achievements {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pixel-achievement {
    font-size: 11px;
    color: #d4d4d4;
    text-shadow: 1px 1px 0px #000000;
    line-height: 1.6;
    padding-left: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.pixel-achievement::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #569cd6;
}

.pixel-experience-item:hover .pixel-achievement {
    font-size: 15px;
    line-height: 1.8;
}

/* Pixel Skills Styles */
.pixel-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.pixel-skill-category {
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid #3b82f6;
    padding: 20px;
    transition: all 0.3s ease;
}

.pixel-skill-category:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.pixel-skill-title {
    font-size: 13px;
    color: #3b82f6;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px #000000;
    border-bottom: 1px solid #3b82f6;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.pixel-skill-category:hover .pixel-skill-title {
    font-size: 17px;
}

.pixel-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pixel-skill-tag {
    background: #1e293b;
    color: #06b6d4;
    padding: 5px 10px;
    border: 1px solid #3b82f6;
    font-size: 10px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0px #000000;
}

.pixel-skill-tag:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    font-size: 14px;
}

.pixel-skill-category:hover .pixel-skill-tag {
    font-size: 14px;
}

/* Pixel Project Styles */
.pixel-project-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.pixel-project-item:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.pixel-project-item:last-child {
    margin-bottom: 0;
}

.pixel-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3b82f6;
}

.pixel-project-title {
    font-size: 13px;
    color: #3b82f6;
    text-shadow: 2px 2px 0px #000000;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.pixel-project-item:hover .pixel-project-title {
    font-size: 17px;
}

.pixel-project-tech {
    font-size: 10px;
    color: #10b981;
    background: rgba(59, 130, 246, 0.1);
    padding: 3px 8px;
    border: 1px solid #3b82f6;
    transition: all 0.3s ease;
}

.pixel-project-item:hover .pixel-project-tech {
    font-size: 14px;
}

.pixel-project-description {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.3s ease;
}

.pixel-project-item:hover .pixel-project-description {
    font-size: 15px;
    line-height: 1.8;
}

/* Pixel Certification Styles */
.pixel-certification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.pixel-certification-item:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.pixel-certification-item:last-child {
    margin-bottom: 0;
}

.pixel-certification-name {
    font-size: 12px;
    color: #3b82f6;
    text-shadow: 2px 2px 0px #000000;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.pixel-certification-issuer {
    font-size: 10px;
    color: #06b6d4;
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.3s ease;
}

.pixel-certification-item:hover .pixel-certification-name {
    font-size: 16px;
}

.pixel-certification-item:hover .pixel-certification-issuer {
    font-size: 14px;
}

.pixel-certification-date {
    font-size: 9px;
    color: #10b981;
    background: rgba(59, 130, 246, 0.1);
    padding: 3px 8px;
    border: 1px solid #3b82f6;
}

/* Pixel Service Styles */
.pixel-service-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.pixel-service-item:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.pixel-service-item:last-child {
    margin-bottom: 0;
}

.pixel-service-title {
    font-size: 13px;
    color: #3b82f6;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #000000;
    transition: all 0.3s ease;
}

.pixel-service-item:hover .pixel-service-title {
    font-size: 17px;
}

.pixel-service-description {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 0px #000000;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pixel-service-item:hover .pixel-service-description {
    font-size: 15px;
    line-height: 1.8;
}

.pixel-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pixel-service-feature {
    background: #1e293b;
    color: #06b6d4;
    padding: 5px 10px;
    border: 1px solid #3b82f6;
    font-size: 9px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0px #000000;
}

.pixel-service-feature:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    font-size: 13px;
}

.pixel-service-item:hover .pixel-service-feature {
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pixel-container {
        margin: 1rem;
        border-width: 2px;
    }
    
    .pixel-header-frame {
        gap: 20px;
    }
    
    .pixel-contact-panel {
        min-width: 250px;
    }
    
    .pixel-name {
        font-size: 24px;
    }
    
    .pixel-title {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .pixel-container {
        margin: 0.5rem;
        border-width: 1px;
    }
    
    .pixel-header {
        padding: 15px;
    }
    
    .pixel-header-frame {
        flex-direction: column;
        gap: 15px;
    }
    
    .pixel-profile-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .pixel-avatar {
        width: 80px;
        height: 80px;
    }
    
    .pixel-name {
        font-size: 18px;
    }
    
    .pixel-title {
        font-size: 9px;
    }
    
    .pixel-section {
        padding: 15px;
    }
    
    .pixel-section-frame {
        padding: 10px;
    }
    
    .pixel-job-header,
    .pixel-project-header {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .pixel-company-info {
        align-items: flex-start;
    }
    
    .pixel-skills-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .pixel-contact-panel {
        min-width: auto;
        width: 100%;
        padding: 8px;
        margin-top: 10px;
    }
    
    .pixel-contact-grid {
        gap: 3px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .pixel-contact-item {
        font-size: 8px;
        padding: 6px 4px;
        text-align: center;
        min-height: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .pixel-contact-item .pixel-icon {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .pixel-summary {
        font-size: 9px;
    }
    
    .pixel-achievement {
        font-size: 9px;
    }
    
    .pixel-project-description {
        font-size: 8px;
    }
    
    .pixel-community-description,
    .pixel-service-description {
        font-size: 8px;
    }
    
    .pixel-service-feature {
        font-size: 6px;
        padding: 2px 4px;
    }
    
    .pixel-section-title {
        font-size: 12px;
    }
    
    .pixel-job-title,
    .pixel-project-title,
    .pixel-certification-name,
    .pixel-community-title,
    .pixel-service-title {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .pixel-container {
        margin: 0.1rem;
        border-width: 1px;
    }
    
    .pixel-header {
        padding: 8px;
    }
    
    .pixel-header-frame {
        gap: 8px;
    }
    
    .pixel-profile-section {
        gap: 8px;
    }
    
    .pixel-avatar {
        width: 60px;
        height: 60px;
    }
    
    .pixel-name {
        font-size: 14px;
    }
    
    .pixel-title {
        font-size: 7px;
    }
    
    .pixel-contact-panel {
        padding: 6px;
        margin-top: 8px;
    }
    
    .pixel-contact-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .pixel-contact-item {
        font-size: 7px;
        padding: 4px 2px;
        min-height: 28px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .pixel-contact-item .pixel-icon {
        font-size: 8px;
        margin-right: 4px;
        margin-bottom: 0;
        min-width: 20px;
    }
    
    .pixel-section {
        padding: 8px;
    }
    
    .pixel-section-frame {
        padding: 6px;
    }
    
    .pixel-section-title {
        font-size: 10px;
    }
    
    .pixel-job-title,
    .pixel-project-title,
    .pixel-certification-name,
    .pixel-community-title,
    .pixel-service-title {
        font-size: 8px;
    }
    
    .pixel-company,
    .pixel-certification-issuer {
        font-size: 6px;
    }
    
    .pixel-date,
    .pixel-project-tech {
        font-size: 5px;
    }
    
    .pixel-skill-tags {
        gap: 2px;
    }
    
    .pixel-skill-tag {
        padding: 1px 3px;
        font-size: 4px;
    }
    
    .pixel-skill-title {
        font-size: 7px;
    }
    
    .pixel-summary {
        font-size: 6px;
        line-height: 1.3;
    }
    
    .pixel-achievement {
        font-size: 6px;
    }
    
    .pixel-project-description,
    .pixel-community-description,
    .pixel-service-description {
        font-size: 5px;
    }
    
    .pixel-service-feature {
        font-size: 4px;
        padding: 1px 2px;
    }
    
    .pixel-contact-item {
        font-size: 6px;
        padding: 2px;
    }
    
    .pixel-panel-title {
        font-size: 8px;
    }
    
    .pixel-stat {
        font-size: 6px;
    }
    
    .pixel-contact-panel {
        padding: 6px;
    }
    
    .pixel-job-header,
    .pixel-project-header {
        gap: 3px;
    }
    
    .pixel-skills-grid {
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .pixel-container {
        margin: 0.05rem;
        border-width: 1px;
    }
    
    .pixel-header {
        padding: 6px;
    }
    
    .pixel-section {
        padding: 6px;
    }
    
    .pixel-section-frame {
        padding: 4px;
    }
    
    .pixel-name {
        font-size: 12px;
    }
    
    .pixel-title {
        font-size: 6px;
    }
    
    .pixel-avatar {
        width: 50px;
        height: 50px;
    }
    
    .pixel-contact-panel {
        padding: 4px;
        margin-top: 6px;
    }
    
    .pixel-contact-item {
        font-size: 6px;
        padding: 3px 1px;
        min-height: 24px;
    }
    
    .pixel-contact-item .pixel-icon {
        font-size: 7px;
        margin-right: 3px;
        min-width: 18px;
    }
    
    .pixel-skill-tag {
        padding: 1px 2px;
        font-size: 3px;
    }
    
    .pixel-contact-item {
        font-size: 5px;
        padding: 1px;
    }
    
    .pixel-section-title {
        font-size: 8px;
    }
    
    .pixel-job-title,
    .pixel-project-title,
    .pixel-certification-name,
    .pixel-community-title,
    .pixel-service-title {
        font-size: 6px;
    }
    
    .pixel-summary {
        font-size: 5px;
    }
    
    .pixel-achievement {
        font-size: 5px;
    }
    
    .pixel-project-description,
    .pixel-community-description,
    .pixel-service-description {
        font-size: 4px;
    }
    
    .pixel-service-feature {
        font-size: 3px;
        padding: 0px 1px;
    }
    
    .pixel-contact-panel {
        padding: 4px;
    }
    
    .pixel-panel-title {
        font-size: 6px;
    }
}

/* Extra small phones */
@media (max-width: 320px) {
    .pixel-container {
        margin: 0.02rem;
    }
    
    .pixel-header {
        padding: 4px;
    }
    
    .pixel-section {
        padding: 4px;
    }
    
    .pixel-section-frame {
        padding: 3px;
    }
    
    .pixel-name {
        font-size: 10px;
    }
    
    .pixel-title {
        font-size: 5px;
    }
    
    .pixel-avatar {
        width: 40px;
        height: 40px;
    }
    
    .pixel-contact-panel {
        padding: 3px;
        margin-top: 4px;
    }
    
    .pixel-contact-item {
        font-size: 5px;
        padding: 2px 1px;
        min-height: 20px;
    }
    
    .pixel-contact-item .pixel-icon {
        font-size: 6px;
        margin-right: 2px;
        min-width: 16px;
    }
    
    .pixel-skill-tag {
        padding: 0px 1px;
        font-size: 2px;
    }
    
    .pixel-contact-item {
        font-size: 4px;
        padding: 0px;
    }
    
    .pixel-section-title {
        font-size: 6px;
    }
    
    .pixel-summary {
        font-size: 4px;
    }
    
    .pixel-achievement {
        font-size: 4px;
    }
    
    .pixel-project-description,
    .pixel-community-description {
        font-size: 3px;
    }
}

/* Mobile font optimization */
@media (max-width: 768px) {
    body {
        font-family: 'Press Start 2P', monospace;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    .pixel-name,
    .pixel-title,
    .pixel-section-title,
    .pixel-job-title,
    .pixel-project-title,
    .pixel-certification-name,
    .pixel-community-title {
        word-break: break-word;
        hyphens: auto;
    }
}

/* Landscape phone optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .pixel-header-frame {
        flex-direction: row;
        gap: 10px;
    }
    
    .pixel-profile-section {
        flex-direction: row;
        text-align: left;
        gap: 10px;
    }
    
    .pixel-avatar {
        width: 50px;
        height: 50px;
    }
    
    .pixel-name {
        font-size: 14px;
    }
    
    .pixel-title {
        font-size: 7px;
    }
}

/* Print Styles */
@media print {
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-family: Arial, sans-serif !important;
    }
    
    .pixel-container {
        border: 2px solid black !important;
        background: white !important;
    }
    
    .pixel-header {
        background: #f0f0f0 !important;
        color: black !important;
        border-bottom: 2px solid black !important;
    }
    
    .pixel-name {
        color: black !important;
        font-size: 18px !important;
    }
    
    .pixel-title {
        color: #333 !important;
        font-size: 10px !important;
    }
    
    .pixel-section-title {
        color: black !important;
        font-size: 12px !important;
        border-bottom: 1px solid black !important;
    }
    
    .pixel-experience-item,
    .pixel-project-item,
    .pixel-certification-item,
    .pixel-community-item,
    .pixel-service-item {
        border: 1px solid black !important;
        background: white !important;
        margin-bottom: 10px !important;
    }
    
    .pixel-job-title,
    .pixel-project-title,
    .pixel-certification-name,
    .pixel-community-title,
    .pixel-service-title {
        color: black !important;
        font-size: 10px !important;
    }
    
    .pixel-achievement,
    .pixel-project-description,
    .pixel-community-description,
    .pixel-service-description {
        color: #333 !important;
        font-size: 8px !important;
    }
    
    .pixel-skill-tag {
        border: 1px solid black !important;
        background: #f0f0f0 !important;
        color: black !important;
        font-size: 6px !important;
    }
}

/* Pixel Animations */
@keyframes pixelGlow {
    0%, 100% { 
        box-shadow: 0 0 5px #3b82f6;
    }
    50% { 
        box-shadow: 0 0 20px #3b82f6, 0 0 30px #3b82f6;
    }
}

@keyframes pixelFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pixelScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Hover Effects */
.pixel-contact-item:hover .pixel-icon {
    animation: pixelGlow 0.5s ease;
}

.pixel-skill-tag:hover {
    animation: pixelFlicker 0.3s ease;
}

.pixel-experience-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: pixelScan 1s ease;
} 