Debate_Engine / public /style.css
Shokat's picture
Upload 10 files
fc851c4 verified
Raw
History Blame Contribute Delete
4.98 kB
:root {
--bg-color: #0b0f19;
--panel-bg: rgba(20, 25, 40, 0.4);
--border-color: rgba(255, 255, 255, 0.1);
--text-primary: #e2e8f0;
--text-secondary: #94a3b8;
--accent-1: #00f2ff;
--accent-2: #7000ff;
--success: #10b981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Outfit', sans-serif;
color: var(--text-primary);
background: var(--bg-color);
min-height: 100vh;
overflow-x: hidden;
}
.glass-bg {
position: fixed;
top: -50%; left: -50%;
width: 200%; height: 200%;
background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.15), transparent 60%),
radial-gradient(circle at 80% 20%, rgba(0, 242, 255, 0.15), transparent 50%);
z-index: -1;
animation: drift 20s infinite alternate ease-in-out;
}
@keyframes drift {
0% { transform: scale(1) translate(0, 0); }
100% { transform: scale(1.1) translate(-2%, 2%); }
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
header {
text-align: center;
margin-bottom: 3rem;
}
h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.gradient-text {
background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.glass-panel {
background: var(--panel-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 1.5rem;
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.controls {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}
input {
flex: 1;
background: rgba(0,0,0,0.5);
border: 1px solid var(--border-color);
color: white;
padding: 1rem 1.5rem;
border-radius: 8px;
font-family: 'Outfit';
font-size: 1.1rem;
outline: none;
transition: all 0.3s;
}
input:focus { border-color: var(--accent-1); box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); }
button {
background: linear-gradient(135deg, var(--accent-2), #4f00b3);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(112, 0, 255, 0.4);
}
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.workspace {
display: grid;
grid-template-columns: 300px 1fr;
gap: 2rem;
height: 70vh;
}
.status-sidebar {
display: flex;
flex-direction: column;
gap: 1.5rem;
overflow-y: auto;
}
.pulse-text { color: var(--accent-1); animation: pulse 2s infinite; }
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
ul { list-style: none; }
li {
padding: 1rem;
background: rgba(255,255,255,0.03);
border-radius: 8px;
margin-bottom: 0.5rem;
border-left: 3px solid transparent;
transition: all 0.3s;
}
li.active { border-left-color: var(--accent-1); background: rgba(0, 242, 255, 0.05); }
li.done { border-left-color: var(--success); }
.model-name { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.model-status { font-size: 0.85rem; color: var(--text-secondary); }
.arena {
overflow-y: auto;
padding: 2rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
scroll-behavior: smooth;
}
.text-center { text-align: center; color: var(--text-secondary); margin-top: 10%; }
.message-bubble {
background: rgba(0,0,0,0.4);
border-left: 4px solid var(--accent-2);
padding: 1.5rem;
border-radius: 0 12px 12px 12px;
animation: fade-in 0.5s forwards;
position: relative;
font-size: 0.95rem;
line-height: 1.6;
}
.message-bubble.architect {
border-left: 4px solid var(--neon-accent);
background: rgba(43, 255, 172, 0.05);
margin-top: 2rem;
position: relative;
}
.message-bubble.architect::before {
content: '👑 FINAL VERDICT';
position: absolute;
top: -25px;
left: -4px;
background: var(--neon-accent);
color: var(--bg-dark);
padding: 0.2rem 1rem;
font-size: 0.8rem;
font-weight: bold;
border-radius: 4px 4px 0 0;
}
.message-bubble.architect .bubble-header { font-size: 1.2rem; font-weight: bold; color: white; }
.bubble-header {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
font-family: 'Outfit';
color: var(--accent-1);
}
.bubble-header .round { color: var(--text-secondary); font-size: 0.85rem;}
@keyframes fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.message-bubble h1, .message-bubble h2, .message-bubble h3 { margin: 1rem 0 0.5rem; font-family: 'Outfit'; }
.message-bubble p { margin-bottom: 1rem; }
.message-bubble ul { margin-left: 1.5rem; list-style: disc; }
.message-bubble strong { color: white; }