/**
 * 🎮 Gamified Single Product Page — Premium Dark Theme CSS
 * صفحة المنتج المُلعبة — نمط Indigo Deep
 *
 * Design System:
 *   Background: #0a0e1a (deepest) / #131325 (elevated)
 *   Primary:    #58cc02 (Duolingo Green)
 *   Accent:     #667eea (Indigo) / #764ba2 (Purple)
 *   Fire:       #ff6b35 (urgency badges)
 *   Text:       #f8fafc (primary) / #94a3b8 (secondary)
 *   Font:       Cairo (Arabic-first)
 *
 * @version 2.0.0
 */

/* ═══════════════════════════════════════════ */
/* ROOT VARIABLES                             */
/* ═══════════════════════════════════════════ */
:root {
    --gsp-bg-deepest: #0a0e1a;
    --gsp-bg-elevated: #131325;
    --gsp-bg-card: #1a1a3e;
    --gsp-bg-glass: rgba(255, 255, 255, 0.04);
    --gsp-primary: #58cc02;
    --gsp-primary-dark: #46a302;
    --gsp-primary-glow: rgba(88, 204, 2, 0.25);
    --gsp-accent: #667eea;
    --gsp-accent-purple: #764ba2;
    --gsp-fire: #ff6b35;
    --gsp-gold: #fbbf24;
    --gsp-text-primary: #f8fafc;
    --gsp-text-secondary: #94a3b8;
    --gsp-text-muted: #64748b;
    --gsp-border: rgba(255, 255, 255, 0.08);
    --gsp-border-glow: rgba(88, 204, 2, 0.15);
    --gsp-radius-sm: 8px;
    --gsp-radius-md: 12px;
    --gsp-radius-lg: 16px;
    --gsp-radius-xl: 24px;
    --gsp-radius-full: 50px;
    --gsp-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --gsp-shadow-glow: 0 0 30px rgba(88, 204, 2, 0.15);
    --gsp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gsp-font: 'Cairo', -apple-system, sans-serif;
}

/* ═══════════════════════════════════════════ */
/* PAGE BASE                                  */
/* ═══════════════════════════════════════════ */
.gsp-page {
    background: var(--gsp-bg-deepest);
    color: var(--gsp-text-primary);
    font-family: var(--gsp-font);
    direction: rtl;
    min-height: 100vh;
    padding-bottom: 100px;
}

.gsp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gsp-section {
    margin-bottom: 48px;
}

.gsp-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gsp-text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gsp-title-icon {
    font-size: 1.3rem;
}

.gsp-section-subtitle {
    color: var(--gsp-text-secondary);
    font-size: 0.95rem;
    margin-top: -16px;
    margin-bottom: 24px;
}

.gsp-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gsp-border), transparent);
    margin: 20px 0;
}

/* ═══════════════════════════════════════════ */
/* BREADCRUMB                                 */
/* ═══════════════════════════════════════════ */
.gsp-breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--gsp-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gsp-breadcrumb a {
    color: var(--gsp-text-secondary);
    text-decoration: none;
    transition: color var(--gsp-transition);
}

.gsp-breadcrumb a:hover {
    color: var(--gsp-primary);
}

.gsp-breadcrumb-sep {
    color: var(--gsp-text-muted);
}

.gsp-breadcrumb-current {
    color: var(--gsp-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════ */
/* HERO SPLIT                                 */
/* ═══════════════════════════════════════════ */
.gsp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
}

/* Media Column */
.gsp-hero-media {
    position: sticky;
    top: 80px;
}

.gsp-gallery {
    background: var(--gsp-bg-elevated);
    border-radius: var(--gsp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gsp-border);
}

.gsp-gallery-main {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gsp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gsp-gallery-main:hover .gsp-main-img {
    transform: scale(1.05);
}

.gsp-gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
}

.gsp-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: var(--gsp-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--gsp-transition);
    opacity: 0.6;
}

.gsp-thumb.active,
.gsp-thumb:hover {
    border-color: var(--gsp-primary);
    opacity: 1;
}

