body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.title-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    flex: 1;
    text-align: center;
}

.content-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.welcome-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.welcome-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.welcome-container p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Username section styles */
.username-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.username-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
}

.username-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.username-input-group input {
    flex: 1;
    max-width: 300px;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.username-input-group input:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.username-input-group select {
    flex: 1;
    max-width: 300px;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    background: #fff;
    cursor: pointer;
}

.username-input-group select:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.username-input-group button {
    padding: 0.75rem 1.5rem;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.username-input-group button:hover {
    background-color: #ff2222;
    transform: translateY(-1px);
}

.username-input-group button:active {
    transform: translateY(0);
}

#current-username-display {
    text-align: center;
    padding: 1rem;
    background-color: #e8f5e8;
    border-radius: 6px;
    border: 1px solid #c3e6c3;
}

#current-username-display span {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d5a2d;
    font-size: 1rem;
}

.change-btn {
    padding: 0.5rem 1rem;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.change-btn:hover {
    background-color: #5a6268;
}

.start-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff4444;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.start-button:hover {
    background-color: #ff2222;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.start-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.start-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.3);
}

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

.navigation-buttons .start-button {
    min-width: 200px;
}

.login-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.login-button:hover {
    background-color: white;
    color: #333;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2rem auto;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.close-button:hover {
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
    padding-right: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-button:hover {
    background-color: #ff2222;
}

.submit-button:active {
    transform: translateY(1px);
}

/* Language switcher */
.lang-switcher {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 3px 5px;
    color: #666;
    opacity: 0.45;
    border-radius: 3px;
    transition: opacity 0.15s ease;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 700;
    color: #333;
}

.lang-btn:hover { opacity: 0.8; }

.lang-sep {
    font-size: 11px;
    color: #bbb;
    user-select: none;
}

/* Mobile-specific styles */
@media (max-width: 480px) {
    .welcome-container h1 {
        font-size: 2rem;
    }

    .welcome-container p {
        font-size: 1rem;
    }

    .username-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .username-input-group {
        flex-direction: column;
        align-items: center;
    }

    .username-input-group input {
        max-width: 100%;
        width: 100%;
    }

    .username-input-group button {
        width: 100%;
        max-width: 200px;
    }

    .start-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        margin: 1rem auto;
        padding: 1rem;
    }

    .form-group input {
        padding: 0.5rem;
    }
} 