/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 15px;
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 20px;
    padding: 25px 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border: 8px solid #ff69b4;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.hindi-text {
    text-align: center;
    color: #ff69b4;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Profiles Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.profile {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    border-color: #ff69b4;
}

.profile.selected {
    border: 2px solid #ff69b4;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    transform: translateY(-8px);
}

.profile.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff69b4;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.profile-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 10px;
}

.profile-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
    color: #333;
}

.profile-info p {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}

.location {
    color: #ff69b4;
}

/* Button Styles */
.button-container {
    text-align: center;
}

.get-number-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.get-number-btn.active {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.get-number-btn:hover {
    background-color: #c0392b;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}
