body {
  font-family: sans-serif;
  background-color: #0a0a0a;
  background-image: 
    linear-gradient(rgba(0, 255, 157, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  margin: 0;
  padding: 0;
}

/* Container chung */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* PAGE HEADER */
.page-header {
  border: 1px solid rgba(99, 99, 98, 0.3);
  padding: 0;
}

.header-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 10px 0;

}

/* Logo column */
.logopd {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logopd img {
  height: 40px;
  width: auto;
}

/* Search column */
.search-column {
  display: flex;
}

.search-form {
  width: 100%;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
}

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

.search-input {
  height: 40px;
  padding: 8px 35px 8px 12px;
  width: 100%;
  background-color: #1e1e1e;
  color: #dfdcdc;
  border: 1px solid rgba(99, 99, 98, 0.3);
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.search-input::placeholder {
  font-size: 14px;
  color: #d1d0d0;          
  opacity: 0.8;         
}

.search-input:focus {
  border-color: #007bff;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  pointer-events: none;
}

.search-icon svg {
  vertical-align: middle;
}

/* NAV */
.detail-header {
  background: #1a1a1a;
  border-bottom: 1px solid #333;
}

.header-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem 0;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  margin-left: 265px;
}

.nav-link {
  color: #dfdcdc;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none; 
}

.nav-link:hover {
  color: #0ff;
  text-shadow: 
    0 0 3px #0ff,
    0 0 5px #0ff,
    0 0 10px #0ff;
}

/* MAIN CONTAINER - LAYOUT 2 CỘT */
.places-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ========== dem so dia diem tim thay ========== */
.place-count {
  margin-left: calc(250px + 1rem);
  font-size: 20px;
  font-weight: bold;
  color: #dfdcdc;
}
.contact-phone {
  margin: 0;
  margin-left: calc(250px + 1rem);
  font-size: 20px;
  color: #1E90FF;
  text-shadow:
    1px 1px 0 #0f0f0f,
    2px 2px 0 #0f0f0f,
    3px 3px 3px rgba(0, 0, 0, 0.3);
}
.phone-icon {
  color: red; 
}
.places-layout {
  display: grid;
  grid-template-columns: 250px 1fr; 
  gap: 1rem;
  align-items: start; 
}

/* CỘT FILTER (Bên trái) */
.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
}

/* CỘT NỘI DUNG CHÍNH (Bên phải) */
.places-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-select, .search-box input {
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  border: 1px solid #dfdcdc;
  font-size: 1rem;
  width: 100%; 
  background-color: rgba(42, 42, 42, 0.5);
  color: #dfdcdc;
}

.filter-select option {
  background-color: rgba(42, 42, 42, 1);
}
.filter-select:focus, 
.search-box input:focus {
  outline: none ;
}

.bannerleft{
 width: 100%;
}

.places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.place-card {
  display: grid;
  grid-template-columns: 40% 60%; 
  gap: 1rem;
  border: 1px solid #0ff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* THÊM VIỀN GÓC BÊN TRONG */
  position: relative;
}

/* Tạo viền góc Cyberpunk INNER */
.place-card::before {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 20px;
  height: 30px;
  border-top: 3px solid #0ff;
  border-left: 3px solid #0ff;
  clip-path: polygon(0 0, 100% 0, 0 100%); 
  pointer-events: none;
  z-index: 200;
}

.place-card::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  right: 0.2rem;
  width: 20px;
  height: 30px;
  border-bottom: 3px solid #0ff;
  border-right: 3px solid #0ff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); 
  pointer-events: none;
}

/* Đảm bảo ảnh chiếm toàn bộ cột trái */
.place-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block; 
  transition: transform 0.4s ease;
}

/* Cột thông tin bên phải */
.place-info {
  display: flex;
  margin-top: 0;
  margin-right: 1rem;
  flex-direction: column;
  justify-content: center;
}
.place-card:hover {
  transform: translateY(-5px); 
  box-shadow: 
    0 0 5px #0ff,
    0 0 10px rgba(0, 255, 255, 0.7),
    0 0 15px rgba(0, 255, 255, 0.5),
    0 3px 9px rgba(0, 0, 0, 0.2);
}

.place-card:hover .place-image {
  transform: scale(1.05); 
  filter: brightness(1.03);
}



.place-info h3 {
  margin: 0.5rem 0.5rem 0.5rem;
  color: #f34444;
  font-size: 1.5rem; 
  font-weight: 700;
}

.place-info p {
  font-size: 1.3rem; 
  color: #dfdcdc;
  margin: 0.5rem 0.5rem 0.5rem;
}

.place-name-link {
  text-decoration: none;
  color: inherit;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
}

.no-results, .error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #dfdcdc;
}

.global-error {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #e63946;
  color: #dfdcdc;
  padding: 1rem 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== PHÂN TRANG ========== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  user-select: none;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number, .page-nav {
  padding: 12px 18px;
  border: 1px solid #44475a;
  background-color: #2c2f4a;
  color: #dfdcdc;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  user-select: none;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  min-width: 44px;
}
.page-dots {
 color: #dfdcdc;
 margin-top: 0.5rem;
}

.page-number:hover, .page-nav:hover:not(:disabled) {
  background-color: #3e4161;
  border-color: #6272a4;
  color: #ffffff;
}

.page-number.active {
  background-color: #6272a4;
  color: #f8f8f2;
  border-color: #6272a4;
  box-shadow: 0 0 8px #6272a4aa;
}

.page-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #222232;
  border-color: #33334a;
  color: #666680;
}

