@media (max-width: 1440px) {
    .header_1.header-full .widget-search input {
        width: 230px;
    }
    .widget-bg-animation .slide-bg .box h2 {
        font-size: 100px;
        line-height: 170px;
    }
    .flat-pages-title-home4 .banner__right {
        margin-left: 0;
    }
    .home-6 .tf-soft { 
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .home-6 .soft-left {
        width: 100%;
    }
    .home-6 .tf-soft .soft-left .dropdown {
        width: 24%;
    }
    .home-6 .wrap-content .tf-soft .soft-right .dropdown {
        padding-left: 0;
    }
    .action__body.style-1 img {
        width: 45%;
        top: 45px;
    }
    .btn-canvas {
        display: flex;
    }
    .home-6 .swiper-button-next,
    .home-6 .swiper-button-prev,
    .home-6 .swiper-pagination {
        display: none;
    }
    .wrap-box-card.style-1 .col-item {
        width: calc(25% - 28.5px) !important;
    }
    .wrap-box-card .col-item {
        width: calc(33.333% - 28.5px) !important;
    }
    .home-6 .wrap-content {
        padding-left: 30px;
        padding-right: 45px;
    }
    #page.market-page .section-menu-left .bottom,
    #page.market-page .section-menu-left {
        width: 200px;
    }
    #page.market-page .section-menu-left ul.menu-tab li {
        padding-left: 45px;
    }
    #page.market-page .section-menu-left ul.menu-tab li svg {
        left: 15px;
    }
    #page.market-page .section-menu-left .create,
    #page.market-page .section-menu-left .content h6,
    #page.market-page .section-menu-left .box-logo {
        padding-left: 15px;
        padding-right: 15px;
    }
    #page.market-page {
        padding: 132px 15px 40px 215px;
    }
    #market-header {
        left: 215px;
        right: 15px;
        position: fixed;
        padding-left: 60px;
    }
    .tf-button {
        width: 100px;
    }
    .tf-category img {
        width: 100%;
    }
    .content-tabs .wrapper-content {
        gap: 15px;
    }
    .content-tabs .side-bar {
        width: 350px;
    }
    .content-tabs .wrapper-content .inner-content {
        max-width: calc(100vw - 595px );
    }
    #page.market-page.full #market-header {
        left: 15px;
    }
    #page.market-page.full .content-tabs .wrapper-content .inner-content {
        max-width: calc(100vw - 395px );
    }
    .tf-card-box .card-media img {
        width: 100% !important;
        height: auto !important;
    }
    .flat-pages-title-home3 .next-3d,
    .flat-pages-title-home3 .prev-3d {
        display: none;
    }
    .market-page .bg-home7 {
        justify-content: end;
        right: -50px;
    }
    .market-page .bg-home7 .swiper-container {
        margin: unset;
    }
    .market-page .bg-home7 .autoslider3reverse {
        display: none;
    }
    .section-menu-left.null {
        left: -100%;
    }
    .home-6 .wrap-content.full {
        margin-left: 0;
        width: 100%;
    }
    #page.market-page .section-menu-left.null {
        left: -100%;
    }
    #page.market-page.full {
        padding-left: 15px;
    }
    .header_1.header-full .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1280px) {
    .header_1.header-full .widget-search {
        display: none;
    }
    .header_1.header-full .header-search {
        display: block;
    }
}

@media (max-width: 1200px) {
    .home-6 .bg-home7,
    .market-page .bg-home7 {
        display: none;
    }
    .swiper-button-next,
    .swiper-button-prev,
    .next-3d,
    .prev-3d,
    .swiper-pagination {
        display: block;
    }
    .action__body.style-1 img {
        position: unset;
        padding-top: 50px;
    }
    .home-6 .featured-item.style-bottom .tf-card-box .card-media img {
        width: 100%;
    }
    .action__body.style-1 {
        text-align: center;
    }
    .action__body.style-1 h2,
    .action__body.style-1 p {
        max-width: none;
        text-align: start;
    }
    .action__body.style-1 img {
        width: 65%;
    }
    .home-6 .wrap-content {
        padding-left: 0px;
        padding-right: 20px;
    }
    .tf-card-box.style-1 .card-media img {
        width: 100%;
        height: auto;
    }
    .market-page .widget-tabs .tf-soft {
        position: unset;
        margin-bottom: 15px;
    }
    .market-page .wrap-box-card .col-item {
        width: calc(50% - 28.5px) !important;
    }
    .widget-edit.avatar .uploadfile label {
        width: 100%;
    }
    .flat-pages-title-home2 .banner__right {
        margin-left: 15px;
    }
    .widget-income {
        margin-right: 0;
    }
    .bg-text {
        display: none;
    }
}

