body {
    font-family: 'Urbanist';
    margin: 0;
    padding: 0;
    background-color: #331632;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bg-opacity-100 {
    background-color: rgb(255, 255, 255, 0.1)
}

.text-100 {
    /* color: #ffac47 !important;  */
    -webkit-text-fill-color: #ffac47;
}
.bg-color-200 {
    background-color: #F8683B;
    /* -webkit-text-fill-color: #F8683B; */
}

.font-600 {
    font-weight: 600;
}
.font-500 {
    font-weight: 500;
}

main{
    color: white;
}

.logo-image {
    width: 300px; /* you can adjust as needed */
    height: auto; /* maintains aspect ratio */
    max-height: 100%; /* optional, ensures image doesn't exceed the height of its container */
}



/* links */
#main-nav a {
    color: #000;
    font-size: 15px;
    font-weight: 700;
}
#main-nav {
    padding: 1px;
    background-color: #fb8a41;
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#main-nav .nav-link:hover {
    color: white;
}
#main-nav .active {
    color: white;
    background-color: transparent;
}

#nav-tab  .nav-link {
    color: rgb(201, 201, 201);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}
#nav-tab .active {
    background-color: #bc3657;
    color: #fff;
}

#nav-tab {
    border-bottom: 6px solid #bc3657;
}
#nav-tab .nav-link {
    border: 0;
}
#nav-tab .nav-link:hover {
    color: #f8683b;
}

/* buttons */
#btn-search {
    width: 30%;
}
#btn-viewAll {
    padding: 0 20px;
    background-color: #ffac47;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    height: 35px;
}
#btn-viewAll:hover {
    color: #fff;
}
#btn-login, #btn-user, .dropdown-toggle {
    padding: 10px 35px;
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #331632;
    border: 0;
    color: #fff;
}
#btn-create {
    background-color: #331632;
    border: 0;
    color: #fff;
}
#btn-create:hover, .btn-submit:hover {
    background-color: #2e122e;
}
#btn-signin {
    background-color: #523251;
}

#btn-signin:hover {
    background-color: #392238;
}

/* offcanvas */
#offcanvas-top .nav-link .active {
    color: white;
    background-color: transparent;
}
.offcanvas-end {
    width: 480px !important;
    background-color: #1d0c1c;
    color: #fff;
}
.offcanvas-buttons .btn-block {
    /* padding: 10px 0 !important; */
    font-weight: 500;
    /* margin: 5px 0 !important; */
    border-radius: 2rem;
    /* -webkit-border-radius: 2rem; */
    /* appearance: none !important; */
}
.offcanvas-buttons {
    width: 21.50rem !important;
}
.offcanvas-top {
    height: 76vh !important;
    width: 91vw !important;
    margin-left: auto;
    margin-right: auto;
    background-color: #331632;
    color: #fff;
    font-weight: 600;
}

.offcanvas-newsletter .input{
    opacity: 0.8;
}
.offcanvas-newsletter .offcanvas-buttons-sm button, #btn-copy{
    padding: 4px 27px;
    border-radius: 50px;
    /* -webkit-border-radius: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; */
    font-size: 16px;
}
.offcanvas-newsletter #btn-no-thanks {
    color: #FB812B !important;
    border: 2px solid #FB812B;
}
.offcanvas-newsletter #btn-allow, #btn-copy {
    background-color: #FB812B;
}

.offcanvas-newsletter #btn-no-thanks:hover {
    opacity: 0.8;
}
.offcanvas-newsletter #btn-allow:hover {
    opacity: 0.8;
}

#categoriesCanvas .nav-link:hover{
    color: #ffac47;
}
/* pagination */
.pagination .page-item .page-link {
background-color: transparent;
color: #fff;
opacity: 0.5;
border: 0;
font-size: 18px;
font-weight: 500 !important;
}

.pagination .page-item.active .page-link, .footer-links .active{
    color: #ffac47;
    opacity: 1;
}

.pagination .page-item:hover .page-link {
    color: #ffac47;
    opacity: 1;
}

.custom-prev-link .page-link,
.custom-next-link .page-link
{
    color: #fff !important;
    border-radius: 20px!important;
    -webkit-border-radius: 20px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #F8683B !important;
    opacity: 1;
}

