/* ========== BASE HUNT SLIDER — EMBER ========== */
.basehunt-section {
    position: relative;
    z-index: 2;
    padding: 100px 28px 80px;
    overflow: hidden;
}

.basehunt-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
}

.basehunt-slider {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Main image with gradient border on hover */
.bh-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: #14121f;
    z-index: 1;
}

.bh-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(123, 47, 255, 0.2), rgba(79, 26, 184, 0.1), rgba(168, 85, 247, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s ease;
    z-index: 20;
    pointer-events: none;
}

.bh-main:hover::before {
    background: linear-gradient(135deg, #7b2fff, #4f1ab8, #a855f7);
    opacity: 0.5;
}

.bh-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

.bh-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Arrows */
.bh-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 10, 9, 0.7);
    backdrop-filter: blur(16px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.bh-arrow:hover {
    background: rgba(123, 47, 255, 0.12);
    border-color: rgba(123, 47, 255, 0.25);
    box-shadow: 0 0 20px rgba(123, 47, 255, 0.1);
    transform: translateY(-50%) scale(1.08);
}

.bh-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.bh-arrow-left {
    left: 12px;
}

.bh-arrow-right {
    right: 12px;
}

/* Counter */
.bh-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(12, 10, 9, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

/* Progress */
.bh-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    z-index: 10;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.bh-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7b2fff, #4f1ab8);
    box-shadow: 0 0 8px rgba(123, 47, 255, 0.3);
}

.bh-progress-fill.running {
    width: 100%;
    transition: width 3s linear;
}

/* Thumbnails */
.bh-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.bh-thumbs::-webkit-scrollbar {
    display: none;
}

.bh-thumb {
    flex-shrink: 0;
    width: 68px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #14121f;
    transition: all 0.3s ease;
}

.bh-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.2s ease;
    display: block;
}

.bh-thumb:hover img {
    opacity: 0.6;
}

.bh-thumb.active {
    border-color: #7b2fff;
    box-shadow: 0 0 12px rgba(123, 47, 255, 0.2);
}

.bh-thumb.active img {
    opacity: 1;
}

/* Info Panel */
.basehunt-info {
    padding-top: 8px;
}

.basehunt-info h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.basehunt-info p {
    color: #a0a3b8;
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.bh-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bh-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: #f3f4fb;
    transition: transform 0.2s ease;
}

.bh-features li:hover {
    transform: translateX(4px);
}

.bh-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(123, 47, 255, 0.08);
    border: 1px solid rgba(123, 47, 255, 0.15);
    color: #7b2fff;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.bh-features li:hover .bh-check {
    background: rgba(123, 47, 255, 0.12);
    border-color: rgba(123, 47, 255, 0.3);
    box-shadow: 0 0 12px rgba(123, 47, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .basehunt-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bh-arrow {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .bh-arrow-left {
        left: 8px;
    }

    .bh-arrow-right {
        right: 8px;
    }

    .bh-thumb {
        width: 56px;
        height: 36px;
    }

    .basehunt-section {
        padding: 60px 20px 40px;
    }
}

@media (max-width: 480px) {
    .bh-thumbs {
        gap: 6px;
    }

    .bh-thumb {
        width: 48px;
        height: 30px;
        border-radius: 6px;
    }

    .bh-counter {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .bh-arrow {
        width: 34px;
        height: 34px;
    }
}