/*
Template Name: Joxdo - ESports, Online Game and Gaming Store HTML Template
Author: Askbootstrap
Author URI: https://www.templatemonster.com/authors/askbootstrap/
Version: 1.0
*/
/*
- body
- Extra
- Filters
- Top Nav
- Card
- Footer
- Mobile Media
*/

html {
    overflow-x: hidden;
}

/* body */
body {
    background: #121212;
    font-size: 13px;
    color: #ffffff;
    font-family: 'IBM Plex Sans', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.bg-dark {
    background-color: #2a2a2a !important;
}
.bg-dark-2 {
    background-color: #121212 !important;
}
.gradient-1 {
    /* background: linear-gradient(to right bottom, rgb(65, 0, 185), rgb(0, 198, 255)); */
    display: none;
}
.gradient-2 {
    /* Reserved for future gradient styles */
    background: transparent;
}
/* Extra */
.border {
    border: 1px solid #2a2a2a!important;
}
.border-bottom {
    border-bottom: 1px solid #2a2a2a!important;
}
.border-top {
    border-top: 1px solid #2a2a2a!important;
}
.border-right {
    border-right: 1px solid #2a2a2a!important;
}
.border-left {
    border-left: 1px solid #2a2a2a!important;
}
.position-sticky {
    top: 86px;
}
a{
    text-decoration: none !important;
}
.btn {
    border-radius: 0px;
    font-size: 14px!important;
    padding: 9px 21px!important;
}
.btn-link {
    color: #b9b9b9;
}
.btn-sm {
    font-size: 12px;
    padding: 5px 14px;
}
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-light {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}
.btn-lg {
    padding: 13px 46px;
}
.custom-checkbox .custom-control-label::before {
    display: none;
    border-radius: 0px;
    border: none;
    background: #404040;
    box-shadow: none !important;
}
.custom-control {
    line-height: 26px;
}
.form-control {
    background: #404040;
    border: 1px solid #404040;
    border-radius: 0px;
    font-size: 14px;
    min-height: 42px;
    box-shadow: none !important;
}
.form-control:focus {
    background: #121212;
    border: none;
    border: 1px solid #6c757d;
}
.custom-control label {
    color: rgba(255,255,255,.5)!important;
    width: 100%;
    cursor: pointer;
}
input[type=text], input[type=tel], input[type=number], input[type=email], textarea, input[type=password] {
    color: #ffffff !important;
}
.card {
    border-radius: 0px;
    border: none;
    background: #2a2a2a;
}
.card-body {
    color: rgba(255,255,255,.5)!important;
}
.media .rounded-circle {
    width: 40px;
}
.follow-us a {
    color: #878787;
    font-size: 26px;
    margin: 0 18px;
}
.follow-us:hover a {
    color: #fff;
}
.follow-us a:hover {
    color: #878787;
}
.rating {
    padding: 36px !important;
}
.specifications .nav-tabs {
    border-color: #616161 !important;
    margin-bottom: 30px;
}
.specifications .nav-tabs .nav-link {
    border: none;
    position: relative;
    border-radius: 0px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    padding: 0 0 29px 0;
}
.specifications .nav-tabs .nav-link.active {
    background: transparent !important;
    color: #fff;
}
.specifications .nav-tabs .nav-item {
    margin: 0 30px 0 0;
}
.specifications .nav-tabs .nav-link:after {
   content: "";
   height: 5px;
   background: transparent;
   position: absolute;
   left: 0;
   right: 0;
   bottom: -1px;
}
.specifications .nav-tabs .nav-link.active:after {
    background: #007bff;
}
.btn-outline-facebook {
    color: #ffffff !important;
    background: #3B5998 !important;
}
.btn-outline-instagram {
    background: #125688 !important;
    color: #fff !important;
}
.alert {
    border-radius: 0px;
    border: none;
}
.custom-select.is-invalid, .was-validated .custom-select:invalid, .jumbotron {
    background-color: #2a2a2a;
}
.dropdown-divider {
    border-top: 1px solid #353535;
}
.custom-select {
    border: none;
    border-radius: 0px;
    background-color: #2a2a2a;
    font-size: 14px;
    min-height: 42px;
}
.custom-file-label {
    border: none;
    border-radius: 0px;
    background-color: #2a2a2a;
    font-size: 14px;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #000000;
}
.bg-light {
    background-color: #f8f9fa!important;
    color: #000;
}
.bg-light .card-body{
    color: #000 !important;
}
.breadcrumb, .input-group-text {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}
.list-group-item{
    background-color: #2a2a2a;
}
.dropdown-menu {
    background: #2a2a2a;
    border-radius: 0px;
    margin: 0;
    border: 1px solid #353535;
    color: #fff;
    box-shadow: 0px 6px 10px rgba(0,0,0,.2)!important;
}
.dropdown-item {
    color: rgba(255,255,255,.5);
}
.dropdown-item:hover {
    background: #000;
    color: #fff;
}
.dropdown:hover .dropdown-menu {
    display: block;
   visibility: visible;
   opacity:1;
   transform: translateY(0px);
   transition: opacity 0.5s ease, transform 0.5s ease;
   will-change: opacity, transform;
}
.dropdown-menu {
   display: block;
   visibility: hidden;
   opacity:0;
   transform: translateY(50px);
   transition: opacity 0.5s ease, transform 0.5s ease;
   will-change: opacity, transform;
}
.dropdown-menu.show {
   display: block;
   visibility: visible;
   opacity:1;
   transform: translateY(0px);
   transition: opacity 0.5s ease, transform 0.5s ease;
   will-change: opacity, transform;
}
.gradient-block h1 {
    font-size: 54px;
}
.help-block ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.help-block ul li {
    color: #f53838;
    font-size: 12px;
}
.carousel-indicators {
    margin: 11px 18px;
    left: auto;
    transform: translateZ(0);
    will-change: transform;
}
.carousel-control-next, .carousel-control-prev {
   position: absolute;
   top: 0;
   bottom: 0;
   width: 15%;
   height: auto;
   margin: 0;
   background: rgba(0, 0, 0, 0.3);
   opacity: 0.6;
   transform: translateZ(0);
   will-change: opacity;
   transition: opacity 0.3s ease, background 0.3s ease;
   z-index: 10;
   display: flex;
   align-items: center;
   justify-content: center;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
   opacity: 1;
   background: rgba(0, 0, 0, 0.6);
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 20px;
    height: 20px;
}

.carousel-control-prev {
    left: 0;
    right: auto;
}

.carousel-control-next {
    right: 0;
    left: auto;
}
/* End Extra */
/* Filters */
.filters-search {
    position: relative;
}
.filters-search i {
    position: absolute;
    padding: 15px 14px;
}
.filters-search .form-control {
    padding-left: 42px;
}
.filters-card-header .btn-link {
    font-size: 14px;
    color: #fff;
    width: 100%;
    display: block;
}
.filters-card-body {
    padding: 20px 0 0 0;
}
/* End Filters */
/* Sidebar */
.img-profile {
    width: 80px;
}
.sidebar-widget {
    position: relative;
}
.sidebar-widget .nav-link {
    padding: 10px 7px;
    border-radius: 0px;
    position: relative;
    color: #bfbfbf;
}
.sidebar-widget .nav-link:hover, .sidebar-widget .nav-link:focus {
    color: #ffffff;
}
.sidebar-widget .nav-link:hover:before, .sidebar-widget .nav-link:focus:before {
    background: #007bff;
}
.sidebar-widget .nav-link i {
    min-width: 19px;
    display: inline-block;
    text-align: center;
    opacity: 0.5;
    margin: 0px 8px 0px 0px !important;
}
.sidebar-widget .nav-link:before {
    content: "";
    position: absolute;
    left: -15px;
    width: 4px;
    bottom: 5px;
    top: 5px;
    background: #2a2a2a;
}
.sidebar-widget .nav-link.active {
    background: transparent;
    font-weight: 500;
}
.sidebar-widget .nav-link.active:before {
    background: #fff;
}
/* End Sidebar */
/* Top Nav */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.8);
}
.osahan-nav-top .container {
    padding: 0 16px;
}
.osahan-nav-top .img-profile {
    width: 30px;
    height: 30px;
}
.osahan-nav-top .navbar-brand img {
    height: 31px;
    margin: -4px 0 0 0;
}
.osahan-nav-top .osahan-list-dropdown .nav-link i {
    font-size: 16px;
}
.osahan-nav-top .osahan-list-dropdown .nav-link .badge {
    position: absolute;
    border-radius: 50px;
    min-width: 15px;
    height: 15px;
    font-size: 9px;
    padding: 0px;
    right: 1px;
    line-height: 15px;
    top: 11px;
}
.osahan-nav-top .nav-link {
    position: relative;
    height: 55px;
    display: flex;
    align-items: center;
}
.osahan-nav-top .navbar-search .form-control {
    background: #121212;
    min-height: 35px;
}
.osahan-nav-top .navbar-search .btn {
    background: #121212 !important;
    color: #74828e;
    padding: 0 12px;
    border: none;
}
.dropdown-list .dropdown-item {
    white-space: normal;
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-left: 1px solid #353535;
    border-right: 1px solid #353535;
    border-bottom: 1px solid #353535;
    line-height: 1.3rem;
}
.dropdown-list {
    padding: 0;
    border: none;
    overflow: hidden;
    width: 20rem!important;
}
.dropdown-list .dropdown-header {
    background-color: #131313;
    border: 1px solid #353535;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: .8rem 1rem;
}
.dropdown-list .icon-circle {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-arrow .dropdown-toggle::after {
    display: none;
}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dropdown .dropdown-menu, .dropdown-item {
    font-size: .85rem;
}
.text-gray-500 {
    color: #b7b9cc!important;
}
.dropdown-list-image {
    position: relative;
    height: 2.5rem;
    width: 2.5rem;
}
.dropdown-list-image img {
    height: 2.5rem;
    width: 2.5rem;
}
.dropdown-list-image .status-indicator {
    background-color: #eaecf4;
    height: .75rem;
    width: .75rem;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: .125rem solid #fff;
}
.dropdown-item {
    padding: 6px 1rem;
}
/* End Top Nav */
/* Card */
.osahan-card {
    margin-bottom: 35px;
    contain: layout style;
    transform: translateZ(0);
    will-change: transform;
}
.osahan-card-body h6 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* End Card */
/* Footer */
.footer ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.footer ul li a {
    color: rgba(255,255,255,.5)!important;
}
.footer ul li {
    line-height: 28px;
}
.footer ul li a:hover {
    opacity: unset;
}
.footer h6 {
    font-size: 14px;
    margin-bottom: 20px;
}
.app .img-fluid {
    height: 32px;
}
/* End Footer */
/* Mobile Media */

@media (min-width: 0px) and (max-width: 767px) {
    .container {
		max-width: 100%;
    }
    .osahan-login {
        max-width: 430px;
        margin: auto;
    }
    .osahan-nav-top {
        padding: 0 0 !important;
    }
    .p-5 {
        padding: 2rem!important;
    }
    .osahan-nav-top .dropdown {
        position: static;
    }
    .osahan-nav-top .dropdown .dropdown-menu {
        left: 0;
        right: 0;
        width: 100% !important;
        box-sizing: border-box;
    }
    .position-sticky {
        margin-bottom: 30px;
    }
    .footer{
        display: none;
    }
    .footer ul li {
        text-align: center;
    }
    .footer h6 {
        text-align: center;
        margin: 30px 0 8px 0;
    }
    .footer-brand {
        text-align: center;
    }
    .newsletter-form .btn {
        width: 100%;
    }
    .app {
        text-align: center;
    }
    .osahan-copyright p {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
    .osahan-copyright .d-flex {
        display: unset !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
		max-width: 100%;
    }
    .footer h6 {
        margin: 30px 0 8px 0;
    }
    .footer-brand{
        margin-top: 30px;
    }
}
@media (min-width: 1024px) and (max-width: 1200px) {
	.container {
		max-width: 100%;
	}
}
/* Site Pagination */
.site-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.site-pagination .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-pagination .pagination-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-pagination .pagination-item {
    margin: 0;
}

.site-pagination .pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 2px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 0px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.site-pagination .pagination-link:hover {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.site-pagination .pagination-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Current/Active page */
.site-pagination .pagination-item.active .pagination-link,
.site-pagination .pagination-link.current {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
    font-weight: 500;
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.4);
    cursor: default;
}

/* Disabled state */
.site-pagination .pagination-link.disabled,
.site-pagination .pagination-item .pagination-link[aria-disabled="true"] {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.site-pagination .pagination-link.disabled:hover,
.site-pagination .pagination-item .pagination-link[aria-disabled="true"]:hover {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: rgba(255, 255, 255, 0.2);
    transform: none;
    box-shadow: none;
}

/* Previous/Next buttons special styling */
.site-pagination .pagination-link.prev,
.site-pagination .pagination-link.next {
    min-width: 45px;
    font-weight: 500;
}

/* Pagination arrows/symbols */
.site-pagination .pagination-link span[aria-hidden="true"] {
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
}

/* First and last page items */
.site-pagination .pagination-item:first-child .pagination-link,
.site-pagination .pagination-item:last-child .pagination-link {
    min-width: 45px;
}

/* Ellipsis for page ranges - if you add them later */
.site-pagination .pagination-item.ellipsis .pagination-link,
.site-pagination .pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 2px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 300;
    cursor: default;
    background: transparent;
    border: none;
}

/* Pagination info text - if you want to add it */
.site-pagination .pagination-info {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .site-pagination .pagination-link {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .site-pagination .pagination-item:first-child .pagination-link,
    .site-pagination .pagination-item:last-child .pagination-link {
        min-width: 40px;
    }
    
    .site-pagination .pagination-info {
        display: none;
    }
    
    .site-pagination {
        gap: 3px;
    }
    
    .site-pagination .pagination-list {
        gap: 3px;
    }
}

/* End Mobile Media */



/* 核心样式 */
.text-line3 {
  width: 100%;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}


.text-line1{
  width: 100%;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* No Data Styles */
.no-data-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  min-height: 400px;
}

.no-data-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.3);
}

.no-data-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.no-data-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  line-height: 1.6;
  margin: 0;
}

