/* Main Portfolio Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    background: #0a0a0a;
    min-height: 100vh;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Matrix Background - Subtle */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #000000;
}

.matrix-column {
    position: absolute;
    top: -100%;
    color: #00aa00;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.2;
    animation: matrix-fall linear infinite;
    opacity: 0.6;
    text-shadow: 0 0 3px #00aa00;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.matrix-column:nth-child(odd) {
    color: #00cc00;
    text-shadow: 0 0 3px #00cc00;
}

.matrix-column:nth-child(3n) {
    color: #008800;
    text-shadow: 0 0 3px #008800;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Matrix particles overlay - Subtle */
.matrix-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.matrix-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: #002200;
    border-radius: 50%;
    animation: matrix-particle-float linear infinite;
    box-shadow: 0 0 2px #002200;
    opacity: 0.2;
}

@keyframes matrix-particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.2;
    }
    80% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100vh) translateX(10px);
        opacity: 0;
    }
}

/* Bad Apple Animation Styles */
.bad-apple-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.bad-apple-animation.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bad-apple-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 10px #00ff00;
    animation: bad-apple-glow 2s ease-in-out infinite alternate;
}

@keyframes bad-apple-glow {
    0% {
        text-shadow: 0 0 10px #00ff00;
    }
    100% {
        text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
}

.bad-apple-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ff00;
}

.bad-apple-close:hover {
    color: #ff4444;
    transform: scale(1.1);
    background: rgba(255, 68, 68, 0.2);
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}

.terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    margin: 10px;
    overflow: hidden;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    border-bottom: 1px solid #00ff00;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close { background: #ff5f56; }
.terminal-btn.minimize { background: #ffbd2e; }
.terminal-btn.maximize { background: #27ca3f; }

.terminal-title {
    color: #00ff00;
    font-size: 14px;
    margin-left: 10px;
}

.terminal-content {
    padding: 20px;
    min-height: 200px;
    position: relative;
}

/* Typing Animation */
.typing-text {
    border-right: 2px solid #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #00ff00; }
    51%, 100% { border-color: transparent; }
}

/* Code Syntax */
.code-line {
    margin: 5px 0;
    font-family: 'Courier New', monospace;
}

.code-comment { color: #666; }
.code-keyword { color: #ff6b6b; }
.code-string { color: #4ecdc4; }
.code-function { color: #ffd93d; }
.code-variable { color: #a8e6cf; }

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

/* Header - Removed (now using terminal section) */

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00ff00;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.profile-img img:hover {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
    transform: scale(1.05);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.title {
    font-size: 1.1rem;
    color: #ffd93d;
    margin-bottom: 1rem;
}

.contact-info {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #a8e6cf;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #00ff00;
    width: 16px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    border-radius: 50%;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Resume Download */
.resume-download {
    margin: 2rem 0;
}

.resume-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
}

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

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #00ff00;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.section h2 i {
    color: #4ecdc4;
}

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

.skill-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #00ff00;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.1);
}

.skill-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ff00;
}

.skill-card h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-card p {
    color: #a8e6cf;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.skill-card p strong {
    color: #00ff00;
    font-weight: bold;
}

/* Skill Progress Bars - Removed */

/* Experience Items */
.experience-item {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #00ff00;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #00ff00;
}

.experience-item h3 {
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.experience-item .company {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #4ecdc4;
}

.experience-item .duration {
    color: #a8e6cf;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #00ff00;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.1);
}

.project-card h3 {
    color: #00ff00;
    margin-bottom: 1rem;
}

.project-card p {
    color: #a8e6cf;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-links a {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ff00;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Particle Effects */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ff00;
    border-radius: 50%;
    animation: particle-float 6s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Profile Image Ready Animation */
@keyframes profile-ready-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
    }
}

.profile-img img.ready {
    animation: profile-ready-pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .profile-img {
        width: 140px;
        height: 140px;
        margin-bottom: 1.2rem;
    }
    
    .contact-info {
        margin: 1.2rem 0;
        font-size: 0.95rem;
    }
    
    .contact-info p {
        margin: 0.4rem 0;
        font-size: 0.9rem;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-links {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        transition: all 0.3s ease;
    }
    
    .social-link:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .terminal {
        margin: 5px;
        border-radius: 8px;
    }
    
    .terminal-content {
        padding: 15px;
    }
    
    .terminal-header {
        padding: 8px 12px;
    }
    
    .terminal-title {
        font-size: 12px;
    }
    
    .resume-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        margin: 1.5rem 0;
    }
    
    .section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .skill-card,
    .project-card,
    .experience-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .skill-card h3,
    .project-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .skill-card p,
    .project-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Additional Mobile Improvements */
@media (max-width: 480px) {
    .container {
        padding: 0.3rem;
    }
    
    h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .title {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        margin: 1rem 0;
        font-size: 0.9rem;
    }
    
    .contact-info p {
        margin: 0.3rem 0;
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.8rem;
        margin-top: 1.2rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .terminal {
        margin: 3px;
        border-radius: 6px;
    }
    
    .terminal-content {
        padding: 12px;
    }
    
    .terminal-header {
        padding: 6px 10px;
    }
    
    .terminal-title {
        font-size: 11px;
    }
    
    .resume-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin: 1.2rem 0;
    }
    
    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .skill-card,
    .project-card,
    .experience-item {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .skill-card h3,
    .project-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .skill-card p,
    .project-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0.2rem;
    }
    
    h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0 0.3rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
        margin-bottom: 0.8rem;
    }
    
    .contact-info {
        margin: 0.8rem 0;
        font-size: 0.85rem;
    }
    
    .contact-info p {
        margin: 0.25rem 0;
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .terminal {
        margin: 2px;
        border-radius: 4px;
    }
    
    .terminal-content {
        padding: 10px;
    }
    
    .terminal-header {
        padding: 5px 8px;
    }
    
    .terminal-title {
        font-size: 10px;
    }
    
    .resume-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin: 1rem 0;
    }
    
    .section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .skill-card,
    .project-card,
    .experience-item {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .skill-card h3,
    .project-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .skill-card p,
    .project-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}
    
/* ASCII Animation Styles */
.ascii-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ascii-animation.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ascii-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 10px #00ff00;
}

.ascii-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ff00;
}

.ascii-close:hover {
    color: #ff4444;
    transform: scale(1.1);
    background: rgba(255, 68, 68, 0.2);
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}

/* Profile Image Clickable */
.profile-img img {
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.profile-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}

/* Mobile-specific profile image improvements */
@media (max-width: 768px) {
    .profile-img img {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Terminal Particle Effects */
@keyframes terminal-particle-explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed) * 0.5)) translateY(calc(sin(var(--angle)) * var(--speed) * 0.5)) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed))) translateY(calc(sin(var(--angle)) * var(--speed))) scale(0);
        opacity: 0;
    }
}

