/* Hero image styles */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 420px;
    pointer-events: none;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.terminal {
    position: relative;
    background-color: rgba(0, 0, 0, 0.92);
    margin-top: 20px;
}
/* Reset and base styles */
@keyframes psychedelicGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff, 0 0 30px #ff00ff; }
    50% { text-shadow: 0 0 20px #00ffff, 0 0 30px #ff00ff, 0 0 40px #00ffff; }
    100% { text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff, 0 0 30px #ff00ff; }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff; }
    50% { box-shadow: 0 0 20px #00ffff, 0 0 30px #ff00ff; }
    100% { box-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #4FC3F7;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #ff00ff, #00ffff, #ff00ff, #0088ff);
    background-size: 400% 400%;
    animation: psychedelicGradient 15s ease infinite;
}

.terminal {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    border: 1px solid #0288D1;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3),
                0 0 40px rgba(0, 255, 255, 0.2),
                inset 0 0 15px rgba(0, 136, 255, 0.2);
    border-radius: 6px;
    animation: borderGlow 8s ease-in-out infinite;
}

/* ASCII Art styling */
.ascii-art {
    font-size: 10px;
    line-height: 1.2;
    white-space: pre;
    text-align: left;
    margin: 20px 0 40px;
    animation: textGlow 3s ease-in-out infinite;
    color: #00ffff;
    max-width: fit-content;
    letter-spacing: 1px;
    transform: translateX(-6px);
    text-shadow: 0 0 10px #ff00ff,
                 0 0 20px #00ffff,
                 0 0 30px #ff00ff;
}

/* Terminal content styling */
.terminal-content {
    margin: 20px 0;
    background: rgba(2, 136, 209, 0.05);
    padding: 15px;
    border-radius: 4px;
}

.command-line {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid rgba(3, 169, 244, 0.1);
    padding-top: 15px;
}

.prompt {
    color: #03A9F4;
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(3, 169, 244, 0.5);
}

/* Cursor animation */
.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

/* Social links styling */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.terminal-button {
    color: #03A9F4;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #0288D1;
    transition: all 0.3s ease;
    background: rgba(2, 136, 209, 0.1);
    border-radius: 4px;
    text-shadow: 0 0 5px rgba(3, 169, 244, 0.5);
}

.terminal-button:hover {
    background: linear-gradient(45deg, rgba(3, 169, 244, 0.2), rgba(2, 136, 209, 0.2));
    color: #4FC3F7;
    box-shadow: 0 0 15px rgba(3, 169, 244, 0.3);
    border-color: #03A9F4;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #03A9F4, 0 0 10px #0288D1;
    }
    to {
        text-shadow: 0 0 10px #03A9F4, 0 0 20px #0288D1,
                     0 0 30px rgba(3, 169, 244, 0.5);
    }
}
/* Loading animations */
@keyframes loading {
    0% { content: "⠋"; }
    8.3% { content: "⠙"; }
    16.6% { content: "⠹"; }
    24.9% { content: "⠸"; }
    33.2% { content: "⠼"; }
    41.5% { content: "⠴"; }
    49.8% { content: "⠦"; }
    58.1% { content: "⠧"; }
    66.4% { content: "⠇"; }
    74.7% { content: "⠏"; }
    83% { content: "⠋"; }
    91.3% { content: "⠙"; }
    100% { content: "⠹"; }
}

.loading::after {
    content: "⠋";
    display: inline-block;
    animation: loading 1s linear infinite;
    margin-left: 8px;
    color: #00BFFF;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ascii-art {
    animation: fadeIn 2s ease-in;
}

.command-executing {
    opacity: 0.7;
}

/* Command output styling */
.command-output {
    padding: 8px 0;
    color: #E0F0FF;
    font-family: monospace;
    line-height: 1.4;
}

.command-output div {
    margin: 2px 0;
}

.command-output.error {
    color: #FF5555;
    background-color: rgba(255, 0, 0, 0.1);
    padding: 4px 8px;
    border-left: 2px solid #FF5555;
}

.prompt {
    color: #00BFFF;
    margin-right: 8px;
}

#output {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

#output::-webkit-scrollbar {
    width: 8px;
}

#output::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

#output::-webkit-scrollbar-thumb {
    background: #00BFFF;
    border-radius: 4px;
}

#output::-webkit-scrollbar-thumb:hover {
    background: #0099FF;
}

#typed-text {
    min-width: 1px;
    outline: none;
    caret-color: transparent;
}

.cursor {
    color: #00BFFF;
    margin-left: 2px;
    font-weight: bold;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
/* Responsive design */
@media (max-width: 600px) {
    .ascii-art {
        font-size: 6px;
        line-height: 1.3;
        letter-spacing: 0.5px;
        margin: 15px 0 30px;
    }

    .terminal {
        padding: 10px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}
/* Copyable text section */
.copyable-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: -20px 0 30px;
    padding: 10px;
    background: rgba(2, 136, 209, 0.05);
    border-radius: 4px;
}

.copyable-text {
    font-family: 'Courier New', monospace;
    color: #4FC3F7;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(3, 169, 244, 0.5);
    user-select: all;
}

.copy-button {
    background: transparent;
    border: 1px solid #0288D1;
    color: #03A9F4;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(3, 169, 244, 0.5);
}

.copy-button:hover {
    background: rgba(2, 136, 209, 0.2);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.3);
}

.copy-button:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .copyable-section {
    .copyable-text {
        font-size: 0.96em; /* Reduced by 20% from 1.2em */
    }
        flex-direction: column;
        gap: 10px;
    }
}

/* Video player popup styles */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #000;
    border: 2px solid #0288D1;
    box-shadow: 0 0 20px rgba(3, 169, 244, 0.5);
    padding: 20px;
    border-radius: 4px;
}

.video-container video {
    width: 100%;
    display: block;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: 1px solid #0288D1;
    color: #03A9F4;
    padding: 5px 15px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.close-video:hover {
    background: rgba(2, 136, 209, 0.2);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.3);
}