:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.7);
    --accent-color: #00e5ff;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --glow-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Futuristic Background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #101820 0%, #050505 100%);
    z-index: -1;
}

.app-container {
    width: 90%;
    max-width: 500px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* Orb Visualizer */
.orb-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    animation: rotate 10s linear infinite;
    opacity: 0.5;
}

.orb-core {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #000;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: var(--glow-shadow);
    transition: transform 0.3s ease;
}

.core-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: hue-rotate(180deg) brightness(1.2);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.listening .orb-core {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px var(--accent-color); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px var(--accent-color); }
    100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-color); }
}

/* Input Area */
.input-card {
    margin-top: 30px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.talk-btn {
    background: var(--accent-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.talk-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-color);
}

.transcript-box {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer & Copyright */
.dynamic-footer {
    position: fixed;
    bottom: 20px;
    text-align: center;
}

.github-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
}
