:root {
    --primary-color: var(--mud-palette-primary);
    --secondar-color: var(--mud-palette-secondary);
    --transaction-time: 0.3s;
    --btn-selected-secondary: var(--mud-palette-secondary-lighten);
    --textdark: var(--mud-palette-dark);
    --dark-bg: #0f0f1a;
    --darker-bg: #090912;
    --card-bg: #161625;
    --text-light: #f0f0f0;
    --text-muted: #a0a0b0;
    --border-color: #2a2a3a;
    --positive: #00c853;
    --neutral: #ff9800;
    --negative: #f44336;
    /* Bronze colors */
    --color-bronze: #CD7F32;
    --color-bronze-dark: #8C7853;
    --color-bronze-light: #E4B07C;
    /* Silver colors */
    --color-silver: #C0C0C0;
    --color-silver-dark: #848484;
    --color-silver-light: #E8E8E8;
    /* Gold colors */
    --color-gold: #FFD700;
    --color-gold-dark: #D4AF37;
    --color-gold-light: #F5E6A4;
    /* Platinum colors */
    --color-platinum: #E5E4E2;
    --color-platinum-dark: #CECECE;
    --color-platinum-light: #E6E6FA;
    /* Diamond colors */
    --color-diamond: #B9F2FF;
    --color-diamond-dark: #4EE2EC;
    --color-diamond-light: #52D5F2;
    --live-color: #31ff00;
    --blue-color: #3360e8;
}

/* For Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 3px; /* Very thin scrollbar */
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color); /* Slightly darker on hover */
    }

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Barlow', sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    /* background: var(--mud-palette-background);*/
    background: #141414;
    color: #fff;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    overflow-x: hidden;
    font-size: 14px;
}

/* Main app container */
#app {
    height: 100%;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
}

/* If using MudBlazor or custom layouts */
.main-content {
    height: 100%;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
}

/* For Android status bar specific padding */
@media (max-width: 600px) {
    #app {
        padding-top: 24px; /* Status bar height */
        padding-bottom: 24px; /* Navigation bar height */
    }
}

/* Adjust for different Android versions */
@supports (padding: env(safe-area-inset-top)) {
    #app {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.bg-live {
    background: var(--live-color);
}

.blue-info-color {
    color: var(--blue-color);
}


.live-color {
    color: var(--live-color);
}

.blue-info-bg{
    background : var(--blue-color);
}

.tele-bg {
    background: #2CA0DA !important;
}

.tele-color {
    color: #2CA0DA !important;
}

.gold-dark-color {
    color: var(--color-gold-dark) !important;
}

.gold-dark-background {
    background: var(--color-gold-dark) !important;
}

.border-1px-live {
    border: 1px solid var(--live-color);
}

.box-shadow-3px-live {
    box-shadow: 0px 0px 3px var(--live-color);
}

.box-shadow-2px-live {
    box-shadow: 0px 0px 2px var(--live-color);
}

.box-shadow-1px-live {
    box-shadow: 0px 0px 1px var(--live-color);
}

.app-bg {
    background-color: var(--mud-palette-background) !important;
}

.action-bg {
    background: linear-gradient(to right, var(--primary-color), var(--secondar-color)) !important;
}

