/* ── Pure Nile Testimonials — Frontend ── */

.pnt-section {
    --pnt-accent: #d4a35a;
    --pnt-bg: #0d1117;
    --pnt-text: #f0e8d8;
    --pnt-muted: #8a8070;
    --pnt-card-bg: #141922;
    --pnt-card-border: rgba(212,163,90,.18);

    background: var(--pnt-bg);
    border-radius: 16px;
    padding: 56px 40px 44px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.pnt-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,163,90,.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.pnt-header {
    text-align: center;
    margin-bottom: 44px;
}
.pnt-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    color: var(--pnt-text);
    letter-spacing: -.02em;
    margin: 0 0 8px;
}
.pnt-subtitle {
    font-size: 15px;
    color: var(--pnt-muted);
    margin: 0;
    line-height: 1.6;
}
.pnt-accent-line {
    width: 40px;
    height: 2px;
    background: var(--pnt-accent);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Main layout */
.pnt-main {
    display: flex;
    gap: 28px;
    align-items: stretch;
}

/* Image */
.pnt-image-wrap {
    width: 240px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    background: #1a2233;
}
.pnt-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pnt-image-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13,17,23,.75);
    border: 0.5px solid rgba(212,163,90,.4);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--pnt-accent);
    white-space: nowrap;
}

/* Card */
.pnt-card {
    flex: 1;
    background: var(--pnt-card-bg);
    border: 0.5px solid var(--pnt-card-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pnt-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 0.5px solid rgba(255,255,255,.06);
}
.pnt-review-count {
    font-size: 13px;
    color: var(--pnt-muted);
}
.pnt-rating {
    font-size: 22px;
    font-weight: 600;
    color: var(--pnt-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pnt-stars {
    color: var(--pnt-accent);
    font-size: 14px;
    letter-spacing: 2px;
}

/* Slider */
.pnt-slider {
    position: relative;
    margin-bottom: 20px;
}

.pnt-slide {
    display: none;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}
.pnt-slide.pnt-active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.pnt-slide.pnt-leaving {
    display: flex;
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}

.pnt-quote-icon img {
    width: 32px;
    height: auto;
    opacity: .6;
}
.pnt-slide-text {
    font-size: 15px;
    line-height: 1.8;
    color: #c8bfb0;
    font-style: italic;
    margin: 0;
}
.pnt-author {
    margin-top: 8px;
}
.pnt-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pnt-text);
}
.pnt-author-meta {
    font-size: 12px;
    color: var(--pnt-muted);
    margin-top: 3px;
}

/* Nav */
.pnt-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 0.5px solid rgba(255,255,255,.06);
}
.pnt-prev,
.pnt-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0.5px solid var(--pnt-card-border);
    background: rgba(212,163,90,.07);
    color: var(--pnt-accent);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    line-height: 1;
    padding: 0;
}
.pnt-prev:hover,
.pnt-next:hover {
    background: rgba(212,163,90,.18);
    border-color: rgba(212,163,90,.5);
}
.pnt-dots {
    display: flex;
    gap: 6px;
    margin: 0 6px;
    flex: 1;
}
.pnt-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212,163,90,.2);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.pnt-dot.pnt-dot-active {
    background: var(--pnt-accent);
    transform: scale(1.3);
}

/* Platform badges */
.pnt-badges {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.pnt-badge {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,.04);
    border: 0.5px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.pnt-badge:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(212,163,90,.25);
}
.pnt-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pnt-ta-icon  { background: rgba(52,183,130,.12); }
.pnt-gg-icon  { background: rgba(66,133,244,.08); }

.pnt-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pnt-badge-label {
    font-size: 12px;
    color: var(--pnt-muted);
}
.pnt-badge-score {
    font-size: 15px;
    font-weight: 600;
    color: var(--pnt-text);
}
.pnt-badge-stars {
    color: var(--pnt-accent);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 768px) {
    .pnt-section { padding: 36px 20px 32px; }
    .pnt-main { flex-direction: column; }
    .pnt-image-wrap { width: 100%; min-height: 200px; }
    .pnt-card { padding: 20px; }
    .pnt-badges { flex-direction: column; }
    .pnt-badge { min-width: unset; }
}
