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

body {
    font-family: 'Courier New', 'Courier', monospace;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.container {
    text-align: center;
}

.terminal {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cursor {
    animation: blink 1s infinite;
}

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

/* Contact Link */
.contact-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Nord Theme - Soft blue/gray */
body[data-theme="nord"] {
    background-color: #eceff4;
    color: #5e81ac;
}

body[data-theme="nord"] .contact-link {
    color: #5e81ac;
}

/* Solarized Light - Warm beige/blue */
body[data-theme="solarized"] {
    background-color: #fdf6e3;
    color: #268bd2;
}

body[data-theme="solarized"] .contact-link {
    color: #268bd2;
}

/* Gruvbox Light - Soft sandy/warm */
body[data-theme="gruvbox"] {
    background-color: #fbf1c7;
    color: #458588;
}

body[data-theme="gruvbox"] .contact-link {
    color: #458588;
}

/* One Light - Soft blue/purple */
body[data-theme="onelight"] {
    background-color: #fafafa;
    color: #4078f2;
}

body[data-theme="onelight"] .contact-link {
    color: #4078f2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal {
        font-size: 2rem;
    }

    .contact-link {
        font-size: 0.85rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .terminal {
        font-size: 1.5rem;
    }

    .contact-link {
        font-size: 0.8rem;
        bottom: 15px;
        right: 15px;
    }
}
