:root {
    --primary-color: #21c55e; /* Modern Green */
    --primary-dark: #15803d;
    --bg-color: #f3f4f6;
    --text-color: #1f2937;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.logo-area {
    margin-bottom: 40px;
}

.logo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.status-text {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
    min-height: 24px;
    transition: color 0.3s ease;
}

.call-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(33, 197, 94, 0.4);
    transition: all 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.call-button svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.instruction {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Active State (Click Effect) */
.call-button:active {
    transform: scale(0.90);
    box-shadow: 0 5px 10px rgba(33, 197, 94, 0.4);
}

/* Connecting / In-Call State */
.call-button.active {
    background: #ef4444; /* Red for hang up */
    animation: pulse 1.5s infinite;
}

.call-button.disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.eth-button {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.eth-button:hover { background: #f9fafb; transform: translateY(-1px); box-shadow: 0 4px 6px rgba(0,0,0,0.08); }
.eth-icon { width: 22px; height: 22px; }

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal.visible { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.modal-content h3 { margin-bottom: 12px; color: #1f2937; font-size: 20px; }
.modal-content p { color: #6b7280; margin-bottom: 25px; font-size: 15px; line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions button {
    flex: 1; padding: 12px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 15px;
}
.btn-cancel { background: #f3f4f6; color: #4b5563; }
.btn-cancel:hover { background: #e5e7eb; }
.btn-proceed { background: #3b82f6; color: white; }
.btn-proceed:hover { background: #2563eb; }