/* public/css/social-sharing-improved.css */

/* Main page share section */
.share-section-main {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.share-section-main h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

/* Share buttons grid */
.share-buttons-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Individual share button */
.share-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.share-btn:active {
    transform: translateY(-1px);
}

/* Platform specific colors */
.share-btn[data-platform="twitter"] {
    background: #000000;
}

.share-btn[data-platform="facebook"] {
    background: #1877f2;
}

.share-btn[data-platform="reddit"] {
    background: #ff4500;
}

.share-btn[data-platform="discord"] {
    background: #5865f2;
}

.share-btn[data-platform="whatsapp"] {
    background: #25d366;
}

.share-btn[data-platform="telegram"] {
    background: #0088cc;
}

.share-btn[data-platform="linkedin"] {
    background: #0077b5;
}

.share-btn.copy-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* SVG icon styling */
.share-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Success page share container */
.social-share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.social-share-container h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* Large share buttons for success page */
.share-button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-button-large {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.share-button-large svg {
    width: 20px;
    height: 20px;
}

/* Platform colors for large buttons */
.share-button-large.twitter {
    background: #000000;
}

.share-button-large.facebook {
    background: #1877f2;
}

.share-button-large.reddit {
    background: #ff4500;
}

.share-button-large.discord {
    background: #5865f2;
}

.share-button-large.copy-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: #10b981;
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification::before {
    content: '✓';
    font-size: 20px;
}

/* Referral box */
.referral-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    margin: 20px 0;
    width: 100%;
    max-width: 500px;
}

.referral-input {
    flex: 1;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.copy-ref-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-ref-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .share-buttons-grid {
        gap: 8px;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
    }
    
    .share-button-large {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        transform: translateY(100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
    
    .referral-box {
        flex-direction: column;
    }
    
    .referral-input {
        width: 100%;
    }
}