/* ===== TRADING RULES SECTION ===== */
.trading-rules-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    overflow: hidden;
    z-index: 1;
}

.plasma-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 221, 235, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.trading-rules-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.trading-rules-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(0, 221, 235, 0.5);
}

.trading-rules-section h2 span {
    color: #00ddeb;
    text-shadow: 0 0 15px rgba(0, 221, 235, 0.8);
    display: block;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.rule-card {
    background: rgba(14, 14, 14, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 221, 235, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 221, 235, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}



.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 221, 235, 0.3);
    border-color: rgba(0, 221, 235, 0.4);
}

.rule-card h3 {
    font-size: 1.3rem;
    color: #00ddeb;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 221, 235, 0.5);
}

.rule-card p {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .trading-rules-section {
        padding: 70px 20px;
    }
    
    .rules-grid {
        gap: 20px;
    }
    
    .rule-card {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .trading-rules-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .rule-card h3 {
        font-size: 1.2rem;
    }
    
    .rule-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .trading-rules-section {
        padding: 60px 15px;
    }
    
    .trading-rules-section h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .trading-rules-section h2 span {
        display: inline;
    }
    
    .rules-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .rule-card {
        padding: 20px;
    }
    
    .rule-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .rule-card::before {
        background-size: 20px 20px;
    }
}

@media (max-width: 576px) {
    .trading-rules-section {
        padding: 50px 10px;
    }
    
    .trading-rules-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 12px;
    }
    
    .rule-card {
        padding: 18px 15px;
    }
    
    .rule-card h3 {
        font-size: 1rem;
    }
    
    .rule-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 400px) {
    .trading-rules-section h2 {
        font-size: 1.3rem;
    }
    
    .rule-card {
        padding: 15px 12px;
    }
    
    .rule-card h3 {
        font-size: 0.95rem;
    }
    
    .rule-card p {
        font-size: 0.85rem;
    }
}