:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1419;
    --bg-terminal: #1a1f35;
    --text-primary: #00ff41;
    --text-secondary: #00d936;
    --text-muted: #5af78e;
    --text-dim: #4a9969;
    --accent-blue: #00d4ff;
    --accent-purple: #bd93f9;
    --accent-pink: #ff79c6;
    --border-color: #2d3748;
    --shadow-glow: rgba(0, 255, 65, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-terminal);
    border-radius: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--shadow-glow);
    max-width: 900px;
    width: 100%;
    border: 1px solid var(--border-color);
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn-close {
    background: #ff5f56;
    box-shadow: 0 0 5px rgba(255, 95, 86, 0.5);
}

.btn-minimize {
    background: #ffbd2e;
    box-shadow: 0 0 5px rgba(255, 189, 46, 0.5);
}

.btn-maximize {
    background: #27c93f;
    box-shadow: 0 0 5px rgba(39, 201, 63, 0.5);
}

.terminal-title {
    font-size: 0.875rem;
    color: var(--text-dim);
    font-weight: 500;
}

.terminal-body {
    padding: 2rem;
    min-height: 400px;
}

/* Code Lines */
.code-line {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: var(--accent-blue);
    font-weight: 700;
}

.command {
    color: var(--text-muted);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--text-primary);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ASCII Art */
.ascii-art {
    font-size: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.2;
    margin: 1rem 0 2rem 0;
    text-shadow: 0 0 10px var(--shadow-glow);
    font-weight: 600;
}

/* Status Info */
.status-info {
    margin: 2rem 0;
}

.status-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.typing-text {
    animation: fadeIn 0.5s ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.status-label {
    color: var(--accent-purple);
    font-weight: 600;
    min-width: 120px;
}

.status-value {
    color: var(--text-muted);
}

/* Progress Bar */
.progress-bar {
    position: relative;
    width: 200px;
    height: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--text-secondary), var(--text-primary));
    box-shadow: 0 0 10px var(--shadow-glow);
    transition: width 0.3s ease;
    animation: progressGlow 2s infinite;
}

@keyframes progressGlow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

#progress-percent {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 50px;
}

/* Social Links */
.social-links {
    margin: 2.5rem 0;
}

.comment {
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.link:hover {
    color: var(--accent-pink);
    transform: translateY(-2px);
    text-shadow: 0 0 10px currentColor;
}

.link:hover .bracket {
    color: var(--accent-purple);
}

.bracket {
    color: var(--text-dim);
    transition: color 0.3s ease;
}

/* Notify Section */
.notify-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.notify-form {
    margin-top: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.input-prompt {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

#email-input {
    flex: 1;
    min-width: 250px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#email-input:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: 0 0 15px var(--shadow-glow);
}

#email-input::placeholder {
    color: var(--text-dim);
}

.submit-btn {
    background: linear-gradient(135deg, var(--text-secondary), var(--text-primary));
    color: var(--bg-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-glow);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: none;
    animation: fadeIn 0.5s ease;
}

.success-message.show {
    display: block;
}

/* Footer */
.footer {
    margin-top: 2rem;
    text-align: center;
}

.footer-text {
    color: var(--text-dim);
    font-size: 0.875rem;
}

.heart {
    color: var(--accent-pink);
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }
}

.code-tag {
    color: var(--accent-purple);
    font-weight: 600;
}

.version-text {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .terminal-body {
        padding: 1.5rem;
    }

    .ascii-art {
        font-size: 0.45rem;
        overflow-x: auto;
    }

    .status-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .status-label {
        min-width: auto;
    }

    .progress-bar {
        width: 100%;
    }

    .input-group {
        width: 100%;
    }

    #email-input {
        width: 100%;
        min-width: auto;
    }

    .submit-btn {
        width: 100%;
    }

    .links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 0.35rem;
    }

    .terminal-title {
        font-size: 0.75rem;
    }
}