.terminal-particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.terminal-particle {
    position: absolute;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: terminal-particle-explode 1s ease-out forwards;
}

/* Enhanced Terminal Item Interactions */
.terminal-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.terminal-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Terminal Bad Apple Animation Styles */
.terminal-bad-apple-animation {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    min-height: 400px;
}

.terminal-bad-apple-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 5px #00ff00;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.terminal-bad-apple-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #00ff00;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.terminal-bad-apple-close:hover,
.terminal-bad-apple-close:active {
    color: #ff4444;
    transform: scale(1.05);
    background: rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}


    height: 100vh;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ascii-animation.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ascii-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 10px #00ff00;
}

.ascii-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ff00;
}

.ascii-close:hover {
    color: #ff4444;
    transform: scale(1.1);
    background: rgba(255, 68, 68, 0.2);
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}

/* Profile Image Clickable */
.profile-img img {
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.profile-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}

/* Mobile-specific profile image improvements */
@media (max-width: 768px) {
    .profile-img img {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Terminal Particle Effects */
@keyframes terminal-particle-explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed) * 0.5)) translateY(calc(sin(var(--angle)) * var(--speed) * 0.5)) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed))) translateY(calc(sin(var(--angle)) * var(--speed))) scale(0);
        opacity: 0;
    }
}

.terminal-particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.terminal-particle {
    position: absolute;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: terminal-particle-explode 1s ease-out forwards;
}

/* Enhanced Terminal Item Interactions */
.terminal-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.terminal-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Terminal Bad Apple Animation Styles */
.terminal-bad-apple-animation {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    min-height: 400px;
}

.terminal-bad-apple-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 5px #00ff00;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.terminal-bad-apple-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #00ff00;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.terminal-bad-apple-close:hover,
.terminal-bad-apple-close:active {
    color: #ff4444;
    transform: scale(1.05);
    background: rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}


    height: 100vh;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ascii-animation.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ascii-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 10px #00ff00;
}

.ascii-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ff00;
}

.ascii-close:hover {
    color: #ff4444;
    transform: scale(1.1);
    background: rgba(255, 68, 68, 0.2);
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}

/* Profile Image Clickable */
.profile-img img {
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.profile-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}

/* Mobile-specific profile image improvements */
@media (max-width: 768px) {
    .profile-img img {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Terminal Particle Effects */
@keyframes terminal-particle-explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed) * 0.5)) translateY(calc(sin(var(--angle)) * var(--speed) * 0.5)) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) translateX(calc(cos(var(--angle)) * var(--speed))) translateY(calc(sin(var(--angle)) * var(--speed))) scale(0);
        opacity: 0;
    }
}

.terminal-particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.terminal-particle {
    position: absolute;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: terminal-particle-explode 1s ease-out forwards;
}

/* Enhanced Terminal Item Interactions */
.terminal-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.terminal-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Terminal Bad Apple Animation Styles */
.terminal-bad-apple-animation {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1;
    color: #00ff00;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    min-height: 400px;
}

.terminal-bad-apple-content {
    text-align: center;
    white-space: pre;
    text-shadow: 0 0 5px #00ff00;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.terminal-bad-apple-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #00ff00;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.terminal-bad-apple-close:hover,
.terminal-bad-apple-close:active {
    color: #ff4444;
    transform: scale(1.05);
    background: rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
}

/* Mobile Responsive Styles for Terminal Bad Apple Animation */
@media (max-width: 768px) {
    .terminal-bad-apple-animation {
        font-size: 8px;
        min-height: 300px;
        padding: 10px;
    }
    
    .terminal-bad-apple-content {
        font-size: 8px;
        line-height: 0.9;
        max-width: 95%;
        max-height: 90%;
    }
    
    .terminal-bad-apple-close {
        top: 5px;
        right: 5px;
        font-size: 16px;
        padding: 8px 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .terminal-bad-apple-animation {
        font-size: 6px;
        min-height: 250px;
        padding: 5px;
    }
    
    .terminal-bad-apple-content {
        font-size: 6px;
        line-height: 0.8;
        max-width: 98%;
        max-height: 95%;
    }
    
    .terminal-bad-apple-close {
        top: 3px;
        right: 3px;
        font-size: 14px;
        padding: 6px 8px;
        min-width: 40px;
        min-height: 40px;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #00ff00;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    .terminal-bad-apple-animation {
        font-size: 5px;
        min-height: 200px;
        padding: 3px;
    }
    
    .terminal-bad-apple-content {
        font-size: 5px;
        line-height: 0.7;
        max-width: 99%;
        max-height: 98%;
    }
}

