:root {
  --bg: #f3f8fa;
  --card-bg: white;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Roboto;
  color: #222;
}

.hero {
  height: 180px;
  background: #1FA4B8;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
  font-size: 28px;
  margin-top: 10px;
}

.lead {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 30px;
}

/* CARD */
.card {
  margin-top: -120px;
  background: var(--card-bg);
  padding: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* SLIDER */
.coverflow-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.coverflow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 900px;
  height: 230px;
}

.cover-item {
  width: 210px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateX(0) scale(0.7) rotateY(0deg);
  cursor: pointer;
}

.cover-item.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0);
  z-index: 10;
}

.cover-item.left {
  opacity: 0.8;
  transform: translateX(-240px) rotateY(40deg) scale(0.8);
  z-index: 5;
}

.cover-item.right {
  opacity: 0.8;
  transform: translateX(240px) rotateY(-40deg) scale(0.8);
  z-index: 5;
}

.cover-item.hidden {
  opacity: 0;
  transform: scale(0.6);
}

/* DOTS */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  margin: 0 4px;
  cursor: pointer;
}

.dot.active {
  background: #222;
}

/* LINKS SECTION */
.links {
  margin-top: 30px;
}

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}

/* ICON BOX */
.icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;   /* Xóa nền xám */
  border-radius: 0;   /* Không bo góc */
  overflow: visible;  /* Cho phép icon tràn ra nếu cần */
}

.icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.meta .title {
  font-size: 16px;
  font-weight: bold;
}

.meta .desc {
  font-size: 13px;
  opacity: 0.7;
}

/* FIX: Arrow đẩy sang phải ✅ */
.arrow {
  margin-left: auto;
  font-size: 20px;
  opacity: 0.7;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  user-select: none;
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

.lightbox .nav:hover,
.lightbox .close:hover {
  color: #ddd;
}
