* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    min-height: 100vh;
    color: #00ffff;
    overflow-x: hidden;
    position: relative;
}

/* Scanline effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
}

/* Grid background */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 0, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

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

header {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px #ff00ff) drop-shadow(0 0 20px #00ffff);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

h1 a {
    text-decoration: none;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(180deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #ff00ff) drop-shadow(0 0 10px #00ffff);
    }
    to {
        filter: drop-shadow(0 0 15px #ff00ff) drop-shadow(0 0 30px #00ffff);
    }
}

.tagline {
    font-size: 1.5rem;
    color: #ff6b6b;
    letter-spacing: 3px;
}

.photo-section {
    margin-bottom: 60px;
}

.photo-container {
    width: 100%;
    position: relative;
}

.photo-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 850px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    padding: 4px;
    position: relative;
}

.photo-inner {
    width: 100%;
    height: 100%;
    background-color: #1a1a2e;
    background-image: url('profile.jpg');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.bio-section {
    margin-bottom: 60px;
}

.terminal {
    background: #1a1a2e;
    border: 1px solid #0a0a15;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: linear-gradient(180deg, #3d3d5c 0%, #2d2d4a 50%, #1d1d38 100%);
    border-bottom: 1px solid #0a0a15;
}

.terminal-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    padding: 0 6px 0 12px;
}

.terminal-buttons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.terminal-btn {
    width: 24px;
    height: 20px;
    background: linear-gradient(180deg, #4a4a6a 0%, #3a3a5a 100%);
    border: 1px solid #2a2a4a;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #aaaacc;
    cursor: pointer;
}

.terminal-btn:hover {
    background: linear-gradient(180deg, #5a5a7a 0%, #4a4a6a 100%);
    color: #ffffff;
}

.terminal-btn.minimize {
    color: #ffdd55;
}

.terminal-btn.maximize {
    color: #55dd55;
}

.terminal-btn.close {
    color: #ff6666;
    font-weight: bold;
}

.terminal-btn.minimize:hover {
    color: #ffff88;
}

.terminal-btn.maximize:hover {
    color: #88ff88;
}

.terminal-btn.close:hover {
    color: #ff9999;
    background: linear-gradient(180deg, #6a4a4a 0%, #5a3a3a 100%);
}

.terminal-title {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #aaaacc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.terminal-body {
    padding: 15px;
    min-height: 150px;
    background: #300a24;
}

.terminal-prompt {
    color: #8ae234;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.terminal-prompt .user {
    color: #8ae234;
}

.terminal-prompt .path {
    color: #729fcf;
}

.terminal-prompt .symbol {
    color: #eeeeec;
}

.terminal-cmd {
    color: #eeeeec;
}

.bio-section .bio {
    display: inline;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #55ffff;
    font-family: 'VT323', monospace;
}

.whoami-section {
    margin-bottom: 60px;
}

.terminal-output {
    display: inline;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #55ffff;
    font-family: 'VT323', monospace;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: #ff00ff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.resume-section {
    margin-bottom: 60px;
    text-align: center;
}

.resume-link {
    display: inline-block;
    padding: 20px 50px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

.contact-section {
    text-align: center;
    padding: 40px;
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.contact-section p {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.email-reveal {
    display: inline-block;
    padding: 15px 40px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

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

.email-display {
    font-size: 1.5rem;
    color: #00ffff;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    border: 1px dashed #00ffff;
}

.email-display a {
    color: #00ffff;
    text-decoration: none;
}

.email-display span {
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-display span:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.copied-message {
    display: inline-block;
    margin-left: 15px;
    color: #ff00ff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copied-message.show {
    opacity: 1;
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 1.4rem;
    background: #00ffff;
    margin-left: 2px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}

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

footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1rem;
}

footer .retro-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00ffff, #ff00ff, transparent);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }

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

    .email-reveal {
        font-size: 0.7rem;
        padding: 12px 25px;
    }
}
