/* Twitter Feed Specific Styles */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #ffffff;
    min-height: 100vh;
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* Ad Containers */
.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 12px;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 136, 0.4),
        0 0 40px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.1),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.6);
    animation: green-glow-pulse 3s ease-in-out infinite alternate;
}

.ad-container.left {
    left: 20px;
}

.ad-container.right {
    right: 20px;
}

/* Page Navigation */
.page-navigation {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0 2rem;
    border-bottom: 1px solid #3a3a3a;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #b0b0b0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #1DA1F2;
    border-bottom-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.3);
}

.nav-link span {
    font-size: 1.2rem;
}

/* Main Content */
.twitter-feed-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 62, 80, 0.95));
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.header-title h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffffff, #1DA1F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-title h1 i {
    color: #1DA1F2;
    margin-right: 1rem;
}

.header-title p {
    color: #b0b0b0;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Refresh Controls */
.refresh-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.auto-refresh-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00C851;
    animation: pulse-green 2s infinite;
}

.status-indicator.active {
    background: #00C851;
}

.refresh-timer {
    color: #1DA1F2;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.refresh-button {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.refresh-button:hover {
    background: linear-gradient(135deg, #0d8bd9, #0a7bc4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-button.refreshing {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    animation: pulse 1s infinite;
}

.refresh-button.refreshing i {
    animation: spin 1s linear infinite;
}

/* Feeds Grid */
.feeds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feed-column {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.9));
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Feed Header */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.1), rgba(29, 161, 242, 0.05));
    border-bottom: 2px solid rgba(29, 161, 242, 0.2);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.account-details h3 {
    color: #1DA1F2;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.account-details p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.follower-count {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00C851;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00C851;
    animation: pulse-green 1.5s infinite;
}

/* Tweets Container */
.tweets-container {
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem 2rem 2rem;
}

.tweets-container::-webkit-scrollbar {
    width: 6px;
}

.tweets-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.tweets-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    border-radius: 3px;
}

/* Tweet Card */
.tweet-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #1DA1F2;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.tweet-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tweet-card.new-tweet {
    animation: slideInRight 0.5s ease-out;
    border-left-color: #00C851;
}

.tweet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tweet-author {
    color: #1DA1F2;
    font-weight: 600;
    font-size: 0.9rem;
}

.tweet-time {
    color: #b0b0b0;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.tweet-content {
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tweet-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag {
    color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hashtag:hover {
    background: rgba(29, 161, 242, 0.2);
    transform: scale(1.05);
}

.tweet-engagement {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #b0b0b0;
    font-size: 0.8rem;
}

.engagement-item i {
    color: #1DA1F2;
}

/* Feed Statistics */
.feed-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.9));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    font-size: 2rem;
    color: #1DA1F2;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Streaming Banner */
.streaming-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #1a1a2e, #16213e, #0f3460);
    color: #00ff88;
    overflow: hidden;
    z-index: 1000;
    border-top: 3px solid #00ff88;
    box-shadow: 0 -5px 20px rgba(0, 255, 136, 0.4);
    backdrop-filter: blur(10px);
}

.streaming-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scroll-left 60s linear infinite;
    font-size: 18px;
    font-weight: 600;
    padding-left: 25%;
}

.promo-item {
    margin-right: 120px;
    display: inline-flex;
    align-items: center;
}

.promo-site {
    color: #ffffff;
    font-weight: bold;
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.promo-code {
    background: linear-gradient(135deg, #00ff88, #00C851);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin: 0 6px;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.4);
}

.promo-discount {
    color: #ffd700;
    font-weight: bold;
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Animations */
@keyframes pulse-green {
    0% { box-shadow: 0 0 15px rgba(0, 200, 81, 0.7); }
    50% { box-shadow: 0 0 25px rgba(0, 200, 81, 1); }
    100% { box-shadow: 0 0 15px rgba(0, 200, 81, 0.7); }
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes green-glow-pulse {
    0% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 255, 136, 0.4),
            0 0 40px rgba(0, 255, 136, 0.2),
            0 0 60px rgba(0, 255, 136, 0.1),
            inset 0 0 20px rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.6);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(0, 255, 136, 0.6),
            0 0 60px rgba(0, 255, 136, 0.4),
            0 0 90px rgba(0, 255, 136, 0.2),
            inset 0 0 30px rgba(0, 255, 136, 0.2);
        border-color: rgba(0, 255, 136, 0.9);
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ad-container {
        display: none;
    }
    
    .page-navigation {
        padding: 0 1rem;
        overflow-x: auto;
    }
    
    .nav-link {
        white-space: nowrap;
        padding: 1rem;
    }
    
    .twitter-feed-content {
        padding: 1rem;
        margin: 1rem;
    }
    
    .header-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .header-title h1 {
        font-size: 2.2rem;
    }
    
    .feeds-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feed-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .streaming-banner {
        height: 50px;
    }
    
    .streaming-content {
        font-size: 16px;
        animation: scroll-left 45s linear infinite;
    }
    
    .promo-item {
        margin-right: 100px;
    }
}

@media (max-width: 480px) {
    .header-title h1 {
        font-size: 1.8rem;
    }
    
    .header-title p {
        font-size: 1rem;
    }
    
    .feed-header {
        padding: 1.5rem;
    }
    
    .account-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .tweets-container {
        padding: 1rem;
        max-height: 500px;
    }
    
    .tweet-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .streaming-banner {
        height: 45px;
    }
    
    .streaming-content {
        font-size: 14px;
        animation: scroll-left 35s linear infinite;
    }
    
    .promo-item {
        margin-right: 80px;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #1DA1F2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d8bd9, #0a7bc4);
}


/* Warning Message Styles */
.warning-banner {
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid #ff4500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    position: relative;
    z-index: 100;
    animation: pulse-warning 2s infinite;
}

.warning-banner .warning-icon {
    margin-right: 8px;
    font-size: 18px;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.5);
    }
}

/* Responsive warning banner */
@media (max-width: 768px) {
    .warning-banner {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .warning-banner {
        padding: 8px 12px;
        font-size: 13px;
    }
}