.custom-prev-link a,
.custom-prev-link span,
.custom-next-link a,
.custom-next-link span {
    font-size: 13px !important;
    padding: 8px 20px !important;
    color: #fff !important;
    opacity: 1 !important;
}

.pagination .custom-prev-link.disabled .page-link,
.pagination .custom-next-link.disabled .page-link {
    opacity: 0.2 !important;
}

.custom-prev-link .page-link:hover,
.custom-next-link .page-link:hover {
    opacity: 0.7 !important;;
}

.game-card {
    transition: transform 0.3s;
}
.game-card:hover{
    transform: scale(1.1);
}
.card-img-top, .card-img-bottom {
    min-height: 220px;
    height: auto;
}

.categories-container .active, .categories-active .active {
    color: #ffac47;
}

.vr {
    height: 21px;
    margin-top: auto;
    margin-bottom: auto;
}
#notification {
    position: fixed ;
    bottom: 220px;
    right: 40px;
    border: 2px solid #f8683b;
    height: 60px;
    width: 60px;
    background-color: #ffac47;
    z-index: 3;
    opacity: 0.8;
}

#notification:hover {
    opacity: 1;
}
#newsletter {
    background-color: #000;
    color: #fff;
    font-weight: 500;
    width: 240px;
    height: auto;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 15px;
    padding: 11px 0;
    position: fixed;
    bottom: 227px;
    right:80px;
    z-index: 1;
    display: none;
}
footer {
    background-color: #1d0c1c;
    color: white;
}

/* social media icons */
#shareCanvas {
    height: 329px !important;
    width: 675px !important;
    margin-top: 100px !important;
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
div#social-links ul li {
    display: inline-block;
    padding: 0 8px;
    font-size: 40px;
}
div#social-links  .fa-whatsapp{
    color: #25D366;
}
div#social-links  .fa-twitter{
    color: #1DA1F2;
}
div#social-links  .fa-linkedin{
    color: #0077b5;
}
div#social-links  .fa-reddit{
    color: #FF4500;
}
div#social-links  .fa-telegram{
    color: #2AABEE;
}
/* footer web */
#contactForm .form-control {
    background-color: rgb(255, 255, 255, 0.1)
}
#contact-container, #policy-container, #terms-container {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 3px 7px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    -webkit-border-radius: 15px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#policy-container, #terms-container {
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#btn-sendMessage {
    background-color: #F8683B;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px;
}
#btn-sendMessage:hover {
    background-color: #fb4c17;
    font-weight: 700;
}
#policy, #terms {
    font-size: 17px;
    text-align: justify;
    word-spacing: 2px;
    letter-spacing: 1px;
}
#text-related {
     display: none;
}
.input-group-search input {
    background-color: rgba(238, 203, 191, 0.7);
    border-radius: 20px 0 0 20px;
    -webkit-border-radius: 20px 0 0 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.input-group-search input:focus {
      background-color: rgba(238, 203, 191, 0.7);
}
.input-group-search button {
    width: 70px;
    border-radius: 0 20px 20px 0 !important;
    -webkit-border-radius: 0 20px 20px 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(238, 203, 191, 0.7);
}

.search-placeholder::placeholder {
    color: rgb(90, 60, 60) ;
    opacity: 0.8
}
.search-placeholder::-webkit-input-placeholder {
     color: rgb(90, 60, 60) ;
    opacity: 0.8
}
.search-placeholder::-moz-placeholder {
     color: rgb(90, 60, 60) ;
    opacity: 0.8
}
.search-placeholder:-ms-input-placeholder {
     color: rgb(90, 60, 60) ;
    opacity: 0.8
}
.search-placeholder::-ms-input-placeholder {
     color: rgb(90, 60, 60) ;
    opacity: 0.8
}
.icon-top {
    position: fixed;
    opacity: 0.85;
}

.icon-top i {
    color: #fff;
    padding: 10px;
    font-size: 17px;
    font-weight: 700;
    background-color:rgb(121, 121, 123);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0.85;
    border: transparent;
}
.icon-top:hover, .icon-top i:hover {
    opacity: 1;
}

#icon-top-text {
    position: fixed;
    bottom: 32px;
    right: 62px;
    font-size: 15px;
    display: none;
    font-weight: 600;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}



