:root {
    --bg-deep: #070D1D;
    --bg-card: rgba(15, 23, 42, 0.75);
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 30%, #111E3E 0%, var(--bg-deep) 70%);
}

.ticker-bar {
    background: linear-gradient(90deg, rgba(212,175,55,0.1), rgba(212,175,55,0.25), rgba(212,175,55,0.1));
    border-bottom: 1px solid rgba(212,175,55,0.3);
    color: var(--gold-light);
    padding: 10px 20px;
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--text-main);
}

.license-info {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.license-info span {
    color: var(--gold-primary);
    font-weight: 500;
}

.main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.mic-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.mic-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.4) 0%, transparent 70%);
    animation: pulseGlow 3s infinite ease-in-out;
    z-index: 1;
}

.mic-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mic-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212,175,55,0.2);
}

.mic-button svg {
    width: 40px;
    height: 40px;
    fill: var(--gold-primary);
}

.status-text {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-main);
    margin-bottom: 8px;
    text-align: center;
}

.sub-instruction {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-align: center;
}

.response-container {
    max-width: 650px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.response-title {
    font-size: 12px;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.response-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
}

.listening .mic-glow {
    animation: pulseFast 1s infinite ease-in-out;
    background: radial-gradient(circle, rgba(212,175,55,0.8) 0%, rgba(212,175,55,0.2) 60%, transparent 80%);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
}

@keyframes pulseFast {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
}

@media(max-width: 768px) {
    .app-header { padding: 15px 20px; }
    .brand-logo { font-size: 18px; }
    .license-info { font-size: 11px; padding: 4px 10px; }
    .status-text { font-size: 16px; }
}