/* Discovery & Social Components */

/* ==================== SOCIAL SHARE BUTTONS REMOVED ==================== */

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.newsletter-section h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.newsletter-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form button {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.newsletter-form button:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

#newsletter-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.message-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.message-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

.message-info {
    background: rgba(33, 150, 243, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.5);
}

/* ==================== SOURCE MODAL ==================== */
.source-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.source-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.source-modal h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.source-modal p {
    margin-bottom: 25px;
    color: #666;
}

.source-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.source-option {
    padding: 15px;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.source-option:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.source-option i {
    font-size: 28px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.source-option span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .source-modal-content {
        padding: 30px 20px;
    }

    .source-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
