:root {
    --primary-color: #00ff00;
    --secondary-color: #00ffff;
    --text-color: #00ff00;
    --bg-color: #000000;
    --terminal-bg: rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'VT323';
    src: url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
}

body {
    font-family: 'VT323', monospace;
    background-color: #000000
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 1rem;
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: -2;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: -1;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.profile {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.profile-image {
    width: min(150px, 30vw);
    height: min(150px, 30vw);
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 3px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-color);
}

.terminal-text {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    opacity: 0.9;
    margin: 0.5rem 0;
    text-shadow: 0 0 5px var(--primary-color);
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    margin: 2rem 0;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.5s forwards;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-header {
    background: rgba(82, 88, 82, 0.1);
    padding: 0.5rem;
    border-bottom: 1px solid var(--primary-color);
}

.terminal-title {
    color: var(--primary-color);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.terminal-content {
    padding: 1rem;
}

.terminal-line {
    margin: 0.5rem 0;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    animation: typing 3s steps(40, end) forwards;
    color: white;
}

.terminal-line:nth-child(1) {
    animation-delay: 0.5s;
}

.terminal-line:nth-child(2) {
    animation-delay: 1s;
}

.terminal-line:nth-child(3) {
    animation-delay: 1.5s;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 2rem 0;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1s forwards;
}

.glow-button {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--primary-color);
    transform: scale(0);
    animation: scaleIn 0.5s ease forwards;
}

.glow-button:nth-child(1) { animation-delay: 1.2s; }
.glow-button:nth-child(2) { animation-delay: 1.4s; }
.glow-button:nth-child(3) { animation-delay: 1.6s; }
.glow-button:nth-child(4) { animation-delay: 1.8s; }

.github {
    background: #333;
}

.youtube {
    background: #ff0000;
}

.discord {
    background: #5865F2;
}

.hackerone {
    background: #494649;
}

.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    opacity: 0.8;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1.5s forwards;
    flex-wrap: wrap;
}

.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

#toggle-music {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    animation: fadeIn 1s ease 2s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .terminal-window {
        margin: 1rem 0;
    }

    .social-links {
        gap: 1rem;
    }

    .glow-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-height: 600px) {
    .content {
        padding: 1rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .terminal-window {
        margin: 0.5rem 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { 
        width: 0;
        opacity: 0;
    }
    to { 
        width: 100%;
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
 
.terminal-link {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.terminal-link:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    text-decoration: underline;
} 
       transform: scale(1);
        opacity: 1;
    }
}
