/* ==========================================================================
   LaVie Gaming Page & Widget Styles (/custom-css/widget-gaming.css)
   ========================================================================== */

.lavie-gaming-page {
    background-color: #0d0d0d;
    color: #ffffff;
    overflow-x: hidden;
}

.lg-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.lg-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #0000FF;
    margin-bottom: 0.65rem;
}

.lg-vector {
    height: auto;
    max-width: 110px;
}

/* Shared Luxury Button */
.lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lg-btn--primary {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
    box-shadow: 0 8px 24px -6px rgba(220, 38, 38, 0.45);
}

.lg-btn--primary:hover,
.lg-btn--primary:focus {
    background: #ffffff;
    color: #dc2626;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(255, 255, 255, 0.25);
}

.lg-btn svg {
    transition: transform 0.3s ease;
}

.lg-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   1. Hero Gallery Section
   ========================================================================== */

.lg-hero {
    position: relative;
    padding-bottom: 2rem;
}

.lg-hero__stage {
    position: relative;
    height: clamp(32rem, 62vh, 44rem);
    width: 100%;
    overflow: hidden;
    background-color: #141414;
}

.lg-hero__main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.4s ease, transform 0.8s ease;
}

.lg-hero__overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4.5rem;
    background: linear-gradient(
        to top,
        #0d0d0d 0%,
        rgba(13, 13, 13, 0.78) 45%,
        rgba(13, 13, 13, 0.2) 100%
    );
}

@media (min-width: 768px) {
    .lg-hero__overlay {
        align-items: center;
        padding-bottom: 0;
        background: linear-gradient(
            90deg,
            #0d0d0d 0%,
            rgba(13, 13, 13, 0.88) 38%,
            rgba(13, 13, 13, 0.15) 100%
        ),
        linear-gradient(
            to top,
            #0d0d0d 0%,
            rgba(13, 13, 13, 0) 25%
        );
    }
}

.lg-hero__content {
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lg-hero__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.lg-hero__title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
}

.lg-hero__desc {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.lg-hero__badge {
    padding-top: 0.5rem;
}

.lg-hero__badge img {
    max-height: 64px;
    width: auto;
    opacity: 0.95;
}

/* Floating Overlapping Thumbnail Strip */
.lg-hero__thumbs-wrap {
    position: relative;
    z-index: 20;
    margin-top: -3rem;
}

.lg-hero__thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
    .lg-hero__thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
}

.lg-hero__thumb-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
}

@media (max-width: 767px) {
    .lg-hero__thumb--last {
        grid-column: span 2;
    }
}

.lg-hero__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.55);
    transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lg-hero__thumb-item:hover .lg-hero__thumb-img {
    filter: brightness(1);
    transform: scale(1.06);
}

/* ==========================================================================
   2. Welcome / VIP Gaming Rooms
   ========================================================================== */

.lg-rooms-section {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.lg-room-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    background: linear-gradient(160deg, rgba(32, 32, 32, 0.7) 0%, rgba(18, 18, 18, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.lg-room-card + .lg-room-card {
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .lg-room-card {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .lg-room-card--reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .lg-room-card--reverse .lg-room-card__media {
        order: 2;
    }
    .lg-room-card--reverse .lg-room-card__body {
        order: 1;
    }
}

.lg-room-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lg-room-gallery__main {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lg-room-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-room-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.lg-room-gallery__thumb-wrap {
    border-radius: 0.65rem;
    overflow: hidden;
    height: 5.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.lg-room-gallery__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    filter: brightness(0.55);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.lg-room-gallery__thumb-wrap:hover .lg-room-gallery__thumb-img {
    filter: brightness(1);
    transform: scale(1.05);
}

.lg-room-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lg-room-card__title {
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.lg-room-card__subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: #e5e5e5;
    margin: 0 0 1.25rem 0;
    font-style: italic;
}

.lg-room-card__desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #a3a3a3;
    margin-bottom: 1.5rem;
}

.lg-room-card__amenities {
    width: 100%;
    margin-bottom: 1.5rem;
}

.lg-room-card__amenities:empty {
    display: none;
}

/* ==========================================================================
   3 & 4. Games Offered & Coming Soon Sliders
   ========================================================================== */

.games-offered-section {
    position: relative;
    padding: clamp(3rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
    overflow: hidden;
}

.games-offered__bg-decor {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.games-offered__bg-decor--left {
    left: 0;
}

.games-offered__bg-decor--right {
    right: 0;
}

@media (min-width: 1024px) {
    .games-offered__bg-decor {
        display: block;
    }
}

.games-offered__container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
}

.games-offered__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .games-offered__header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.games-offered__eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #0000FF;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.games-offered__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.games-offered__title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.games-offered__vector {
    height: auto;
    max-width: 110px;
}

.games-offered__nav {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .games-offered__nav {
        display: flex;
    }
}

.games-offered__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.games-offered__nav-btn:hover:not(.swiper-button-disabled) {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.games-offered__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.games-offered__swiper {
    padding-bottom: 3.5rem !important;
}

.games-offered__swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* Game Card */
.game-card {
    height: auto;
    display: flex;
}

.game-card__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(165deg, rgba(38, 38, 38, 0.75) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.game-card:hover .game-card__inner {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8),
                0 0 25px -5px rgba(220, 38, 38, 0.2);
}

.game-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #111111;
}

.game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover .game-card__image {
    transform: scale(1.07);
}

.game-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0) 60%);
    pointer-events: none;
}

.game-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(13, 13, 13, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.game-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem 1.75rem 1.75rem;
    text-align: left;
}

.game-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.65rem 0;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.game-card:hover .game-card__title {
    color: #f87171;
}

.game-card__description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #a3a3a3;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card--coming-soon .game-card__description {
    margin-bottom: 0;
}

.game-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.game-card__btn:hover,
.game-card__btn:focus {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    outline: none;
}

.game-card__btn-icon {
    transition: transform 0.3s ease;
}

.game-card__btn:hover .game-card__btn-icon {
    transform: translateX(4px);
}

.games-offered__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.games-offered__pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #dc2626;
}

/* ==========================================================================
   5. Editorial Feature Banners (Responsible Gaming & Events)
   ========================================================================== */

.lg-banners-section {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.lg-banners-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.lg-feature-banner {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 24rem;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
    background-color: #141414;
}

.lg-feature-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lg-feature-banner:hover .lg-feature-banner__bg {
    transform: scale(1.04);
}

.lg-feature-banner__overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    align-items: flex-end;
    background: linear-gradient(
        to top,
        rgba(13, 13, 13, 0.96) 0%,
        rgba(13, 13, 13, 0.7) 55%,
        rgba(13, 13, 13, 0.2) 100%
    );
}

@media (min-width: 768px) {
    .lg-feature-banner__overlay {
        align-items: center;
    }

    .lg-feature-banner__overlay--left {
        justify-content: flex-start;
        background: linear-gradient(
            90deg,
            rgba(13, 13, 13, 0.95) 0%,
            rgba(13, 13, 13, 0.8) 45%,
            rgba(13, 13, 13, 0.1) 100%
        );
    }

    .lg-feature-banner__overlay--right {
        justify-content: flex-end;
        background: linear-gradient(
            270deg,
            rgba(13, 13, 13, 0.95) 0%,
            rgba(13, 13, 13, 0.8) 45%,
            rgba(13, 13, 13, 0.1) 100%
        );
    }
}

.lg-feature-banner__content {
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lg-feature-banner__title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.lg-feature-banner__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.lg-feature-banner__action {
    padding-top: 0.5rem;
}