/*----===========INDEX PAGE SPECIFIC STYLES============*/

/*----===========HERO AREA============*/
.hero-area {
  min-height: 44vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 80px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/home/hero-bg.png");
}

.hero-content {
  padding: 128px 0;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title h1 {
  font-family: Arial;
  color: var(--pure-white);
  font-size: 36px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
  letter-spacing: normal;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-title-img {
  width: 335px;
  height: 26px;
  margin-left: 20px;
}

.hero-date {
  font-family: Arial;
  font-size: 24px;
  color: var(--pure-white);
  margin-top: 20px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  letter-spacing: normal;
}

/*----===========PARTICIPATING COUNTRIES============*/
.participating-countries {
  position: absolute;
  bottom: 0;
}

.countries-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  height: 10vw;
}

.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.country-flag {
  width: 170px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-item h4 {
  font-family: Microsoft YaHei;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  letter-spacing: normal;
}

/*----===========SECTION TITLE============*/
.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.section-title .title-indicator {
  width: 18px;
  height: 18px;
  background: var(--footer-color);
  border-radius: 1px;
  margin-right: 20px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--body-text);
  margin: 0;
}

/*----===========INTRODUCTION AREA============*/
.introduction-area {
  background: var(--pure-white);
  padding-top: 100px;
}

.introduction-area .container {
  display: flex;
}

.introduction-area .container > div:first-child {
  flex: 0 0 665px;
  padding-right: 40px;
}
.introduction-area .container > div:last-child {
  flex: 1;
}

.introduction-text p {
  color: var(--default-text);
  margin-bottom: 10px;
  font-family: Roboto;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
}

.introduction-image {
  position: relative;
}

/*----===========GAME FIELDS AREA============*/
.game-fields-area {
  background: var(--pure-white);
  padding-top: 60px;
}

.game-fields-area .container {
  display: flex;
}

.game-fields-area .container > div:first-child {
  flex: 0 0 620px;
  padding-right: 40px;
}
.game-fields-area .container > div:last-child {
  flex: 1;
}

.game-fields-content {
  padding-left: 60px;
}

.fields-list {
  margin-top: 60px;
}

.field-item {
  margin-bottom: 60px;
}

.field-item h4 {
  color: var(--default-text);
  margin: 0;
  font-family: Roboto;
  font-size: 24px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
}

/*----===========ACCESS AREA============*/
.access-area {
  margin-top: 60px;
  background: var(--pure-white);
}

.access-area .container {
  /* display: flex; */
}

.access-content {
  margin-bottom: 40px;
}

.access-intro {
  font-family: Roboto;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
  color: var(--default-text);
  margin-bottom: 20px;
}

.transportation-info h3 {
  font-size: 28px;
  font-weight: bold;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.transport-options {
  margin-left: 30px;
}

.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.transport-item img {
  margin-top: 6px;
}

.transport-item span {
  font-family: Roboto;
  font-size: 17px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
  color: var(--default-text);
}

.access-map {
  text-align: center;
}

/*----===========ABOUT KOP AREA============*/
.about-kop-area {
  margin-top: 20px;
  background: var(--pure-white);
}

.about-kop-content p {
  font-family: Roboto;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
  color: var(--default-text);
  text-align: left;
  margin-bottom: 20px;
}

/*----===========BANQUETS AREA============*/
.banquets-area {
  margin-top: 40px;
  background: var(--pure-white);
}

.banquets-intro {
  font-family: Roboto;
  font-size: 18px;
  font-weight: normal;
  line-height: 27px;
  letter-spacing: normal;
  color: var(--default-text);
  margin-bottom: 20px;
}

.banquets-area .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.banquet-item {
  margin-bottom: 40px;
}

.banquet-info {
  margin-bottom: 40px;
}

.banquet-info h4 {
  font-family: Roboto;
  font-size: 18px;
  font-weight: bold;
  line-height: 27px;
  letter-spacing: normal;
  color: var(--default-text);
}

.banquet-info a {
  color: var(--primary-color);
}

.banquet-info p {
  height: 60px;
}

.banquet-link {
  color: var(--main-color);
  text-decoration: underline;
  font-size: 18px;
  line-height: 1.5;
}

.banquet-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.banquet-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

/*----===========BANQUET MAP============*/
.banquet-map {
  margin-top: 20px;
  position: relative;
}

.banquet-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banquet-map iframe.loaded {
  opacity: 1;
}

/* iframe 加载效果 */
.iframe-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: var(--placeholder-bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.iframe-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 加载动画 */
.iframe-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: iframe-spin 1s linear infinite;
}

@keyframes iframe-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 骨架屏效果（可选） */
.iframe-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    90deg,
    var(--placeholder-bg) 25%,
    #f0f0f0 50%,
    var(--placeholder-bg) 75%
  );
  background-size: 200% 100%;
  animation: iframe-skeleton-loading 1.5s infinite;
  border-radius: 4px;
  z-index: 1;
}