.gsp-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gsp-gallery-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gsp-bg-elevated);
    color: var(--gsp-text-muted);
    font-size: 4rem;
    border-radius: var(--gsp-radius-lg);
}

/* Trainer Card */
.gsp-trainer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gsp-bg-elevated);
    padding: 16px;
    border-radius: var(--gsp-radius-md);
    margin-top: 16px;
    border: 1px solid var(--gsp-border);
}

.gsp-trainer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gsp-primary);
    object-fit: cover;
}

.gsp-trainer-name {
    color: var(--gsp-text-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.gsp-trainer-name:hover {
    color: var(--gsp-primary);
}

.gsp-trainer-stats {
    display: flex;
    gap: 16px;
    color: var(--gsp-text-secondary);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Transformations */
.gsp-transformations {
    margin-top: 16px;
}

.gsp-section-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gsp-text-secondary);
    margin-bottom: 12px;
}

.gsp-transform-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gsp-transform-card {
    flex: 0 0 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: var(--gsp-radius-md);
    overflow: hidden;
    border: 1px solid var(--gsp-border);
}

.gsp-transform-before,
.gsp-transform-after {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.gsp-transform-before img,
.gsp-transform-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gsp-transform-label {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════ */
/* BUY BOX                                    */
/* ═══════════════════════════════════════════ */
.gsp-hero-buybox {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-xl);
    padding: 32px;
    box-shadow: var(--gsp-shadow-card);
    position: relative;
}

.gsp-product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gsp-gold), #f59e0b);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: var(--gsp-radius-full);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gsp-product-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gsp-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(88, 204, 2, 0.1);
}

.gsp-product-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.gsp-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.gsp-rating-num {
    color: var(--gsp-gold);
    font-weight: 700;
}

.gsp-rating-count {
    color: var(--gsp-text-muted);
}

.gsp-fire-badge {
    background: rgba(255, 107, 53, 0.15);
    color: var(--gsp-fire);
    padding: 4px 12px;
    border-radius: var(--gsp-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    animation: gspPulse 2s ease-in-out infinite;
}

@keyframes gspPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Pills */
.gsp-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.gsp-pill {
    background: var(--gsp-bg-glass);
    border: 1px solid var(--gsp-border);
    color: var(--gsp-text-secondary);
    padding: 6px 14px;
    border-radius: var(--gsp-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.gsp-pill-goal { border-color: rgba(88, 204, 2, 0.2); color: var(--gsp-primary); }
.gsp-pill-duration { border-color: rgba(102, 126, 234, 0.2); color: var(--gsp-accent); }

.gsp-short-desc {
    color: var(--gsp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Price */
.gsp-price-section {
    margin-bottom: 16px;
}

.gsp-price-label {
    font-size: 0.85rem;
    color: var(--gsp-text-muted);
    margin-bottom: 4px;
}

.gsp-price-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gsp-primary);
}

.gsp-price-value del {
    color: var(--gsp-text-muted);
    font-size: 1rem;
    font-weight: 400;
}

/* ═══════════════════════════════════════════ */
/* POINTS SLIDER                              */
/* ═══════════════════════════════════════════ */
.gsp-points-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--gsp-radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.gsp-points-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.gsp-points-icon {
    font-size: 1.3rem;
}

.gsp-points-slider-wrap {
    margin-bottom: 10px;
}

.gsp-points-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    direction: ltr;
}

.gsp-points-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gsp-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.5);
    transition: transform 0.2s;
}

.gsp-points-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.gsp-points-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--gsp-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.5);
}

.gsp-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gsp-text-muted);
    margin-top: 6px;
}

.gsp-slider-labels span:nth-child(2) {
    color: var(--gsp-accent);
    font-weight: 700;
}

