.opinions-section {
    width: 100%;
    padding: 90px 0 110px;
    font-family: "DM Sans", sans-serif;
    color: #f9fafb;
}

.opinions-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.opinions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}

.opinions-title {
    font-size: 64px;
    line-height: 1.15;
    font-weight: 600;
}

.opinions-nav {
    display: flex;
    gap: 10px;
}

.opinions-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(72, 74, 77, 1);
    background: rgba(62, 64, 67, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 16px;
    transition: 0.18s ease;
}

.opinions-nav-btn:hover {
    background: rgba(31,41,55,0.95);
}

.opinions-nav-btn.disabled,
.opinions-nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
    background: rgba(15,23,42,0.7);
}

.opinions-row {
    overflow: hidden;
    position: relative;
}

.opinions-track {
    display: flex;
    gap: 24px;
    transition: transform 0.35s ease;
    will-change: transform;
    padding-bottom: 1.2px;
}

.op-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: rgba(23, 23, 25, 0.5);
    border-radius: 25px;
    border: 1px solid rgba(39, 40, 41, 1);
    padding: 24px 22px 30px;
    position: relative;
    color: #e5e7eb;
}

.op-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.op-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
}

.op-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.op-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.op-name {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
}

.op-role {
    font-size: 14px;
    font-weight: 500;
    color: rgba(137, 137, 137, 1);
}

.op-text {
    font-size: 16px;
    line-height: 1.3;
    color: rgba(142, 142, 143, 1);
    margin-bottom: 50px;
    font-weight: 500;
}

/* ===== NEON POD OCENĄ – WERSJA ZBLIŻONA DO MOCKUPU ===== */

.op-rating-wrap {
    position: absolute;
    left: 32px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
}

/* miękka, dość wąska poświata dokładnie pod przyciskiem */
.op-rating-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;               /* delikatnie pod przyciskiem */
    width: 170px;                /* trochę szersza od guzika */
    height: 70px;
    background: radial-gradient(
        circle,
        rgba(251,191,36,0.95) 0%,
        rgba(251,191,36,0.7) 25%,
        transparent 70%
    );
    filter: blur(14px);          /* miękkie krawędzie */
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

/* sam przycisk z oceną */
.op-rating-pill {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    background: rgba(255, 157, 0, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(251,191,36,0.35);
}

.op-rating-pill::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; 

  background: conic-gradient(
    from 0deg,
    rgba(64,64,64,0.5),
    rgba(64,64,64,0.35),
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.5),
    rgba(64,64,64,0.35),
    rgba(249,249,249,1),
    rgba(255,255,255,0.5),
    rgba(249,249,249,0.5),
    rgba(64,64,64,0.35)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}

.op-star {
    color: #fbbf24;
    font-size: 17px;
}

.op-star svg {
    display: flex;
    justify-content: center;
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 1100px) {
    .op-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .opinions-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .opinions-section {
        padding: 70px 0 80px;
    }

    .opinions-inner {
        padding: 0 16px;
    }

    .opinions-header {
        flex-direction: column;
        align-items: flex-end;
        gap: 16px;
    }

    .opinions-title {
        font-size: 30px;
    }

    .op-card {
        flex: 0 0 100%;
    }

    .op-rating-wrap {
        left: 26px;
        bottom: 24px;
    }

    .op-rating-wrap::before {
        bottom: -14px;
        width: 150px;
        height: 60px;
        filter: blur(12px);
    }
}
