/* ======================== RESET CSS ======================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body, ul{
  margin:0;
  padding: 0;
  border: 0
}
ol,
ul {
    list-style: none;
}

/* ======================== HEADER ======================== */

/* ======================== RESET BOOTSTRAP NAVBAR ======================== */
.navbar-nav>li>a {
  line-height: inherit;
}
.navbar-nav {
    margin: inherit;
}
/* ======================== RESET BOOTSTRAP NAVBAR ======================== */

.ygame-navbar {
    display: flex;
    height: auto;
    align-items: center;
}

.banner-container {
    width: 768px;
    margin: 0 auto;
    max-width: 768px;
}

.box-container {
    width: 768px;
    margin: 0 auto;
    max-width: 768px;
}

.hide{
    animation-name: slideOutUp;
}

.fixed {
    display: block;
}

nav {
    background: #ffffff;
    border-bottom: 2px solid #2196F3;
    width: 100%;
    max-height: 65px;
    /* position: fixed; */
    z-index:1000
}
body section{
    margin-top:15px;
}
nav {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: white;
    transform: translateY(0);
    }   

.ygame-logo-header {
    width: 30%;
}

.ygame-menu-header {
    width: 70%;
    align-items: center;
    justify-content: right;
    font-family: 'Roboto';
}

.ygame-menu-header ul {
    list-style-type: none;
}

.ygame-menu-header ul li {
    display: block;
}

.ygame-menu-nav {
    display: flex;
    justify-content: flex-end;
}

.ygame-menu-header .ygame-menu-item img {
    width: 30px;
}

.user-avatar{
    border-radius: 50%;
    width: 48px !important;
}

.menu-name {
    margin-top: 3px;
     font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    /* text-overflow: ellipsis; */
}

.ygame-menu-header .ygame-menu-item {
    text-align: center;
    padding: 7px 5px 5px 5px;
    width: 97px;
    cursor: pointer
}

.ygame-menu-header .ygame-menu-item a:hover{
    color: #54b243;
    font-weight: bold;
}

 .ygame-menu-header .ygame-menu-item:last-child {
    width: unset;
    margin-left: 10px;
}
.avatar-toggle{
    position: relative;
}
.avatar-toggle:before{
    position: absolute;
    content:'';
    background: url('master-images/header/TOGGLE-MENU-4.png') center center;
    background-size: cover;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    right: -10px;
    bottom: -1px;
    
}

.ygame-menu-header .ygame-menu-item a{
    text-decoration:none;
    color: #000
}

.logo-ygame-pc {
    height: 53px;
    display: block;
}
.logo-ygame-mobile {
    display: none;
}

.custom-icon-bar {
    background: #000;
    height: 2px;
    margin-bottom: 7px;
    width: 25px;
}

.active-toggle .custom-icon-bar{
  background: #54b023;
}

.custom-icon-bar:last-child {
    margin-bottom: 0px;
}

.ygame-menu-item.active {
  color: #54b243;
  font-weight: bold;
}
.stricky {
    width: 100%;
    position: fixed;
    top: 0;
    height: 63px;
    left: 0;
    background: white;
    background-color: white;
    z-index:1000
}

/* ======================== CAROUSEL STYLES ======================== */
.is-new{
    width: 40px
}
.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: .5;
    transition: opacity .15s ease;
}
.carousel-control-next {
    right: 0;
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
}

