.an-page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: left;
  background: linear-gradient(180deg, #fff1f3 22%, #ffb3b3 100%, #ffffff 0%);
}

.an-page-header-inner {
  width: min(var(--max-w, 1200px), 100% - 2.5rem);
  margin-inline: auto;
}

.an-page-header .an-section-label {
  color: var(--burgundy, #6e3a43);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.an-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.an-page-header p {
  font-size: 1.1rem;
  color: var(--burgundy-mid, #5a5050);
}

.an-mobile-month-nav {
  display: none;
}

@media (max-width: 768px) {
  .an-mobile-month-nav {
    display: block;
    position: sticky;
    top: var(--nav-h, 60px);
    z-index: 99;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey-1, #f2eeee);
    box-shadow: 0 4px 12px rgba(110, 58, 67, 0.05);
    padding: 10px 0;
  }

  .an-mobile-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 15px;
    scrollbar-width: none;
    -ms-overflow-style: none; 
  }

  .an-mobile-nav-scroll::-webkit-scrollbar {
    display: none; 
  }

  .an-month-btn {
    flex: 0 0 auto;
    background: var(--grey-1, #f2eeee);
    color: var(--burgundy-mid, #5a5050);
    border: 1px solid transparent;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
  }

  .an-month-btn.active,
  .an-month-btn:active {
    background: var(--rose-deep, #a24857);
    color: #ffffff;
    border-color: var(--rose-deep, #a24857);
    box-shadow: 0 2px 8px rgba(162, 72, 87, 0.25);
  }
}

.an-container {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

.an-info-container {
  max-width: var(--max-w, 1200px);
  margin: 50px auto 100px auto;
  display: flex;
  flex-direction: column;
  gap: 55px;
  opacity: 0;
  transform: translateY(15px);
  animation: mainFadeIn 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes mainFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.an-design-card {
  background: var(--white, #ffffff);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  border: 1px solid rgba(110, 58, 67, 0.04);
}

.an-design-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--burgundy, #6e3a43);
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--grey-1, #f2eeee);
  padding-bottom: 15px;
}

.an-design-title:first-of-type {
  margin-top: 0;
}

.an-design-title i {
  color: var(--rose-deep, #a24857);
  background: var(--rose-pale, #fdf0f0);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.an-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.an-activity-card {
  border: 1px solid var(--grey-1, #f2eeee);
  border-radius: 12px;
  padding: 20px;
  background: var(--white, #ffffff);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.an-activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(110, 58, 67, 0.08);
  border-color: var(--rose-light, #f8c4c5);
}

.an-activity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.an-activity-card h3 {
  font-family: var(--font-display);
  color: var(--burgundy, #6e3a43);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.an-activity-card p {
  color: var(--burgundy-mid, #5a5050);
  line-height: 1.55;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.an-activity-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 15px 0;
  line-height: 1.6;
  color: #444;
  font-size: 0.88rem;
}

.an-activity-card ul li strong i {
  color: var(--rose-deep, #a24857);
  width: 18px;
}

.an-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.an-badge-month {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--rose-pale, #fdf0f0);
  color: var(--rose-deep, #a24857);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--rose-light, #f8c4c5);
  letter-spacing: 0.3px;
}

.an-badge-upcoming {
  display: inline-block;
  background: #d9534f;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.an-poster-thumb-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--grey-1, #f2eeee);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  background: #fafafa;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.an-poster-thumb-box:hover {
  border-color: var(--rose-light, #f8c4c5);
}

.an-poster-thumb-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.an-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(110, 58, 67, 0.75);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.an-poster-thumb-box:hover .an-poster-overlay {
  opacity: 1;
}

.an-poster-overlay i {
  font-size: 1.3rem;
}

.an-poster-overlay span {
  font-size: 0.78rem;
  font-weight: 600;
}

.an-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.an-btn-primary,
.an-btn-secondary,
.an-btn-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.an-btn-primary {
  background: var(--rose-deep, #a24857);
  color: #ffffff;
}

.an-btn-primary:hover {
  background: var(--burgundy, #6e3a43);
  color: #ffffff;
}

.an-btn-secondary {
  background: var(--rose-pale, #fdf0f0);
  color: var(--rose-deep, #a24857);
}

.an-btn-secondary:hover {
  background: #f7dada;
  color: var(--burgundy, #6e3a43);
}

.an-btn-youtube {
  background: #ff000010;
  color: #cc0000;
}

.an-btn-youtube:hover {
  background: #ff000020;
  color: #990000;
}

.an-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.an-modal.active {
  display: flex;
  opacity: 1;
}

.an-modal-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.an-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.an-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.an-modal-close:hover {
  color: var(--rose-light, #f8c4c5);
}

.an-modal-caption {
  color: #ffffff;
  margin-top: 15px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.an-modal-video-content {
  width: 100%;
  max-width: 800px;
}

.an-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  background: #000000;
}

.an-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.an-activity-card,
.an-design-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.1, 0.8, 0.2, 1), 
              transform 1.2s cubic-bezier(0.1, 0.8, 0.2, 1),
              box-shadow 0.3s ease, 
              border-color 0.3s ease, 
              background-color 0.3s ease;
}

.an-scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .an-activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .an-page-header { 
    padding-top: calc(var(--nav-h) + 40px); 
  }
  
  .an-design-card { 
    padding: 25px 15px; 
  }

  .an-activity-grid {
    grid-template-columns: 1fr;
  }
}