/* Variables for dark theme (Gemini-like) */
:root {
    --bg-color: #131314; /* Very dark background */
    --main-bg-color: #1e1f20; /* Main content background */
    --border-color: #3c4043; /* Subtle border color */
    --text-color: #e8eaed; /* Light text for dark mode */
    --text-secondary-color: #9aa0a6; /* Softer gray secondary text */
    --brand-color: #8ab4f8; /* Google-esque blue accent */
    --icon-color: #bdc1c6; /* Light gray icons */
    --hover-color: #2f3032; /* Subtle hover effect */
    --active-chat-bg: #2f3032; /* Active chat background */
    --active-chat-text-color: #e8eaed; /* Active chat text color */
    --chat-gradient-color-1: rgba(30, 31, 32, 0); /* Gradient start for chat scroll */
    --chat-gradient-color-2: #1e1f20; /* Gradient end for chat scroll */

    /* Variables for error messages (Dark Mode) */
    --error-bg-color: #3b1c1c;
    --error-text-color: #ff9191;
    --error-border-color: #ff9191;
}

/* Variables for light theme (Gemini-like) */
.light_mode {
    --bg-color: #f8f9fa; /* Very light background */
    --main-bg-color: #ffffff; /* Pure white main content background */
    --border-color: #dadce0; /* Light border color */
    --text-color: #202124; /* Dark text for light mode */
    --text-secondary-color: #5f6368; /* Medium gray secondary text */
    --brand-color: #1a73e8; /* Vibrant Google blue accent */
    --icon-color: #70757a; /* Medium gray icons */
    --hover-color: #e8eaed; /* Very light hover effect */
    --active-chat-bg: #e8eaed; /* Active chat background */
    --active-chat-text-color: #202124; /* Active chat text color */
    --chat-gradient-color-1: rgba(255, 255, 255, 0); /* Gradient start for chat scroll */
    --chat-gradient-color-2: #ffffff; /* Gradient end for chat scroll */

    /* Variables for error messages (Light Mode) */
    --error-bg-color: #fce8e6;
    --error-text-color: #c5221f;
    --error-border-color: #c5221f;
}

body {
    background: var(--bg-color);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-container {
    max-width: 400px;
    margin: 80px auto;
    background: var(--main-bg-color);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 36px 28px 32px 28px;
    text-align: center;
}

.welcome-logo {
    width: 90px;
    margin-bottom: 18px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--text-color);
    letter-spacing: 1px;
}

.welcome-message {
    max-width: 420px;
    margin: 0 auto 28px auto;
}

.welcome-message p {
    color: var(--text-secondary-color);
    font-size: 1.08rem;
    margin-bottom: 28px;
    line-height: 1.6;
    text-align: center;
}

.welcome-chat-btn {
    display: inline-block;
    background: var(--brand-color);
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.18s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}

.welcome-chat-btn:hover {
    background: var(--hover-color);
    color: var(--text-color);
}

@media (max-width: 600px) {
    .welcome-logo {
        width: 64px;
        margin-bottom: 14px;
    }

    h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .welcome-message {
        max-width: 90vw;
        margin-bottom: 20px;
    }

    .welcome-message p {
        font-size: 0.98rem;
        margin-bottom: 20px;
        padding: 0 6px;
    }

    .welcome-chat-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .version-label {
        font-size: 0.92rem;
        padding: 3px 10px;
        bottom: 10px;
    }
}

.welcome-logo {
  display: block;
  margin: 40px auto 24px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 32px 12px rgba(70, 130, 255, 0.25),
    0 0 0 8px rgba(70, 130, 255, 0.10);
  background: #fff;
}

.version-label {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-align: center;
    opacity: 0.85;
    user-select: none;
    background: var(--main-bg-color);
    padding: 4px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    z-index: 100;
}