@media (max-width: 1024px) {
    .po-sticky.fixed {
        width: 226px;
    }
    .header_1 #main-nav {
        left: 20%;
    }
    #main-nav>ul>li {
        padding: 17px 10px 18px 10px;
    }
    .icon-background {
        display: none;
    }
    .pages-title {
        position: relative;
        min-height: 320px;
        /* background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%); */
        overflow: hidden;
    }

    .pages-title::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* background: 
            radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%); */
        z-index: 0;
    }

    .pages-title .content {
        position: relative;
        z-index: 1;
        padding: 50px 20px;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .pages-title .content h1 {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #fff 30%, #e0e0e0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        position: relative;
        display: inline-block;
    }

    .pages-title .content h1::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%,
            rgba(255,255,255,0.8) 20%,
            rgba(255,255,255,0.8) 80%,
            transparent 100%
        );
        transform-origin: center;
        animation: underlineReveal 1.5s ease-out forwards;
    }

    .pages-title .content p {
        font-size: 18px;
        line-height: 1.6;
        color: rgba(255,255,255,0.9);
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-content {
        flex-wrap: wrap;
    }
    #footer .widget {
        margin-right: 20px;
    }
    .tf-soft {
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .wrap-box-card.style-1 .col-item {
        width: calc(33% - 28.5px) !important;
    }
    .home-6 .tf-card-collection .media-images-collection .author-poster {
        width: 75px;
        height: 75px;
    }
    .carouselright {
        padding-left: 15px;
        padding-right: 15px;
    }
    .widget-income .image .iphone {
        width: 50%;
    }
    .widget-income .image .icon-1,
    .widget-income .image .icon-2,
    .widget-income .image .icon-3,
    .widget-income .image .icon-4 {
        display: none;
    }
    .market-page .action__body .flat-button {
        flex-wrap: wrap; 
        row-gap: 15px;
    }
    .market-page .action__body .tf-button {
        width: 100%;
    }
    .market-header .widget-search {
        width: auto;
        flex-grow: 1;
        margin-right: 15px;
    }
    
}

