/* Cinzel Regular */
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/Cinzel-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cinzel Bold */
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/Cinzel-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Cinzel Black */
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/Cinzel-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Cinzel Decorative Regular */
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/CinzelDecorative-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cinzel Decorative Bold */
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/CinzelDecorative-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Cinzel Decorative Black */
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/CinzelDecorative-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Usage Examples */

/* Use Cinzel Regular */
h1 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
}

/* Use Cinzel Bold */
h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* Use Cinzel Black */
.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
}

/* Use Cinzel Decorative */
.decorative-heading {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 400;
}

/* Body text with fallback */
body {
  font-family: 'Cinzel', Georgia, serif;
}

.main-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  font-size: 2.256rem;
  color: #fff;
  font-family: Cinzel;
}

.background-image,
.content-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.background-image {
  align-self: stretch;
  min-height: 58.5rem;
  overflow: hidden;
  flex-shrink: 0;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  z-index: 0;
  background: url(image-24.jpg) lightgray 50% / cover no-repeat;
}

.content-container {
  /* width: 43.744rem; */
  max-width: 53rem;
  width: 100%;
  gap: 2.812rem;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.header-and-download-container {
  /* max-width: 43.744rem; */
  /* width: 100%; */
  /* height: 25.931rem; */
  position: relative;
  /* object-fit: cover; */
}

.download-options {
  display: flex;
  gap: 1.062rem;
  /* margin: 0 auto; */
  flex-direction: column;
  align-items: stretch;
}

.download-option {
  text-decoration: none;
  /* width: 11.688rem; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pc-download-icon {
  align-self: stretch;
  position: relative;
  /* max-width: 100%; */
  overflow: hidden;
  /* max-height: 100%; */
  /* object-fit: cover; */
}

.info-section-container,
.main-background-image {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

.main-background-image {
  align-self: stretch;
  /* height: 67.5rem; */
  min-height: 44.5rem;
  overflow: hidden;
  flex-shrink: 0;
  justify-content: center;
  padding: 3rem 1rem;
  z-index: 1;
  background: url(image-25.jpg) lightgray 50% / cover no-repeat;
  background-attachment: fixed;
}

.info-section-container {
  /* height: 56.25rem; */
  max-width: 80rem;
  width: 100%;
  flex-direction: column;
  padding: 0rem 0rem;
  /* gap: 1rem; */
  /* background: url(image-23.png) #d3d3d300 50% / contain no-repeat; */
  display: flex;
  align-items: stretch;
  align-content: center;
  position: relative;
}

.fw-dec-img {
  position: absolute;
  top: 49%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: calc(100% + 240px);
  height: calc(100% + 240px);
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
  max-width: none;
}

.season-info-container {
  width: 28.813rem;
  /* height: 10.381rem; */
  position: relative;
  /* object-fit: cover; */
}

.countdown-container {
  display: flex;
  align-items: center;
  gap: 2.437rem;
  justify-content: center;
}

.countdown-item {
  width: 3.694rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.countdown-label,
.countdown-number {
  align-self: stretch;
  position: relative;
  background: linear-gradient(180deg, #fcf7df, #debc88);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-number {
  height: 3.094rem;
  font-weight: 500;
  text-shadow: 0 0 23.9px rgba(234, 212, 171, 0.5);
}

.countdown-label {
  height: 1.844rem;
  font-size: 1.344rem;
  text-shadow: 0 0 14.2px rgba(234, 212, 171, 0.5);
}

.main-countdown-item {
  width: 5.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-item,
.main-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item {
  gap: 2.625rem;
}

.main-info-item {
  text-decoration: none;
}

.info-item-icon {
  /* height: 20.325rem; */
  width: 12.844rem;
  position: relative;
  /* object-fit: cover; */
}

.register-button-container {
  text-decoration: none;
  /* width: 35.7rem; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-register-button-container {
  width: 35.7rem;
  /* height: 3.188rem; */
  position: relative;
  /* object-fit: cover; */
}

.duration-text {
  position: relative;
  font-size: 1.35rem;
  /* white-space: pre-wrap; */
  text-shadow: 0 0 9.4px rgba(0, 0, 0, 0.8);
}

.duration {
  font-weight: 500;
}

.divider-container {
  width: 0.513rem;
  height: 6.781rem;
  position: fixed;
  margin: 0 !important;
  top: 5.688rem;
  right: 2.113rem;
  cursor: pointer;
  z-index: 2;
}

.divider,
.main-divider {
  text-decoration: none;
  position: absolute;
  right: 0;
  border-radius: 8.2px;
  height: 2.488rem;
}

.divider {
  top: 0;
  box-shadow: 0-1px 13.7px rgba(0, 255, 0, 0.71);
  width: 0.513rem;
  border: 1px solid #3FBD16;
}

.main-divider {
  top: 4.3rem;
  filter: drop-shadow(0-1px 13.7px rgba(102, 255, 0, 0.5));
  border: 1px solid #3FBD16;
  box-sizing: border-box;
  width: 0.438rem;
}

.div-active {
  background: #3FBD16;
}

/* Button hover effects */
.download-option img,
.register-button-container img,
.main-register-button-container,
.pc-download-icon {
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1), filter 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  will-change: transform, filter, box-shadow;
}

.download-option img:hover,
.register-button-container img:hover,
.main-register-button-container:hover,
.pc-download-icon:hover {
  transform: translateY(-6px) scale(1.03);
  filter: saturate(1.08) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  /* box-shadow: 0 10px 24px rgba(0,0,0,0.28), 0 0 18px rgba(255,219,138,0.06); */
}

.download-option img:active,
.register-button-container img:active,
.main-register-button-container:active {
  transform: translateY(-2px) scale(0.995);
  transition-duration: 120ms;
}

/* Keyboard focus for accessibility */
.download-option img:focus-visible,
.register-button-container img:focus-visible,
.main-register-button-container:focus-visible {
  outline: 3px solid rgba(255, 219, 138, 0.45);
  outline-offset: 4px;
}

.home-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9;
}

/* Slight hover for divider anchors */
.divider:hover,
.main-divider:hover {
  transform: translateX(-2px);
  transition: transform 160ms ease;
}

@media (max-width: 767px) {
  .info-item {
    max-width: 300px;
    width: 100%;
    /* ช่วยให้ยืดตามพื้นที่คอนเทนเนอร์ */
  }

  .home-btn {
    position: fixed;
    width: 120px;
  }

  .countdown-label {
    font-size: 15px;
  }

  .main-container {
    font-size: 18px;
  }
}