/* ==========================================
   MARCAS MOBILE
========================================== */

@media (max-width:768px) {
  
  /* Seção */
.marcas-section {
    margin: -30px 0 26px;
    position: relative;
    z-index: 10;

    background: linear-gradient(
        to bottom,
        rgba(18, 23, 40, 0.45) 0%,
        rgba(18, 23, 40, 0.85) 55%,
        rgba(18, 23, 40, 1) 100%
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 28px 28px 0 0;
    padding: 24px 16px 0;
}
  /* Título */
  
  .marcas-section h2 {
    
    margin: 0 0 14px;
    
    color: #fff;
    
    font-size: 1.35rem;
    
    font-weight: 700;
    
    letter-spacing: .3px;
    
  }
  
  /* Slider */
  
  .marcas-slider {
    
    position: relative;
    
    overflow: hidden;
    
    width: 100%;
    
  }
  
  /* Track */
  
  .marcas-track {
    
    display: flex;
    
    align-items: center;
    
    gap: 12px;
    
    width: max-content;
    
    will-change: transform;
    
    padding: 6px 0;
    
  }
  
  /* Cards */
  
  .marca-card {
    
    flex: 0 0 auto;
    
    width: 82px;
    
    height: 56px;
    
    display: flex;
    
    align-items: center;
    
    justify-content: center;
    
    border-radius: 16px;
    
    background: #161c2e;
    
    border: 1px solid rgba(255, 255, 255, .08);
    
  }
  .marca-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.10),
            transparent 45%
        );

    opacity:.8;

    pointer-events:none;

}
.marca-card::after {
  
  content: "";
  
  position: absolute;
  
  inset: 1px;
  
  border-radius: inherit;
  
  border: 1px solid rgba(255, 255, 255, .04);
  
  pointer-events: none;
  
}
  /* Logos */
  
  .marca-card svg {
    
    width: 34px;
    
    height: 34px;
    
    fill: currentColor;
    
  }
  
}

/* ==========================================
   IDENTIDADE DAS MARCAS
========================================== */

.marca-amd {
  --brand: #ED1C24;
  color: var(--brand);
}

.marca-intel {
  --brand: #0071C5;
  color: var(--brand);
}

.marca-nvidia {
  --brand: #76B900;
  color: var(--brand);
}

.marca-hyperx {
  --brand: #E31837;
  color: var(--brand);
}

.marca-redragon {
  --brand: #E11D2E;
  color: var(--brand);
}

.marca-rog {
  --brand: #E2233A;
  color: var(--brand);
}

.marca-corsair {
  --brand: #FFD100;
  color: var(--brand);
}

.marca-samsung {
  --brand: #0EA5FF;
  color: var(--brand);
}
.marca-card{

    flex:0 0 auto;

    width:82px;
    height:56px;

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    border-radius:16px;

    background:
        linear-gradient(
            180deg,
            rgba(32,40,63,.92),
            rgba(18,23,40,.96)
        );

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(16px);

    opacity:.72;

    transition:
        transform .35s ease,
        opacity .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}
.marca-card.play{
    overflow:hidden;
    opacity:1;

    transform:
        translateY(-5px)
        scale(1.05);

    border-color:
        color-mix(in srgb,var(--brand) 35%,white);

    box-shadow:

        0 0 12px
        color-mix(in srgb,var(--brand) 30%,transparent),

        0 0 28px
        color-mix(in srgb,var(--brand) 18%,transparent),

        0 12px 24px
        rgba(0,0,0,.35);

}

.marca-card.play::before{

    content:"";

    position:absolute;

    top:-30%;

    bottom:-30%;

    width:34%;

    left:-40%;

    background:linear-gradient(

        90deg,

        transparent,

        color-mix(in srgb,var(--brand) 30%,transparent),

        color-mix(in srgb,var(--brand) 95%,white),

        color-mix(in srgb,var(--brand) 30%,transparent),

        transparent

    );

    filter:blur(5px);

    animation:brandScan 1.2s ease;

}
.marca-card svg {
  
  width: 34px;
  height: 34px;
  
  fill: currentColor;
  
  transition:
    transform .35s ease,
    filter .35s ease;
  
}
.marca-card.play svg{

    transform:scale(1.08);

    filter:

        drop-shadow(
            0 0 8px
            color-mix(in srgb,var(--brand) 70%,white)
        )

        drop-shadow(
            0 0 18px
            var(--brand)
        );

}
@keyframes brandScan {
  
  from {
    
    left: -45%;
    opacity: 0;
    
  }
  
  20% {
    
    opacity: 1;
    
  }
  
  to {
    
    left: 115%;
    opacity: 0;
    
  }
  
}
