body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    overflow: hidden;
}
.chat-container {
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeIn 0.5s ease-in-out;
}
.chat-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 2px solid #FFD700;
    display: flex;
    flex-direction: column;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.message {
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: inline-block;
    max-width: 80%;
    opacity: 0;
    animation: slideIn 0.5s forwards;
}
.user {
    background: #FFD700;
    color: black;
    align-self: flex-end;
}
.bot {
    background: white;
    border: 2px solid #FFD700;
    align-self: flex-start;
}
.input-container {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}
input {
    flex: 1;
    padding: 10px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}
input:focus {
    border-color: #FFA500;
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.8);
}
button {
    background: #FFD700;
    color: black;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    background: #FFA500;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.7);
}
.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intro-container img{
    width: 50%;
    min-width: 300px;
}
.kakao-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    min-width: 350px;
    min-height: 200px;
}
#loader {
    font-size: 25px;
    text-align: center;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