@media (max-width: 991px) {
    .header-search .show-search {
        line-height: 50px;
    }
    .market-page .action__body > .flex {
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .market-page .action__body a {
        width: 100%;
    }
    .flat-wallet {
        margin-right: 56px;
    }
    .header_1 #main-nav ,
    .header_1 .canvas {
        display: none;
    }
    .mobile-button {
        display: block;
    }
    .footer-content {
        gap: 30px;
    }
    .widget-logo {
        width: 100%;
    }
    #footer .widget {
        width: 48%;
        margin-right: 0;
    }
    .tf-box-icon {
        margin-bottom: 30px !important;
    }
    .grid-author-box {
        grid-template-columns: repeat(2,1fr);
    }
    .flat-pages-title-home4 {
        padding-bottom: 120px;
    }
    .flat-pages-title-home4 .content {
        padding-top: 0px;
        padding-bottom: 50px;
    }
    .flat-pages-title-home4 .banner__right {
        margin-left: 13%;
    }
    .home-6 .section-menu-left .box-logo,
    .home-6 .section-menu-left .connect,
    .home-6 .section-menu-left .list-menu {
        padding-left: 15px;
        padding-right: 15px;
    }
    .home-6 .section-menu-left .wrap-bottom,
    .section-menu-left {
        width: 230px;
    }
    .home-6 .wrap-content {
        width: calc(100vw - 230px);
        margin-left: 230px;
    }
    .bg-home7 .swiper-container:first-child,
    .bg-home7 .swiper-container:last-child {
        display: none;
    }
    .bg-home7 {
        justify-content: end;
    }
    .home-7 .bg-home7 {
        justify-content: center;
    }
    .bg-home7 .swiper-container {
        margin: unset;
    }
    .widget-table-ranking {
        overflow-x: auto;
    }
    .widget-table-ranking .table-ranking-heading,
    .widget-table-ranking .table-ranking-content {
        width: 1110px;
    }
    .page-title.about-us {
        padding-top: 100px;
    }
    .counter__body-1 {
        flex-wrap: wrap;
    }
    .counter__body-1 > div {
        width: 33.3%;
        text-align: center;
    }
    .counter__body-1 .space:nth-of-type(4) {
        display: none;
    }
    .counter__body-1 .space {
        padding-left: 0;
        padding-right: 0;
        width: 10%;
    }
    .tf-box-icon .arrow svg {
        display: none;
    }
    form .uploadfile ,
    .add-new-collection {
        flex-wrap: wrap;   
    }
    #create .widget-content-inner.description {
        flex-wrap: wrap;
    }
    #create .widget-content-inner.description > div {
        width: 100% !important;
    }
    .tf-mouse {
        display: none
    }
    .flat-pages-title-home2 .content h1 {
        font-size: 45px;
        line-height: 68px;
    }
    .flat-pages-title-home2 .banner__right .tf-card-box {
        width: 100%;
        height: auto;
    }
    .home-6 .bg-home7 {
        display: none;
    }
    .tf-card-article.style-1,
    .widget-related-posts .related-posts-item {
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .btn-canvas.active {
        left: 240px;
    }
    .po-sticky.fixed {
        width: 175px;
    }
    #page.market-page .content-tabs .wrapper-content .inner-content {
        max-width: 100%;
    }
    .content-tabs .side-bar {
        width: 100%;
    }
    #page.market-page .content-tabs .wrapper-content {
        flex-wrap: wrap;
    }
    #page.market-page.full .content-tabs .wrapper-content {
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .po-sticky.fixed {
        width: 168px;
    }
    #page.market-page.full .content-tabs .side-bar {
        width: 350px;
    }
    .market-header .widget-search {
        display: none;
    }
    .market-header {
        justify-content: end;
    }
    .flat-wallet {
        display: none !important;
    }
    .content-tabs .wrapper-content {
        flex-wrap: wrap;
    }
    .home-6 .tf-soft .soft-left .dropdown {
        width: 48%;
    }
    .soft-left {
        flex-wrap: wrap;
        width: 100%;
    }
    .tf-soft .soft-left .dropdown {
        width: 48%;
    }
    .tf-soft .soft-right .dropdown,
    .soft-right {
        width: 100%;
    }
    .action__body.style-1 {
        padding: 30px;
    }
    .wrap-box-card.style-1 .col-item {
        width: calc(50% - 28.5px) !important;
    }
    .bg-home7 .swiper-container:nth-last-child(2) {
        display: none;
    }
    .widget-category-checkbox {
        padding-left: 10px;
        padding-right: 10px;
    }
    .widget-category-checkbox form label i.icon-star,
    .widget-category-checkbox label {
        font-size: 12px;
    }
    .tf-card-article.style-1 {
        flex-wrap: wrap;
        gap: 30px;
    }
    .tf-card-article.style-1 .card-media {
        min-width: 100%;
    }
    .widget-related-posts .related-posts-item .card-media {
        width: 100%;
        margin: 0;
        height: auto;
        margin-bottom: 20px;
    }
    .widget-related-posts .related-posts-item .card-media img {
        width: 100%;
    }
    .tf-blog-detail .side-bar {
        margin-top: 30px;
    }
    .product-detail .tf-card-box.style-5:last-child {
        margin-bottom: 30px !important;
    }
    .box-icon-item,
    .widget-term-condition .wrap-menu {
        margin-bottom: 30px;
        width: 100% !important;
        position: unset !important;
    }
    .infor-product.style-1 .meta {
        padding-right: 0;
    }
    .market-page .btn-submit {
        flex-wrap: wrap;
        display: flex;
        row-gap: 10px;
        justify-content: center;
    }
    .market-page .btn-submit button {
        width: 100%;
        margin-right: 0;
    }
    .tf-blog-detail .inner-content {
        margin-right: 0;
    }
    .icon-background {
        opacity: 0.3;
    }
    .icon-background img {
        max-width: 30px;
    }
    .pages-title {
        min-height: 280px;
        /* background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%); */
    }

    .pages-title .content {
        padding: 40px 20px;
    }

    .pages-title .content h1 {
        font-size: 36px;
    }

    .pages-title .content p {
        font-size: 16px;
    }

    .pages-title .content h1::after {
        bottom: -6px;
        height: 1.5px;
        width: 50%;
    }
}

@media (min-width: 769px) {
    .flat-wallet {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .pages-title {
        min-height: 240px;
        /* background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%); */
    }

    .pages-title::before {
        /* background: 
            radial-gradient(circle at 10% 10%, rgba(255,255,255,0.15) 0%, transparent 40%),
            radial-gradient(circle at 90% 90%, rgba(255,255,255,0.15) 0%, transparent 40%); */
    }

    .pages-title .content {
        padding: 30px 15px;
    }

    .pages-title .content h1 {
        font-size: 32px;
        background: linear-gradient(45deg, #fff 20%, #e0e0e0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .pages-title .content p {
        font-size: 14px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.53);
    }

    /* Add a subtle animated border effect */
    .pages-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255,255,255,0.3) 50%, 
            transparent 100%);
        animation: borderGlow 3s ease-in-out infinite;
    }

    .pages-title .content h1::after {
        bottom: -4px;
        height: 1px;
        width: 40%;
    }
    .custom-confirmation-box{
        padding: 0;
    }
    .tf-button.style-1.confirm-btn{
        width: 135px;
    }
}

@keyframes borderGlow {
    0% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 0, 128, 0.5),
            0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 0, 128, 0.7),
            0 0 30px rgba(0, 255, 255, 0.5);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

