:root {
    --primary-color: #00aaff; /* A bright, techy blue */
    --background-color: #0b0c10;
    --terminal-bg: rgba(28, 30, 41, 0.85);
    --text-color: #c5c8c6;
    --header-color: #1c1e29;
    --border-color: #4f5b66;
    --cursor-color: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Prevents scrollbars from animation */
}

.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #16181d, #0b0c10, #1a237e, #0d47a1);
    background-size: 400% 400%;
    animation: gradient-flow 25s ease infinite;
    z-index: -1;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    padding: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.terminal-window {
    background-color: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
}

.terminal-header {
    background-color: var(--header-color);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-header .buttons {
    display: flex;
}

.terminal-header .btn-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
}

.btn-circle.close { background-color: #ff5f56; }
.btn-circle.minimize { background-color: #ffbd2e; }
.btn-circle.maximize { background-color: #27c93f; }

.terminal-title {
    color: #9a9a9a;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    flex-grow: 1;
    text-align: center;
    margin-left: -60px; /* Offset for button space */
}

.terminal-body {
    padding: 40px;
    text-align: left;
}

.terminal-body h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allows text to wrap on small screens */
}

.terminal-body h1 .prompt {
    color: var(--primary-color);
    margin-right: 10px;
}

.cursor {
    display: inline-block;
    background-color: var(--cursor-color);
    width: 12px;
    height: 2em;
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

@keyframes blink {
    from, to { background-color: transparent; }
    50% { background-color: var(--cursor-color); }
}

.subtitle {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.terminal-body p {
    font-size: 1em;
    line-height: 1.6;
    max-width: 600px;
}

.main-link {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.main-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.main-link:hover {
    background-color: #0077b3;
    transform: translateY(-3px);
}

.main-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-body h1 {
        font-size: 1.5em;
    }
    .subtitle {
        font-size: 1em;
    }
    .terminal-body {
        padding: 30px;
    }
    .terminal-title {
        margin-left: -50px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .terminal-body h1 {
        font-size: 1.1em;
    }
    .cursor {
        height: 1.1em;
    }
    .terminal-body p {
        font-size: 0.9em;
    }
    .main-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .terminal-body {
        padding: 20px;
    }
}