:root {
    --bg-color: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --online-color: #34a853; /* Google Green */
    --offline-color: #ea4335; /* Google Red */
    --accent-color: #4285f4; /* Google Blue */
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #202124;
        --text-primary: #e8eaed;
        --text-secondary: #9aa0a6;
        --online-color: #81c995;
        --offline-color: #f28b82;
        --accent-color: #8ab4f8;
    }
}

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

body {
    /* Using a clean sans-serif stack similar to Google */
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

.status-orb-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.status-orb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--offline-color);
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.4);
    transition: background-color 0.5s ease;
    animation: pulse-offline 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.is-online .status-orb {
    background-color: var(--online-color);
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.4);
    animation: pulse-online 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-offline {
    to { box-shadow: 0 0 0 45px rgba(234, 67, 53, 0); }
}

@keyframes pulse-online {
    to { box-shadow: 0 0 0 45px rgba(52, 168, 83, 0); }
}

h1 {
    font-family: 'Product Sans', 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

#lastSeen {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

#dateText {
    font-weight: 500;
    color: var(--text-primary);
}

#messageBox {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
    background-color: transparent;
    max-width: 85%;
    line-height: 1.5;
}

.quote-mark {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 4px;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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