/* Navigation Container */
.nav-ctn {
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
.nav {
    max-width: 1200px;
    width: 95%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
}

/* Navigation Items */
.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-item a {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

/* Simple underline effect */
.nav-item:not(#spec) a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00ffeb;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-item:not(#spec):hover a::after {
    transform: scaleX(1);
}

/* Hover effect */
.nav-item:not(#spec):hover {
    background-color: rgba(0, 255, 235, 0.1);
}

.nav-item:not(#spec):hover a {
    color: #00ffeb;
}

/* Special Nav Item (User Profile) */
#spec {
    display: flex;
    gap: 12px;
    padding: 0 10px;
    margin-left: auto;
    cursor: pointer;
    background: transparent !important;
}

.col1-nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

/* User info */
.name, .sodu {
    color: #ffffff !important;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    transition: color 0.25s ease;
}

#spec:hover .name,
#spec:hover .sodu {
    color: #00ffeb !important;
}

/* Avatar */
.avt {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.25s ease;
}

.avt:hover {
    border-color: #00ffeb;
}

.avt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-ctn {
        height: 70px;
    }
    
    .nav {
        padding: 0 10px;
    }
    
    .nav-item a {
        font-size: 14px;
    }
    
    .nav-item {
        padding: 0 10px;
    }
    
    .name {
        font-size: 13px;
    }
    
    .sodu {
        font-size: 12px;
    }
    
    .avt {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-ctn {
        height: 60px;
    }
    
    .nav-item a {
        font-size: 12px;
    }
    
    .nav-item {
        padding: 0 8px;
    }
    
    .col1-nav-item {
        gap: 2px;
    }
    
    .name {
        font-size: 12px;
    }
    
    .sodu {
        font-size: 11px;
    }
    
    .avt {
        width: 35px;
        height: 35px;
    }
}
.nav-ctn.big {
    position: relative;
  }
  
  .nav-item#spec {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  
  .nav-item#spec .col1-nav-item,
  .nav-item#spec .col2-nav-item {
    display: flex;
    align-items: center;
  }
  
.popup {
    position: absolute;
    top: 100%;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background-color: #FFFFFF;
    border: 2px solid black;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    padding-right: 0px;
    width: 300px;
    z-index: 1;
    gap:20px;
    opacity: 0;
    visibility:hidden;
    display:flex;
    flex-direction: column;
    transition: opacity 0.3s, visibility 0.3s;
    align-items: flex-end;
  }
  .box-popup{
    width: 95%;
    padding: 10px;
    border: 1px rgba(0, 0, 0, 0.3) solid;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px;
    border-right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .nav-item#spec:hover .popup {
    opacity: 1;
    visibility: visible;
  }
  .box-col{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap:20px
  }
  #box-row-avt{
    position: relative;
    display: flex;
    flex-direction: column;
    gap:10px;
  }
  .box-row{
    position: relative;
    display: flex;
    flex-direction: column;
    gap:10px;
    width: 100%;
  }
  .name-popup , .money-popup , .sale-money-popup, .user-id{
    color:black;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: clamp(10px, 4vw, 15px);
  }
  .gift-popup a, .password-change-popup a ,.profile-popup a{
    color:black;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    display: flex;
    font-size: clamp(10px, 4vw, 15px);
    gap:10px;
    align-items: center;
  }
  .col-1-gift, .col1-profile, .col-1-password{
    background-color: #F3F3F7;
    font-size: clamp(20px, 4vw, 25px);
    width: 20px;
    height: 20px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .col-2-gift, .col-2-profile, .col-2-password{
    display: flex;
    padding: 20px;
    text-align: left !important;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 1px black solid ;
    flex:1;
  }
  .col-2-gift span, .col-2-profile span, .col-2-password span{
    text-align: left !important;
    flex:1
  }
  .muiten{
    font-size:20px;
    text-align: center;
    display:flex;
    justify-content: center;
    align-items: center;
  }
  .box-tittle{
    font-weight: bold;
    width: 100%;
  }
  .ruttien, .napthe{
    flex:1;
    display: felx;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  .ruttien a, .napthe a{
    color:black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }
  .ruttien a ion-icon, .napthe a ion-icon{
    margin-bottom: 10px;
    background-color: #F3F3F7;
    font-size: clamp(20px, 4vw, 25px);
    padding: 20px;
    border-radius: 15px;
  }
  .ruttien{
    float: right;
  }
  .napthe{
    float:left
  }
  #logout{
    width: 100%;
  }
  .popup a:hover{
    color:#D13639
  }
  #active{
    background-color: #E8EBF9;
    border-radius: 15px;
    color:#D13639 !important;
  }
  #spec2{display: none;}
  @media (max-width:450px) {
    #spec{
      display: none !important;
    }
    #spec2{
      display: flex;
    }
}
.news-ctn{
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    position: fixed;
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.news{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-height: 80%;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    border: 1px black solid;
    gap:10px
}
.tittle{
    color:black;
    font-size: clamp(20px, 4vw, 30px);
    border-bottom: 2px black solid;
    width: 100%;
    text-align: center;
    font-weight: bold;
}
.content{
    color: black;
    font-weight: bold;
    font-size: clamp(15px, 3vw,20px);
}
.content span{
    color:#170357;
   
}
.rows-btn-news{
    display: flex;
    gap:5%;
    width: 100%;
    height: 40px;
}

.anhflexnews{
    width: clamp(300px, 30vw, 500px);
    border-radius: 15px;
    border: 1px azure solid;
    height: auto;
}

.anhflexnews-2{
    width: clamp(300px, 30vw, 500px);
    border-radius: 15px;
    border: 1px azure solid;
    height: auto;
}

#news-btn-1{
    color:#D13639;
    background-color: white;
    border-radius: 10px;
    font-weight: bold;
    border: 2px #D13639 solid;
    height: 40px;
    width: 27.5%;
}
#news-btn-1:hover{
    color:white;
    background-color: #D13639;
}
#news-btn-2{
    color:white;
    width: 67.5%;
    height: 40px;
    background-color: #D13639;
    border: 2px white solid;
    border-radius: 10px;
    font-weight: bold;
}
#news-btn-2:hover{
    border: 2px #D13639 solid;
    color:#D13639 !important;
    background-color: white !important;
}
body {
    margin: 0;
    padding: 0;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Roboto', Arial, sans-serif;
    overflow-x: hidden;
}
.flex-img-ctn {
    width: 100%;
    height: calc(100vh - 500px);
    min-height: 554px;
    position: relative;
    overflow: hidden;
}
.slider-container {
    width: 500%;
    height: 100%;
    display: flex;
    position: relative;
}

