:root {
    --primary-color: #4F46E5;
    --secondary-color: #818CF8;
    --background-color: #F3F4F6;
    --card-background: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --success-color: #10B981;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 0.4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.logo-container {
    background: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 140px;
    height: auto;
    margin: 1.5rem 0;
}

.card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: var(--background-color);
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover {
    background: #E5E7EB;
}

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 500;
    color: var(--text-primary);
}

.masked-number {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 1.5rem 0;
}

.masked-number h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.masked-number .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.call-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem auto;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.call-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.app-store-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.app-store-btn {
    width: 160px;
    height: auto;
    transition: var(--transition);
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.notice {
    background: #FEF2F2;
    color: #991B1B;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.timer-container {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timer {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.timer-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.expired-message {
    background: #FEF2F2;
    color: #991B1B;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
}

.content-container {
    transition: opacity 0.5s ease;
}

.blurred {
    opacity: 0.3;
    pointer-events: none;
}

.animate-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Location Sharing Styles */
.location-info {
    text-align: center;
}

.share-location-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem auto;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.share-location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.share-location-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
}

.location-shared {
    background: var(--success-color) !important;
}

#location-status-display {
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .app-store-container {
        flex-direction: column;
        align-items: center;
    }

    .call-button,
    .share-location-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