/* game fullscreen breakout */
#game-area {
    position: relative;
}

.btn-exit-fullscreen {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(51, 22, 50, 0.75);
    color: #fff;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

.btn-exit-fullscreen:hover {
    background-color: #F8683B;
}

#game-area.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    background-color: #000;
    margin: 0 !important;
}

#game-area.is-fullscreen iframe {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0;
}

#game-area.is-fullscreen .btn-exit-fullscreen {
    display: flex;
}

body.game-fullscreen-open {
    overflow: hidden;
}

/* Adjust the font size for extra small screens (mobile devices) */
@media only screen and (max-width: 568px) {

    /* header */
    .header-container #btn-login, .header-container .dropdown-toggle{
        display: none;
    }
    #header-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #header-image img {
        height: auto;
        /* max-height: 480px; */
        width: 100%;
    }
    .main-container {
        padding: 9px !important;
    }
    .main-container .card-games{
    	padding: 0 !important;
    	margin: 0 !important;
    }
    .nav-games {
        padding-bottom: 5px !important;
    }

    .header-container .col-12 img {
        width: 280;
    }
    #offcanvas-bar {
        display: block !important;
    }
    .main-container {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    .nav-games  {
        max-width: 100% !important;
    }

    .form-select {
        margin: 10px 0;
    }


    .nav-games .nav-link {
        padding-left: 10.15px !important; /* Adjust the value as needed */
        padding-right: 10.15px !important; /* Adjust the value as needed */
        font-size: 13.5px !important;
    }

    .categories-container {
        /* flex-direction: column !important; */
        flex-wrap: wrap !important;
    }

    .header-container #btn-user {
        margin-top: 15px;
    }

    .input-group-search input{
        height: 33px;
    }
    .input-group-search button i{
        font-size: 18px;;
    }
    .input-group-search button{
        font-size: 13px;
        height: 33px;
    }
    .input-group-search i{
        font-size: 28px;
    }

    .list-group-item {
        font-size: 18px;
    }
    .list-group-item a:hover {
        color: #ffac47;
    }
    /* #ads-100 {
        margin-top: -100px;
        padding-top: 0 !important;
    } */

    #ads-100 img{
        width: 100%;
        height: 100%;;
    }
    #ads-200 img{
        width: 100%;
        height: 100%;
    }

    #ads-300 img {
        width: 100%;
        height: 480px;
    }

    #game-area iframe {
        height: 480px !important;
        width: 100% !important;
        margin: 20px 0 0 0;
    }
    .game-container {
        padding: 0 !important;
    }
    /* .game-container {
        margin-top: -90px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    .game-container-title {
        margin-top: -30px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    } */
    .game-details-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .related-game-container {
        display: flex;
        align-content: flex-start;
        flex-wrap: wrap;
        padding-bottom: 30px;

    }
    .related-game-card {
        flex-basis: 100%;
        align-items: start;
        padding: 10px 0  !important;
    }
    .related-no-image {
        height: 130px;
    }
    #text-related {
        display: block;
    }

    .offcanvas-top {
        height: 100% !important;
        width: 100% !important;
    }
    /* card games */
    .card-games .card-title {
        font-size: 13.5px;
    }
    .card-img-top, .card-img-bottom {
            min-height: 155px;
            height: auto;
    }
    .no-image {
        height: 153.5px;
    }
    #notification {
        position: fixed;
        bottom: 226px;
        right: 15px;
        border: 2px solid #f8683b;
        padding: 10px 0;
        height: 50px;
        width: 50px;
    }
    #notification i{
        padding-top: 10px !important;
    }
    #newsletter {
        width: 12.5rem;
        height: 43px;
        font-size: 13px;
        position: fixed;
        bottom: 228px;
        right: 53px;
        z-index: 1;
        display: none;
    }

    /* footer */
    .footer-links {
        flex-direction: column;
    }

    .footer-links .nav-link {
        font-size: 14px;
        padding: 5px 0;
    }

    .footer-info h3{
        font-size: 20px;
    }

    .footer-info h3{
        font-size: 20px;
    }
    .footer-info p{
        font-size: 15.6px !important;
        text-align: justify;
    }
    .footer-info h3, .footer-info p {
        padding: 0 8px !important;
    }
    #terms-container, #policy-container, #contact-container {
        padding: 20px 20px !important;
        margin-bottom: 30px !important;
    }
    .about-us-container img {
        height: 150px;
        width: auto;
        text-align: center;
    }
    /* .about-us-container .text-end {
        text-align: center !important;
    } */
    .about-us-container {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 0;
        padding-bottom: 50px !important;
    }
    .about-us-container .px-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .about-us-container h2 {
        padding-bottom: 10px;
    }
    .about-us-container .text-end{
        display: flex;
        justify-content: center;
    }


    .vr {
        display: none;
    }
}