/* ======================== FOOTER STYLES ======================== */
footer{
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #fff; 
    width: 100%;
    padding: 40px 0 30px 0;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-right {
    flex: 1;
    text-align: left;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 20px;
}

.footer-description p {
    margin: 0 0 15px 0 !important;
    line-height: 1.6;
    font-size: 14px;
    opacity: 0.9;
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}

.footer-copyright p {
    margin: 0 !important;
    font-size: 12px;
    opacity: 0.8;
}

.footer-right {
    text-align: left;
}

.footer-menu {
    margin-bottom: 25px;
}

.footer-menu h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-links li i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

footer a,
footer a:hover{
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

footer p {
    margin: 0 0 5px !important;
}

/* ======================== RESPONSIVE STYLES ======================== */

@media only screen and (max-width: 1024px) {
    .banner-container {
        width: 768px;
    }
    .box-container {
        width: 768px;
    }
}

/* Ensure footer is always visible and properly sized */
footer {
    min-height: auto;
    position: relative;
    z-index: 1;
}

.footer-container {
    min-height: auto;
    position: relative;
}

.footer-content {
    min-height: auto;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .banner-container {
        width: 100%;
        padding: 0 15px;
    }
    .box-container {
        width: 100%;
        padding: 0 15px;
    }

     body section{
        margin-top:10px;
    }

    .menu-name {
        font-size: 10px;
    }
    .ygame-menu-header .ygame-menu-item img {
        width: 25px;
    }

    .user-avatar{
        width: 39px !important;
    }
    .avatar-toggle:before{
        width: 20px;
        height: 20px;
        right: -5px;
    }

    .ygame-menu-header .ygame-menu-item {
        text-align: center;
        padding: 5px 1px 1px 1px;
        width: 80px;
    }

    .logo-ygame-pc {
        height: 44px
    }
    .custom-icon-bar {
        background-color: black;
        margin-bottom: 7px;
        height: 2px;
        width: 25px;
    }
    .navbar-nav .open .dropdown-menu {
         position: absolute;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        box-shadow: 0 3px 2px rgba(0, 0, 0, 0.7);
    }
    .navbar-right .dropdown-menu {
        right: 0;
        left: auto;
    }
    
               /* Footer responsive */
      .footer-container {
          max-width: 100%;
          padding: 0 15px;
          width: 100%;
      }
      .footer-content {
          flex-direction: column;
          gap: 25px;
          width: 100%;
      }
      .footer-left {
          text-align: left;
          margin-bottom: 0;
          width: 100%;
      }
      .footer-right {
          text-align: left;
          width: 100%;
      }
      .footer-menu {
          margin-bottom: 20px;
      }
      .footer-links li {
          justify-content: flex-start;
      }
     
           /* Hero Search responsive */
      .hero-search-section {
          padding: 12px 15px;
          margin: 12px 0;
      }
      
      .search-container {
          gap: 15px;
      }
      
      .search-title h2 {
          font-size: 15px;
      }
      
      .search-title p {
          font-size: 11px;
      }
      
      .search-box {
          max-width: 250px;
      }
      
      .search-game-input {
          padding: 7px 30px 7px 10px;
          font-size: 13px;
      }
      
      .icon-search {
          right: 8px;
          font-size: 13px;
      }
      
      /* Old Search responsive */
      .filter-game {
          padding: 12px 15px;
          margin: 12px 0;
      }
      
      .search-row {
          gap: 10px;
          justify-content: flex-end;
      }
      
      .search-input-wrapper {
          width: 250px;
      }
      
      .search-label span {
          font-size: 14px;
      }
      
      .search-game-input {
          padding: 8px 35px 8px 12px;
          font-size: 13px;
      }
}

@media only screen and (max-width: 575px) {
     .ygame-navbar {
        min-height: 52px;
    }

    nav {
        max-height: 52px;
    }
    body section{
        margin-top:10px;
    }

         .banner-container {
         padding-right: 15px;
         padding-left: 15px;
         margin-right: auto;
         margin-left: auto;
         width: 100%;
     }
         .box-container {
         padding-right: 15px;
         padding-left: 15px;
         margin-right: auto;
         margin-left: auto;
         width: 100%;
     }

    .menu-name {
        font-size: 9px;
    }

    .ygame-menu-header .ygame-menu-item img {
        width: 22px;
    }
    .user-avatar{
        width: 35px !important;
    }
     .avatar-toggle:before{
        width: 22px;
        height: 20px;
    }

    .ygame-menu-header .ygame-menu-item {
        text-align: center;
        padding: 2px 1px 1px 1px;
        width: 70px;
    }

    .logo-ygame-pc {
        display: none;
    }
    .logo-ygame-mobile {
        display: block;
        height: 34px
    }

    .custom-icon-bar {
        background-color: black;
        margin-bottom: 5px;
        height: 1px;
        width: 20px;
    }
     .ygame-menu-header .ygame-menu-item:last-child {
        width: unset;
        margin-left: 5px;
    }
    
    /* Carousel responsive */
    .carousel-control-prev-icon, .carousel-control-next-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
    }
 .is-new{
     width: 30px
 }
    
               /* Footer responsive */
      .footer-container {
          max-width: 100%;
          padding: 0 15px;
          width: 100%;
      }
      .footer-content {
          flex-direction: column;
          gap: 20px;
          width: 100%;
      }
      footer{
          padding: 20px 0 15px 0;
      }
      .footer-left {
          width: 100%;
      }
      .footer-right {
          width: 100%;
      }
      .footer-description p {
          font-size: 12px;
      }
      .footer-menu h4 {
          font-size: 14px;
      }
      .footer-links li {
          font-size: 12px;
          justify-content: flex-start;
      }
     
           /* Hero Search responsive */
      .hero-search-section {
          padding: 10px 12px;
          margin: 10px 0;
      }
      
      .search-container {
          gap: 12px;
      }
      
      .search-title h2 {
          font-size: 14px;
      }
      
      .search-title p {
          font-size: 10px;
      }
      
      .search-box {
          max-width: 200px;
      }
      
      .search-game-input {
          padding: 6px 25px 6px 8px;
          font-size: 12px;
      }
      
      .icon-search {
          right: 6px;
          font-size: 12px;
      }
      
      /* Old Search responsive */
      .filter-game {
          padding: 10px 12px;
          margin: 10px 0;
      }
      
      .search-row {
          gap: 8px;
          justify-content: flex-end;
      }
      
      .search-input-wrapper {
          width: 200px;
      }
      
      .search-label span {
          font-size: 13px;
      }
      
      .search-game-input {
          padding: 6px 25px 6px 8px;
          font-size: 11px;
      }
      
      .icon-search {
          right: 8px;
          font-size: 12px;
      }
      
      /* News responsive for 375px */
      .news-section {
          padding: 12px 0;
      }
      
      .news-title {
          font-size: 16px;
      }
      
      .news-subtitle {
          font-size: 12px;
      }
      
      .news-grid {
          gap: 12px;
      }
      
      .news-image {
          height: 140px;
      }
      
      .news-content {
          padding: 10px;
      }
      
      .news-item-title {
          font-size: 14px;
      }
      
      .news-meta {
          gap: 10px;
          font-size: 10px;
      }
      
      .news-excerpt {
          font-size: 11px;
      }
      
      .news-view-all {
          padding: 6px 12px;
          font-size: 12px;
      }
      
      /* .footer-logo-img {
          height: 40px;
      } */
      
             /* Footer responsive for small screens */
       .footer-container {
           width: 100%;
       }
       .footer-content {
           flex-direction: column;
           gap: 15px;
           width: 100%;
       }
       .footer-left {
           text-align: left;
           margin-bottom: 0;
           width: 100%;
       }
       .footer-right {
           text-align: left;
           width: 100%;
       }
       .footer-links li {
           justify-content: flex-start;
       }
}

/* ======================== HERO SEARCH STYLES ======================== */
.hero-search-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
    border: 1px solid #2196F3;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search-title {
    flex-shrink: 0;
    text-align: left;
}

