* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Fira Sans", serif;
    background: #000;
}
a {
    text-decoration: none;
}
.container {
    max-width: 1250px;
    margin: 0 auto;
}
.playable-container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
    gap: 20px;
}
img {
    max-width: 100%;
}
.gamepaly-btn,
.filter-buttons button {
    display: block;
    padding: 5px 15px;
    color: #888888;;
    font-weight: 600;
    height: 35px;
    font-size: 14px;
    line-height: 14px;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border-radius: 6px;
    background: transparent;
    border: 1px solid #888888;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gamepaly-btn:hover,
.filter-buttons button.active {
    color: var(--primary);
    border: 1px solid var(--primary);
}
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/* Container */
.playable-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.playable-box {
    width: calc((100% - 40px) / 3);
    border: 1px solid rgb(255 255 255 / 20%);
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    margin-bottom: 15px;
    display: none;
}
.playable-box:hover {
    border: 1px solid var(--primary);
}
.playable-box:hover .cat {
    background: var(--primary) !important;
    color: #000 !important;
    border: 1px solid var(--primary);
}
.isotope {
    margin-top: -15px;
}
.image img {
    border-radius: 10px;
    width: 100%;
}

.playable-box .image {
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.playable-box .image .hover {
    position: absolute;
    bottom: -40px;
    left: 0;
    background: hsl(51.94deg 100% 49.61% / 50%);
    width: 100%;
    height: 40px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all .2s;
}

.playable-box .cat.orange {
    color: #F9830B;
    background: #FFF3E7;
}
.playable-box:hover .image .hover {
    bottom: 0;
}

.playable-box .image .hover span {
    display: inline-block;
    font-weight: 500;
    color: #000;
    font-size: 14px;
}
.playable-box .cat {
    display: block;
    width: fit-content;
    padding: 4px 15px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    border-radius: 6px;
    text-transform: uppercase;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 1px solid rgb(255 255 255 / 20%);
    color: var(--primary) !important;

}

.playable-box .cat.navy {
    color: #0060A5;
    background: #E6F6FF;
}

.playable-box h3 {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    margin-top:15px;
    margin-bottom: 0;
}

.playable-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 16px;
    bottom: 48px;
    border: 1px solid #E7E7E9;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
 
/* Modal */
#popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    position: relative;
    width: 395px;
    height: 68%;
    background: #fff;
    border-radius: 10px;
    border: 10px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25); 
}

.close-btn {
    position: absolute;
    z-index: 3;
    top: -27px;
    right: -27px;
    width: 40px;
    font-size: 34px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
}
#popup-iframe {
    width: 100%;
    border-radius: 12px;
    height: 100%;
}
.playable-box .cat.purple {
    color: #651FFF;
    background: #F0E9FF;
}
.playable-area {
    padding: 100px 20px;
}
.playable-video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.playable-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.playable-box.video {
    height: 490px;
}
.playable-box {
    position: relative;
}
.play-now-btn {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border: 2px solid #DDDDDD;
    padding: 4px 20px;
    border-radius: 48px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    text-align: center;
    display:none;
}
.play-btnbox {
    position: absolute;
    top:50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}
.playable-box:hover .play-now-btn {
    display: block;
}


/* Play Button Style */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgb(253 219 0 / 80%);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-btn::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgb(253 219 0 / 40%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: smoothPulse 2s ease-out infinite;
    z-index: 1;
}
.playable-box .icon img {
    filter: invert(1) brightness(1);
}

  
@keyframes smoothPulse {
        0% {
          transform: translate(-50%, -50%) scale(1);
          opacity: 0.6;
        }
        70% {
          transform: translate(-50%, -50%) scale(1.5);
          opacity: 0;
        }
        100% {
          transform: translate(-50%, -50%) scale(1.5);
          opacity: 0;
        }
      }
  
      /* Hover effect */
      .play-btn:hover {
        transform: translate(-50%, -50%) scale(1.1);
      }

/* =======new portfolio css========= */
.portfolio-banner {
    background: url(./assets/image/portfolio-banner.jpg)no-repeat;
}

.banner-area.portfolio-banner::before {
    background: url(./assets/image/banner-overlay-2.png)no-repeat;
}

.banner-area .hero-title h1 {
    padding-top: 45px;
}
.filter-buttons {
    background: #1C1D20;
    border-radius: 10px;
    padding: 20px;
}
.playable-viewer-area {
    padding-top: 30px;
    padding-bottom: 30px;
    /*height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: calc(100vh - 200px);*/
}
.playable-viewer-title {
    width: 40%;
    padding-right: 50px;
    padding-top: 40px;
}
.playable-viewer-player {
    width: 60%;
}
.playable-viewer-title p{
    font-size: 20px;
    text-transform: uppercase;
    line-height: 120%;
    color: var(--primary);
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    padding-bottom: 20px

}
.playable-viewer-title h2 {
    font-size: 30px;
    line-height: 130%;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    padding-bottom: 30px;

}
.qr-container h4 {
    font-size: 16px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #fff;
    text-transform: capitalize;
    padding-bottom: 24px;
}

 .qr-container{
    margin: 0 auto;
    border: 1px solid rgb(255 255 255 / 20%);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}