.gsp-points-discount {
    text-align: center;
    color: var(--gsp-accent);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════ */
/* GUEST TRAP — Premium Lead Magnet           */
/* ═══════════════════════════════════════════ */
.gsp-guest-trap {
    position: relative;
    border-radius: var(--gsp-radius-md);
    margin-bottom: 20px;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--gsp-bg-elevated), var(--gsp-bg-elevated)),
                      linear-gradient(135deg, var(--gsp-primary), var(--gsp-accent), var(--gsp-accent-purple), var(--gsp-primary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: gspBorderGlow 4s linear infinite;
}

@keyframes gspBorderGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.gsp-guest-blur-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    filter: blur(6px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.gsp-guest-fake-slider {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.gsp-guest-fake-bar {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, var(--gsp-accent), var(--gsp-accent-purple));
    border-radius: 10px;
}

.gsp-guest-cta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px;
}

.gsp-guest-sparkle {
    font-size: 2.2rem;
    margin-bottom: 8px;
    animation: gspSparkle 2s ease-in-out infinite;
}

@keyframes gspSparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
}

.gsp-guest-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gsp-text-primary);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.gsp-guest-rewards {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.gsp-guest-reward-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(88, 204, 2, 0.06);
    border: 1px solid rgba(88, 204, 2, 0.15);
    border-radius: var(--gsp-radius-md);
    padding: 12px 22px;
    min-width: 100px;
    transition: all 0.25s ease;
}

.gsp-guest-reward-card:hover {
    background: rgba(88, 204, 2, 0.1);
    border-color: rgba(88, 204, 2, 0.3);
    transform: translateY(-2px);
}

.gsp-guest-reward-icon {
    font-size: 1.4rem;
}

.gsp-guest-reward-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--gsp-primary);
    line-height: 1.2;
}

.gsp-guest-reward-label {
    font-size: 0.7rem;
    color: var(--gsp-text-muted);
    font-weight: 600;
}

.gsp-btn-guest-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gsp-accent), var(--gsp-accent-purple));
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: var(--gsp-radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    font-family: var(--gsp-font);
}

.gsp-btn-guest-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.45);
    color: #fff;
}

.gsp-btn-guest-cta:active {
    transform: translateY(0);
}

.gsp-guest-subtext {
    font-size: 0.72rem;
    color: var(--gsp-text-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

/* ── Gallery main image — premium crossfade transition ── */
.gsp-main-img {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.gsp-main-img.gsp-img-fading {
    opacity: 0;
    transform: scale(0.97);
}

/* ═══════════════════════════════════════════ */
/* BUTTONS                                    */
/* ═══════════════════════════════════════════ */
.gsp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--gsp-radius-full);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--gsp-font);
    width: 100%;
    text-decoration: none;
}

.gsp-btn-primary {
    background: var(--gsp-primary);
    color: #fff;
}

.gsp-btn-3d {
    box-shadow:
        0 5px 0 var(--gsp-primary-dark),
        0 6px 16px var(--gsp-primary-glow);
    position: relative;
    top: 0;
}

.gsp-btn-3d:active {
    top: 4px;
    box-shadow:
        0 1px 0 var(--gsp-primary-dark),
        0 2px 8px var(--gsp-primary-glow);
}

.gsp-btn-disabled {
    background: var(--gsp-text-muted) !important;
    box-shadow: 0 5px 0 #475569, 0 6px 16px rgba(0,0,0,0.2) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.gsp-btn-enabled {
    background: var(--gsp-primary) !important;
    box-shadow: 0 5px 0 var(--gsp-primary-dark), 0 6px 16px var(--gsp-primary-glow), 0 0 40px var(--gsp-primary-glow) !important;
    opacity: 1 !important;
    cursor: pointer !important;
    animation: gspGlow 1.5s ease-in-out infinite alternate;
}

@keyframes gspGlow {
    from { box-shadow: 0 5px 0 var(--gsp-primary-dark), 0 6px 16px var(--gsp-primary-glow); }
    to { box-shadow: 0 5px 0 var(--gsp-primary-dark), 0 6px 16px var(--gsp-primary-glow), 0 0 50px var(--gsp-primary-glow); }
}

