.container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .names-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .name-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .name-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .name-number {
            background: linear-gradient(120deg, #2c3e50, #3498db);
            color: white;
            text-align: center;
            padding: 12px;
            font-size: 1.2rem;
            font-weight: bold;
        }
        
        .name-arabic {
            font-family: 'Amiri', serif;
            font-size: 3.2rem;
            text-align: center;
            padding: 25px 15px;
            background: #f8f9fa;
            color: #2c3e50;
            line-height: 1.4;
            min-height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .name-content {
            padding: 20px;
        }
        
        .name-transliteration {
            font-size: 1.4rem;
            color: #3498db;
            margin-bottom: 10px;
            text-align: center;
            font-weight: 600;
        }
        
        .name-meaning {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .name-benefits {
            color: #555;
            font-size: 0.9rem;
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 3px solid #3498db;
        }
		
		.name-benefits-urdu {
            direction: rtl;
			text-align: right;
			unicode-bidi: embed;
			color: #555;
            font-size: 0.9rem;
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border-right: 3px solid #3498db;
			font-family:'Noto Nastaliq Urdu', serif;
        }
        
        .card-actions {
            display: flex;
            justify-content: space-between;
            padding: 0 20px 10px;
            gap: 10px;
        }
        
        .audio-btn, .save-btn, .copy-btn {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            font-weight: 500;
            flex: 1;
        }
        
        .audio-btn {
            position: relative;
            overflow: hidden;
        }
        
        .audio-btn.playing {
            background: linear-gradient(135deg, #27ae60, #219653);
        }
        
        .audio-btn.loading {
            background: linear-gradient(135deg, #f39c12, #e67e22);
        }
        
        .audio-btn.error {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }
        
        .progress-container {
            width: 100%;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            margin-top: 8px;
            border-radius: 2px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: #ffffff;
            width: 0%;
            transition: width 0.1s linear;
        }
        
        .audio-btn:hover, .save-btn:hover, .copy-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }
        
        .audio-btn:active, .save-btn:active {
            transform: translateY(0);
        }
        
        .copy-section {
            display: flex;
            justify-content: center;
            padding: 0 20px 20px;
            gap: 10px;
        }
        
        @media (max-width: 768px) {
            .names-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .name-arabic {
                font-size: 3rem;
                min-height: 120px;
            }
        }
        
        @media (max-width: 480px) {
            .names-grid {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }
        
        /* Animation for copy feedback */
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
        
        .copy-feedback {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #27ae60;
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            animation: fadeOut 2s ease-in-out 1s forwards;
            z-index: 1000;
            display: none;
        }