.slide {
    width: 50%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease-in-out;
}

.flex-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.moao{
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.8px);
    -webkit-backdrop-filter: blur(5.8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Beaufort for LOL;
    -webkit-text-stroke: 0.1px black;
}
.main-text{
    width: 100%;
    font-size: 30px;
    color: white;
    text-align: center;
    text-shadow: 
    -2px -2px 0 black,  
     2px -2px 0 black,
    -2px  2px 0 black,
     2px  2px 0 black; 
}
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-text-sc-line{
    text-transform: uppercase;
    width: 100%;
    font-size: clamp(10px, 4vw, 60px);

    background: linear-gradient(to right, #daf5f3 , #00ffeb, #4891b5, #b788db);
    -webkit-background-clip: text;
    background-size: 300%;
    color: transparent;
    animation: gradientAnimation 3s infinite linear;
    font-weight: bold;
    text-align: center;
    font-family: Beaufort for LOL;
}
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sliding {
    animation: slideLeft 2s infinite;
}

 

@keyframes flowingWater {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}
.main-content{
    width: 100vw;
    max-width: 960px;
    color:white
}

.tittle-1{
    font-size:clamp(25px, 6vw, 50px) !important;
    margin:0px 10px;
    font-family: Beaufort for LOL;
    font-weight: bold;
    margin-top: 10px;
    height: 70px;
    background-color: #f83b3b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tittle-1-item{
    margin-left:10px;
}
@media (max-width: 1200px) {
    .main-text {
        font-size: 25px;
    }
   
    .tittle-1 {
        font-size: 35px;
    }
}

@media (max-width: 768px) {
    .main-text {
        font-size: 20px;
    }
 
    .tittle-1 {
        font-size: 30px;
    }
}

body {
    background-color:black;
    margin: 0;
    padding: 0;
    }
.fctn{
    background-color:#111111;
    height: 80px;
    width: 100vw;
    color:white;
    display:flex;
    align-items: center;
    justify-content: center;
}
.privacy{
    color:azure;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10px
}

.dot-spinner {
    --uib-size: 2.8rem;
    --uib-speed: .9s;
    --uib-color: #183153;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
  }
  
  .dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
  }
  
  .dot-spinner__dot::before {
    content: '';
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
  }
  
  .dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
  }
  
  .dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
  }
  
  .dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
  }
  
  .dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
  }
  
  .dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
  }
  
  .dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
  }
  
  .dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
  }
  
  .dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
  }
  
  .dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
  }
  
  .dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
  }
  
  .dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
  }
  
  .dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
  }
  
  .dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
  }
  
  @keyframes pulse0112 {
    0%,
    100% {
      transform: scale(0);
      opacity: 0.5;
    }
  
    50% {
      transform: scale(1);
      opacity: 1;
    }
  }
.load-ctn{
    position: absolute;
    z-index: -1000;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.7px);
    -webkit-backdrop-filter: blur(12.7px);
}
#product-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.danhmuc {
    color: azure;
    font-size: 24px;
    padding: 10px 0;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    
    height: 600px;
    overflow: auto;
}
.product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}
.product-item p {
    margin: 0;
    color: #EF4757;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
}
@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
.rent-button {
    background-color: transparent;
    color: #EF4757 ;
    border: 2px #EF4757 solid;
    padding: 12.5px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top:10px;
}

.rent-button:hover {
    background-color: #EF4757;
    color: azure;
    border: 2px white solid;
}
.id{
    margin-top: 15px !important;
    font-weight: 500 !important;
}
::-webkit-scrollbar {
    width: 6px;
    transition: width 0.3s ease-in-out;
}
::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #000814, #001b3a); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #004080, #002855);
    border-radius: 10px;
    border: 1px solid #000;
    transition: background 0.3s ease-in-out, width 0.3s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00509e, #003366);
}

