/* CSS Variables (Tech Theme) */
:root {
    --bg-color: #0d1117; /* GitHub Dark BG */
    --console-color: #010409;
    --text-color: #c9d1d9;
    --primary-color: #39d353; /* Green */
    --secondary-color: #58a6ff; /* Blue */
    --border-color: #30363d;
    --font-mono: 'Roboto Mono', 'Share Tech Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    /* Scanlines effect */
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}

.container {
    width: 100%;
    max-width: 600px;
    border: 1px solid var(--border-color);
    background-color: var(--console-color);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.1);
    animation: fadeIn 1s ease-in-out;
    overflow: hidden; /* Glitch effect ke container er moddhe rakhar jonno */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Glitch Effect */
.header {
    text-align: center;
    padding: 25px;
    border-bottom: 1px dashed var(--border-color);
}

.tagline {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 5px 0 0;
    text-shadow: 0 0 5px rgba(88, 166, 255, 0.5);
}

.glitch {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    margin: 0;
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
    text-shadow: 0 0 10px rgba(57, 211, 83, 0.5);
}
/* Glitch Animation */
@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

/* Terminal */
.terminal {
    margin: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #000000;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.terminal-header {
    background: var(--border-color);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    color: #888;
}
.dots { display: flex; gap: 6px; margin-right: 10px; }
.dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: #555;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.terminal-body {
    padding: 15px;
    min-height: 100px;
    font-size: 0.95rem;
}
.terminal-body p { margin: 0 0 5px; }
.prompt { color: var(--primary-color); margin-right: 10px; }
.cursor {
    background: var(--primary-color);
    color: var(--console-color);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Links */
.links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 20px 20px;
}
.link-button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
}
.link-button:hover {
    background-color: var(--primary-color);
    color: var(--console-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(57, 211, 83, 0.5);
    transform: translateY(-2px);
}
.link-button i {
    margin-right: 8px;
    color: var(--secondary-color);
    transition: color 0.2s ease;
}
.link-button:hover i {
    color: var(--console-color);
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    padding: 15px;
    border-top: 1px dashed var(--border-color);
}
footer p { margin: 5px 0 0; }