/* Mobile responsive for no data */
@media (max-width: 576px) {
  .no-data-container {
    padding: 60px 20px;
    min-height: 300px;
  }

  .no-data-icon {
    width: 100px;
    height: 100px;
  }

  .no-data-icon svg {
    width: 56px;
    height: 56px;
  }

  .no-data-title {
    font-size: 20px;
  }

  .no-data-text {
    font-size: 13px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  text-align: center !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top i {
  font-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  line-height: 45px;
  color: #ffffff;
}

.back-to-top:active {
  transform: translateY(0);
}

/* Mobile responsive for back to top button */
@media (max-width: 576px) {
  .back-to-top {
    bottom: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
  }

  .back-to-top i {
    font-size: 16px !important;
    line-height: 40px !important;
  }
}

/* Tablet responsive for back to top button */
@media (min-width: 577px) and (max-width: 992px) {
  .back-to-top {
    bottom: 25px !important;
    right: 25px !important;
    width: 42px !important;
    height: 42px !important;
  }

  .back-to-top i {
    font-size: 17px !important;
    line-height: 42px !important;
  }
}

/* Horizontal Card Layout */
.article-list-horizontal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.osahan-card-horizontal {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  contain: layout style;
  transform: translateZ(0);
  will-change: transform;
}

.osahan-card-horizontal:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.osahan-card-horizontal a {
  text-decoration: none;
  width: 100%;
  padding: 20px;
}

.horizontal-image-wrapper {
  flex: 0 0 280px;
  max-width: 280px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 25px;
}

.horizontal-image-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.osahan-card-horizontal:hover .horizontal-image-wrapper img {
  transform: scale(1.05);
}

.horizontal-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.horizontal-content-wrapper h3 {
  transition: color 0.3s ease;
}

.osahan-card-horizontal:hover .horizontal-content-wrapper h3 {
  color: #007bff !important;
}

.play-btn-horizontal span {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.play-btn-horizontal span:hover {
  background: #0056b3 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Mobile responsive for horizontal cards */
@media (max-width: 992px) {
  .osahan-card-horizontal a {
    flex-direction: column;
    text-align: center;
  }

  .horizontal-image-wrapper {
    flex: 0 0 auto;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .horizontal-image-wrapper img {
    height: 220px;
  }

  .horizontal-content-wrapper {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .horizontal-image-wrapper img {
    height: 180px;
  }

  .play-btn-horizontal span {
    display: none !important;
  }
}

/* 隐藏搜索下拉箭头 */
#searchDropdown.dropdown-toggle::after {
  display: none !important;
}

/* ===== Nav Auth Buttons ===== */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-auth-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-auth-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, #6c5ce7, #5a4bd1);
    color: #fff;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108,92,231,0.4);
}

/* ===== Nav User (Logged In) ===== */
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #5a4bd1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.nav-user-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-logout-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-logout-btn:hover {
    background: rgba(231,76,60,0.3);
    color: #ff6b6b;
    border-color: rgba(231,76,60,0.5);
}

@media (max-width: 768px) {
    .nav-auth {
        margin-left: 0;
        gap: 6px;
    }
    .nav-auth-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .nav-user-name {
        max-width: 80px;
        font-size: 12px;
    }
    .nav-logout-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ===== Login Modal Styles ===== */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal {
    background: #1e1e2e;
    background: linear-gradient(180deg, #1e1e2e 0%, #1a1a2e 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(102,126,234,0.08);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 9999;
    animation: authModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.06);
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.auth-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
    transform: rotate(90deg);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 0.9rem;
    position: relative;
}

.auth-tab:hover {
    color: rgba(255,255,255,0.8);
}

.auth-tab.active {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #a78bfa);
    border-radius: 2px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: formFadeIn 0.3s ease;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.25s ease;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus {
    outline: none;
    border-color: #6c5ce7;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15), 0 0 20px rgba(108,92,231,0.06);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #1e1e2e inset;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group .error-text {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error input {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.form-group.has-error .error-text {
    display: block;
}

.form-group.has-error label {
    color: #e74c3c;
}

.btn-auth {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.35);
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-auth.loading {
    position: relative;
    color: transparent;
}

.btn-auth.loading::before {
    display: none;
}

.btn-auth.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.auth-footer p {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
}

.auth-footer a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.auth-footer a:hover {
    color: #667eea;
    text-decoration: none;
}

.alert-box {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.83rem;
    display: none;
    line-height: 1.4;
}

.alert-box.show {
    display: block;
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-box.success {
    background: rgba(39,174,96,0.12);
    color: #2ecc71;
    border: 1px solid rgba(39,174,96,0.25);
}

.alert-box.error {
    background: rgba(231,76,60,0.12);
    color: #e74c3c;
    border: 1px solid rgba(231,76,60,0.25);
}

.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 2.5rem;
}

.password-toggle .toggle-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.35);
    font-size: 1rem;
    user-select: none;
    transition: color 0.3s;
}

.password-toggle .toggle-icon:hover {
    color: rgba(255,255,255,0.7);
}

/* Mobile responsive for auth modal */
@media (max-width: 576px) {
    .auth-modal {
        max-width: calc(100% - 24px);
        margin: 0 12px;
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
        max-height: 85vh;
    }

    .auth-modal-close {
        top: 8px;
        right: 10px;
        font-size: 18px;
        width: 28px;
        height: 28px;
    }

    .auth-header h2 {
        font-size: 1.25rem;
    }

    .auth-header p {
        font-size: 0.78rem;
    }

    .auth-tab {
        padding: 0.6rem 0.5rem;
        font-size: 0.82rem;
    }

    .auth-tab.active::after {
        width: 32px;
    }

    .auth-modal .form-group {
        margin-bottom: 0.75rem;
    }

    .auth-modal .form-group label {
        font-size: 0.78rem;
    }

    .auth-modal .form-group input {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .auth-modal .btn-auth {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .auth-footer {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .auth-footer p {
        font-size: 0.78rem;
    }

    .alert-box {
        padding: 0.6rem 0.85rem;
        font-size: 0.78rem;
        border-radius: 8px;
    }
}


/* ===== Comments Section ===== */
.comments-section {
    width: 100%;
    box-sizing: border-box;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3436;
    margin: 0;
}

.comments-count {
    color: #636e72;
    font-size: 0.85rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #5a4bd1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-author {
    font-weight: 500;
    color: #2d3436;
}

.comment-date {
    font-size: 0.75rem;
    color: #636e72;
}

.comment-star {
    margin-left: auto;
    font-size: 13px;
    color: #f39c12;
}

.comment-content {
    color: #2d3436;
    line-height: 1.6;
    font-size: 0.9rem;
}

.comments-empty {
    text-align: center;
    padding: 40px;
    color: #636e72;
}

.comments-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.comments-loading {
    text-align: center;
    padding: 20px;
    color: #636e72;
}

.load-more-comments {
    margin-top: 15px;
    text-align: center;
}

.btn-load-more {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #2d3436;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-load-more:hover {
    background: #f0eeff;
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Comment Form ===== */
.comment-form {
    margin-bottom: 20px;
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-form-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #5a4bd1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-form-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-form-author {
    font-weight: 500;
    color: #2d3436;
}

.comment-form-rating {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.comment-form-rating label {
    font-size: 0.85rem;
    color: #636e72;
    margin-right: 8px;
}

.rating-star {
    font-size: 20px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
    user-select: none;
}

.rating-star:hover,
.rating-star.active {
    color: #f39c12;
}

.comment-form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2d3436;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 90px;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.comment-form-textarea:focus {
    outline: none;
    border-color: #6c5ce7;
}

.comment-form-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-comment-submit {
    padding: 8px 22px;
    background: linear-gradient(135deg, #6c5ce7, #5a4bd1);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108,92,231,0.4);
}

.btn-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.comment-login-hint {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
    color: #636e72;
    font-size: 0.85rem;
}

.comment-login-hint a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
}

.comment-login-hint a:hover {
    text-decoration: underline;
}

/* ===== Toast Message ===== */
.toast-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.7rem 1.5rem;
    background: #333;
    color: #fff;
    border-radius: 8px;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
}

.toast-message.show {
    opacity: 1;
}

.toast-message.success {
    background: #27ae60;
}

.toast-message.error {
    background: #e74c3c;
}

.toast-message.warning {
    background: #f39c12;
}


/* ===== Share buttons & copy modal (theme-adaptive) ===== */
.geme-social-share p {
	color: #6c5ce7;
	font-size: 16px;
	font-weight: 600;
	margin: 0 8px 0 0;
}
.geme-social-share a {
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: inline-flex;
	width: 34px;
	height: 34px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(108, 92, 231, .15);
	color: #6c5ce7;
	border: 1px solid rgba(108, 92, 231, .3);
	margin-left: 10px;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.geme-social-share a:hover {
	background: #6c5ce7;
	color: #fff;
	border-color: transparent;
}
.share-copy-modal {
	position: fixed;
	inset: 0;
	background: rgba(8, 8, 16, .82);
	display: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 9999;
	padding: 15px;
}
.share-copy-modal.show {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.share-copy-box {
	background: #0c0c1a;
	border: 1px solid rgba(108, 92, 231, .4);
	border-radius: 12px;
	max-width: 460px;
	width: 100%;
	padding: 28px 24px 24px;
	position: relative;
	box-shadow: 0 0 30px rgba(108, 92, 231, .4);
}
.share-copy-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #9190a5;
	cursor: pointer;
	transition: color .3s;
}
.share-copy-close:hover {
	color: #6c5ce7;
}
.share-copy-title {
	margin: 0 0 6px;
	font-size: 20px;
	color: #fff;
}
.share-copy-desc {
	margin: 0 0 16px;
	color: #9190a5;
	font-size: 14px;
}
.share-copy-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 8px;
}
.share-copy-input {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid rgba(108, 92, 231, .45);
	border-radius: 8px;
	font-size: 14px;
	color: #fff;
	background: rgba(255, 255, 255, .06);
}
.share-copy-input:focus {
	outline: none;
	border-color: #6c5ce7;
}
.share-copy-btn {
	padding: 10px 18px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, #6c5ce7 0%, #988dee 100%);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity .3s;
}
.share-copy-btn:hover {
	opacity: .9;
}
.share-copy-status {
	margin: 12px 0 0;
	font-size: 13px;
	color: #4ade80;
	min-height: 18px;
}