.glassbox {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.page-content{
    height : calc(100% - 0px);
    /*padding : 5px 10px 0px 10px;*/
    position : relative;
    z-index : 100;
}

.show-ntw .page-content {
    height: calc(100% - 124px);
}

.pc-body{
    height : 100%;
    overflow-x : auto;
}
.pc-body-toolbar{
    position: sticky;
    top: 0;
    background-color: var(--mud-palette-background);
    z-index: 10;
    height: 50px;
    display : flex;
    justify-content : space-between;
    padding : 0px 10px;

}

.pc-banner-view{

}
    .pc-banner-view .banner1 {
        width: 20%;
        padding : 0px 0px 0px 0px;
    }

        .pc-banner-view .banner1 .b1-wrapper {
            padding: 5px 10px 0px 10px;
        }

    .pc-banner-view .banner2 {
        width: 60%;
    }
    .pc-banner-view .banner3 {
        width: 20%;
        padding: 0px 0px 0px 0px;
    }

        .pc-banner-view .banner3 .b3-wrapper {
            padding: 5px 10px 0px 10px;
        }


.blur-box-style {
    backdrop-filter: blur(10px);
    background: #00000094;
}

.grid-box-style {
    background: var(--mud-palette-action-disabled-background);
}

.app-modal-dialog-component {
    height: 100dvh;
}

.app-modal-dialog-title {
    display : none;
    height : 0px;
    padding : 0px;
}

.modal-page-content {
    height: calc(100% - 10px);
    /*padding: 0px 10px 10px 10px;*/
}

    .modal-page-content .pc-body-toolbar {
        background : none;
        padding : 0px;
    }

.pc-tb-ls{
    display : flex;
    gap : 10px;
    align-items : center;
}

.pc-tb-ls-label {
  font-size : 14px;
  font-weight : bold;
}

.pb-tb-rs {
    display: flex;
    align-items: center;    
    gap : 10px;
}
.pc-body-content {
   /* height: calc(100% - 40px);*/
   /* padding: 5px 10px 0px 10px;*/
}

.pc-body-footer {
    height: 50px;
    padding: 0px 10px;
}

.pc-bc-hasfooter {
    height: calc(100% - 100px);
    padding: 5px 10px 10px 10px;
}

.toolbar-title{
    font-size : 16px;
    font-weight : bold;
}
.mud-dialog {
    background: linear-gradient(145deg, #1e2349 0%, #2a2f5e 100%);
}

.cus-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
}

.cus-diah-title {
    font-size: 16px;
    font-weight: bold;
}

.mud-button-filled.mud-button-filled-primary .mud-icon-button-label {
    color : black;
}

/*==========================Navmenu================================*/
.Navmenu {
    box-shadow: none !important;
    background: none !important;
}

    .Navmenu .mud-toolbar {
        display : flex;
        justify-content : space-between;
        padding-left : 10px !important;
        padding-right : 10px !important;
    }

.nav-main-item .nav-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    top: -23px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondar-color));
    color: #fff;
}

.nav-main-item .nav-icon-box {
    height: 30px;
    position: relative;
    width: 100%;
}

.nav-drawer {
    background-color: var(--mud-palette-background) !important;
    border-right: 1px solid var(--mud-palette-dark-darken);
    z-index: 1301;
}

.nav-drawer2 {
    background-color: var(--mud-palette-background) !important;
    z-index: 1301;
    border-left: 1px solid var(--mud-palette-action-disabled-background);
}

.nav-drawer-close-btn{
    position : fixed;
    height : 100%;
    width : 100%;
    z-index : 1300;
    top : 0;
    left : 0;
}

.nav-game-btn {
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
}

.nav-game-active {
    background: linear-gradient(270deg, var(--btn-selected-secondary), transparent);
}
.nav-section-active {
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--btn-selected-secondary));
}

.nav-section-active2 {
    background: linear-gradient(270deg, var(--mud-palette-primary), var(--btn-selected-secondary));
}

.versus-active {
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--mud-palette-error-lighten)) !important;
}

.cus-parallel-btn {
    clip-path: polygon(15% 0, 100% 0%, 85% 100%, 0% 100%);
}
.cus-parallel-btn-wrapper {
    justify-content: space-around !important;
    padding-left: 27px;
}

.sword-deep-left {
    transform: rotate(283deg);
    margin-right: -10px;
    margin-bottom: -5px;
}

.sword-normalleft {
    transform: rotate(292deg);
    margin-right: -10px;
}

.sword-left {
    transform: rotate(305deg);
    margin-right: -10px;
}

.sword-stright {
    transform: rotate(333deg);
}

.sword-right {
    transform: rotate(359deg);
    margin-left: -10px;
}

.sword-normalright {
    transform: rotate(10deg);
    margin-left: -10px;
}

