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

body {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    background: #0d0d1a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 157, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 157, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

body::after {
    content: '';
    position: fixed;
    top: 40%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(107, 157, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.mascot {
    width: 220px;
    margin: 0 auto 1.5rem;
    animation: mascotFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(107, 157, 255, 0.2));
}

.mascot img {
    width: 100%;
    height: auto;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    75% { transform: translateY(-4px) rotate(-1deg); }
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #6b9dff 50%, #ff6b9d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.tagline {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.terminal {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(107, 157, 255, 0.1);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    display: inline-block;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.8;
    max-width: 400px;
    width: 100%;
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.prompt { color: #ff6b9d; }
.cmd { color: #6b9dff; }
.output { color: #555; }

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #ff6b9d;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.links a {
    color: #555;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
}

.links a:hover {
    color: #ff6b9d;
    border-bottom-color: rgba(255, 107, 157, 0.3);
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .mascot { width: 160px; }
    .terminal { font-size: 0.7rem; }
}