/* ===== FOOTER STYLES ===== */
.footer {
  color: #dfdcdc;
  padding: 10px 0 10px;
  text-align: center;
  border-top: 1px solid #0cadad;
  position: relative;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Layout nội dung footer */
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
}

/* Phần liên hệ */
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-contact h3,
.footer-terms h3 {
  color: #dfdcdc;
  font-size: 22px;
  position: relative;
  margin-top: 0.5rem;
}

.footer-contact p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 16px;
  text-decoration: none;
}

.footer-contact p i {
  color: #ad0b0b;
  width: 20px;
  text-align: center;
}
.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s; 
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a::before {
  color: #1E90FF; 
}

.footer-contact a:hover {
  color: #1E90FF; 
  transform: translateX(5px); 
}

/* Phần điều khoản */
.footer-terms {
  flex: 1;
  min-width: 250px;
  gap: 10px;
}

.footer-terms p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 16px;
  text-decoration: none;
}

.footer-terms p i {
  color: #ad0b0b;
  width: 20px;
  text-align: center;
}
.footer-terms a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s; 
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-terms a::before {
  color: #1E90FF; 
}

.footer-terms a:hover {
  color: #1E90FF; 
  transform: translateX(5px); 
}

/* Dòng copyright */
.copyright {
  color: #888;
  font-size: 14px;
  padding-top: 15px;
  border-top: 1px solid #333;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* ZALOOOOOOOOOOOOO */
.zalo-icon-float {
    position: fixed;
    right: 20px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 400;
    opacity: 0.9;
    transition: all 0.3s;
  }


.zalo-icon-float img {
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 2;
}

/* Hiệu ứng vòng tròn lan tỏa */
.zalo-icon-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background-color: rgba(238, 239, 240, 0.966);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 1.5s infinite;
  z-index: 1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* MESSENGER */
.messenger-icon-float {
  position: fixed;
  right: 20px;
  top: 73%; 
  transform: translateY(-50%);
  z-index: 400;
  opacity: 0.9;
  transition: all 0.3s;
}

.messenger-icon-float img {
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 2;
}

/* Hiệu ứng vòng tròn lan tỏa */
.messenger-icon-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background-color: rgba(238, 239, 240, 0.966);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 1.5s infinite;
  z-index: 1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* WHATSAPP */
.whatsapp-icon-float {
  position: fixed;
  right: 20px;
  top: 66%;
  transform: translateY(-50%);
  z-index: 400;
  opacity: 0.9;
  transition: all 0.3s;
}

.whatsapp-icon-float img {
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 2;
}

/* Hiệu ứng vòng tròn lan tỏa */
.whatsapp-icon-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background-color: rgba(238, 239, 240, 0.966);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 1.5s infinite;
  z-index: 1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* WECHAT */
.wechat-icon-float {
  position: fixed;
  right: 20px;
  top: 59%;
  transform: translateY(-50%);
  z-index: 400;
  opacity: 0.9;
  transition: all 0.3s;
}

.wechat-icon-float img {
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 2;
}

/* Hiệu ứng vòng tròn lan tỏa */
.wechat-icon-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background-color: rgba(238, 239, 240, 0.966);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 1.5s infinite;
  z-index: 1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}


/* MOBILE*/
@media (max-width: 768px) {
.header-content {
  grid-template-columns: 1fr; 
  grid-template-rows: auto auto; 
  gap: 0.5rem;
}

.nav-menu {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 1rem;
}

.contact-phone {
  font-size: 16px;
  margin: 0;
}

  /* Stack filter controls vertically on mobile */
.place-count {
  margin-left: 0;
  font-size: 16px;
}
.places-layout {
  grid-template-columns: 1fr;
}
.bannerleft {
display: none;
}
.filter-controls {
  flex-direction: column;
  gap: 10px;
}

.filter-select, .search-box input {
  padding: 10px 15px;
  font-size: 14px;
}

.places-grid {
  grid-template-columns: 1fr; 
  gap: 1rem;
    
}

.place-card {
  grid-template-columns: 1fr; 
  grid-template-rows: auto auto;
  gap: 0;
}

.place-image {
  min-height: 180px;
  height: auto;
}
.place-info {
  margin-right: 0.5rem;
}

.place-info h3 {
  font-size: 1.2rem; 
  margin-bottom: 0;
}

.place-info p {
  font-size: 1rem;
  margin-top: 0.3rem;
}

.page-number, .page-nav {
  padding: 8px 10px;
  font-size: 12px;
  min-width: 30px;
}
.page-dots {
 margin-top: 0;
}

.footer {
  padding: 10px 0 10px;
}
  
.footer-content {
  flex-direction: column;
  gap: 0;
  text-align: center;
}
  
.footer-contact h3,
.footer-terms h3 {
text-align: center;
font-size: 18px;
}
  
.footer-contact p {
  justify-content: center;
  font-size: 15px;
}
.footer-terms p {
  justify-content: center;
  font-size: 15px;
}
   
.copyright {
  font-size: 13px;
}

.zalo-icon-float {
  right: 15px;
}
.messenger-icon-float {
  right: 15px;
}
.whatsapp-icon-float {
  right: 15px;
}
.wechat-icon-float {
  right: 15px;
}
}
