body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at center, #0d0d0d 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #000000;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.4) blur(2px);
}

.chat-container {
    width: 100%;
    max-width: 400px;
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 20px;
    box-shadow: 0 0 30px rgb(249, 225, 164);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 90vh;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
    position: relative;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.chat-header {
    padding: 8px; /* smaller padding */
    text-align: center;
    background-color:  rgb(238, 194, 80);; /* keep it light */
    backdrop-filter: blur(8px); /* soft blur */
    border-bottom: 1px solid #ddd;
  }
  
  .chat-header h1 {
    font-size: 20px; /* shrink the text size */
    margin: 0;
    color: #333;
    font-weight: 600;
  }
  

.chat-header p {
    margin: 5px 0 0;      
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.message-content {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 75%;
    font-size: 0.95rem;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background-color: #ffd66b;
    color: #2a2a2a;
    margin-right: 10px;
}

.bot-message .message-content {
    background-color: #333;
    color: #fff;
    margin-left: 10px;
}

.profile-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    background-color: rgba(42, 42, 42, 0.9);
    border-top: 1px solid #555;
}

#user-input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    background-color: #444;
    color: #e0e0e0;
    outline: none;
}

#send-button {
    padding: 10px 20px;
    background-color: #ffd66b;
    color: #2a2a2a;
    border: none;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: #ffcc4d;
}

#send-button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/* Suggestions */
.suggestions-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    flex-wrap: wrap;
}

.suggestion-button {
    background-color: #ffd66b;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #2a2a2a;
    font-weight: bold;
    transition: background-color 0.3s;
}

.suggestion-button:hover {
    background-color: #ffcc4d;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #777;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Logo Animation */
#logo-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    max-width: 120px;
    opacity: 0.6;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

.emoji-float-container {
    position: absolute;
    bottom: 100px; /* a bit above input */
    left: 0;
    right: 0;
    pointer-events: none;
}

.floating-emoji {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: floatUp 2.5s ease-out forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-150px) scale(1.3);
        opacity: 0;
    }
}
