/* ============================================================
   SIMULATORS SECTION (Premium Dark Cards)
   ============================================================ */

.simulators-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* Light background to make dark cards pop */
}

.simulators-header {
    text-align: center;
    margin-bottom: 50px;
}

.simulators-header .section-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: -25px;
}

/* 3-Column Grid */
.simulators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Premium Card Design */
.simulator-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #111;
}

.simulator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.2);
}

/* Background Image */
.sim-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sim-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simulator-card:hover .sim-bg-image img {
    transform: scale(1.08);
}

/* Gradient Overlay for Text Readability */
.sim-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Card Content */
.sim-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    z-index: 2;
    color: #fff;
    transition: transform 0.4s ease;
}

.simulator-card:hover .sim-content {
    transform: translateY(-20px); /* Moves text up slightly on hover */
}

.sim-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sim-title {
    font-family: var(--font-secondary, 'Outfit', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.8;
}

.sim-networth {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

.sim-networth span {
    color: #10b981; /* Money Green */
    font-weight: 800;
    font-size: 16px;
}

/* Hover Action Button (Hidden by default) */
.sim-hover-action {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.simulator-card:hover .sim-hover-action {
    opacity: 1;
    transform: translateY(0);
}

.btn-play-sim {
    display: block;
    text-align: center;
    background: var(--brand-pink, #ff3366);
    color: #fff;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Button */
.sim-footer-action {
    margin-top: 50px;
    text-align: center;
}

.btn-view-all-games {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all-games:hover {
    background: var(--brand-pink, #ff3366);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .simulators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .simulator-card:nth-child(3) {
        display: none; /* Hide 3rd card on tablet to keep grid even */
    }
}

@media (max-width: 768px) {
    .simulators-section {
        padding: 60px 0;
    }
    .simulators-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .simulator-card:nth-child(3) {
        display: block; /* Show it back on mobile */
    }
    .simulator-card {
        height: 320px;
    }
    .sim-title {
        font-size: 20px;
    }
}