:root {
    /* Color Palette - Modern "Tech" Dark Mode */
    --bg-color: #0f172a;       /* Deep Slate Blue */
    --card-bg: #1e293b;        /* Lighter Slate */
    --text-primary: #f8fafc;   /* Almost White */
    --text-secondary: #94a3b8; /* Muted Blue-Gray */
    --accent-color: #38bdf8;   /* Bright Sky Blue */
    --accent-hover: #0ea5e9;   /* Slightly Darker Blue */
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* changed to min-height for mobile safety */
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    text-align: center;
    padding: 3.5rem;
    background: var(--card-bg);
    border-radius: 16px; /* softer corners */
    box-shadow: var(--shadow);
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1); /* subtle edge */
}

h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    letter-spacing: -0.025em; /* tighter, modern tracking */
    color: var(--text-primary);
}

p {
    margin: 0.5rem 0 1.5rem;
    color: var(--text-secondary);
}

/* Links (The Email) */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* The Action Button (vCard) */
.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: #0f172a; /* Dark text on bright button for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.1s, background-color 0.2s, box-shadow 0.2s;
}

.button:hover {
    background-color: var(--accent-hover);
    text-decoration: none;
    transform: translateY(-1px); /* slight lift effect */
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3); /* glowing shadow */
}

.button:active {
    transform: translateY(0);
}

/* Small utility for the email container */
.contact-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}