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

body {
    font-family: 'JetBrains Mono', monospace;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2) saturate(0.8);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 45deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(1px);
}

.container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.handle-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.handle {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #cccccc, 0 0 30px #ffffff;
    letter-spacing: -2px;
    animation: glow 2s ease-in-out infinite alternate;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #cccccc;
    animation: pulse 1.5s infinite;
}

.tagline {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: #cccccc;
    margin-bottom: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.typing-text {
    min-width: 200px;
    text-align: left;
}

.cursor {
    animation: blink 1s infinite;
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.link {
    color: #999;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #444;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
}

.link:hover::before {
    transform: translateY(0);
}

.link:hover {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.terminal-window {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.terminal-header {
    background: #111111;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #444;
}

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

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

.btn.red {
    background: #aa3333;
}

.btn.yellow {
    background: #aa8833;
}

.btn.green {
    background: #cccccc;
}

.terminal-title {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
}

.terminal-output {
    margin-bottom: 10px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    flex: 1;
    caret-color: transparent;
}

.terminal-input:focus {
    outline: none;
}

.welcome {
    color: #ffffff !important;
    font-weight: 600;
}

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

.command-line .prompt {
    color: #ffffff;
    font-weight: 600;
}

.command-line .command {
    color: #ffffff;
}

.error {
    color: #cc4444 !important;
}

.success {
    color: #ffffff !important;
}

.info {
    color: #4488cc !important;
}

.warning {
    color: #cc8800 !important;
}

.output-line {
    color: #cccccc;
    margin-bottom: 4px;
}

.prompt {
    color: #ffffff;
    font-weight: 600;
}

.cursor-terminal {
    color: #ffffff;
    animation: blink 1s infinite;
    font-weight: normal;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: 2;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #ffffff, 0 0 20px #cccccc, 0 0 30px #ffffff;
    }
    to {
        text-shadow: 0 0 15px #ffffff, 0 0 25px #cccccc, 0 0 35px #ffffff, 0 0 45px #cccccc;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .handle {
        font-size: 3rem;
    }
    .social-links {
        gap: 15px;
        margin-bottom: 30px;
    }
    .link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .terminal-window {
        margin: 0;
    }
    .terminal-body {
        padding: 15px;
        font-size: 0.8rem;
    }
    .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .handle {
        font-size: 2.5rem;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .link {
        width: 120px;
        text-align: center;
    }
    .terminal-body {
        font-size: 0.75rem;
        padding: 12px;
    }
    .handle-section {
        flex-direction: column;
        gap: 10px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .container {
        padding: 10px;
    }
    .content {
        transform: scale(0.8);
    }
    .handle {
        font-size: 2.5rem;
    }
    .terminal-window {
        margin-top: 20px;
    }
}