@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zuume+Black:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    overflow: hidden;
    color: white;
    cursor: default;
}

.left-section {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-title {
    font-size: 111px;
    font-weight: 11800;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    background: linear-gradient(45deg,
            #ff6b6b, #4ecdc4, #45b7d1, #96c93d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 15s ease infinite;
    opacity: 0.8;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.center-section {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    max-height: 100%;
}

.right-section {
    width: 25%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.user-message {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-end;
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    cursor: text;
}

.chat-input input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.chat-input button {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.mic-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    padding: 15px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.mic-button.active {
    background: linear-gradient(45deg, #ff3333, #ff6666);
    transform: scale(1.1);
}

.chat-input button:hover,
.mic-button:hover {
    transform: translateY(-2px);
}

.ambient-light {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.03) 0%,
            transparent 50%);
}

.typing-indicator {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    align-self: flex-start;
    display: flex;
    gap: 5px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    animation: typing 1s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0.1s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}