.iframe-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes iframe-skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 加载文本 */
.iframe-loading-text {
  margin-top: 10px;
  color: var(--secondary-text);
  font-size: 14px;
  text-align: center;
}

.place-card.place-card-medium {
  display: none !important;
}

/*----===========INDEX PAGE RESPONSIVE STYLES============*/

@media (max-width: 1369px) {
  .country-flag {
    width: 150px;
    height: 88px;
  }
}


/*----===========TABLET AND MOBILE (<1230px)============*/
@media (max-width: 1229px) {
  /* Hero区域调整 */
  .hero-title h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-title-img {
    width: 280px;
    height: 22px;
  }

  .hero-date {
    font-size: 20px;
  }

  /* 国家旗帜网格调整 */
  .countries-grid {
    gap: 20px;
  }

  .country-flag {
    width: 160px;
    height: 94px;
  }

  .introduction-area {
    margin-top: 120px;
  }

  /* 布局调整 */
  .introduction-area .container {
    flex-direction: column;
  }

  .introduction-area .container > div:first-child {
    flex: none;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .game-fields-area .container {
    flex-direction: column;
  }

  .game-fields-area .container > div:first-child {
    flex: none;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .game-fields-content {
    padding-left: 0;
  }

  .transport-options {
    margin-left: 0;
  }

  /* 宴会区域调整 */
  .banquets-area .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

 /* @media (max-width: 1199px) {
  .introduction-area {
    margin-top: 120px;
  }
} */
/*
@media (max-width: 1029px) {
  .countries-grid {
    gap: 20px;
  }

  .country-flag {
    width: 120px;
    height: 70px;
  }
} */

/* @media (max-width: 1020px) {
  .introduction-area {
    margin-top: 120px;
  }
} */

/*----===========MOBILE (<768px)============*/
@media (max-width: 767px) {
  /* Hero区域进一步调整 */
  .hero-content {
    padding: 80px 0;
  }

  .hero-title {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title h1 {
    font-size: 24px;
    line-height: 30px;
  }

  .hero-title-img {
    width: 250px;
    height: 20px;
    margin-left: 0;
  }

  .hero-date {
    font-size: 18px;
  }

  /* 国家旗帜网格调整 */
  .countries-grid {
    justify-content: center;
    gap: 15px;
  }

  .country-flag {
    width: 120px;
    height: 87px;
  }

  .country-item h4 {
    font-size: 14px;
  }

  /* 标题调整 */
  .section-title h2 {
    font-size: 28px;
  }

  /* 宴会区域调整 */
  .banquets-area .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .banquet-item {
    margin-bottom: 60px;
  }

  .banquet-map iframe {
    height: 180px;
  }

  .iframe-loading-overlay,
  .iframe-skeleton {
    height: 180px;
  }

  .introduction-area {
    margin-top: 120px;
  }

  .banquet-info {
    margin-bottom: 0;
  }

  .banquet-info p {
    height: auto;
  }

  .banquet-item {
    margin-bottom: 0;
  }

  .access-area {
    margin-top: 0;
  }

  /* .banquets-area  */
}

/*----===========SMALL MOBILE (<576px)============*/
@media (max-width: 575px) {
  /* Hero区域小屏调整 */
  .hero-title h1 {
    font-size: 20px;
    line-height: 26px;
  }

  .hero-title-img {
    width: 200px;
    height: 16px;
  }

  .hero-date {
    font-size: 16px;
  }

  /* 国家旗帜网格调整 */
  .countries-grid {
    gap: 10px;
  }

  .country-flag {
    width: 100px;
    height: 73px;
  }

  .country-item h4 {
    font-size: 12px;
  }

  /* 标题调整 */
  .section-title h2 {
    font-size: 24px;
  }
}


@media (max-width: 430px) {
  .country-flag {
    width: 90px;
    height: 52.94px;
  }
  .introduction-area{
    margin-top: 50px;
  }
  .participating-countries{
    bottom: 20px;
  }
}

@media (max-width: 390px) {
  .country-flag {
    width: 80px;
    height: 47.05px;
  }
  .introduction-area{
    margin-top: 30px;
  }
  .participating-countries{
    bottom: 20px;
  }
}