/* Modern Gaming Design (Flashy) */
.pages-title.modern-gaming {
    position: relative;
    min-height: 380px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.pages-title.modern-gaming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 128, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.1) 0%, transparent 30%);
    filter: blur(60px);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 0;
}

.pages-title.modern-gaming::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

.pages-title.modern-gaming .content {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.pages-title.modern-gaming .content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 10px rgba(255, 0, 128, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3);
    animation: textGlow 3s ease-in-out infinite;
}

.pages-title.modern-gaming .content h1::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 0, 128, 0.8),
        rgba(0, 255, 255, 0.8),
        transparent
    );
    border-radius: 2px;
    animation: borderPulse 3s ease-in-out infinite;
}

.pages-title.modern-gaming .content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 25px 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.1),
        0 0 40px rgba(0, 255, 255, 0.1);
}

.pages-title.modern-gaming .content p::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 0, 128, 0.3),
        rgba(0, 255, 255, 0.3),
        rgba(255, 0, 128, 0.3)
    );
    border-radius: 9px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

/* Standard Gaming Design (Clean) */
.pages-title.standard-gaming {
    position: relative;
    min-height: 360px;
    background: #000;
    overflow: hidden;
}

.pages-title.standard-gaming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 0;
}

.pages-title.standard-gaming::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.pages-title.standard-gaming .content {
    position: relative;
    z-index: 1;
    padding: 70px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pages-title.standard-gaming .content h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.pages-title.standard-gaming .content h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #fff;
    opacity: 0.8;
}

.pages-title.standard-gaming .content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* Responsive Styles for Both Designs */
@media (max-width: 768px) {
    .pages-title.modern-gaming,
    .pages-title.standard-gaming {
        min-height: 320px;
    }

    .pages-title.modern-gaming .content,
    .pages-title.standard-gaming .content {
        padding: 50px 20px;
    }

    .pages-title.modern-gaming .content h1,
    .pages-title.standard-gaming .content h1 {
        font-size: 40px;
    }

    .pages-title.modern-gaming .content h1::before,
    .pages-title.standard-gaming .content h1::after {
        width: 60px;
        height: 2px;
    }

    .pages-title.modern-gaming .content p,
    .pages-title.standard-gaming .content p {
        font-size: 16px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .pages-title.modern-gaming,
    .pages-title.standard-gaming {
        min-height: 280px;
    }

    .pages-title.modern-gaming .content,
    .pages-title.standard-gaming .content {
        padding: 40px 15px;
    }

    .pages-title.modern-gaming .content h1,
    .pages-title.standard-gaming .content h1 {
        font-size: 34px;
        letter-spacing: 0.5px;
    }

    .pages-title.modern-gaming .content h1::before,
    .pages-title.standard-gaming .content h1::after {
        width: 50px;
        height: 2px;
        bottom: -10px;
    }

    .pages-title.modern-gaming .content p,
    .pages-title.standard-gaming .content p {
        font-size: 15px;
        padding: 0 10px;
    }
}

/* Keep the animations for the modern design */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 0, 128, 0.5),
            0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 0, 128, 0.7),
            0 0 30px rgba(0, 255, 255, 0.5);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

@keyframes underlineReveal {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) scaleX(1);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}
/* ===== Terms & Conditions Page Scroll Behavior ===== */
.widget-term-condition {
  position: relative;
  /* overflow: hidden; REMOVE THIS LINE – it breaks sticky behavior */
}

/* Shared Layout for Desktop View (Terms + Privacy) */
@media (min-width: 992px) {
  .widget-term-condition .flat-tabs {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
  }

  .widget-term-condition .wrap-menu {
    position: sticky;
    top: 100px; /* Adjust to leave space for fixed header */
    align-self: flex-start;
    height: fit-content; /* Ensure it's only as tall as content */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    flex: 1;
    padding-right: 15px;
  }

  .widget-term-condition .col-md-9 {
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 3;
  }

  .widget-term-condition .content-tab {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 60px;
  }
}

/* Mobile Layout */
@media (max-width: 991px) {
  .widget-term-condition .wrap-menu {
    position: relative;
    margin-bottom: 20px;
  }

  .widget-term-condition .menu-tab {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    
  }
  .widget-term-condition .menu-tab::-webkit-scrollbar {
  height: 0px;
}

  .widget-term-condition .menu-tab .item-title {
    white-space: nowrap;
    flex: 0 0 auto;
    margin-right: 10px;
  }

  .widget-term-condition .content-tab {
    padding-bottom: 40px;
  }
   .widget-term-condition .content-tab .content-inner p {
    overflow-wrap: break-word;
  }
}

/* Footer Protection */
.widget-term-condition + #footer-container {
  position: relative;
  z-index: 2;
  background: white; 
}