.gsp-btn-secondary {
    background: var(--gsp-accent);
    color: #fff;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.gsp-btn-secondary:hover {
    background: #7c8ef5;
}

.gsp-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.gsp-btn.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gspSpin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes gspSpin {
    to { transform: rotate(360deg); }
}

.gsp-cta-wrap {
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════ */
/* PLEDGE / MICRO-COMMITMENT                  */
/* ═══════════════════════════════════════════ */
.gsp-pledge {
    background: var(--gsp-bg-glass);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.gsp-pledge-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.gsp-pledge-checkbox input {
    display: none;
}

.gsp-pledge-mark {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--gsp-text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--gsp-transition);
    margin-top: 2px;
}

.gsp-pledge-checkbox input:checked + .gsp-pledge-mark {
    background: var(--gsp-primary);
    border-color: var(--gsp-primary);
    box-shadow: 0 0 12px var(--gsp-primary-glow);
}

.gsp-pledge-checkbox input:checked + .gsp-pledge-mark::after {
    content: '✓';
    color: #fff;
    font-weight: 900;
    font-size: 14px;
}

.gsp-pledge-text {
    color: var(--gsp-text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Welcome Rewards */
.gsp-welcome-rewards {
    text-align: center;
    padding-top: 8px;
}

.gsp-welcome-label {
    font-size: 0.8rem;
    color: var(--gsp-text-muted);
}

.gsp-welcome-items {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.gsp-reward-chip {
    background: var(--gsp-bg-glass);
    border: 1px solid var(--gsp-border);
    color: var(--gsp-gold);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--gsp-radius-full);
}

/* ═══════════════════════════════════════════ */
/* RESULT PREDICTOR                           */
/* ═══════════════════════════════════════════ */
.gsp-predictor {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-xl);
    padding: 32px;
}

.gsp-predictor-controls {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
}

.gsp-predictor-input {
    flex: 0 0 180px;
}

.gsp-predictor-input label {
    display: block;
    font-size: 0.8rem;
    color: var(--gsp-text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.gsp-predictor-input input {
    width: 100%;
    padding: 12px 16px;
    background: var(--gsp-bg-card);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-md);
    color: var(--gsp-text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--gsp-font);
    transition: border-color var(--gsp-transition);
}

.gsp-predictor-input input:focus {
    outline: none;
    border-color: var(--gsp-primary);
    box-shadow: 0 0 0 3px var(--gsp-primary-glow);
}

.gsp-predictor-arrow {
    color: var(--gsp-primary);
    font-size: 1.5rem;
    padding-bottom: 12px;
}

.gsp-predictor-result {
    background: var(--gsp-bg-card);
    border-radius: var(--gsp-radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 12px;
}

.gsp-predictor-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gsp-text-secondary);
}

.gsp-predictor-text strong {
    color: var(--gsp-primary);
    font-weight: 800;
}

.gsp-predictor-text .gsp-predictor-date {
    font-size: 1.4rem;
    color: var(--gsp-gold);
    font-weight: 900;
    display: block;
    margin-top: 8px;
}

.gsp-predictor-chart {
    height: 120px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    justify-content: center;
}

.gsp-chart-bar {
    width: 8px;
    background: linear-gradient(to top, var(--gsp-accent), var(--gsp-primary));
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
    min-height: 4px;
}

.gsp-predictor-disclaimer {
    text-align: center;
    color: var(--gsp-text-muted);
    font-size: 0.75rem;
}

.gsp-predictor-health-warning {
    color: var(--gsp-fire);
    font-weight: 600;
}

/* ═══════════════════════════════════════════ */
/* UNLOCKABLES MATRIX                         */
/* ═══════════════════════════════════════════ */
.gsp-unlock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gsp-unlock-card {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--gsp-transition);
}

.gsp-unlock-card:hover {
    border-color: var(--gsp-primary);
    transform: translateY(-4px);
    box-shadow: var(--gsp-shadow-glow);
}

.gsp-unlock-lock {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1rem;
    opacity: 0.5;
    transition: all var(--gsp-transition);
}

.gsp-unlock-card:hover .gsp-unlock-lock {
    content: '🔓';
    opacity: 1;
}

.gsp-unlock-card:hover .gsp-unlock-lock::after {
    content: '🔓';
}

.gsp-unlock-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.gsp-unlock-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gsp-text-primary);
    margin-bottom: 6px;
}

