/* ===== MARKET-IDEAS.CSS - PIPSBULL FX ===== */
/* Specific styles for market ideas page */

/* Navigation - Mobile First */
.nav-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 5%;
    background: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(214, 0, 0, 0.1);
    margin-bottom: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-logo span {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-link {
    color: #b0b7c4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 100px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #d60000;
    background: rgba(214,0,0,0.1);
    border: 1px solid rgba(214,0,0,0.2);
}

/* Back to Home Button */
.back-home {
    margin: 0 0 20px;
}

.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d60000;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 16px;
    background: rgba(214,0,0,0.05);
    border-radius: 100px;
    width: fit-content;
}

/* TV Profile Badge */
.tv-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(214,0,0,0.05);
    border: 1px solid rgba(214,0,0,0.2);
    border-radius: 100px;
    margin-bottom: 25px;
}

.tv-badge i {
    color: #d60000;
    font-size: 18px;
}

.tv-badge .username {
    font-weight: 600;
    font-size: 14px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(214,0,0,0.1);
    border-radius: 100px;
    font-size: 11px;
    color: #ff6b6b;
}

.pulse {
    width: 6px;
    height: 6px;
    background: #d60000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Hero */
.hero {
    text-align: center;
    margin: 30px 0 40px;
}

.hero h1 {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h1 span {
    color: #d60000;
}

.hero p {
    color: #b0b7c4;
    font-size: clamp(14px, 4vw, 16px);
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.feed-source {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 16px;
    background: rgba(214,0,0,0.05);
    border: 1px solid rgba(214,0,0,0.2);
    border-radius: 100px;
    color: #d60000;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feed-source i {
    margin-right: 6px;
    color: #d60000;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 40px 0;
}

.stat-card {
    background: #0f1117;
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(214,0,0,0.15);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214,0,0,0.3);
    background: #141a26;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #d60000;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: #b0b7c4;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Section Header */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0 25px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #d60000;
    font-size: 22px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 700;
}

.last-update {
    color: #6e7a8a;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.03);
    padding: 8px 15px;
    border-radius: 100px;
    width: fit-content;
}

.last-update i {
    color: #d60000;
    font-size: 11px;
}

/* Ideas Grid */
.ideas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.idea-card {
    background: #0f1117;
    border-radius: 20px;
    border: 1px solid rgba(214,0,0,0.15);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.idea-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214,0,0,0.3);
    background: #141a26;
}

/* Image Container */
.idea-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(214,0,0,0.1);
}

.idea-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.idea-card:hover .idea-image {
    transform: scale(1.05);
}

/* Fallback Image */
.fallback-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #d60000;
}

.fallback-image i {
    font-size: 48px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(214,0,0,0.3));
}

.fallback-image span {
    font-size: 14px;
    font-weight: 600;
    color: #b0b7c4;
    background: rgba(214,0,0,0.1);
    padding: 5px 15px;
    border-radius: 100px;
    border: 1px solid rgba(214,0,0,0.2);
}

/* Content Area */
.idea-content {
    padding: 22px;
}

.rss-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #d60000;
    font-size: 11px;
    background: rgba(214,0,0,0.1);
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}

.idea-symbol {
    display: inline-block;
    background: rgba(214,0,0,0.1);
    padding: 6px 16px;
    border-radius: 100px;
    color: #d60000;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
    width: fit-content;
    border: 1px solid rgba(214,0,0,0.2);
}

.idea-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.idea-desc {
    color: #b0b7c4;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.idea-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.idea-stats {
    display: flex;
    gap: 15px;
    color: #8e9aaf;
    font-size: 12px;
    flex-wrap: wrap;
}

.idea-stats i {
    margin-right: 4px;
    color: #d60000;
}

.idea-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(214,0,0,0.1);
    border-radius: 100px;
    color: #d60000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(214,0,0,0.2);
    width: 100%;
}

.idea-link:hover {
    background: rgba(214,0,0,0.2);
    border-color: rgba(214,0,0,0.4);
    gap: 12px;
}

/* CTA Premium */
.cta-premium {
    background: #0f1117;
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    margin: 50px 0 30px;
    border: 1px solid rgba(214,0,0,0.2);
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #d60000, #b30000);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 100px;
    margin: 20px 0;
    width: 100%;
    max-width: 350px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-btn i {
    font-size: 14px;
}

.rss-subscribe {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.rss-subscribe a {
    color: #d60000;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(214,0,0,0.05);
    border: 1px solid rgba(214,0,0,0.2);
    border-radius: 100px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(214,0,0,0.1);
    color: #6e7a8a;
    font-size: 12px;
    margin-top: 40px;
}

.footer a {
    color: #d60000;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.footer-links a {
    font-size: 12px;
}

/* Sticky Mobile Navigation */
.sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 99;
    background: rgba(11,11,11,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(214,0,0,0.1);
    padding: 8px;
    gap: 8px;
}

.sticky-nav a {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sticky-nav .home-btn {
    background: rgba(214,0,0,0.8);
}

.sticky-nav .nav-btn {
    background: rgba(0,0,0,0.5);
}

/* Responsive */
@media (min-width: 600px) {
    .nav-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-logo {
        justify-content: flex-start;
    }
    
    .nav-links {
        justify-content: flex-end;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .ideas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .idea-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .idea-link {
        width: auto;
    }
    
    .rss-subscribe {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 900px) {
    .container {
        padding: 40px 30px;
    }
    
    .ideas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .idea-image-container {
        height: 180px;
    }
    
    .idea-content {
        padding: 25px;
    }
    
    .idea-title {
        font-size: 20px;
    }
    
    .cta-premium {
        padding: 60px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}