/* Twitter Feed Styles */
.twitter-feed {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
}

/* Loading State */
.loading-tweets {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.tweet {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tweet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.tweet-user {
    flex: 1;
}

.tweet-name {
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 2px;
}

.tweet-username {
    color: #888;
    font-size: 0.9em;
}

.tweet-content {
    color: #e1e1e1;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tweet-content a {
    color: #1da1f2;
    text-decoration: none;
}

.tweet-content a:hover {
    text-decoration: underline;
}

.tweet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9em;
}

.tweet-actions {
    display: flex;
    gap: 20px;
}

.tweet-actions span {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tweet-actions span:hover {
    color: #1da1f2;
}

/* Premium Locked State */
.premium-locked {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.premium-locked i.fas {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 20px;
    display: block;
}

.premium-locked h3 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 10px;
}

.premium-locked p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 16px;
}

.premium-locked .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.premium-locked .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .twitter-feed {
        padding: 15px;
        margin: 0 10px;
    }
    
    .tweet {
        padding: 12px;
    }
    
    .tweet-actions {
        gap: 10px;
    }
    
    .tweet-actions span {
        font-size: 0.8em;
    }
    
    .premium-locked {
        padding: 30px 15px;
    }
    
    .premium-locked h3 {
        font-size: 20px;
    }
    
    .premium-locked p {
        font-size: 14px;
    }
}

.premium-locked i {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 16px;
}

.premium-locked h3 {
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 1.5em;
}

.premium-locked p {
    color: #aaa;
    margin-bottom: 20px;
}

.premium-locked .btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.premium-locked .btn-primary:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Loading State */
.loading-tweets {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* No Tweets State */
.no-tweets {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .twitter-feed {
        padding: 10px;
    }
    
    .tweet {
        padding: 12px;
    }
    
    .tweet-avatar {
        width: 40px;
        height: 40px;
    }
    
    .tweet-actions {
        gap: 15px;
    }
    
    .tweet-actions span {
        font-size: 0.8em;
    }
}

/* Animation for tweet appearance */
.tweet {
    animation: fadeIn 0.3s ease-out forwards;
    opacity: 0;
}

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