.gsp-unlock-desc {
    font-size: 0.8rem;
    color: var(--gsp-text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════ */
/* JOURNEY TIMELINE                           */
/* ═══════════════════════════════════════════ */
.gsp-journey {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-xl);
    padding: 32px;
}

.gsp-journey-track {
    position: relative;
    padding-right: 40px;
}

.gsp-journey-track::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gsp-accent), var(--gsp-primary));
    border-radius: 10px;
}

.gsp-journey-node {
    position: relative;
    padding-bottom: 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gsp-journey-node:last-child {
    padding-bottom: 0;
}

.gsp-journey-dot {
    position: absolute;
    right: -40px;
    width: 32px;
    height: 32px;
    background: var(--gsp-bg-card);
    border: 3px solid var(--gsp-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gsp-journey-final .gsp-journey-dot {
    border-color: var(--gsp-primary);
    box-shadow: 0 0 15px var(--gsp-primary-glow);
}

.gsp-journey-icon {
    font-size: 0.9rem;
}

.gsp-journey-content {
    padding-top: 4px;
}

.gsp-journey-period {
    font-size: 0.8rem;
    color: var(--gsp-accent);
    font-weight: 700;
    margin-bottom: 4px;
}

.gsp-journey-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gsp-text-primary);
    margin-bottom: 4px;
}

.gsp-journey-xp {
    color: var(--gsp-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.gsp-journey-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--gsp-gold);
    padding: 4px 12px;
    border-radius: var(--gsp-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
}

/* ═══════════════════════════════════════════ */
/* COMMITMENT CHALLENGE                       */
/* ═══════════════════════════════════════════ */
.gsp-challenge-card {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.15), rgba(102, 126, 234, 0.1));
    border: 1px solid rgba(118, 75, 162, 0.25);
    border-radius: var(--gsp-radius-xl);
    padding: 32px;
}

.gsp-challenge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gsp-challenge-icon {
    font-size: 2rem;
}

.gsp-challenge-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gsp-text-primary);
}

.gsp-challenge-text {
    color: var(--gsp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.gsp-challenge-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gsp-challenge-badge {
    background: var(--gsp-bg-glass);
    border: 1px solid var(--gsp-border);
    color: var(--gsp-accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--gsp-radius-full);
}

/* ═══════════════════════════════════════════ */
/* LOOT DROP                                  */
/* ═══════════════════════════════════════════ */
.gsp-loot-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(251, 191, 36, 0.08));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--gsp-radius-xl);
    padding: 28px;
    overflow: hidden;
}

.gsp-loot-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
    border-radius: 50%;
    animation: gspLootGlow 3s ease-in-out infinite alternate;
}

@keyframes gspLootGlow {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.3); opacity: 1; }
}

.gsp-loot-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gsp-loot-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: gspBounce 1s ease infinite;
}

@keyframes gspBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.gsp-loot-header {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gsp-fire);
    margin-bottom: 8px;
}

.gsp-loot-text {
    color: var(--gsp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.gsp-loot-timer {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--gsp-fire);
    font-weight: 900;
    font-size: 1.3rem;
    padding: 4px 16px;
    border-radius: var(--gsp-radius-md);
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.gsp-loot-expired {
    opacity: 0.4;
    pointer-events: none;
}

/* ═══════════════════════════════════════════ */
/* LIVE REVIEWS                               */
/* ═══════════════════════════════════════════ */
.gsp-reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 24px;
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-lg);
    padding: 24px;
}

.gsp-reviews-avg {
    text-align: center;
}

.gsp-reviews-avg-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gsp-gold);
    line-height: 1;
}

