/* ============================================
   STAGE 4: HOLOGRAPHIC GRID
   ============================================ */

.btrade-holo {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 60px 40px 40px;   /* ← احذف الاتنين السطرين القدام واكتب السطر ده */
    background: linear-gradient(180deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    perspective: 1000px;
}

.holo-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.holo-header {
    text-align: center;
    margin-bottom: 60px;
}

.holo-title {
    font-family: "Poppins", "Cairo", sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #2196F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.holo-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    color: #8b949e;
}

/* Holographic Grid */
.holo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
    position: relative;
}

/* Cards */
.holo-card {
    position: relative;
    border-radius: 20px;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(48, 54, 61, 0.8);
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.holo-card.large {
    grid-column: span 1;
    grid-row: span 1;
}

.holo-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: rgba(33, 150, 243, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(33, 150, 243, 0.2),
        0 0 60px rgba(33, 150, 243, 0.15);
}

.holo-card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Icon */
.holo-icon {
    width: 56px;
    height: 56px;
    color: #2196F3;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.holo-card:hover .holo-icon {
    color: #00BCD4;
    transform: scale(1.1);
}

.holo-icon svg {
    width: 100%;
    height: 100%;
}

/* Title */
.holo-card-title {
    font-family: "Poppins", "Cairo", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

/* Description */
.holo-card-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #8b949e;
    line-height: 1.6;
    flex-grow: 1;
}

/* Stats */
.holo-stats {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(48, 54, 61, 0.5);
}

.holo-stat {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #2196F3, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.holo-stat-label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glow Effect */
.holo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.holo-card:hover .holo-glow {
    opacity: 1;
}

/* Background Grid */
.holo-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(33, 150, 243, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Animation */
.holo-card:nth-child(1) { animation: float 6s ease-in-out infinite; }
.holo-card:nth-child(2) { animation: float 6s ease-in-out infinite 0.5s; }
.holo-card:nth-child(3) { animation: float 6s ease-in-out infinite 1s; }
.holo-card:nth-child(4) { animation: float 6s ease-in-out infinite 1.5s; }
.holo-card:nth-child(5) { animation: float 6s ease-in-out infinite 2s; }
.holo-card:nth-child(6) { animation: float 6s ease-in-out infinite 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.holo-card:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
    .holo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .holo-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .btrade-holo {
        padding: 60px 20px;
    }
    
    .holo-title {
        font-size: 36px;
    }
    
    .holo-grid {
        grid-template-columns: 1fr;
    }
    
    .holo-card.large {
        grid-column: span 1;
    }
    
    .holo-card {
        min-height: 240px;
    }
}