/* Arthur AI Assistant Styles */
.arthur-page {
position: relative;
min-height: 100vh;
background: #0a0a0f;
overflow: hidden;
}
/* Animated background grid */
.grid-bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
linear-gradient(rgba(0, 195, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 195, 255, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
pointer-events: none;
}
@keyframes gridMove {
0% { transform: translate(0, 0); }
100% { transform: translate(50px, 50px); }
}
/* Main container */
.arthur-container {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 2rem;
}
/* Title */
.arthur-title {
position: fixed;
top: 1rem;
left: 1rem;
font-size: 1.5rem;
font-weight: 300;
letter-spacing: 5px;
color: rgba(0, 195, 255, 0.8);
z-index: 10;
}
.arthur-title span {
color: rgba(255, 255, 255, 0.4);
font-size: 0.8rem;
}
/* Navigation link */
.arthur-nav-link {
position: fixed;
top: 1rem;
left: 50%;
transform: translateX(-50%);
padding: 0.5rem 1rem;
background: rgba(139, 92, 246, 0.2);
border: 1px solid rgba(139, 92, 246, 0.4);
border-radius: 20px;
color: rgba(139, 92, 246, 0.9);
text-decoration: none;
font-size: 0.8rem;
letter-spacing: 2px;
transition: all 0.3s ease;
z-index: 100;
cursor: pointer;
}
.arthur-nav-link:hover {
background: rgba(139, 92, 246, 0.3);
border-color: rgba(139, 92, 246, 0.6);
color: #fff;
}
/* Oracle core visualization */
.oracle-core {
position: relative;
width: 200px;
height: 200px;
margin-bottom: 3rem;
}
.core-ring {
position: absolute;
border: 2px solid rgba(0, 195, 255, 0.3);
border-radius: 50%;
animation: rotate 10s linear infinite;
}
.core-ring:nth-child(1) {
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.core-ring:nth-child(2) {
width: 80%;
height: 80%;
top: 10%;
left: 10%;
animation-duration: 8s;
animation-direction: reverse;
}
.core-ring:nth-child(3) {
width: 60%;
height: 60%;
top: 20%;
left: 20%;
animation-duration: 6s;
}
.core-center {
position: absolute;
width: 40%;
height: 40%;
top: 30%;
left: 30%;
background: radial-gradient(circle, rgba(0, 195, 255, 0.8) 0%, rgba(0, 195, 255, 0) 70%);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}
.core-center.listening {
background: radial-gradient(circle, rgba(255, 100, 100, 0.8) 0%, rgba(255, 100, 100, 0) 70%);
animation: pulse 0.5s ease-in-out infinite;
}
.core-center.speaking {
background: radial-gradient(circle, rgba(100, 255, 150, 0.8) 0%, rgba(100, 255, 150, 0) 70%);
animation: pulse 0.3s ease-in-out infinite;
}
.core-center.error {
background: radial-gradient(circle, rgba(255, 100, 100, 0.8) 0%, rgba(255, 100, 100, 0) 70%);
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 0.8; }
50% { transform: scale(1.2); opacity: 1; }
}
/* Status text */
.arthur-status {
font-size: 0.9rem;
color: rgba(0, 195, 255, 0.7);
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 2rem;
}
/* Info panel */
.info-panel {
position: fixed;
top: 1rem;
right: 1rem;
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(0, 195, 255, 0.2);
border-radius: 8px;
padding: 1rem;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.6);
z-index: 10;
}
.info-panel h3 {
color: rgba(0, 195, 255, 0.8);
margin-bottom: 0.5rem;
font-size: 0.9rem;
}
.info-panel .status-row {
margin: 0.25rem 0;
}
.info-panel .status-value {
color: rgba(0, 195, 255, 0.8);
}
.info-panel .status-value.connected {
color: #64ff96;
}
.info-panel .status-value.disconnected {
color: #ff6464;
}
.info-panel .status-value.warning {
color: #ffaa64;
}
/* Conversation display */
.arthur-conversation {
width: 100%;
max-width: 700px;
height: 450px;
overflow-y: auto;
margin-bottom: 2rem;
padding: 1rem;
background: rgba(0, 195, 255, 0.05);
border: 1px solid rgba(0, 195, 255, 0.2);
border-radius: 10px;
}
.arthur-conversation::-webkit-scrollbar {
width: 4px;
}
.arthur-conversation::-webkit-scrollbar-track {
background: rgba(0, 195, 255, 0.1);
}
.arthur-conversation::-webkit-scrollbar-thumb {
background: rgba(0, 195, 255, 0.3);
border-radius: 2px;
}
.arthur-message {
margin-bottom: 1rem;
padding: 0.8rem 1rem;
border-radius: 8px;
animation: fadeIn 0.3s ease-out;
cursor: pointer;
transition: background 0.2s;
}
.arthur-message:hover {
background: rgba(0, 195, 255, 0.25);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.arthur-message.user {
background: rgba(255, 255, 255, 0.1);
margin-left: 20%;
text-align: right;
}
.arthur-message.arthur {
background: rgba(0, 195, 255, 0.15);
margin-right: 20%;
border-left: 3px solid rgba(0, 195, 255, 0.5);
}
.arthur-message .label {
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 0.3rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.arthur-message .content {
line-height: 1.5;
}
.arthur-message .content code {
background: rgba(0, 195, 255, 0.2);
padding: 2px 6px;
border-radius: 4px;
}
/* Input row */
.arthur-input-row {
display: flex;
gap: 10px;
width: 100%;
max-width: 600px;
margin-bottom: 1rem;
}
.arthur-text-input {
flex: 1;
padding: 16px 20px;
font-size: 1.1rem;
height: 56px;
background: rgba(0, 195, 255, 0.1);
border: 1px solid rgba(0, 195, 255, 0.3);
border-radius: 8px;
color: #fff;
outline: none;
}
.arthur-text-input:focus {
border-color: rgba(0, 195, 255, 0.6);
}
.arthur-text-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.arthur-send-btn {
padding: 16px 24px;
height: 56px;
font-size: 1.1rem;
background: rgba(0, 195, 255, 0.2);
border: 1px solid rgba(0, 195, 255, 0.5);
border-radius: 8px;
color: #fff;
cursor: pointer;
transition: background 0.2s;
}
.arthur-send-btn:hover {
background: rgba(0, 195, 255, 0.3);
}
.arthur-stop-btn {
padding: 16px 20px;
height: 56px;
font-size: 1.1rem;
background: rgba(255, 100, 100, 0.2);
border: 1px solid rgba(255, 100, 100, 0.5);
border-radius: 8px;
color: #fff;
cursor: pointer;
}
/* Voice button */
.voice-btn {
width: 80px;
height: 80px;
border-radius: 50%;
border: 2px solid rgba(0, 195, 255, 0.5);
background: rgba(0, 195, 255, 0.1);
color: #fff;
font-size: 2rem;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.voice-btn:hover {
background: rgba(0, 195, 255, 0.2);
transform: scale(1.05);
}
.voice-btn.listening {
border-color: #ff6464;
background: rgba(255, 100, 100, 0.2);
animation: pulseBtn 0.5s ease-in-out infinite;
}
@keyframes pulseBtn {
0%, 100% { box-shadow: 0 0 0 0 rgba(255, 100, 100, 0.4); }
50% { box-shadow: 0 0 0 20px rgba(255, 100, 100, 0); }
}
/* Hint text */
.arthur-hint {
margin-top: 1rem;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.4);
}
/* Message modal */
.arthur-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
z-index: 1000;
padding: 2rem;
overflow-y: auto;
}
.arthur-modal.show {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.arthur-modal-content {
background: rgba(0, 195, 255, 0.1);
border: 1px solid rgba(0, 195, 255, 0.3);
border-radius: 12px;
padding: 2rem;
max-width: 800px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
font-size: 1.2rem;
line-height: 1.6;
}
.arthur-modal-hint {
margin-top: 1rem;
color: rgba(255, 255, 255, 0.5);
font-size: 0.9rem;
}
/* Thinking indicator */
.thinking-indicator {
display: flex;
gap: 5px;
padding: 0.8rem 1rem;
margin-bottom: 1rem;
}
.thinking-dot {
width: 8px;
height: 8px;
background: rgba(0, 195, 255, 0.6);
border-radius: 50%;
animation: bounce 1.4s ease-in-out infinite;
}
.thinking-dot:nth-child(1) { animation-delay: 0s; }
.thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.thinking-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
0%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-10px); }
}