/* Adjust the font size for extra tablet screens */
@media only screen and (max-width: 991px) and (min-width: 567px) {

    /* header */

    .header-container img {
        width: 300px;
    }

    .header-container .col-12 {
        text-align: center;
    }
    .header-container .col-12 img {
        width: 360px;
    }
    .header-container .col-md-9 {
        padding-top: 9px;
        width: 100%;
    }

    .nav-games  {
        max-width: 100% !important;
    }

    .nav-games .nav-link {
        padding-left: 10.15px !important; /* Adjust the value as needed */
        padding-right: 10.15px !important; /* Adjust the value as needed */
        font-size: 1.15em !important;
    }

    /* all categories */
    .categories-container {
        /* flex-direction: column !important; */
        flex-wrap: wrap !important;
    }
    .main-container {
        padding: 9px !important;
    }

    .game-container {
        margin: 12px 0 0 0;
    }

    .header-container #btn-user {
        margin-top: 15px;
    }

    .input-group-search input{
        height: 33px;
    }
    .input-group-search button i{
        font-size: 18px;;
    }
    .input-group-search button{
        font-size: 13px;
        height: 33px;
    }
    .input-group-search i{
        font-size: 28px;
    }

    .list-group-item {
        font-size: 18px;
    }
    .list-group-item a:hover {
        color: #ffac47;
    }

    /* #ads-100 {
        margin-top: -40px;
        padding-top: 0 !important;
    } */

    #ads-100 img{
        width: 100%;
        height: 100%;;
    }
    #ads-200 img{
        width: 100%;
        height: 100%;
    }

    #ads-300 img {
        width: 100%;
        height: auto;
    }

    /* .game-container {
        margin-top: -30px !important;
    } */
    .related-game-container {
        display: flex;
        align-content: flex-start;
        flex-wrap: wrap;
        padding-bottom: 30px;
    }
    .related-game-card {
        flex-basis: 50%;
        align-items: start;
        padding: 0 8px;
    }
    .related-no-image {
        height: 162px;
    }
    .related-ads-100 {
       display: none;
    }
    #text-related {
        display: block;
    }

    .offcanvas-top {
        height: 100% !important;
        width: 100% !important;
    }
    /* card games */
    .card-games .card-title {
        font-size: 13.5px;
    }
    .card-img-top, .card-img-bottom {
	    min-height: 155px;
	    height: auto;
    }
    .no-image {
        height: auto;
        width: 100%;
    }
    #notification {
        position: fixed;
        bottom: 226px;
        right: 15px;
        border: 2px solid #f8683b;
        padding: 10px 0;
        height: 50px;
        width: 50px;
    }
    #notification i{
        padding-top: 10px !important;
    }
    #newsletter {
        width: 12.5rem;
        height: 43px;
        font-size: 13px;
        position: fixed;
        bottom: 227px;
        right: 53px;
        z-index: 1;
        display: none;
    }

    /* footer */
    .footer-links {
        flex-direction: column;
    }

    .footer-links .nav-link {
        font-size: 16px;
        padding: 5px 0;
    }

    .footer-info h3{
        font-size: 20px;
    }

    .vr {
        display: none;
    }
}

/* ==========================================================================
   Watch Ads / Earn Credits (credits feature)
   VIP/Premium is a separate, still-unfinished feature and stays disabled
   below (nav-link-locked) - out of scope for the current Watch Ads work.
   ========================================================================== */