.search-title h2 {
    color: #1976D2;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.search-title p {
    color: #666;
    font-size: 12px;
    margin: 5px 0 0 0;
}

.search-box {
    flex: 1;
    max-width: 300px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-game-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fff;
}

.search-game-input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.2);
}

.search-game-input::placeholder {
    color: #999;
}

.icon-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
}

/* ======================== OLD SEARCH STYLES (for backup) ======================== */
.filter-game {
    background: transparent;
    padding: 15px 20px;
    margin: 15px 0;
}

.search-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.search-label {
    flex-shrink: 0;
}

.search-label span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* ======================== GAME ITEM STYLES ======================== */
.game-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
}

.game-item a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.game-item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px !important;
    transition: transform 0.3s ease;
    width: 100%;
    object-fit: cover;
}

.game-item:hover img {
    transform: scale(1.05);
}

.game-item .game-name {
    margin-top: 8px;
    font-weight: 500;
    color: #1976D2;
    font-size: 12px;
    line-height: 1.3;
    padding: 0 5px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Grid layout cho game items */
#list-game {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

#list-game .game-item {
    flex: 0 0 auto;
    width: calc(16.666% - 16px); /* 6 items per row */
    margin: 8px;
    min-height: 140px;
}

/* Responsive cho game items */
@media only screen and (max-width: 1200px) {
    #list-game .game-item {
        width: calc(20% - 16px); /* 5 items per row */
    }
}

