/* ========================================
   TRADE MANAGER LANDING PAGE - CSS
   Modular Structure
   ======================================== */

/* Footer */

/* Footer */
.footer {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 255, 136, 0.02) 0%, transparent 70%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(0, 255, 136, 0.005) 40px,
            rgba(0, 255, 136, 0.005) 42px
        );
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-section .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-section .logo-image,
.footer-section .logo-svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.3));
}

.footer-section .logo-text {
    font-size: 1.25rem;
}

.footer-section .logo:hover .logo-image,
.footer-section .logo:hover .logo-svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
    transform: scale(1.05);
}

/* Keep footer logo icon fixed on mobile - no animations or transforms */
@media (max-width: 768px) {
    .footer-section .logo-image,
    .footer-section .logo-svg {
        animation: none !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
        position: static !important;
    }
    
    .footer-section .logo-image::before,
    .footer-section .logo-svg::before {
        display: none !important;
        opacity: 0 !important;
        animation: none !important;
        visibility: hidden !important;
    }
    
    .footer-section .logo:hover .logo-image,
    .footer-section .logo:hover .logo-svg {
        transform: none !important;
        animation: none !important;
    }
    
    /* Ensure logo container doesn't move on mobile */
    .footer-section .logo {
        transform: none !important;
        animation: none !important;
        perspective: none !important;
        transform-style: flat !important;
    }
    
    .footer-section .logo:hover {
        transform: none !important;
    }
}

.footer-text {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-social {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-social .footer-title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link svg {
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Discord - Purple/Blue */
.social-discord {
    background: #5865F2;
    color: #FFFFFF;
}

.social-discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

/* Twitter/X - Black */
.social-twitter {
    background: #000000;
    color: #FFFFFF;
}

.social-twitter:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* LinkedIn - Blue */
.social-linkedin {
    background: #0077B5;
    color: #FFFFFF;
}

.social-linkedin:hover {
    background: #005885;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

/* YouTube - Red */
.social-youtube {
    background: #FF0000;
    color: #FFFFFF;
}

.social-youtube:hover {
    background: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Instagram - Gradient */
.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFFFFF;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #e08529 0%, #d85a32 25%, #ce1f39 50%, #be1b5c 75%, #ae1478 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(188, 24, 136, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-secondary);
}

/* Blog Section */
.blog-section {
    padding: 6rem 0;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.02) 0%, transparent 30%),
                radial-gradient(circle at 50% 100%, rgba(0, 255, 136, 0.02) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

.blog-section .container {
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-post-card .post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.blog-post-card .internal-link {
    display: inline-block;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Section Responsive */