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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:black;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    overflow: hidden;
}

.header {
    background: rgb(110, 202, 4);
    color: white;
    text-align: center;
    padding: 35px 25px;
}

.header h1 { font-size: 2.3em; margin-bottom: 8px; font-weight: 800; }
.header p { opacity: 0.95; font-size: 1.1em; font-weight: 500; }

.status-card {
    display: flex; align-items: center; padding: 35px 25px;
    background: linear-gradient(135deg, #f8f9ff, #e8ecff);
    border-bottom: 1px solid rgba(102,126,234,0.2);
}

.status-icon {
    font-size: 3.5em; margin-right: 25px; width: 90px; text-align: center;
    background: rgba(255,255,255,0.3); border-radius: 50%; padding: 15px;
}

.status-text h3 { color: #1a1a1a; margin-bottom: 8px; font-size: 1.4em; font-weight: 700; }
.status-text p { color: #666; font-size: 1em; }

.button-group {
    padding: 35px 25px; text-align: center;
}

.btn-primary, .btn-secondary, .btn-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; border: none; padding: 18px 35px;
    border-radius: 50px; font-size: 1.1em; font-weight: 600;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 12px 25px rgba(102,126,234,0.4); margin: 8px;
    position: relative; overflow: hidden;
}

.btn-secondary { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }

.btn-primary:hover, .btn-secondary:hover, .btn-copy:hover {
    transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.map-container, .family-section, .qr-section { padding: 25px; }

.family-section { background: linear-gradient(135deg, #f8f9ff, #e8ecff); }
.family-section h3 { 
    color: #1a1a1a; margin-bottom: 20px; font-size: 1.3em; 
    display: flex; align-items: center; gap: 10px; font-weight: 700;
}

.family-list { display: flex; flex-direction: column; gap: 12px; }

.family-member {
    background: white; padding: 20px; border-radius: 20px;
    display: flex; align-items: center; gap: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.family-member:hover { transform: translateX(5px); }
.family-member.online { border-left-color: #4ecdc4; }
.family-member.offline { opacity: 0.7; }

.family-avatar {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.2em;
}

.family-info h4 { color: #1a1a1a; margin-bottom: 4px; font-weight: 600; }
.family-info p { color: #666; font-size: 0.95em; }

.qr-section { 
    background: linear-gradient(135deg, #f8f9ff, #e8ecff); text-align: center; 
}
.qr-section h3 { color: #1a1a1a; margin-bottom: 25px; font-weight: 700; }

#qrCode { 
    margin: 25px 0; padding: 25px; background: white; 
    border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    display: inline-block;
}

.share-input {
    width: 100%; padding: 15px; border: 2px solid #e1e8ff;
    border-radius: 15px; text-align: center; font-size: 1em;
    background: white; font-family: monospace; margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.share-input:focus { border-color: #667eea; outline: none; }

.status-online { color: #4ecdc4 !important; }
.status-active { color: #45b7d1 !important; }
.status-offline { color: #ff6b6b !important; }

@media (max-width: 480px) {
    body { padding: 10px; }
    .container { margin: 10px; border-radius: 25px; }
    .header h1 { font-size: 2em; }
    .status-icon { font-size: 3em; margin-right: 15px; }
}