@media only screen and (max-width: 992px) {
    #list-game .game-item {
        width: calc(25% - 16px); /* 4 items per row */
    }
}

@media only screen and (max-width: 768px) {
    #list-game .game-item {
        width: calc(33.333% - 16px); /* 3 items per row */
        min-height: 120px;
    }
    
    .game-item {
        padding: 6px;
        margin-bottom: 12px;
    }
    
    .game-item .game-name {
        font-size: 11px;
        margin-top: 6px;
    }
}

@media only screen and (max-width: 575px) {
    #list-game .game-item {
        width: calc(50% - 16px); /* 2 items per row */
        min-height: 110px;
    }
    
    .game-item {
        padding: 5px;
        margin-bottom: 10px;
    }
    
    .game-item .game-name {
        font-size: 12px;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 375px) {
    #list-game .game-item {
        width: calc(50% - 12px); /* 2 items per row */
        margin: 6px;
        min-height: 100px;
    }
    
    .game-item {
        padding: 4px;
        margin-bottom: 8px;
    }
    
    .game-item .game-name {
        font-size: 9px;
        margin-top: 4px;
    }
}

/* ======================== NEWS SECTION STYLES ======================== */
.news-section {
    padding: 20px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-title {
    color: #1976D2;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.news-title i {
    color: #2196F3;
    font-size: 18px;
}

.news-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.news-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-thumbnail {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    font-size: 14px;
}

.news-placeholder i {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.6;
}

.news-placeholder span {
    font-size: 12px;
    opacity: 0.8;
}

.news-content {
    padding: 15px;
}

.news-item-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.news-item-title a {
    color: #1976D2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: #2196F3;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.news-date, .news-category {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i, .news-category i {
    color: #2196F3;
    font-size: 11px;
}

.news-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.news-read-more {
    color: #2196F3;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: #1976D2;
    text-decoration: none;
}

.news-read-more i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

.news-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.news-footer {
    text-align: center;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2196F3;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #2196F3;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news-view-all:hover {
    background: #2196F3;
    color: white;
    text-decoration: none;
}

.news-view-all i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-view-all:hover i {
    transform: translateX(3px);
}

/* ======================== UTILITY CLASSES ======================== */
.img_parent
{
	position: relative;
	top: 0;
	left: 0;
}
.img_child
{
	position: absolute;
	top: 0px;
	left: 0px;
}

/* ======================== ID CHECK FEATURE ======================== */

/* ID Check Input Group */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    flex: 1;
    border-radius: 6px 0 0 6px;
    border-right: none;
}

/* ID Check Button */
#checkIdBtn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
    border-radius: 0 6px 6px 0;
    min-width: 120px;
    white-space: nowrap;
}

#checkIdBtn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.4);
}

#checkIdBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

#checkIdBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#checkIdBtn i {
    margin-right: 5px;
}

/* ID Check Result */
#checkIdResult {
    margin-top: 15px;
    animation: fadeInUp 0.3s ease;
}

#checkIdResult .alert {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0;
}

#checkIdResult .alert-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

#checkIdResult .alert-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

#checkIdResult .alert-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

#checkIdResult .d-flex {
    align-items: center;
}

#checkIdResult .me-2 {
    margin-right: 12px !important;
}





#characterName {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

#characterInfo {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.3;
    margin-top: 2px;
}

/* Server ID Field */
#serverIdField {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #2196F3;
    margin-top: 15px;
}

