:root {
    --bg-color: #020617;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    
    --primary-color: #3b82f6;      /* Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    
    --accent-color: #8b5cf6;       /* Purple */
    --accent-glow: rgba(139, 92, 246, 0.5);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem;
}

/* Dynamic Animated Background Orbs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: 20%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #ec4899;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Main Container Layout */
.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 1;
}

header {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

h1 .highlight {
    font-weight: 600;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dashboard Grid matching the wireframe */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-col {
    display: flex;
    height: 100%;
}

/* Glassmorphism Buttons */
.glass-btn {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.right-col .glass-btn {
    flex-grow: 1;
    height: 100%; /* Make it match left column's total height if possible, or just tall */
    min-height: 200px;
    font-size: 1.25rem;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%);
    opacity: 0.1;
    transition: var(--transition);
}

.glass-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.glass-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1;
}

.glass-btn:hover .btn-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(2);
}

/* Button Variants */
.btn-primary:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary .btn-glow {
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.btn-accent:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-accent .btn-glow {
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* Prompt Library Panel */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

.prompt-library h2 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.library-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2e8f0;
    min-height: 120px;
    outline: none;
    transition: var(--transition);
}

.library-content:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Toasts / Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.toast {
    background: rgba(15, 23, 42, 0.9);
    border-left: 4px solid var(--primary-color);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(0);
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .right-col .glass-btn {
        min-height: 120px;
    }
}
