/* =============================================================
   SEKCJA: DLACZEGO MY (dark)
============================================================= */
.jgm-why {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Delikatne "poświaty" w tle – nowoczesny akcent */
.jgm-why::before,
.jgm-why::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .12;
    pointer-events: none;
    z-index: 0;
}

.jgm-why::before {
    background: var(--accent);
    top: -150px;
    left: -150px;
}

.jgm-why::after {
    background: var(--accent-dark);
    bottom: -150px;
    right: -150px;
}

.jgm-why > .jgm-container {
    position: relative;
    z-index: 1;
}

/* --- NAGŁÓWEK (jasne warianty) --- */
.jgm-section-tag--light {
    background: rgba(212, 168, 67, .2) !important;
    color: var(--accent) !important;
}

.jgm-section-title--light {
    color: #fff !important;
}

.jgm-section-subtitle--light {
    color: rgba(255, 255, 255, .65) !important;
}

/* --- GRID --- */
.jgm-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- KARTA --- */
.jgm-why-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.jgm-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 168, 67, .08), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.jgm-why-card:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-4px);
    border-color: rgba(212, 168, 67, .4);
}

.jgm-why-card:hover::before {
    opacity: 1;
}

/* --- IKONA --- */
.jgm-why-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 168, 67, .12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition), background var(--transition);
    position: relative;
    z-index: 1;
}

.jgm-why-card:hover .jgm-why-icon {
    background: rgba(212, 168, 67, .2);
    transform: scale(1.08) rotate(-4deg);
}

.jgm-why-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- TREŚĆ --- */
.jgm-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 .6rem 0;
    position: relative;
    z-index: 1;
}

.jgm-why-card p {
    font-size: .87rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 900px) {
    .jgm-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jgm-why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jgm-why-card {
        padding: 1.75rem 1.25rem;
    }

    .jgm-why::before,
    .jgm-why::after {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .jgm-why-card,
    .jgm-why-icon {
        transition: none !important;
    }
}