.sword-deep-right {
    transform: rotate(24deg);
    margin-left: -12px;
    margin-top: 8px;
}

.sword-spacer {
    width: 10px;
}

.profile-btn {
    padding: 3px 10px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--mud-palette-action-disabled);
    border-radius: 15px;
    max-width : 140px;
    overflow : hidden;
}
    .profile-btn img {
        border-radius: 50%;
        overflow: hidden;
        height: 25px;
        width: 25px;
    }

    .profile-btn .profile-text {
        font-size: 13px;
        max-width: 85px;
        text-overflow : ellipsis;
        text-wrap : wrap;
        height : 18px;
        overflow : hidden;
    }

.nav-toolbar-wrapper {
    overflow: hidden;
    animation: fade-in-64;
    animation-duration: var(--transaction-time);
    animation-iteration-count: initial;
    height: 0px;
}
.show-ntw .nav-toolbar-wrapper {
    animation: fade-out-64;
    animation-duration: var(--transaction-time);
    animation-iteration-count: initial;
    height: 60px;
}

.nav-game-choose-btn {
    height: 37px;
    width: 37px;
    border-radius: 50%;
    overflow: hidden;
}

    .nav-game-choose-btn img {
        height: 100%;
        width: 100%;
    }

@keyframes fade-out-64{
    0% {
        height: 0px;
    }
    100% {
        height: 60px;
    }
}
@keyframes fade-in-64 {
    0% {
        height: 60px;
    }

    100% {
        height: 0px;
    }
}
/*==========================Navmenu================================*/

/*========================== Matches ================================*/
.matches-ctmm-mobile-mud-popover {
    left: 380px !important;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background: linear-gradient(145deg, #1e2349 0%, #2a2f5e 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .card:hover {
        /*transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);*/
    }

.card-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-virtual .match-vir-item {
    height: 410px;
    overflow: hidden !important;
}

    .match-virtual .match-vir-item .card {
        height: 400px;
    }

.match-recent-virtual .match-rec-vir-item {
    height: 100px;
    overflow: hidden !important;
}

    .match-recent-virtual .match-rec-vir-item .card {
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius : 5px;
    }


.match-type {
    background: var(--mud-palette-error);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

    .match-type.team {
        background: var(--mud-palette-info);
    }

.challenge-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
}

.card-body {
    padding: 20px;
    padding-bottom : 75px;
}

.challenger {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ff6b00;
    margin-right: 15px;
    position : relative;
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius : 50%;
    }

.recent-watch-winner-icon {
    position: absolute;
    top: -18px;
    transform: rotate(21deg);
    right: -5px;
}

.recent-watch-winner-text {
    position: absolute;
    bottom: -10px;
    left: 1px;
    padding: 1px 5px;
    border-radius: 10px;
    background: orange;
}

.challenger-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.challenger-info p {
    color: #a0a0c0;
    font-size: 0.9rem;
}

.hero-selection {
    margin: 5px 0;
}

    .hero-selection h4 {
        margin-bottom: 10px;
        font-size: 1rem;
        color: #ffd700;
    }

.heroes {
    display: flex;
    gap: 10px;
    overflow-x : auto;
}

.hero {
    min-width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .hero:hover {
        border-color: #ff6b00;
    }

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between; 
    align-items: center;
/*    position: absolute;
    bottom: 0;*/
    width: 100%;
}

.time-left {
    font-size: 0.9rem;
    color: #a0a0c0;
}

.accept-btn {
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--btn-selected-secondary)) !important;
}

    .accept-btn:hover {
        background: #ff8c33;
        box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    }

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff3860;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.team-members {
    display: flex;
    margin-top: 10px;
}

.team-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #4a6bff;
    margin-right: 5px;
}

    .team-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ongoing-card .card-body {
    padding: 0px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ongoing-card .avatar {
    height : 45px;
    width : 45px;
    margin : 0px;
}

.ongoing-card .challenger {
    margin-bottom : 0px;
    gap : 10px;
}

.ongoing-card .card-vs {
    color: var(--mud-palette-info);
}

.ongoing-card .match-hero {
    height: 45px;
    width: 45px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--mud-palette-info);
}

    .ongoing-card .match-hero img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.common-profile-box {
    position: fixed;
    opacity: 0;
    display: none;
    top: 0;
    left: 0;
    z-index: -100000;
    padding: 10px;
   /* background: var(--mud-palette-primary-darken);*/
    border-radius: 10px;
    transition: all ease-in-out 0.3s;
}

.common-profile-box.cpb-active {
    opacity: 1;
    display: block;
    z-index: 100000;
    transition : all ease-in-out 0.3s;
}

.common-probox-backdrop{
    position : fixed;
    height : 100%;
    width : 100%;
    top : 0;
    left : 0;
    z-index : 99999;
}

.match-content-wrapper {
   /* height: 153px;*/
    overflow: hidden;
}

.match-desr-text {
    width: 100%;
  /*  height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;*/
    color: var(--mud-palette-gray-light);
   /* word-break: break-word !important;
    word-wrap: break-word !important;
    white-space: nowrap;*/
}

.hero-choose .mud-tabs-tabbar {
    background: var(--mud-palette-action-default-hover);
}

.hero-choose .mud-tab.mud-tab-active {
    color: var(--mud-palette-secondary);
}

.hero-choose .choosehero-text {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    background: var(--mud-palette-overlay-dark);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 12px;
    padding: 5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choosehero-selected .choosehero-text {
    border: 3px solid var(--mud-palette-warning);
    border-radius: 8px;
    height: 102% !important;
    box-shadow: 0px 0px 5px var(--mud-palette-warning);
}

.compact-match-virtual .match-vir-item {
    height: 100px;
    overflow: hidden !important;
}

.compact-match-virtual .match-vir-item-wrapper {
    height: 90px;
    background: linear-gradient(145deg, #1e2349 0%, #2a2f5e 100%);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .compact-match-virtual .match-vir-item-wrapper .c-matv-iw-f {
        height: 40px;
        width: 100%;
        background: var(--mud-palette-divider-light);
        padding: 0px 5px;
        display: flex;
        align-items: center;
        justify-content : space-between;
    }

    .compact-match-virtual .match-vir-item-wrapper .c-matv-iw-s {
        height: 50px;
        padding: 0px 5px;
        display : flex;
        align-items :center;
    }

        .compact-match-virtual .match-vir-item-wrapper .c-matv-iw-s .avatar {
            width: 40px;
            height: 40px;
        }

        .compact-match-virtual .match-vir-item-wrapper .c-matv-iw-s .challenger-info h3 {
            font-size: 15px;
            margin-bottom: 0px;
        }

        .compact-match-virtual .match-vir-item-wrapper .c-matv-iw-s .challenger-info p {
            font-size: 0.6rem;
        }


    .compact-match-virtual .match-vir-item-wrapper .match-type {
        background: var(--mud-palette-error);
        height: 25px;
        color: white;
        padding: 2px 15px;
        border-radius: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }

.compact-match-virtual .accept-btn {
    padding: 3px 15px;
    border-radius : 5px;
    background : none !important;
}

.challenger-if-rankimg img{
    height : 20px;
    width : 20px;
    object-fit : cover;
}

.matches-expend-panel .mud-expand-panel {
    /* background: var(--mud-palette-dark-darken);*/
    /* background: var(--mud-palette-background);*/
    background: var(--mud-palette-background-gray);
}
.matches-expend-panel .mud-expand-panel-content {
    padding : 0px !important;
}

.games-row-container > div:last-child .game-row {
    padding-bottom: 0px !important;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
/*========================== Matches ================================*/

/*========================== Profile ================================*/
.profile-modal {
    width: 250px;
    position: relative;
}

.profile-container {
    width: 250px;
    position: relative;
    padding : 10px;
}

.common-profile-box .profile-container {
    width: 210px;
    padding: 0px;
}

.pro-f-f1 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    margin-bottom: 15px;
}

    .pro-f-f1 .profile-avatar {
        height: 80px;
        width: 80px;
        overflow: hidden;
        border-radius: 50%;
        border: 2px solid var(--mud-palette-warning);
    }

        .pro-f-f1 .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .pro-f-f1 .profile-name {
        font-size : 20px;
        font-weight : bold;
        position : relative;
    }


.pro-f-f3 {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position : relative;
}

.pro-f-f3 .profile-rank-icon {
    height: 50px;
    width: 50px;
}

    .pro-f-f3 .profile-rank-icon img {
        width: 100%;
        height: 100%;
    }

    .pro-f-f3 .profile-rank-text {
    }

        .pro-f-f3 .profile-rank-text .profile-rank {
            font-size: 17px;
        }

        .pro-f-f3 .profile-rank-text .profile-wr {
            font-size: 12px;
            color: var(--mud-palette-gray-default);
        }

.pro-username-edit-btn {
    top: -10px;
    right: -50px;
}
.pro-rank-edit-btn {
    top: 0;
    right: -20px;
}

.profile-close-btn {
    top: 0;
    right: 0;
}

.profile-modal-title{
    padding : 10px 0px 0px 0px !important;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 10px;
}

.rank-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .rank-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

    .rank-item.selected {
        border-color: #ff6b00;
        background: rgba(255, 107, 0, 0.1);
        box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
    }

.rank-icon-large {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-icon-large img{
    height : 100%;
    width : 100%;
    object-fit : contain;
}

.rank-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}
/*========================== Profile ================================*/

/*========================== Profile ================================*/
.game-mode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.mode-option {
    flex: 1;
    /*min-width: 90px;*/
    text-align: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
    .mode-option.selected {
        border: 1px solid var(--mud-palette-secondary);
        /*background: var(--mud-palette-secondary);*/
       /* color: var(--mud-palette-primary-text);*/
    }

.mode-icon {
    margin-bottom: 10px;
    color: var(--mud-palette-primary);
}

.challenge-accept-btn {
    width: 100%;
    padding: 12px;
    background: var(--mud-palette-secondary);
    /* background: linear-gradient(to right, var(--mud-palette-secondary), var(--mud-palette-secondary-darken));*/
    border: none;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-edit-btn {
   /* margin: 8px 0px 5px 0px;*/
    width: 60px;
}

/*========================== Profile ================================*/

/*============================Toolbar btn control============================*/
.control-toolbar-buttons {
    display: flex;
    gap: 8px;
    /*padding-bottom: 10px;*/
    height: 50px;
    align-items: center;
}

.control-toolbar-button {
    display: flex;
    padding: 0px 15px !important;
    transition: background-color 0.3s, color 0.3s !important;
    height: 40px;
    align-items: center !important;
    gap: 5px !important;
    border: 1px solid var(--mud-palette-action-disabled) !important;
    border-radius: 25px !important;
    justify-content: start !important;
    gap: 10px !important;
}

.control-toolbar-btn-icon {
    margin-top: 8px;
}

.control-toolbar-button:hover {
    background-color: var(--mud-palette-primary-light);
    color: var(--mud-palette-primary-contrast-text);
}

.control-toolbs-active-btn {
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--btn-selected-secondary)) !important;
    border: none !important;
    color: var(--mud-palette-primary-contrast-text) !important;
}

.control-button-label {
    /*margin-top: 4px;*/
    font-size: 14px;
}

.control-toolb-btns-mud-popover {
    background-color: var(--mud-palette-background) !important;
    padding: 0px 5px !important;
    /* border: 1px solid var(--mud-palette-action-disabled);*/
    border-radius: 10px !important;
    min-width: 150px !important;
}

    .control-toolb-btns-mud-popover .mud-list {
        overflow: hidden !important;
    }

.control-toolb-icon-only-btn {
    background: none !important;
    padding: 0px 5px !important;
    border: none !important;
}

.full-center-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contbtn-label-white .control-button-label, .contbtn-label-white .control-toolbar-btn-icon {
    color: white;
}
/*============================Toolbar btn control============================*/
/*========================== Custom Button ==================================*/
.custom-btn {
    padding: 10px 0px 10px 0px;
    overflow: hidden;
    background: var(--mud-palette-info-hover);
}

    .custom-btn .cus-btn-wrapper {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap : 5px;
    }

    .custom-btn img {
    }

    .custom-btn .btn-label {
        color: var(--mud-palette-dark-text) !important;
        font-size: 12px;
    }

    .custom-btn.cus-btn-active {
        background: var(--mud-palette-primary);
    }

.mobile-nav-item {
    padding: 0px 10px 0px 10px;
}
/*========================== Custom Button ==================================*/

.bg-linear-pri-second-tr {
    background: linear-gradient(to right, var(--primary-color), var(--secondar-color));
}

.bg-linear-pri-second-tl {
    background: linear-gradient(to left, var(--primary-color), var(--secondar-color));
}


/*========================== LandingPage ==================================*/
/*.lp-versus-grid {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    padding-bottom : 10px;
}

.lp-vgi-title {
    display: flex;
    transition : all ease-in-out 0.3s;
}


.lp-vg-item:hover .lp-vgi-title {
    top: -65px;
    transform: scale(2);
    transition: all ease-in-out 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.6s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.animate-on-scroll-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.1s;
}

.animate-on-scroll-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.2s;
}

.animate-on-scroll-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.3s;
}

    .animate-on-scroll-delay-1.visible,
    .animate-on-scroll-delay-2.visible,
    .animate-on-scroll-delay-3.visible {
        opacity: 1;
        transform: translateY(0);
    }

.custom-getstarted-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .custom-getstarted-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(199, 34, 138, 0.3) !important;
    }

    .custom-getstarted-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .custom-getstarted-btn:focus:not(:active)::after {
        animation: ripple 1s ease-out;
    }

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.tertiary-color {
    color: var(--mud-palette-tertiary) !important;
}

.bg-tertiary {
    background-color: var(--mud-palette-tertiary) !important;
}

.hover-scale:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

section {
    scroll-margin-top: 80px;
}*/

/*========================== LandingPage ==================================*/

.text-sha-1{
    text-shadow: -1px 3px 3px #a5a5a5;
}

.box-shadow-1 {
    box-shadow: rgb(87 82 82 / 35%) 0px -50px 36px -28px inset;
}

.ls-space-1px{
    letter-spacing: 1px;
}

.game-play-btn-under {
    position: absolute;
    bottom: -95px;
    left: -50%;
    transform: translateX(-50%);
    width: 195px;
    height: 25px;
    background: #33323269;
    border-radius: 50%;
    z-index: 0;
    filter: blur(0px);
    box-shadow: -2px 5px 5px #212020;
}

.expend-ani{
    animation : expend-anime;
    animation-iteration-count : infinite;
    animation-timing-function : linear;
}

.expend-ani2 {
    animation: expend-anime2;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}


@keyframes expend-anime {
    0%{
        transform : translate(-50%,-50%) scale(1);
        opacity : 0.6;
    }
    100% {
        transform: translate(-50%,-50%) scale(2.5);
        opacity : 0.1;
    }
}

@keyframes expend-anime2 {
    0% {
        transform: translate(-50%,-50%) scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%,-50%) scale(1.8);
        opacity: 0.1;
    }
}

/*============================== Car Moving Animation =======================*/

.car-container {
    position: relative;
    width: 130px;
    height: 30px;
    overflow: hidden;
}

/* Semi-transparent road */
.road-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient( 90deg, rgba(30, 30, 40, 0.7) 0px, rgba(30, 30, 40, 0.7) 25px, rgba(50, 50, 60, 0.7) 25px, rgba(50, 50, 60, 0.7) 50px );
    animation: slideRoad 1.5s linear infinite;
    border-radius: 7px;
}

/* Road dashed line */
.road-markings {
    position: absolute;
    bottom: 22%;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient( 90deg, rgba(255, 220, 100, 0.9), rgba(255, 220, 100, 0.9) 25px, transparent 25px, transparent 50px );
    animation: slideRoad 1.5s linear infinite;
}

/* Car on the right */
.car-wrapper {
    position: absolute;
    right: 5px;
    bottom: 5%;
    width: 30px;
    height: 30px;
    z-index: 10;
    animation: engineShake 0.25s ease-in-out infinite;
}

.car-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(3px 5px 8px rgba(0,0,0,0.4));
}

@keyframes slideRoad {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 0;
    }
}

@keyframes engineShake {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-1.5px) rotate(0.3deg);
    }

    75% {
        transform: translateY(1.5px) rotate(-0.3deg);
    }
}

/* Speed lines effect */
.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

    .speed-lines::before,
    .speed-lines::after {
        content: '';
        position: absolute;
        top: 30%;
        width: 2px;
        height: 20px;
        background: rgba(255, 255, 255, 0.4);
        animation: speedLine 0.8s linear infinite;
    }

    .speed-lines::before {
        left: 10%;
        animation-delay: 0s;
    }

    .speed-lines::after {
        left: 30%;
        animation-delay: 0.4s;
    }

