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

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --text-primary: #00ff41;
    --text-secondary: #8b949e;
    --text-white: #e6edf3;
    --accent: #00d9ff;
    --border: #30363d;
    --shadow: rgba(0, 255, 65, 0.1);
}

body {
    font-family: "Courier New", monospace;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0d1128 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 900px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal {
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.terminal-header {
    background: #161b2e;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

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

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn.close {
    background: #ff5f56;
}

.btn.minimize {
    background: #ffbd2e;
}

.btn.maximize {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-right: 60px;
}

.terminal-body {
    padding: 30px;
    min-height: 400px;
}

.line {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    align-items: center;
}

.prompt {
    color: var(--accent);
    font-weight: bold;
    user-select: none;
}

.command {
    color: var(--text-white);
}

.cursor-blink {
    animation: blink 1s infinite;
}

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

.output {
    margin: 15px 0 30px 25px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.image-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow:
        0 0 20px rgba(0, 217, 255, 0.3),
        0 0 40px rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(0, 217, 255, 0.5),
        0 0 60px rgba(0, 217, 255, 0.2);
}

.image-wrapper::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, var(--accent), var(--text-primary));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.image-wrapper:hover::before {
    opacity: 0.3;
}

.profile-text {
    flex: 1;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--shadow);
}

.glitch {
    position: relative;
    animation: glitch-skew 2s infinite;
}

.glitch:hover {
    animation: glitch-skew 0.3s infinite;
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    97% {
        transform: skew(0deg);
    }
    98% {
        transform: skew(2deg);
    }
    99% {
        transform: skew(-2deg);
    }
    100% {
        transform: skew(0deg);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.output p {
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 8px;
}

.highlight {
    color: var(--accent);
    font-weight: bold;
    padding: 2px 6px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 3px;
}

.links {
    display: grid;
    gap: 12px;
    margin-top: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.link-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.link-text {
    font-size: 1rem;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.heart {
    color: #ff5f56;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    10%,
    30% {
        transform: scale(1.1);
    }
    20%,
    40% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .image-wrapper {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .terminal-body {
        padding: 20px;
        min-height: 350px;
    }

    .output p {
        font-size: 0.95rem;
    }

    .link-item {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .terminal-title {
        font-size: 11px;
        margin-right: 40px;
    }

    .terminal-body {
        padding: 15px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}