#serverIdField .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#serverIdField .form-text {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive for ID Check */
@media only screen and (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        border-radius: 6px;
        border-right: 1px solid #ced4da;
        margin-bottom: 10px;
    }
    
    #checkIdBtn {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 100px;
        border-radius: 6px;
        align-self: flex-end;
    }
    
    #checkIdBtn i {
        margin-right: 3px;
    }
    
    #checkIdResult .alert {
        padding: 10px 12px;
    }
    
    #checkIdResult .d-flex {
        align-items: center;
    }
    
    #checkIdResult .me-2 {
        margin-right: 10px !important;
    }
    

    
    #characterName {
        font-size: 13px;
    }
    
    #characterInfo {
        font-size: 11px;
    }
    
    #serverIdField {
        padding: 12px;
    }
}

@media only screen and (max-width: 575px) {
    #checkIdBtn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 90px;
    }
    
    #checkIdResult .alert {
        padding: 8px 10px;
    }
    

    
    #characterName {
        font-size: 12px;
    }
    
    #characterInfo {
        font-size: 10px;
    }
}

@media only screen and (max-width: 375px) {
    #checkIdBtn {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 80px;
    }
    
    #checkIdResult .alert {
        padding: 6px 8px;
    }
    

    
    #characterName {
        font-size: 11px;
    }
    
    #characterInfo {
        font-size: 9px;
    }
}

/* ======================== PACKAGE STYLES ======================== */
.package-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.package-item {
    position: relative;
}

.package-item input[type="radio"] {
    display: none;
}

