body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #131314;
    -webkit-font-smoothing: antialiased;
}
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.pill-btn {
    border-radius: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    background-color: white;
    border-color: #1A73E8;
}
.player-pill {
    background: #F8F9FA;
    border-radius: 40px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.player-pill:hover {
    border-color: #E8EAED;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
audio::-webkit-media-controls-panel {
    background-color: #F8F9FA;
}
.step-number {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #1A73E8, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

/* =========================================================
   Selector de País - Adaptación Web (Google Light Theme)
   ========================================================= */
.country-selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8F9FA;
    border: 1px solid #E8EAED;
    color: #5F6368;
    padding: 8px 16px;
    border-radius: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.country-selector-btn:hover {
    background: #FFFFFF;
    border-color: #1A73E8;
    box-shadow: 0 2px 8px rgba(26,115,232,0.1);
}
.country-selector-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #FFFFFF;
    border: 1px solid #E8EAED;
    border-radius: 16px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
}
.country-selector-menu.active {
    display: block;
}
.country-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #131314;
    transition: background 0.2s;
}
.country-item:hover {
    background: #F8F9FA;
}
.country-item.selected {
    color: #1A73E8;
    background: rgba(26,115,232,0.05);
}

/* =========================================================
   Iconos de banderas (SVG Circulares)
   ========================================================= */
.country-flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* =========================================================
   🌓 CIRUGÍA: MODAL DE AUTH (ADAPTACIÓN WEB LIGHT)
   ========================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: #131314;
}

.close-modal {
    position: absolute;
    top: 16px; right: 16px;
    background: #F8F9FA; border: none;
    color: #5F6368; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-logo { font-size: 32px; margin-bottom: 8px; }
.modal-header h2 { font-size: 1.5rem; font-weight: 600; margin: 0; }
.modal-header p { color: #5F6368; font-size: 0.875rem; margin-top: 4px; }

.input-group { margin-bottom: 16px; text-align: left; }
.input-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #5F6368; margin-bottom: 6px; }
.input-group input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #DADCE0;
    color: #131314;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.input-group input:focus { border-color: #1A73E8; box-shadow: 0 0 0 2px rgba(26,115,232,0.1); }

.primary-btn {
    width: 100%;
    background: #1A73E8;
    color: #FFFFFF;
    border: none;
    padding: 12px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.primary-btn:hover { background: #1557B0; }

.switch-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #5F6368;
}
.switch-auth span { color: #1A73E8; cursor: pointer; font-weight: 600; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }