* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 40px;
  background: url("picture/TinleBG.png") no-repeat center center fixed;
  background-size: cover;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* chỉnh sáng/tối */
  z-index: -1;
}
/* ===== MENUBAR ===== */
.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;

  transition: opacity 0.3s ease;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 24px;

  background: linear-gradient(
  90deg,
  #3A3220 0%,
  #1F3A2A 100%
);

border-bottom: 1px solid rgba(255, 216, 77, 0.35);

box-shadow: 0 0 14px rgba(255, 216, 77, 0.12);
}
/* ===== LEFT (LOGO + MENU) ===== */
.left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ⚡ LOGO (JOLTEON PRIMARY) */
.icon {
  color: #FFD84D;
  font-size: 18px;

  text-shadow: 0 0 10px rgba(255, 216, 77, 0.8);
}

/* MENU LEFT */
.menu-left {
  list-style: none;
  display: flex;
}

.menu-left a {
  color: #ffffff;
  text-decoration: none;

  padding: 8px 12px;
  border-radius: 8px;

  font-weight: 600;

  transition: 0.2s;
}

.menu-left a:hover {
  background: rgba(255, 216, 77, 0.15);
  color:#FFD84D
}

/* ===== RIGHT MENU ===== */
.menu-right {
  list-style: none;
  display: flex;
  align-items: center;
}

.menu-right li {
  display: flex;
  align-items: center;
}

/* LINKS */
.menu-right a {
  color: #e4e6eb;
  text-decoration: none;

  padding: 8px 14px;
  border-radius: 8px;

  transition: 0.25s;
}

/* hover (LEAFEON GREEN) */
.menu-right a:hover {
  background: rgba(46, 204, 113, 0.15);
  color: #2ECC71;
}

/* divider */
.menu-right li:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

/*MainMenu*/
.banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
}

.banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;

  filter: blur(0px);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  text-align: center;
  color: white;

  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);

  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);

  width: 70%;
  max-width: 900px;

  padding: 30px;

  word-break: break-word;
  overflow-wrap: anywhere;
}

.banner-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;

  color: #FFD84D;

  text-shadow:
    0 0 10px rgba(255,216,77,.8),
    0 0 20px rgba(255,216,77,.4);
}

.banner-text p {
  font-family: "Poppins", sans-serif;

  font-size: 1.2rem;
  font-weight: 400;

  color: #f5f5f5;

  letter-spacing: 2px;
}

.about-section {
  width: min(1200px, 90%);
  margin: 60px auto;

  color: #f5f5f5;
}

.about-section h2 {
  text-align: center;

  font-family: "Orbitron", sans-serif;

  color: #FFD84D;

  font-size: 2.2rem;

  margin-bottom: 20px;

  text-shadow:
    0 0 10px rgba(255,216,77,.6);
}

.intro {
  max-width: 850px;

  margin: 0 auto 40px;

  text-align: center;

  line-height: 1.8;

  color: #d7dbe0;
}

.info-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;
}

.card {
  background: rgba(25, 25, 25, 0.55);

  backdrop-filter: blur(10px);

  border-radius: 18px;

  padding: 25px;

  transition: 0.3s ease;

  box-shadow:
    0 0 15px rgba(255,216,77,.08);
}

.card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 0 25px rgba(255,216,77,.18);
}

.card h3 {
  color: #FFD84D;

  margin-bottom: 15px;

  font-family: "Orbitron", sans-serif;
}

.card ul,
.card ol {
  padding-left: 20px;

  line-height: 1.8;
}

.card li {
  color: #e4e6eb;
}

.contact-section {
  width: min(1200px, 90%);

  margin: 80px auto;

  text-align: center;
}

.contact-section h2 {
  font-family: "Orbitron", sans-serif;

  color: #FFD84D;

  font-size: 2rem;

  margin-bottom: 20px;

  text-shadow:
    0 0 10px rgba(255,216,77,.6);
}

.contact-desc {
  max-width: 700px;

  margin: 0 auto 40px;

  color: #d7dbe0;

  line-height: 1.8;
}

.contact-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.contact-card {
  background: rgba(25,25,25,.55);

  backdrop-filter: blur(10px);

  border-radius: 18px;

  padding: 25px;

  transition: .3s ease;

  box-shadow:
    0 0 15px rgba(255,216,77,.08);
}

.contact-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 0 25px rgba(255,216,77,.18);
}

.contact-card h3 {
  color: #FFD84D;

  margin-bottom: 12px;

  font-family: "Orbitron", sans-serif;
}

.contact-card p {
  color: #e4e6eb;
}
.contact-card a {
  display: flex;
  align-items: center;
  gap: 10px;

  color: white;
  text-decoration: none;

  padding: 10px 12px;
  margin-top: 10px;

  border-radius: 10px;
  background: rgba(255,255,255,0.05);

  transition: all 0.25s ease;
}

.contact-card a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.contact-card i {
  font-size: 20px;
}
.fa-facebook {
  color: #4696ff;
}

.fa-x-twitter {
  color: #ffffff; /* hoặc #000 nếu nền sáng */
}
.fa-discord {
  color: #5865F2;
}
/*Art*/
.accordion {
  width: 100%;
  padding: 16px 20px;

  border: none;
  border-radius: 12px;

  margin-top: 15px;

  background: rgba(255,255,255,0.08);
  color: white;

  text-align: left;
  font-size: 18px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease;
}

.art-gallery {
  padding-top:80px;
  color: #eeea13;
  
}
.category-title {
  margin: 40px 0 20px;
  font-size: 1.8rem;
  font-weight: 600;
  padding-left: 10px;
  text-shadow:
    0 0 10px rgba(255,216,77,.6);
  font-family: "Orbitron", sans-serif;
}
.gallery-desc {
  padding-left: 10px;
}
.accordion:hover {
  background: rgba(255,255,255,0.15);
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.art-gallery h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  font-family: "Orbitron", sans-serif;
  color: #ffe66d;

  text-shadow:
    0 0 5px rgba(255, 230, 109, 0.6),
    0 0 15px rgba(255, 230, 109, 0.5),
    0 0 30px rgba(255, 230, 109, 0.3);

  letter-spacing: 2px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;

  padding: 15px 0;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-5px);
}

/*Commission*/
.commission-page {
  max-width: 1200px;
  margin: auto;
  padding: 120px 20px 60px;
  text-align: center;
  color: #eeea13;
}

.commission-page h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-family: "Orbitron", sans-serif;
  color: #ffe66d;

  text-shadow:
    0 0 5px rgba(255, 230, 109, 0.6),
    0 0 15px rgba(255, 230, 109, 0.5),
    0 0 30px rgba(255, 230, 109, 0.3);

  letter-spacing: 2px;
}

.commission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.commission-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
}

.commission-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.commission-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.commission-card .info {
  padding: 15px;
  text-align: left;
}

.commission-card h3 {
  margin-bottom: 5px;
}

.commission-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.price {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #00ffd5;
}

/*About*/
.about-avatar {
  display: flex;
  justify-content: center;
}

.about-avatar img {
  margin-top: 50px;
  width: 200px;
  height: 200px;
  object-fit: cover;

  border-radius: 50%;

  border: 3px solid rgba(255, 216, 77, 0.6);

  box-shadow:
    0 0 15px rgba(255, 216, 77, 0.4),
    0 0 30px rgba(255, 216, 77, 0.2);

  transition: transform 0.3s ease;
}

.about-avatar img:hover {
  transform: scale(1.05);
}

.about-page {
  max-width: 1000px;
  margin: auto;
  padding: 50px 20px 60px;
}

.about-page h1 {
  font-family: "Orbitron", sans-serif;
  color: #ffe66d;
  text-align: center;

  text-shadow:
    0 0 5px rgba(255, 230, 109, 0.6),
    0 0 20px rgba(255, 230, 109, 0.3);

  margin-bottom: 10px;
}

.about-card {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;

  border: 1px solid rgba(255, 230, 109, 0.1);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
}

.about-card h2 {
  color: #fff3a0;
  margin-bottom: 10px;
}

.about-card p,
.about-card li {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.open {
  color: #ffe66d;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 230, 109, 0.5);
}
.about-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card ul li::before {
  content: "⚡ ";
  color: #ffe66d;
}
.about-card ol {
  padding-left: 30px;
}

.about-card ol li::marker {
  color: #ffe66d;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255,230,109,0.6);
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  body {
    padding-top: 60px;
  }

  .menu-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    scroll-behavior: smooth;
  }

  .menu-bar::-webkit-scrollbar {
    display: none;
  }

  .menu-left a,
  .menu-right a {
     white-space: nowrap;
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .menu-right li:not(:last-child)::after {
    margin: 0 4px;
  }

  .banner img {
    height: 260px;
  }

  .banner-text {
    width: 94%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .banner-text h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .banner-text p {
    font-size: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
  }
}

/*CSS ALL PAGE TRANSITTION*/
body {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* khi load xong */
body.page-in {
  opacity: 1;
}

/* khi chuyển trang */
body.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-bar a.active-page {
  color: #FFD84D;

  text-shadow:
    0 0 6px rgba(255, 216, 77, 0.9),
    0 0 12px rgba(255, 216, 77, 0.6),
    0 0 20px rgba(255, 216, 77, 0.4);

  position: relative;
}

/* tia điện chạy nhẹ */
.menu-bar a.active-page::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 80%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #FFD84D,
    transparent
  );
}

@keyframes electric {
  0% { opacity: 0.2; transform: scaleX(0.7); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.2; transform: scaleX(0.7); }
}
/*Light Box*/
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* ảnh animation */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;

  transform: scale(0.6);
  opacity: 0;

  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* khi mở */
.lightbox.active img {
  transform: scale(1);
  opacity: 1;
}

/* nút đóng */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.commission-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  animation: popIn 0.4s ease;
}

/* cái box chính */
.popup-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 12px 14px;
  border-radius: 12px;

  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(10px);

  color: white;
  text-decoration: none;

  border: 1px solid rgba(255, 216, 77, 0.25);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);

  min-width: 200px;

  transition: 0.25s ease;
}

/* hover effect */
.popup-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 216, 77, 0.6);
  box-shadow: 0 0 25px rgba(255, 216, 77, 0.25);
}

/* text */
.popup-text .title {
  font-size: 12px;
  opacity: 0.7;
  font-family: "Orbitron", sans-serif;
}

.popup-text .commission-status {
  font-size: 14px;
  font-weight: bold;
  margin-top: 2px;
  
}

/* OPEN status */
.commission-status.open::before {
  content: "● ";
  color: #2ecc71;
}

.commission-status.closed::before {
  content: "● ";
  color: #ff4d4d;
}
.commission-status {
  font-size: 14px;
  font-weight: bold;
  margin-top: 2px;
}

.commission-status.open {
  color: #2ecc71;
}

.commission-status.closed {
  color: #ff4d4d;
}

/* mũi tên */
.popup-arrow {
  font-size: 14px;
  opacity: 0.7;
}

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