:root {
    --primary: #ff6b1a;
    --secondary: #8b0000;
    --background: #1a1a1a;
    --text: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.chat-container {
    width: 380px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-header-info h2 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.chat-header-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
    position: relative;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-message {
    background: #2d5af5;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    margin-left: 20%;
    padding: 12px 16px;
}

.bot-message {
    align-self: flex-start;
    margin-right: 20%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 5px;
}

.input-area {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 8px 20px;
}

#user-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    color: white;
    font-size: 14px;
    padding: 8px 0;
    outline: none;
}

#user-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.send-button {
    background: #2d5af5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.send-button:hover {
    transform: scale(1.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27c93f;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.twitter-link {
    position: relative;
    z-index: 2;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.twitter-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.twitter-button:hover {
    transform: scale(1.1);
    background: #1DA1F2;
}

.twitter-button svg {
    width: 24px;
    height: 24px;
}

/* Add these new styles */
.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.twitter-link {
    text-decoration: none;
}

.twitter-button {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.twitter-button:hover {
    transform: scale(1.1);
    background: #1DA1F2;
}

.twitter-button svg {
    width: 14px;
    height: 14px;
} 