@keyframes speedLine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(300%);
        opacity: 0;
    }
}

/*============================== Car Moving Animation =======================*/

/* --- Class 1: Appear from Bottom --- */
.div-appear-bottom {
    transform: translateY(100%);
    animation: appearFromBottom 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes appearFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* --- Class 2: Appear from Top --- */
.div-appear-top {
    transform: translateY(-100%);
    animation: appearFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes appearFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* --- Class 3: Appear from Left --- */
.div-appear-left {
    transform: translateX(-100%);
    animation: appearFromLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes appearFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- Class 4: Appear from Right --- */
.div-appear-right {
    transform: translateX(100%);
    animation: appearFromRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes appearFromRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- Class 2: Disappear to Bottom --- */
.div-disappear-bottom {
    /* Initial state: fully visible */
   /* opacity: 1;*/
    transform: translateY(0);
    /* Apply the animation */
    animation: disappearToBottom 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes disappearToBottom {
    0% {
        /*opacity: 1;*/
        transform: translateY(0);
    }

    100% {
       /* opacity: 0;*/
        transform: translateY(100%);
    }
}

.lang-btn button {
    padding: 5px !important;
    background: var(--mud-palette-action-default-hover) !important;
}


/* ============================================ ERROR MODAL - IOS STYLE ============================================ */
.error-modal-ios {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 24px;
    /* background: var(--mud-palette-background, #1a1a2e); */
    border-radius: 20px;
    /*  max-width: 400px; */
    margin: 0 auto;
}

/* Icon */
.error-icon-container {
    margin-bottom: 20px;
    position: relative;
}

.error-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(244, 67, 54, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: errorPulse 2s ease-in-out infinite;
}

.error-icon-svg {
    width: 36px;
    height: 36px;
    color: #f44336;
    stroke-width: 2;
}

@@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* Content */
.error-content {
    text-align: center;
    margin-bottom: 28px;
}

.error-title {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.error-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0 0 4px 0;
}

.error-sub-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.6;
    margin: 0;
}

/* Actions */
.error-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.error-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.error-btn-primary {
    background: var(--primary-color, #F34075);
    /*color: black;*/
}

    .error-btn-primary:hover {
        /*transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(243, 64, 117, 0.3);*/
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgb(168 140 255 / 22%);
    }

    .error-btn-primary:active {
        transform: scale(0.97);
    }

.error-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .error-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .error-btn-secondary:active {
        transform: scale(0.97);
    }

.error-btn-icon {
    width: 18px;
    height: 18px;
}

/* Support */
.error-support {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

.error-support-link {
    color: var(--primary-color, #F34075);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .error-support-link:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 480px) {
    .error-modal-ios {
        padding: 24px 16px 20px;
    }

    .error-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .error-icon-svg {
        width: 30px;
        height: 30px;
    }

    .error-title {
        font-size: 18px;
    }

    .error-message {
        font-size: 13px;
    }

    .error-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/*  =================================================   Timeline ========================================== */
.timeline-header {
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.timeline-count {
    color: rgba(255, 255, 255, 0.3);
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.timeline-body {
    overflow-y: auto;
    min-height: 300px;
}

    .timeline-body::-webkit-scrollbar {
        width: 3px;
    }

    .timeline-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 10px;
    }

    .timeline-body::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

.glass-item-hover {
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

    .glass-item-hover:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.06);
        transform: translateX(4px);
    }

    .glass-item-hover.game-action {
        border-left: 2px solid rgba(243, 64, 117, 0.2);
    }

        .glass-item-hover.game-action:hover {
            border-left-color: var(--primary-color);
        }

/* Timeline Icon */
.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

    .timeline-icon.success {
        background: rgba(76, 175, 80, 0.12);
    }

    .timeline-icon.danger {
        background: rgba(244, 67, 54, 0.12);
    }

    .timeline-icon.warning {
        background: rgba(255, 152, 0, 0.12);
    }

    .timeline-icon.info {
        background: rgba(100, 181, 246, 0.12);
    }

    .timeline-icon.primary {
        background: rgba(243, 64, 117, 0.12);
    }

    .timeline-icon.neutral {
        background: rgba(255, 255, 255, 0.04);
    }

.timeline-title {
    color: rgba(255, 255, 255, 0.85);
}

.timeline-detail {
    color: rgba(255, 255, 255, 0.4);
}

.timeline-tag {
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.2);
}

.timeline-date {
    color: rgba(255, 255, 255, 0.2);
}

.timeline-amount {
    font-weight: 600;
}

.timeline-balance {
    color: rgba(255, 255, 255, 0.2);
}

.page-btn {
    min-width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

    .page-btn.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

/*  =================================================   Timeline ========================================== */

/* ============================================ IOS NOTIFICATION STYLES ============================================ */
.ios-notification-container {
    display: flex;
    flex-direction: column;
    padding: 0 16px 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* ============================================ HEADER ============================================ */
.ios-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: sticky;
    top: 0;
    z-index: 10;
}

.ios-notification-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-notification-header-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.ios-notification-close {
    @* background: rgba(255, 255, 255, 0.04);
    *@ border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.4);
    padding: 0;
}

    .ios-notification-close:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .ios-notification-close:active {
        transform: scale(0.92);
    }

@@keyframes iosSpin {
    to {
        transform: rotate(360deg);
    }
}

.ios-loading-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================ EMPTY STATE ============================================ */
.ios-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 8px;
    flex: 1;
}

.ios-empty-icon {
    font-size: 56px;
    opacity: 0.3;
    margin-bottom: 8px;
}

.ios-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}

.ios-empty-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================ NOTIFICATION LIST ============================================ */
.ios-notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .ios-notification-list::-webkit-scrollbar {
        width: 0;
    }

/* ============================================ NOTIFICATION ITEM ============================================ */
.ios-notification-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    /*border-radius: 12px;*/
    background: rgba(255, 255, 255, 0.02);
   /* border: 1px solid transparent;*/
    transition: all 0.2s ease;
    position: relative;
}

    .ios-notification-item:active {
        transform: scale(0.99);
        background: rgba(255, 255, 255, 0.03);
    }

    .ios-notification-item.unread {
       /* background: rgb(64 160 243 / 4%);*/
        border-color: rgba(243, 64, 117, 0.06);
    }

        .ios-notification-item.unread:active {
            background: rgba(243, 64, 117, 0.06);
        }

/* ============================================ NOTIFICATION CONTENT ============================================ */
.ios-notification-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ios-notification-message {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    word-break: break-word;
}

.ios-notification-item.unread .ios-notification-message {
    font-weight: 600;
}

/*.ios-notification-detail {
    font-size: 12px;
    word-break: break-word;
}*/

.ios-notification-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ios-notification-type {
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ios-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color, #F34075);
    flex-shrink: 0;
    animation: iosDotPulse 2s ease-in-out infinite;
}

@keyframes iosDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ============================================ NOTIFICATION CONTENT ============================================ */