/* Trading Signals */
.trading-signals {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark-green) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.trading-signals::before {
    content: '🎯';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.signals-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.signal-stat {
    text-align: center;
}

.signal-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signal-stat .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.live-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.signal-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.signal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.signal-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.signal-type i {
    font-size: 16px;
}

.buy-signal .signal-type {
    color: #22c55e;
}

.sell-signal .signal-type {
    color: #ef4444;
}

.signal-strength {
    display: flex;
    align-items: center;
    gap: 8px;
}

.strength-label {
    font-size: 12px;
    font-weight: 600;
}

.strength-bars {
    display: flex;
    gap: 2px;
}

.bar {
    width: 4px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.bar.active {
    background: white;
}

.signal-content {
    margin-bottom: 20px;
}

.signal-asset {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.signal-asset img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.stock-icon-small {
    width: 32px;
    height: 32px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 10px;
}

.signal-asset h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.signal-price {
    font-size: 14px;
    opacity: 0.8;
}

.signal-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.signal-target, .signal-stop {
    flex: 1;
}

.signal-details .label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.signal-details .value {
    font-weight: 700;
    font-size: 14px;
}

.signal-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.8;
}

/* Awards Section Styles */
.awards {
    opacity: 1 !important;
    visibility: visible !important;
}

.awards-grid {
    display: grid !important;
}

.award-item {
    display: block !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .awards {
        padding: 60px 0 !important;
    }
    
    .awards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 20px;
    }
    
    .award-item {
        padding: 30px 20px !important;
    }
    
    .award-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    .award-icon i {
        font-size: 1.5rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .awards {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .award-item h4 {
        font-size: 1.1rem !important;
    }
}

/* Responsive Trading Dashboard Styles */
@media (max-width: 1200px) {
    .trading-dashboard {
        gap: 15px;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        font-size: 14px !important;
        padding: 8px 12px !important;
        white-space: nowrap;
    }
    
    .trading-view {
        flex: 1 1 60% !important;
    }
    
    .popular-assets {
        flex: 0 0 180px !important;
    }
    
    .popular-assets h3 {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .trading-dashboard {
        gap: 12px;
    }
    
    .filter-tabs {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        font-size: 13px !important;
        padding: 6px 10px !important;
        min-width: 70px;
    }
    
    .trading-view {
        flex: 1 1 70% !important;
    }
    
    .popular-assets {
        flex: 0 0 150px !important;
    }
    
    .view-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 13px !important;
    }
    
    .feed-header {
        font-size: 12px;
    }
    
    .feed-column {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) {
    .trading-dashboard {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .trading-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-tabs {
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        font-size: 12px !important;
        padding: 6px 8px !important;
        min-width: 60px;
        flex: none;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .view-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
    
    .trading-view {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
    
    .popular-assets {
        flex: 1 1 auto !important;
        width: 100% !important;
        margin-top: 15px;
    }
    
    .chart-container {
        flex-direction: column;
    }
    
    .chart-main {
        flex: 1 1 auto;
        margin-bottom: 15px;
    }
    
    .live-chat-panel {
        flex: 0 0 300px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .filter-tab {
        font-size: 11px !important;
        padding: 5px 6px !important;
        min-width: 50px;
    }
    
    .view-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 11px !important;
    }
    
    .trading-filters {
        padding: 10px;
    }
    
    .feed-header .feed-column {
        font-size: 10px;
        padding: 6px 4px;
    }
    
    .popular-assets h3 {
        font-size: 14px;
        text-align: center;
    }
}

/* Trading Signals Section - Tudor Style */
.trading-signals {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark-green) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.trading-signals::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-dark-green), transparent 50%);
    animation: rotate 30s linear infinite;
}

.trading-signals .container {
    position: relative;
    z-index: 2;
}

.trading-signals .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.trading-signals .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trading-signals .section-header p {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.signals-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.signals-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.signal-stat {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signal-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #09c372, #4ade80);
}

.signal-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(9, 195, 114, 0.15);
}

.signal-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #09c372;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.signal-stat .stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.signal-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.signal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.signal-card.buy-signal::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.signal-card.sell-signal::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.signal-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.signal-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-signal .signal-type {
    color: #10b981;
}

.sell-signal .signal-type {
    color: #ef4444;
}

.signal-type i {
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.buy-signal .signal-type i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.sell-signal .signal-type i {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.signal-strength {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strength-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.strength-bars {
    display: flex;
    gap: 3px;
    align-items: end;
}

.strength-bars .bar {
    width: 4px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bars .bar:nth-child(2) {
    height: 16px;
}

.strength-bars .bar:nth-child(3) {
    height: 20px;
}

.strength-bars .bar:nth-child(4) {
    height: 24px;
}

.strength-bars .bar:nth-child(5) {
    height: 28px;
}

.buy-signal .strength-bars .bar.active {
    background: linear-gradient(to top, #10b981, #34d399);
}

.sell-signal .strength-bars .bar.active {
    background: linear-gradient(to top, #ef4444, #f87171);
}

.signal-content {
    margin-bottom: 25px;
}

.signal-asset {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.signal-asset img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.stock-icon-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.signal-asset h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
}

.signal-price {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
}

.signal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.signal-target,
.signal-stop {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
}

.signal-target {
    border-left: 4px solid #10b981;
}

.signal-stop {
    border-left: 4px solid #ef4444;
}

.signal-details .label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.signal-details .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
}

.signal-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.signal-timer i {
    color: #09c372;
    font-size: 1rem;
}

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

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

.signal-card:hover .signal-type i {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trading-signals {
        padding: 60px 0;
    }

    .trading-signals .section-title {
        font-size: 2.2rem;
    }

    .signals-stats {
        gap: 20px;
    }

    .live-signals {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .signal-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .trading-signals {
        padding: 50px 0;
    }

    .trading-signals .section-title {
        font-size: 2rem;
    }

    .trading-signals .section-header {
        margin-bottom: 40px;
    }

    .signals-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 35px;
    }

    .signal-stat {
        padding: 25px 15px;
    }

    .signal-stat .stat-number {
        font-size: 2.2rem;
        color:#1a202c
    }

    .live-signals {
        gap: 20px;
    }

    .signal-card {
        padding: 20px;
        border-radius: 16px;
    }

    .signal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .signal-strength {
        align-self: flex-end;
    }

    .signal-asset {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .signal-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .trading-signals .section-title {
        font-size: 1.8rem;
    }

    .signal-stat .stat-number {
        font-size: 2rem;
    }

    .signal-card {
        padding: 18px;
    }

    .signal-asset {
        padding: 12px;
    }

    .signal-asset img,
    .stock-icon-small {
        width: 40px;
        height: 40px;
    }

    .signal-asset h4 {
        font-size: 1.1rem;
    }

    .signal-details .value {
        font-size: 1rem;
    }
}








/* Trading Academy */
.trading-academy {
    padding: 80px 0;
    background: var(--bg-light);
}

.academy-content {
    margin-bottom: 60px;
}

.learning-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.path-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.path-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.beginner .path-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.intermediate .path-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.advanced .path-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.path-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.beginner .path-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.intermediate .path-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.advanced .path-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.path-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.path-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.path-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.duration, .lessons {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-dark-green));
    border-radius: 4px;
    transition: width 1s ease;
}

.start-learning-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.start-learning-btn:hover {
    background: var(--primary-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 195, 114, 0.3);
}

.featured-courses h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(9, 195, 114, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    backdrop-filter: blur(4px);
}

.course-content {
    padding: 20px;
}

.course-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.course-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    font-weight: 600;
}

.students {
    font-size: 14px;
    color: var(--text-secondary);
}

/* News & Market Updates */
.market-news {
    padding: 80px 0;
    background: var(--bg-white);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breaking-news {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.breaking-badge i {
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.breaking-content {
    flex: 1;
}

.breaking-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.breaking-content p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.news-time {
    font-size: 12px;
    opacity: 0.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.news-category.crypto {
    background: var(--primary-green);
}

.news-category.stocks {
    background: var(--secondary-blue);
}

.news-category.forex {
    background: var(--warning-orange);
}

.news-category.commodities {
    background: #8b5cf6;
}

.news-content {
    padding: 20px;
}

.news-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-source {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12px;
}

.news-time {
    font-size: 12px;
    color: var(--text-light);
}




/* Community Hub */
.community-hub {
    padding: 0px 0px 80px 0px;
    background: var(--bg-light);
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.community-stats .stat-item {
    text-align: center;
}

.community-stats .stat-item i {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 16px;
}

.community-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.community-stats .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.discussion-topics h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.topic-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.topic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.topic-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.topic-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
}

.topic-stats {
    display: flex;
    gap: 16px;
}

.replies, .last-activity {
    font-size: 12px;
    color: var(--text-light);
}

.topic-trend {
    color: var(--primary-green);
    font-size: 20px;
}

.featured-traders h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.traders-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trader-spotlight {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.trader-spotlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.trader-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.trader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.trader-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.trader-details {
    text-align: center;
    margin-bottom: 16px;
}

.trader-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trader-details p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
}

.trader-metrics {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.trader-metrics .metric {
    font-size: 12px;
    color: var(--text-secondary);
}

.follow-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.follow-btn:hover {
    background: var(--primary-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 195, 114, 0.3);
}

/* Advanced Trading Tools Showcase */
.advanced-tools {
    padding: 80px 0;
    background: var(--bg-white);
}

.tools-showcase {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.demo-header {
    margin-bottom: 32px;
}

.tool-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 8px;
    width: fit-content;
    margin: 0 auto;
}

.tool-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-tab.active,
.tool-tab:hover {
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-content {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    min-height: 300px;
    transition: opacity 0.3s ease;
}

.tool-demo.loading .demo-content {
    opacity: 0.5;
}

.scanner-interface {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.scanner-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-white);
    font-size: 14px;
}

.scanner-results {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-light);
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: var(--bg-light);
}

.result-item .symbol {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 60px;
}

.result-item .price {
    font-weight: 600;
    color: var(--text-primary);
}

.result-item .change {
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.result-item .signal {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--success-green);
    color: white;
}

.tools-features {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.feature-highlight {
    text-align: center;
}

.feature-highlight .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 16px;
}

.feature-highlight h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-highlight p {
    color: var(--text-secondary);
    font-size: 14px;
}









/* Enhanced responsive design for new sections */
@media (max-width: 768px) {
    .market-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .trending-carousel {
        grid-template-columns: 1fr;
    }
    
    .sentiment-grid {
        grid-template-columns: 1fr;
    }
    
    .signals-stats {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .live-signals {
        grid-template-columns: 1fr;
    }
    
    .heatmap-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .leaderboard-list {
        gap: 16px;
    }
    
    .leader-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .performance-metrics {
        gap: 20px;
    }
    
    .analytics-cards {
        grid-template-columns: 1fr;
    }
    
    .performance-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .learning-paths {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .community-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scanner-interface {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tools-features {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .breaking-news {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .heatmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .performance-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .performance-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .result-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Fix Security Section Progress Bars */
.security-metrics .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.security-metrics .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

/* Phone Notifications Animation */
.phone-notifications {
    position: absolute;
    top: 60px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    background: rgba(9, 195, 114, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInNotification 0.5s ease forwards;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideInNotification {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification:nth-child(1) {
    animation-delay: 2s;
}

.notification:nth-child(2) {
    animation-delay: 2.5s;
    background: rgba(25, 113, 255, 0.95);
}

/* Tool Demo Interface Styles */
.backtester-interface,
.alerts-interface,
.portfolio-interface {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-light);
}

.backtester-interface h4,
.alerts-interface h4,
.portfolio-interface h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.backtester-interface p,
.alerts-interface p,
.portfolio-interface p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.backtest-results,
.optimization-results {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.result-metric,
.optimization-metric {
    flex: 1;
    min-width: 150px;
}

.result-metric .metric-label,
.optimization-metric .metric-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.result-metric .metric-value,
.optimization-metric .metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.alert-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
}

.alert-item i {
    color: var(--primary-green);
}

/* Live Trading Feed Animation */
@keyframes slideInFeed {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-item {
    animation: slideInFeed 0.5s ease;
}

/* Enhanced responsive design for charts */
@media (max-width: 768px) {
    .live-chart-container {
        height: 300px;
        padding: 16px;
    }
    
    .portfolio-chart,
    .allocation-chart {
        height: 150px;
    }
    
    .phone-notifications {
        position: static;
        margin-top: 20px;
        align-items: center;
    }
    
    .notification {
        animation: none;
        opacity: 1;
        transform: none;
        position: relative;
    }
}

/* Fix for missing canvas sizing */
canvas {
    max-width: 100%;
    height: auto;
}

#liveMarketChart {
    width: 100%;
    height: 350px;
}

#portfolioChart,
#allocationChart {
    width: 100%;
    height: 180px;
}

.mini-chart {
    width: 100%;
    height: 40px;
}

/* Performance chart containers */
.performance-chart canvas {
    width: 100% !important;
    height: 200px !important;
}

/* Enhanced button hover effects */
.start-learning-btn:hover {
    background: var(--primary-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 195, 114, 0.3);
}

.follow-btn:hover {
    background: var(--primary-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 195, 114, 0.3);
}

/* Enhanced Live Trading Activity */
.live-trading {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.live-trading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(9,195,114,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.live-trading .container {
    position: relative;
    z-index: 1;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #dc2626;
    margin-right: 16px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.activity-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.activity-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 140px;
}

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

.activity-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.activity-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trading-dashboard {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 60px;
}

/* Trading Filters */
.trading-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 6px;
}

.filter-tab {
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Trading Feed Container */
.trading-feed-container {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feed-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.2fr 1fr 0.8fr;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
    border-bottom: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.feed-column {
    display: flex;
    align-items: center;
}

/* Enhanced Feed Items */
.trading-feed {
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--bg-light);
}

.trading-feed::-webkit-scrollbar {
    width: 6px;
}

.trading-feed::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.trading-feed::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
}

.feed-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.2fr 1fr 0.8fr;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: slideInFromRight 0.8s ease;
    position: relative;
    overflow: hidden;
}

.feed-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.feed-item:hover {
    background: rgba(9, 195, 114, 0.02);
    transform: translateX(5px);
}

.feed-item:hover::before {
    background: var(--primary-green);
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trader Profile */
.trader-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trader-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.trader-avatar:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.trader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid var(--bg-white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.trader-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trader-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.trader-level {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Action Badge */
.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.action-badge.buy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.action-badge.sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.action-badge i {
    font-size: 10px;
}

/* Trade Asset */
.trade-asset {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.asset-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-icon, .forex-icon {
    background: linear-gradient(135deg, var(--secondary-blue), #1557cc);
    color: white;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    line-height: 1;
}

.forex-icon {
    font-size: 8px;
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asset-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.asset-symbol {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* Trade Amount */
.trade-amount {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

.amount-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.amount-size {
    font-size: 12px;
    color: var(--text-light);
}

/* Trade Result */
.trade-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

.result-value {
    font-weight: 700;
    font-size: 14px;
}

.result-percent {
    font-size: 12px;
    font-weight: 600;
}

.trade-result.profit .result-value,
.trade-result.profit .result-percent {
    color: var(--success-green);
}

.trade-result.loss .result-value,
.trade-result.loss .result-percent {
    color: var(--danger-red);
}

/* Trade Time */
.trade-time {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.time-value {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.time-progress {
    width: 100%;
    height: 2px;
    background: var(--bg-gray);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.time-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--primary-green), #22c55e);
    border-radius: 1px;
    animation: progressBar 5s ease-in-out infinite;
}

@keyframes progressBar {
    0%, 100% { width: 10%; }
    50% { width: 90%; }
}

/* Popular Assets Sidebar */
.popular-assets {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.popular-assets h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.asset-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-asset {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-asset:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.popular-asset .asset-icon {
    width: 32px;
    height: 32px;
}

.popular-asset .asset-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.popular-asset .asset-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.popular-asset .asset-trades {
    font-size: 12px;
    color: var(--text-light);
}

.popular-asset .asset-change {
    font-weight: 700;
    font-size: 14px;
}

.asset-change.positive {
    color: var(--success-green);
}

.asset-change.negative {
    color: var(--danger-red);
}

/* Activity Ticker */
.activity-ticker {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--text-primary), #1e293b);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 16px 0;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    color: white;
    font-weight: 500;
}

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

.ticker-item {
    margin-right: 60px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trading-dashboard {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .popular-assets {
        position: relative;
        top: 0;
    }
    
    .asset-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .activity-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .trading-filters {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .feed-header {
        display: none;
    }
    
    .feed-item {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .trader-profile,
    .trade-asset {
        justify-content: flex-start;
    }
    
    .trade-amount,
    .trade-result,
    .trade-time {
        text-align: left;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .asset-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .live-trading {
        padding: 60px 0;
    }
    
    .feed-item {
        padding: 16px;
    }
    
    .trader-avatar {
        width: 36px;
        height: 36px;
    }
    
    .asset-icon {
        width: 28px;
        height: 28px;
    }
    
    .popular-assets {
        padding: 20px;
    }
}

/* Mobile App Section */
.mobile-app {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.mobile-app::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 195, 114, 0.05), rgba(25, 113, 255, 0.05));
    border-radius: 50px 0 0 50px;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark-green));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(9, 195, 114, 0.3);
}

.app-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-feature:hover {
    background: rgba(9, 195, 114, 0.1);
    transform: translateX(5px);
}

.app-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.app-feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.app-downloads {
    display: flex;
    gap: 16px;
}

.app-store-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-store-btn img {
    height: 50px;
    width: auto;
}

.app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
 
}

.phone-screen {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-notifications {
    position: absolute;
    top: 60px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    background: rgba(9, 195, 114, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInNotification 0.5s ease forwards;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideInNotification {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification:nth-child(1) {
    animation-delay: 2s;
}

.notification:nth-child(2) {
    animation-delay: 2.5s;
    background: rgba(25, 113, 255, 0.95);
}

/* Responsive Design for Mobile App Section */
@media (max-width: 768px) {
    .app-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .app-text h2 {
        font-size: 2rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .app-downloads {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .phone-notifications {
        position: static;
        margin-top: 20px;
        align-items: center;
    }
    
    .notification {
        animation: none;
        opacity: 1;
        transform: none;
        position: relative;
    }
}

@media (max-width: 480px) {
    .app-text h2 {
        font-size: 1.75rem;
    }
    
    .app-text p {
        font-size: 1rem;
    }
    
    .app-downloads {
        flex-direction: column;
        align-items: center;
    }
}