.gsp-reviews-avg-stars {
    font-size: 1rem;
    margin: 4px 0;
}

.gsp-reviews-avg-total {
    color: var(--gsp-text-muted);
    font-size: 0.8rem;
}

.gsp-review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.gsp-bar-label {
    flex: 0 0 50px;
    text-align: left;
    font-size: 0.75rem;
    color: var(--gsp-text-muted);
}

.gsp-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.gsp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gsp-gold), #f59e0b);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.gsp-bar-count {
    flex: 0 0 30px;
    text-align: right;
    font-size: 0.75rem;
    color: var(--gsp-text-muted);
}

/* Review Cards */
.gsp-reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gsp-review-card {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-md);
    padding: 20px;
    transition: border-color var(--gsp-transition);
}

.gsp-review-card:hover {
    border-color: var(--gsp-accent);
}

.gsp-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gsp-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gsp-border);
}

.gsp-review-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gsp-text-primary);
}

.gsp-verified-badge {
    font-size: 0.7rem;
    margin-right: 4px;
}

.gsp-review-date {
    font-size: 0.75rem;
    color: var(--gsp-text-muted);
}

.gsp-review-stars {
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.gsp-review-text {
    color: var(--gsp-text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════ */
/* FINAL CTA                                  */
/* ═══════════════════════════════════════════ */
.gsp-final-card {
    background: linear-gradient(135deg, var(--gsp-bg-elevated), var(--gsp-bg-card));
    border: 1px solid var(--gsp-border-glow);
    border-radius: var(--gsp-radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gsp-final-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gsp-primary-glow), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.gsp-final-card h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 8px;
    position: relative;
}

.gsp-final-card p {
    color: var(--gsp-text-secondary);
    margin-bottom: 24px;
    position: relative;
}

.gsp-btn-final {
    max-width: 400px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}

/* Product Description */
.gsp-description {
    background: var(--gsp-bg-elevated);
    border: 1px solid var(--gsp-border);
    border-radius: var(--gsp-radius-xl);
    padding: 32px;
}

.gsp-desc-content {
    color: var(--gsp-text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
}

.gsp-desc-content h2,
.gsp-desc-content h3,
.gsp-desc-content h4 {
    color: var(--gsp-text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.gsp-desc-content ul,
.gsp-desc-content ol {
    padding-right: 20px;
    margin-bottom: 16px;
}

.gsp-desc-content li {
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════ */
/* STICKY MOBILE CTA                          */
/* ═══════════════════════════════════════════ */
.gsp-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--gsp-bg-elevated);
    border-top: 1px solid var(--gsp-border);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gsp-sticky-cta.visible {
    transform: translateY(0);
}

.gsp-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.gsp-sticky-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gsp-primary);
    white-space: nowrap;
}

.gsp-sticky-btn {
    flex: 1;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Confetti */
#gspConfettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

/* ═══════════════════════════════════════════ */
/* RESPONSIVE                                 */
/* ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .gsp-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gsp-hero-media {
        position: static;
    }

    .gsp-hero-buybox {
        padding: 24px;
    }

    .gsp-product-title {
        font-size: 1.4rem;
    }

    .gsp-unlock-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gsp-predictor-controls {
        flex-direction: column;
        gap: 12px;
    }

    .gsp-predictor-input {
        flex: 1;
        width: 100%;
    }

    .gsp-predictor-arrow {
        transform: rotate(-90deg);
        padding-bottom: 0;
    }

    .gsp-reviews-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gsp-reviews-list {
        grid-template-columns: 1fr;
    }

    .gsp-sticky-cta {
        display: block;
    }

    .gsp-final-card {
        padding: 32px 20px;
    }

    .gsp-challenge-badges {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gsp-unlock-grid {
        grid-template-columns: 1fr;
    }

    .gsp-container {
        padding: 0 12px;
    }

    .gsp-hero-buybox {
        padding: 20px;
        border-radius: var(--gsp-radius-lg);
    }
}
