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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fef9f3 0%, #fdf2e9 50%, #fce8dc 100%);
}

.container {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(180deg, #f5ebe3 0%, #efe3d8 30%, #e8d9cc 70%, #e0cfc0 100%);
    padding: 40px 25px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(150, 120, 90, 0.25);
    text-align: center;
}

/* Status indicator */
.status-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    background-color: #fff;
    color: #9a8a7a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(200, 180, 160, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #9e8c7c;
    transition: background-color 0.3s ease;
}

.status.connected .status-dot {
    background-color: #6db86b;
    box-shadow: 0 0 8px rgba(109, 184, 107, 0.5);
}

/* Orb container and orb */
.orb-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px 0 40px;
}

.orb {
    width: 160px;
    height: 160px;
    border-radius: 80px;
    background-color: #f5ebe4;
    border: 2px solid #d4956a;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(212, 149, 106, 0.3);
    transition: background-color 0.3s ease;
}

.orb.listening {
    background-color: #d4956a;
}

.orb.speaking {
    background-color: #f5ebe4;
}

/* Controls */
.controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    padding: 16px 24px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button.primary {
    background-color: #d4956a;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 149, 106, 0.3);
}

.button.primary:hover:not(:disabled) {
    background-color: #c4855a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 149, 106, 0.4);
}

.button.secondary {
    background-color: #f5ebe4;
    color: #9a8a7a;
    border: 1px solid rgba(180, 160, 140, 0.3);
}

.button.secondary:hover:not(:disabled) {
    background-color: #efe3da;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.button i {
    font-size: 18px;
}

/* Helper text */
.helper-text {
    color: #a09080;
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
        border-radius: 25px;
    }
    
    .orb {
        width: 180px;
        height: 180px;
    }
}
