/* Shayari Container Styles */
.shayari-container {
    margin: 25px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.shayari-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #d4578a;
    padding: 35px 25px 25px 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(212, 87, 138, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shayari-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(212, 87, 138, 0.2), 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Enhanced Text Styling */
.shayari-text {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Kruti Dev 010', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
}

/* Share Buttons Container */
.shayari-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Individual Share Button Styles */
.share-btn {
    padding: 12px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}

/* Facebook Button */
.facebook-btn {
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #365899 0%, #2d4373 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(66, 103, 178, 0.4);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0d6b5c 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Twitter Button */
.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #0a6fa8 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

/* Copy Button - Special Styling */
.copy-btn {
    background: linear-gradient(135deg, #a30443 0%, #820336 100%);
    width: auto;
    min-width: 70px;
    padding: 12px 18px;
    border-radius: 25px;
    gap: 8px;
    height: 48px;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #820336 0%, #61022a 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(163, 4, 67, 0.4);
}

.copy-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Active States */
.share-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* SVG Icons Styling */
.share-btn svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .shayari-container {
        margin: 20px 0;
        min-height: 200px;
    }
    
    .shayari-content {
        padding: 25px 20px 20px 20px;
        margin: 10px;
        width: 95%;
        border-radius: 12px;
    }
    
    .shayari-text {
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 20px;
        font-weight: 600;
        letter-spacing: 0.4px;
    }
    
    .shayari-share {
        gap: 12px;
        margin-top: 10px;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    
    .copy-btn {
        min-width: 65px;
        padding: 10px 14px;
        height: 44px;
    }
    
    .copy-text {
        font-size: 11px;
    }
    
    .share-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .shayari-text {
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.3px;
        font-weight: 600;
    }
    
    .shayari-content {
        padding: 20px 15px 15px 15px;
    }
    
    .share-btn {
        width: 42px;
        height: 42px;
        padding: 9px;
    }
    
    .copy-btn {
        min-width: 60px;
        padding: 9px 12px;
        height: 42px;
    }
    
    .copy-text {
        font-size: 10px;
    }
    
    .share-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* Animation for successful copy */
@keyframes copySuccess {
    0% {
        background: #a30443;
    }
    50% {
        background: #28a745;
        transform: scale(1.1);
    }
    100% {
        background: #28a745;
        transform: scale(1);
    }
}

.copy-btn.copied {
    animation: copySuccess 0.3s ease-in-out;
}

/* Print Styles */
@media print {
    .shayari-share {
        display: none;
    }
    
    .shayari-container {
        break-inside: avoid;
    }
}