.package-label {
    display: block;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.package-item input[type="radio"]:checked + .package-label {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.package-name {
    font-weight: 600;
    color: #333;
}

.package-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

.discounted-price, .final-price {
    font-weight: 600;
    color: #dc3545;
    font-size: 1.1em;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.no-packages-alert {
    margin-top: 15px;
}

.no-packages-alert .alert {
    border-radius: 10px;
    border: none;
    padding: 20px;
    text-align: center;
}

.no-packages-alert .alert i {
    font-size: 1.2em;
    margin-right: 8px;
}

/* Payment method styles */
.payment-method-item {
    position: relative;
    margin-bottom: 10px;
}

.payment-method-item input[type="radio"] {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    min-height: 60px;
}

.payment-method-item input[type="radio"]:checked + .payment-method-label {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

.payment-method-label i {
    font-size: 1.2em;
    color: #007bff;
    margin-right: 10px;
}

.payment-method-label span {
    font-weight: 500;
    color: #333;
}

/* Total amount styles */
.total-amount {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.total-price {
    font-weight: 700;
    font-size: 1.3em;
    color: #dc3545;
}

/* Responsive package styles */
@media only screen and (max-width: 768px) {
    .package-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .package-label {
        padding: 12px;
    }
    
    .package-name {
        font-size: 0.9em;
    }
    
    .package-price {
        font-size: 0.9em;
    }
    
    .payment-method-label {
        padding: 12px;
        min-height: 50px;
    }
    
    .payment-method-label i {
        font-size: 1em;
    }
    
    .payment-method-label span {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 575px) {
    .package-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .package-label {
        padding: 10px;
    }
    
    .package-name {
        font-size: 0.8em;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .package-price {
        font-size: 0.8em;
    }
    
    .discounted-price, .final-price {
        font-size: 0.9em;
    }
    
    .original-price {
        font-size: 0.75em;
    }
    
    .discount-badge {
        font-size: 0.65em;
        padding: 1px 3px;
    }
}

@media only screen and (max-width: 768px) {
    .package-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ======================== HEADER GAME ======================== */
.header-game {
    text-align: center;
    margin-bottom: 10px;
    padding: 15px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    animation: headerSlideIn 1s ease-out;
    backdrop-filter: blur(10px);
}

.header-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.header-game::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.header-game h1 {
    color: white;
    font-size: 1.8em;
    font-weight: 800;
    margin: 0;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    position: relative;
    z-index: 3;
    animation: textGlow 3s ease-in-out infinite alternate;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}



@keyframes headerSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    50% {
        transform: translateY(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 50px rgba(255, 255, 255, 0.6),
            0 0 80px rgba(255, 255, 255, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive cho header-game */
@media only screen and (max-width: 768px) {
    .header-game {
        margin-bottom: 15px;
        padding: 10px 15px;
        border-radius: 15px;
    }
    
    .header-game h1 {
        font-size: 1.2em;
        letter-spacing: 2px;
    }
    
    .header-game h1::before {
        font-size: 0.35em;
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 575px) {
    .header-game {
        margin-bottom: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }
    
    .header-game h1 {
        font-size: 1.2em;
        letter-spacing: 1.5px;
    }
    
    .header-game h1::before {
        font-size: 0.3em;
        margin-bottom: 6px;
    }
}

@media only screen and (max-width: 375px) {
    .header-game {
        padding: 10px 10px;
    }
    
    .header-game h1 {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
    
    .header-game h1::before {
        font-size: 0.25em;
        margin-bottom: 5px;
    }
}

.fcta-zalo-ben-trong-nut svg path {
	fill: #fff
}

.fcta-zalo-vi-tri-nut {
	position: fixed;
	bottom: 24px;
	left: 20px;
	z-index: 999
}

.fcta-zalo-nen-nut,
div.fcta-zalo-mess {
	box-shadow: 0 1px 6px rgba(0, 0, 0, .06), 0 2px 32px rgba(0, 0, 0, .16)
}

.fcta-zalo-nen-nut {
	width: 50px;
	height: 50px;
	text-align: center;
	color: #fff;
	background: #0068ff;
	border-radius: 50%;
	position: relative
}

.fcta-zalo-nen-nut::after,
.fcta-zalo-nen-nut::before {
	content: "";
	position: absolute;
	border: 1px solid #0068ff;
	background: #0068ff80;
	z-index: -1;
	left: -20px;
	right: -20px;
	top: -20px;
	bottom: -20px;
	border-radius: 50%;
	animation: zoom 1.9s linear infinite
}

.fcta-zalo-nen-nut::after {
	animation-delay: .4s
}

.fcta-zalo-ben-trong-nut,
.fcta-zalo-ben-trong-nut i {
	transition: all 1s
}

.fcta-zalo-ben-trong-nut {
	position: absolute;
	text-align: center;
	width: 60%;
	height: 60%;
	left: 10px;
	bottom: 25px;
	line-height: 70px;
	font-size: 25px;
	opacity: 1
}

.fcta-zalo-ben-trong-nut i {
	animation: lucidgenzalo 1s linear infinite
}

.fcta-zalo-nen-nut:hover .fcta-zalo-ben-trong-nut,
.fcta-zalo-text {
	opacity: 0
}

.fcta-zalo-nen-nut:hover i {
	transform: scale(.5);
	transition: all .5s ease-in
}

.fcta-zalo-text a {
	text-decoration: none;
	color: #fff
}

.fcta-zalo-text {
	position: absolute;
	top: 6px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	transform: scaleX(-1);
	transition: all .5s;
	line-height: 1.5
}

.fcta-zalo-nen-nut:hover .fcta-zalo-text {
	transform: scaleX(1);
	opacity: 1
}

div.fcta-zalo-mess {
	position: fixed;
	bottom: 29px;
	left: 58px;
	z-index: 99;
	background: #fff;
	padding: 7px 25px 7px 15px;
	color: #0068ff;
	border-radius: 0 50px 50px 0;
	font-weight: 700;
	font-size: 15px
}

.fcta-zalo-mess span {
	color: #0068ff !important
}


span#fcta-zalo-tracking {
	font-family: Roboto;
	line-height: 1.5
}

.fcta-zalo-text {
	font-family: Roboto
}

@keyframes zoominoutsinglefeatured {
	0% {
		transform: scale(1, 1);
	}

	50% {
		transform: scale(1.2, 1.2);
	}

	100% {
		transform: scale(1, 1);
	}
}

@keyframes zoom {
	0% {
		transform: scale(.5);
		opacity: 0
	}

	50% {
		opacity: 1
	}

	to {
		opacity: 0;
		transform: scale(1)
	}
}

@keyframes lucidgenzalo {
	0% to {
		transform: rotate(-25deg)
	}

	50% {
		transform: rotate(25deg)
	}
}