body {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #e2e8f0;
}

/* Robot Container */
.scene {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Robot Head */
.robot-head {
    width: 300px;
    height: 260px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.robot-head:hover {
    box-shadow: 
        0 30px 60px -12px rgba(0, 100, 255, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Screen */
.screen {
    width: 260px;
    height: 160px;
    background: #000;
    margin-top: 20px;
    border-radius: 30px;
    border: 2px solid rgba(56, 189, 248, 0.3);
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Eyes */
.eyes-container {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.eye {
    width: 50px;
    height: 16px;
    background: #00e5ff;
    border-radius: 8px;
    box-shadow: 0 0 25px #00e5ff;
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.1); }
}

/* Mouth / Voice Visualization */
.voice-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.voice-wave.active { opacity: 1; }

.voice-wave span {
    width: 4px;
    height: 4px;
    background: #00e5ff;
    border-radius: 2px;
    animation: wave 0.5s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0.1s; height: 10px; }
.voice-wave span:nth-child(2) { animation-delay: 0.2s; height: 15px; }
.voice-wave span:nth-child(3) { animation-delay: 0.3s; height: 20px; }
.voice-wave span:nth-child(4) { animation-delay: 0.2s; height: 15px; }
.voice-wave span:nth-child(5) { animation-delay: 0.1s; height: 10px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Result Content Overlay */
#result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 0.85rem;
    display: none; /* JS ile açılır */
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: #334155 #0f172a;
}

#result.show { display: flex; }

/* Result Cards */
.result-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 10px;
    transition: 0.2s;
}

.result-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(56, 189, 248, 0.4);
}

.result-title {
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.result-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.result-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    text-decoration: none;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    transition: 0.2s;
}

.action-btn:hover {
    background: rgba(56, 189, 248, 0.2);
}

.action-btn.call { color: #34d399; background: rgba(52, 211, 153, 0.1); }
.action-btn.web { color: #a78bfa; background: rgba(167, 139, 250, 0.1); }
.action-btn.map { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }

/* Marquee */
.marquee-container {
    width: 80%;
    margin-top: 15px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee-text {
    white-space: nowrap;
    color: #00e5ff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    animation: scroll 15s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

/* Status Light */
.status-indicator {
    position: absolute;
    bottom: 30px;
    width: 8px;
    height: 8px;
    background: #475569;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.status-indicator.listening {
    background: #ef4444;
    box-shadow: 0 0 15px #ef4444;
    transform: scale(1.2);
}

.status-indicator.processing {
    background: #eab308;
    box-shadow: 0 0 15px #eab308;
    animation: pulse 1s infinite;
}

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* Cheeks */
.cheek {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 100, 100, 0.2);
    filter: blur(15px);
    bottom: 80px;
    opacity: 0;
    transition: opacity 0.5s;
}

.robot-head:hover .cheek { opacity: 1; }
.cheek.left { left: 40px; }
.cheek.right { right: 40px; }

/* Media Player Status */
.media-status {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 20px;
    display: none;
    align-items: center;
    gap: 5px;
}
.media-status.playing { display: flex; }
.media-status span {
    width: 6px; height: 6px; background: #22c55e; border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Background Elements */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(0,0,0,0) 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}
