/* --- Featured Game Slider --- */
.gv-featured-game-wrapper {
    position: relative;
    width: 100%;
    height: 36em;
    /* Fixed height */
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: none;
    background: #000;
    /* Default bg */
}

/* Background Slider Container */
.gv-fg-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background Slide */
.gv-fg-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.gv-fg-bg-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image */
.gv-fg-bg {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    /* Taller buffer for parallax */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
    /* Optimize for scrolling */
}

/* Overlay (Left to Right Black Mask) for each BG slide */
.gv-fg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.2) 60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    /* Overlay stays fixed to slide size, not image size if we want gradient to match container */
}

/* Static Content Overlay Wrapper (Centers Everything) */
.gv-fg-overlay-wrapper {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    /* Horizontally Center content box */
    align-items: center;
    /* Vertically Center content box */
    padding: 5rem;
    pointer-events: none;
    /* Let clicks pass through empty areas */
}

/* Content Box */
.gv-fg-content {
    position: relative;
    z-index: 11;
    width: 100%;
    max-width: 80em;
    /* Constrain width */
    height: auto;
    /* Shrink to fit */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    /* Space between text and button */
    align-items: flex-start;
    /* Left Aligned Content */
    pointer-events: auto;
    /* Re-enable clicks */
}

/* Text Wrapper (Holds Text Slides) */
.gv-fg-text-wrapper {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    /* Ensure width for centering */
    justify-items: start;
    /* Left Aligned */
}

/* Individual Text Item (Fades) */
.gv-fg-text-item {
    grid-area: stack;
    position: relative;
    /* Now they take space */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    /* Left Aligned */
    text-align: left;
    /* Left Aligned */
}

.gv-fg-text-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Text Container (Title + Price) */
.gv-fg-text-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    /* Left Aligned */
}

/* Title */
.gv-fg-title {
    font-family: 'roboto', 'Rajdhani', 'Segoe UI', sans-serif !important;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
    text-align: left;
    /* Left Aligned */
}

/* Clean Link Wrapper */
.gv-fg-link-wrapper {
    text-decoration: none;
    color: inherit;
}


/* Price Block */
.gv-fg-price-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Sale Badge */
.gv-fg-badge {
    background: linear-gradient(135deg, #ff3c4d 0%, #ff9300 100%);
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0.1em 1em rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 6em 2em;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(255, 95, 109, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.gv-fg-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: gv-shine 3s infinite;
}

@keyframes gv-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Price Value */
.gv-fg-price-value {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: baseline;
}

.gv-fg-price-value .amount {
    font-family: 'Barlow', sans-serif ;
    font-weight: 700;
}

.gv-fg-price-value del {
    display: none;
}

.gv-fg-price-value ins {
    text-decoration: none;
    font-weight: 400;
    background: transparent;
}

/* --- View Product Button (Static) --- */
.gv-fg-btn {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #4be0ff !important;
    border-radius: 10rem;
    font-weight: 600;
    padding: 0.6rem 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    transition: border-color 0.3s;

    /* Auto layout via flex space-between */
    margin: 0;
    left: auto;
    bottom: auto;
}

/* Sliding Circle Fill Animation */
.gv-fg-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: linear-gradient(to right, #06b6d4 0%, #7808d0 100%);
    transform: translate(0, -50%) scale(1);
    z-index: -1;
    transition: all 0.6s ease;
}

.gv-fg-btn:hover::before {
    left: 0;
    transform: translate(0, -50%) scale(1.5);
}

.gv-fg-btn:hover {
    border-color: transparent;
    background: transparent;
    color: #fff !important;
}

.gv-fg-btn__icon-wrapper {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
    color: var(--clr);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    z-index: 2;
}

.gv-fg-btn:hover .gv-fg-btn__icon-wrapper {
    color: #000;
}

.gv-fg-btn__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.gv-fg-btn:hover .gv-fg-btn__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.gv-fg-btn:hover .gv-fg-btn__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}


/* --- Segmented Pagination --- */
.gv-fg-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gv-fg-page-item {
    width: 30px;
    /* Segment width */
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background 0.3s, width 0.3s;
}

.gv-fg-page-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gv-fg-page-item.active {
    width: 40px;
    /* Slightly expand active */
    background: rgba(255, 255, 255, 0.2);
}

.gv-fg-page-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #4be0ff;
    /* Cyan active color */
    box-shadow: 0 0 5px rgba(75, 224, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .gv-featured-game-wrapper {
        height: 25em;
    }

    .gv-fg-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .gv-fg-title {
        font-size: 1.5rem;
    }
}