#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    width: fit-content;
    margin: 0 auto;

}
#gameFrame {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.viewer-player-inner {
    height: 600px;
    margin: 0 auto;
    width: 325px;
    min-width: 325px;
    position: relative;
    background: linear-gradient(145deg, #171717, #150e0e);
    border-radius: 24px;
    padding: 8px;
    min-height: 400px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.mobile-landscape .viewer-player-inner {
    min-width: 600px;
    width: 600px;
    height: 325px;
    min-height: 325px;
}
.tab-portrait .viewer-player-inner {
    width: 600px;
    min-width: 600px;
    height: 700px;
}
.tab-landscape .viewer-player-inner {
    width: 700px;
    min-width: 700px;
    height: 500px;
}

.viewer-player-inner h1,
.viewer-player-inner p {
    color: #fff;
}

.playable-viewer-content  {
    display: flex;
    align-items: start;
}

.device-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-left: auto;
}

.device {
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    width: 80px;

}
.reload-btn span,
.device span {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: #888888;
    line-height: 1;
    font-family: "Roboto", sans-serif;
    padding-top: 8px;
}
.reload-btn span {
    font-weight: 700;
}

.divider {
    width: 1px;
    height: 55px;
    background: #888888;
}
.device.active span {
    color: #fff;
}
.device.active img {
    filter:brightness(0) invert(1) ;
}
.device.landscape img {
    transform: rotate(-90deg);
}

.playable-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: #1C1D20;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
}
.reload-btn img{
    max-width: 30px;
    filter: invert(1);
}
.reload-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
}
.breadcrumb-simple ul{
  display:flex;
  font-size:14px;
  font-family: "Roboto", sans-serif;
  color:#fff;
  padding-bottom: 20px
}
.breadcrumb-simple ul a {
    color: #fff;
}
.current-page,
.breadcrumb-simple ul a:hover {
   color: var(--primary);
}
.breadcrumb-simple li {
    font-size: 14px;
}
.breadcrumb-simple li::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 5px;
    font-size: 13px;
    color: #fff;
    position: relative;
    top: 0px;
}

.breadcrumb-simple li:last-child::after{ content: ""; }
.reload-btn img {
    opacity: 0.6;
}
.reload-btn:hover img {
    opacity: 1
}
.reload-btn:hover span {
    color: #fff;
}

@media only screen and (max-width: 1600px) {
    .banner-area .hero-title h1 {
        padding-top: 0px;;
    }


}

@media only screen and (max-width: 1400px) {
    .playable-area .container {
        max-width: 950px;
    }
    .playable-box {
        width: calc((100% - 30px) / 2);
    }
    .playable-area {
        padding: 50px 20px;
    }
    .playable-area {
        padding: 50px 20px;
    }
    .playable-box.video {
        height: 548px;
    }

}

@media only screen and (max-width: 1000px) {
   .playable-area .container {
        max-width: 650px;
    }
    .playable-box {
        width: calc((100% - 15px) / 2);
    }
    .playable-area {
        padding: 40px 20px;
    }
    .playable-box  {
        width: 100%;
    }
    .playable-box.video {
        height: auto;
    }
    .playable-viewer-title {
        padding-right: 20px;
    }
    .playable-viewer-title h2 {
        font-size: 28px;
    }
    .playable-viewer-area {
        height: auto;
    }

}


@media only screen and (max-width: 768px) {

   .playable-area .container {
        max-width: 100%;
    }
    .playable-box {
        width: 100%;
    }
    .playable-container {
        padding-top: 30px;
    }
    .gamepaly-btn,
    .filter-buttons button {
        padding: 8px 18px;
        font-size: 13px;
    }
    .close-btn {
        top: 10px;
        right: 12px;
        width: 25px;
        height: 25px;
    }
    #popup-modal {
        padding: 0px;
        background: #000;
    }
    .modal-content {
        position: relative;
        width: 100%;
        height: 100%; 
        border: none;
        border-radius: 12px;
    }
    .playable-box {
        padding: 12px;
    }
    #popup-iframe {
        border-radius: 0px;
    }
    .playable-box.video {
        height: auto;
    }
    .filter-buttons {
        flex-wrap: wrap;
        gap:8px;
        padding: 16px;
    }
    .gamepaly-btn, 
    .filter-buttons button {
        padding: 6px 10px;
        height: 30px;
    }
    .playable-box .cat {
        padding: 4px 10px;
        font-size: 13px;
        height: 30px;
    }
    .playable-box h3 {
        font-size: 16px;
    }
    .playable-box .icon {
        right: 12px;
        bottom: 42px;
        width: 36px;
        height: 36px;
    }
    .play-now-btn {
        font-size: 16px;
        padding: 3px 15px;
    }
    .playable-viewer-content {
        flex-direction: column;
    }
    .playable-viewer-title {
        padding-right: 0px;
        padding-bottom: 10px;
        text-align: center;
    }
    .playable-viewer-title p {
        font-size: 16px;
        padding-bottom: 8px;
    }
    .playable-viewer-title h2 {
        font-size: 20px;
        padding-bottom: 0px;
    }
    .qr-container {
        display: none;
    }
    .playable-viewer-player {
        width: 100%;
    }
    .device-container {
        display: none;
    }
    .viewer-player-inner {
        width: 100%;
        min-width: 100%;
        min-height: 500px;
    }
    .playable-viewer-title {
        width: 100%;
    }
    .playable-viewer-title h2 {
        font-size:18px;
    }
    .playable-viewer-header {
        display: none;
    }
    .playable-viewer-title {
        padding-top: 0px;
    }
    .breadcrumb-simple {
        display: none;
    }
 }
