body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    padding: 40px 0;
}

.username {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.cta-button {
    background-color: transparent;
    padding: 8px 18px;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px 0 20px 0;
    display: inline-block;
    border: 1.5px solid #333;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #fff;
}

.cta-button:hover::before {
    transform: translateX(0);
}

.chat-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.message-container {
    padding: 15px;
    overflow-y: auto;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.message {
    max-width: 70%;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.left {
    background-color: #e5e5ea;
    border-bottom-left-radius: 5px;
}

.message img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 8px;
}

.typing-indicator {
    display: inline-block;
    padding: 8px 12px;
    background-color: #e5e5ea;
    border-radius: 18px;
    margin-bottom: 12px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
    animation: 1s blink infinite 0.3333s;
}

.typing-indicator span:nth-of-type(2) {
    animation: 1s blink infinite 0.6666s;
}

.typing-indicator span:nth-of-type(3) {
    animation: 1s blink infinite 0.9999s;
}

@keyframes blink {
    50% {
        opacity: 1;
    }
}

.links-label-container {
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.links-label {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.down-arrow {
    width: 20px;
    height: 20px;
    fill: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Reduced from 25px to account for new label */
}

.icon-button {
    background-color: #333;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.icon-button:hover {
    background-color: #555;
}

.icon-button i {
    font-size: 18px;
}