/* credit balance badge (header) */
.credit-balance-badge {
    background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
    color: #331632;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.credit-balance-badge i {
    color: #a9660c;
    margin-right: 6px;
}
.credit-balance-badge-mobile {
    font-size: 12px;
    padding: 5px 10px;
}

/* homepage games grid when the watch-ads banner is injected (see cards.blade.php).
   CSS Grid lets the banner be pinned to a specific row per breakpoint via
   grid-row, independent of where it sits in the DOM — so the game order and
   the "insert after the 5th game" markup never have to change per breakpoint.
   grid-auto-flow: dense lets games placed after the banner in the DOM
   backfill any row the banner skipped over, so there are never empty gaps. */
.card-games-grid {
    display: grid;
    grid-auto-flow: row dense;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .card-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .card-games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1200px) {
    .card-games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.watch-ads-banner-cell {
    grid-column: 1 / -1;
}
/* tablet (iPad portrait through landscape, 3-4 columns): delay the banner to
   the 3rd row so it always follows two complete rows of games, instead of
   landing mid-row like the natural breakpoint-independent flow would. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .watch-ads-banner-cell {
        grid-row: 3;
    }
}

/* watch ads / earn credits promo banner */
.watch-ads-banner {
    background: linear-gradient(120deg, #4a1e49 0%, #331632 55%, #7a2b3d 100%);
    border-radius: 20px;
    padding: 22px 28px;
    color: #fff;
    gap: 12px;
}
.watch-ads-trigger {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.watch-ads-trigger:hover,
.watch-ads-trigger:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.watch-ads-banner-text h4,
.watch-ads-banner-text h5 {
    color: #fff;
}
.watch-ads-highlight {
    color: #ffac47;
}
.watch-ads-banner-icon img {
    object-fit: contain;
}
.watch-ads-icon-rotate {
    transform: rotate(-28deg);
}
.btn-watch-ad {
    background-color: #ffac47;
    color: #331632;
    border: 0;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 25px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    pointer-events: none;
}
.btn-watch-ad:hover {
    background-color: #f8683b;
    color: #fff;
}
.btn-watch-ad:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.watch-ads-banner--compact {
    padding: 14px 20px;
    border-radius: 15px;
}
.watch-ads-banner--compact .btn-watch-ad {
    padding: 8px 20px;
}

/* Watch Ads popup/modal */
.watch-ads-modal .modal-content {
    background-color: #331632;
    color: #fff;
    border: 0;
    border-radius: 20px;
}
.watch-ads-modal .modal-header,
.watch-ads-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}
.watch-ads-modal .modal-title {
    color: #fff;
    font-weight: 700;
}
.watch-ads-reward-chip {
    display: inline-block;
    background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
    color: #331632;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}
.watch-ads-reward-chip-lg {
    margin-left: 0;
    font-size: 15px;
    padding: 5px 16px;
    animation: watchAdsRewardPop 0.4s ease;
}
.watch-ads-modal .modal-body {
    padding: 32px 24px;
    min-height: 220px;
}
.watch-ads-spinner {
    color: #ffac47;
    margin-bottom: 14px;
}
.watch-ads-success-icon {
    color: #4ade80;
    margin-bottom: 10px;
    animation: watchAdsSuccessPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.watch-ads-error-icon {
    color: #f8683b;
    margin-bottom: 14px;
}
.watch-ads-slot {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

/* countdown ring + number shown while the ad is on screen */
.watch-ads-countdown-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.watch-ads-countdown-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.watch-ads-countdown-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 8;
}
.watch-ads-countdown-ring-progress {
    fill: none;
    stroke: #ffac47;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}
.watch-ads-countdown-wrap.is-complete .watch-ads-countdown-ring-progress {
    stroke: #4ade80;
}
.watch-ads-countdown-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.watch-ads-countdown-number.watch-ads-countdown-tick {
    animation: watchAdsTick 0.3s ease;
}
.watch-ads-countdown-unit {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}
.watch-ads-countdown-label {
    opacity: 0.75;
}

/* ==========================================================================
   Premium/VIP game access-restricted state (shown in the game area instead
   of the iframe when a game is is_premium and the viewer isn't authorized)
   ========================================================================== */
.premium-locked-state {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(120deg, #4a1e49 0%, #331632 55%, #7a2b3d 100%);
    border-radius: 15px;
    color: #fff;
}
.premium-locked-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
    color: #331632;
    font-size: 28px;
    margin-bottom: 16px;
}
.premium-locked-chip {
    margin-left: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.premium-locked-state h3 {
    color: #fff;
}
.premium-locked-copy {
    max-width: 380px;
}
.premium-locked-btn {
    background-color: #ffac47;
    color: #331632;
    border: 0;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 25px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}
.premium-locked-btn:hover {
    background-color: #f8683b;
    color: #fff;
}
.premium-locked-btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.premium-locked-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}
@media (max-width: 480px) {
    .premium-locked-state {
        min-height: 320px;
        padding: 28px 16px;
    }
    .premium-locked-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

@keyframes watchAdsTick {
    0% { transform: scale(1.25); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes watchAdsSuccessPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes watchAdsRewardPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    .watch-ads-modal .modal-body {
        padding: 24px 16px;
        min-height: 0;
    }
    .watch-ads-slot {
        min-height: 90px;
    }
    .watch-ads-countdown-wrap {
        width: 96px;
        height: 96px;
        margin-top: 14px;
    }
    .watch-ads-countdown-number {
        font-size: 32px;
    }
    .watch-ads-countdown-unit {
        bottom: 16px;
        font-size: 10px;
    }
}

/* VIP/Premium locked nav tab */
#nav-tab .nav-link.nav-link-locked {
    opacity: 0.55;
    cursor: not-allowed;
}
#nav-tab .nav-link.nav-link-locked:hover {
    color: rgb(201, 201, 201);
}

/* VIP/Premium game card credit-cost badge */
.vip-credit-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
    color: #331632;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.vip-credit-badge-locked {
    background: linear-gradient(180deg, #8a8a8a 0%, #5c5c5c 100%);
    color: #fff;
}
.game-card-locked .card-img-top {
    opacity: 0.45;
    filter: grayscale(60%);
}
.game-card-locked .card-body {
    opacity: 0.7;
}

/* responsive rules for the above */
@media only screen and (max-width: 768px) {
    .watch-ads-banner {
        padding: 18px;
        justify-content: center !important;
        text-align: center;
    }
    .watch-ads-banner-cta {
        width: 100%;
        margin-top: 12px;
    }
    .btn-watch-ad {
        width: 100%;
    }
}

/* tablet layout for the watch-ads banner (iPad portrait through landscape).
   Overrides the phone-stacked rule above for this range and tightens the
   desktop spread so icon/text/button sit together instead of stretching
   across the full-width column with the secondary coin icon orphan-wrapping. */
@media only screen and (min-width: 569px) and (max-width: 1024px) {
    .watch-ads-banner {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        align-items: center;
        text-align: left;
        gap: 18px;
        padding: 18px 26px;
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    }
    .watch-ads-banner-icon {
        flex: 0 0 auto;
    }
    .watch-ads-banner-icon img {
        width: 56px;
        height: 56px;
    }
    .watch-ads-banner-icon.d-md-flex {
        display: none !important;
    }
    .watch-ads-banner-text {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left !important;
        margin: 0 !important;
    }
    .watch-ads-banner-text h4 {
        font-size: 1.05rem;
    }
    .watch-ads-banner-text h5 {
        font-size: 0.95rem;
    }
    .watch-ads-banner-text p {
        font-size: 0.82rem;
    }
    .watch-ads-banner-cta {
        flex: 0 0 auto;
        width: auto;
        margin: 0 !important;
    }
    .btn-watch-ad {
        width: auto;
        padding: 10px 24px;
        font-size: 0.9rem;
        box-shadow: 0 6px 18px rgba(255, 172, 71, 0.35);
    }
    .watch-ads-banner--compact {
        padding: 14px 22px;
        gap: 14px;
    }
    .watch-ads-banner--compact .btn-watch-ad {
        padding: 9px 20px;
    }
}

@media only screen and (max-width: 568px) {
    .credit-balance-badge {
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 999px !important;
    }

    .credit-balance-badge i {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 569px) and (max-width: 1024px) {
    .credit-balance-badge {
        font-size: 14px;
        padding: 6px 14px;
        border-radius: 20px !important;
    }

    .credit-balance-badge i {
        font-size: 17px !important;
    }
}
/*======================================================
   Recent Played Games" history row + full history page.
   Temporarily disabled while final design is decided -
   uncomment together with history-row.blade.php/history.blade.php usage.
.g5g-view-all-history {
    color: #ffac47;
    font-size: 14px;
    white-space: nowrap;
}
.g5g-view-all-history:hover {
    color: #fff;
}
.g5g-browse-games-btn {
    display: inline-block;
    background-color: #ffac47;
    color: #331632;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 25px;
    margin-top: 12px;
}
.g5g-browse-games-btn:hover {
    background-color: #fff;
    color: #331632;
}
========================================================*/

/* ==========================================================================
   Player Engagement Notification (on-screen popup)
   ========================================================================== */
.g5g-notif-host {
    position: fixed;
    z-index: 1095; /* above #game-area.is-fullscreen (1090) so it still shows
                       when the game breaks out to fullscreen */
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    max-width: calc(100vw - 32px);
}

.g5g-notif {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #3d1a3c 0%, #331632 60%, #551d33 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #ffac47;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: 'Urbanist', sans-serif;
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
    transition: opacity 0.26s ease, transform 0.26s ease;
}
.g5g-notif.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.g5g-notif.is-leaving {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.g5g-notif-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 44px 0 16px;
}

.g5g-notif-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
    color: #331632;
}
.g5g-notif-icon.is-game {
    background: linear-gradient(180deg, #7ee0a8 0%, #2fae63 100%);
    color: #10331f;
}
.g5g-notif-icon.is-announcement {
    background: linear-gradient(180deg, #8ecbff 0%, #4f8cff 100%);
    color: #152a52;
}
.g5g-notif-icon.is-system {
    background: linear-gradient(180deg, #cfd3da 0%, #8a8f99 100%);
    color: #26282c;
}

.g5g-notif-body {
    flex: 1 1 auto;
    min-width: 0;
}
.g5g-notif-title {
    font-weight: 700;
    font-size: 15px;
    margin: 2px 0 4px;
    color: #fff;
    overflow-wrap: break-word;
}
.g5g-notif-message {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    overflow-wrap: break-word;
}

.g5g-notif-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 16px 16px;
}
.g5g-notif-btn {
    border: 0;
    border-radius: 7px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    min-height: 36px;
}
.g5g-notif-btn-cta {
    background-color: #ffac47;
    color: #331632;
    transition: background-color 0.2s ease;
}
.g5g-notif-btn-cta:hover,
.g5g-notif-btn-cta:focus-visible {
    background-color: #f8683b;
    color: #fff;
}
.g5g-notif-btn-dismiss {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.g5g-notif-btn-dismiss:hover,
.g5g-notif-btn-dismiss:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
}

.g5g-notif-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.g5g-notif-close:hover,
.g5g-notif-close:focus-visible {
    background-color: #f8683b;
}

.g5g-notif :focus-visible {
    outline: 2px solid #ffd76a;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .g5g-notif {
        transition: opacity 0.01s linear;
        transform: translateY(0) !important;
    }
}

/* Desktop / larger screens: a wider, more comfortable reading measure rather
   than a stretched version of the mobile card. */
@media only screen and (min-width: 1200px) {
    .g5g-notif-host {
        width: 480px;
    }
    .g5g-notif-header {
        padding: 20px 48px 0 20px;
    }
    .g5g-notif-actions {
        padding: 16px 20px 20px;
    }
    .g5g-notif-title {
        font-size: 16px;
    }
    .g5g-notif-message {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) and (min-width: 481px) {
    .g5g-notif-host {
        width: 380px;
    }
}

@media only screen and (max-width: 480px) {
    .g5g-notif-host {
        left: 12px;
        right: 12px;
        top: 12px;
        width: auto;
        max-width: none;
        transform: none;
    }
    .g5g-notif-header {
        padding: 14px 40px 0 14px;
    }
    .g5g-notif-actions {
        padding: 12px 14px 14px;
    }
    .g5g-notif-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .g5g-notif-title {
        font-size: 14px;
    }
    .g5g-notif-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
