/* ═══════ VCC Page Styles (BEM) ═══════ */

/* ────────────────────────────────
   1. Banner
   ──────────────────────────────── */
.vcc-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vcc-banner__picture {
  display: block;
  width: 100%;
}

.vcc-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ────────────────────────────────
   2. Overview
   ──────────────────────────────── */
.vcc-overview {
  padding: 50px 20px 0;
}

.vcc-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vcc-overview__text {
  max-width: 900px;
  margin: 0 auto;
}

.vcc-overview__text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1em;
}

.vcc-overview__text a {
  color: #e4002b;
}

.vcc-overview__separator {
  max-width: 1500px;
  margin: 50px auto;
  width: 80%;
  border: 0;
  border-top: 1px solid #ccc;
}

/* ────────────────────────────────
   3. Benefits (EN/ZH)
   ──────────────────────────────── */
.vcc-benefits {
  position: relative;
  padding: 32px 16px 24px;
  isolation: isolate;
}

.vcc-benefits::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #fafafa;
  z-index: -1;
}

.vcc-benefits__title {
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.25;
  color: #222;
}

.vcc-benefits__row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.vcc-benefits__col {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 340px;
  font-size: 1.25em;
  text-align: center;
  line-height: 1.4;
}

.vcc-benefits__cta {
  display: block;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
}

@media (max-width: 900px) {
  .vcc-benefits__row {
    gap: 18px;
  }

  .vcc-benefits__col {
    min-width: 160px;
    font-size: 1em;
  }
}

@media (max-width: 700px) {
  .vcc-benefits__row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .vcc-benefits__col {
    width: 100%;
    min-width: 200px;
    max-width: 420px;
  }
}

/* ────────────────────────────────
   4. Event Details (JP)
   ──────────────────────────────── */
.vcc-events {
  text-align: center;
  overflow: hidden;
  padding-top: 0;
}

.vcc-events__heading {
  text-align: center;
  margin-bottom: 60px;
}

.vcc-events__ended {
  border: 2px solid #e53935;
  color: #e53935;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  padding: 20px;
  margin: 0 auto;
  background: #fff;
  max-width: 1000px;
  width: calc(90% - 12px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  word-break: keep-all;
  outline: 2px solid #dc143c;
  outline-offset: 6px;
}

.vcc-event-card {
  border: 3px solid #2b9a00;
  border-radius: 20px;
  padding: 24px 32px;
  max-width: 1000px;
  width: 90%;
  margin: 40px auto;
  box-sizing: border-box;
  background: #fff;
  position: relative;
  z-index: 10;
  text-align: left;
}

.vcc-event-card__header {
  text-align: center;
  margin-bottom: 16px;
}

.vcc-event-card__header h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}

.vcc-event-card p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.6;
}

.vcc-event-card hr {
  border: none;
  border-top: 1px solid #2b9a00;
  margin: 24px 0;
}

.vcc-event-card__icon {
  font-size: 2em;
  color: #2b9a00;
  display: block;
  margin-bottom: 10px;
}

.vcc-event-card__icon--japan {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect fill='%23fff' width='900' height='600'/%3E%3Ccircle fill='%23bc002d' cx='450' cy='300' r='180'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.vcc-event-card__link {
  color: #ff0037;
  font-weight: bold;
  font-size: 1.15em;
  margin-top: 18px;
  display: inline-block;
}

.vcc-event-card__logos {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.vcc-event-card__logos img {
  height: 50px;
  width: auto;
}

.vcc-events__cta {
  text-align: center;
  margin: 20px 0;
}

.vcc-events__cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.vcc-events__note {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.vcc-events__footnote {
  text-align: center;
  font-style: italic;
  margin-top: 80px;
}

@media (max-width: 700px) {
  .vcc-events__ended {
    font-size: 1.2em;
    padding: 16px;
  }
}

/* ────────────────────────────────
   5. Sponsors (JP)
   ──────────────────────────────── */
.vcc-sponsors {
  padding: 80px 20px 40px;
}

.vcc-sponsors__heading {
  text-align: center;
  margin-bottom: 40px;
}

.vcc-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.vcc-sponsors__item {
  text-align: center;
  filter: none;
  opacity: 1;
}

.vcc-sponsors__item img {
  height: 100px;
  width: auto;
  filter: none;
  opacity: 1;
}

.vcc-sponsors__footnote {
  text-align: center;
  font-style: italic;
  margin-top: 80px;
}

@media (max-width: 700px) {
  .vcc-sponsors__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ────────────────────────────────
   6. Features
   ──────────────────────────────── */
.vcc-features {
  padding: 80px 20px 70px;
  overflow: hidden;
}

.vcc-features__heading {
  text-align: center;
  margin-bottom: 80px;
  margin-top: 50px;
  max-width: 1000px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.vcc-features__heading h1 {
  text-align: center;
}

.vcc-features__container {
  max-width: 1500px;
  width: 80%;
  margin: 0 auto;
}

.vcc-feature {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.vcc-feature--reverse {
  flex-direction: row-reverse;
}

.vcc-feature__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.vcc-feature__image picture,
.vcc-feature__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.vcc-feature__content {
  flex: 1 1 50%;
}

.vcc-feature__title {
  color: #10263e;
  font-weight: 700;
  margin-bottom: 16px;
}

.vcc-feature__desc {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {

  .vcc-feature,
  .vcc-feature--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .vcc-feature__image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .vcc-feature__content {
    flex: none;
    width: 100%;
  }

  .vcc-features__container {
    width: 90%;
  }
}

/* ────────────────────────────────
   7. Resources
   ──────────────────────────────── */
.vcc-resources {
  position: relative;
  background: #f0f6ff;
  padding: 80px 20px 70px;
}

.vcc-resources__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 215, 235, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 215, 235, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.vcc-resources__heading {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.vcc-resources__container {
  max-width: 1500px;
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.vcc-resources__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vcc-resource-card {
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.vcc-resource-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.vcc-resource-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.vcc-resource-card__thumb picture,
.vcc-resource-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcc-resource-card__subtitle {
  font-size: 13px;
  color: #666;
  padding: 8px 16px 0;
  font-weight: 500;
}

.vcc-resource-card__title {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 16px;
  line-height: 1.4;
}

.vcc-resource-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vcc-resource-card__cta {
  display: inline-flex;
  align-items: center;
  color: #ff0037;
  font-weight: 600;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 14px;
}

.vcc-resource-card__cta::after {
  content: "\2192";
  margin-left: 6px;
  font-size: 1.1em;
  transition: margin-left 0.2s;
}

.vcc-resource-card:hover .vcc-resource-card__cta::after {
  margin-left: 10px;
}

@media (max-width: 950px) {
  .vcc-resources__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .vcc-resources__container {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .vcc-resources__cards {
    grid-template-columns: 1fr;
  }

  .vcc-resource-card__thumb {
    aspect-ratio: 4 / 3;
  }
}

/* ────────────────────────────────
   8. Impact (EN/ZH)
   ──────────────────────────────── */
.vcc-impact {
  background: #fafafa;
  border-radius: 6px;
  margin: 32px auto;
  padding: 32px 16px 24px;
  max-width: 1200px;
}

.vcc-impact__title {
  text-align: center;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 24px;
}

.vcc-impact__row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
}

.vcc-impact__col {
  flex: 1 1 200px;
  min-width: 160px;
  text-align: center;
  padding: 12px 8px;
}

.vcc-impact__number {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.vcc-impact__label {
  font-size: 1.1em;
  color: #222;
}

@media (max-width: 900px) {
  .vcc-impact__row {
    gap: 18px;
  }

  .vcc-impact__col {
    min-width: 120px;
  }
}

@media (max-width: 700px) {
  .vcc-impact__row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .vcc-impact__col {
    width: 100%;
    max-width: 420px;
  }
}

/* ────────────────────────────────
   9. Bottom Hero CTA
   ──────────────────────────────── */
.vcc-hero-cta {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.vcc-hero-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  background-image: url('https://cdn.vicone.com/archives/vicone/images/webp/mj-ctf-cta-footer-1900-go0ovtS.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.vcc-hero-cta__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.vcc-hero-cta__title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 15px;
}

.vcc-hero-cta__subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 15px;
}

.vcc-hero-cta__buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.vcc-hero-cta__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background-color: #ff0037;
  color: #fff;
  text-align: center;
  text-decoration: none;
  width: 340px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.vcc-hero-cta__buttons a:hover {
  background-color: #cc002c;
  color: #fff;
}

.vcc-hero-cta__hashtag {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .vcc-hero-cta__title {
    font-size: 1.3em;
  }

  .vcc-hero-cta__content {
    max-width: 98vw;
  }

  .vcc-hero-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .vcc-hero-cta__buttons a {
    width: 90%;
    max-width: 340px;
  }
}

/* ────────────────────────────────
   10. Modal (JP)
   ──────────────────────────────── */
.vcc-modal {
  display: none;
}

.vcc-modal--active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.vcc-modal__backdrop {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(26 33 43 / 80%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  z-index: 1;
}

.vcc-modal__card {
  max-width: 900px;
  min-height: 80vh;
  overflow: hidden;
  background: #101a26;
  z-index: 9999;
  position: relative;
  border-radius: 20px;
  border: 1px solid #293442;
  box-shadow: 0 0 20px 5px #151922de;
  width: 90%;
}

.vcc-modal__close {
  position: absolute;
  width: 40px;
  height: 40px;
  color: #fff;
  font-weight: bolder;
  text-align: center;
  padding: 10px;
  font-size: 20px;
  line-height: 0;
  background: red;
  padding-top: 18px;
  cursor: pointer;
  right: 0;
  top: 0;
  z-index: 10;
  border: none;
}

.vcc-modal__close:hover {
  background: #b40606;
}

.vcc-modal__body {
  padding: 40px;
  height: calc(80vh - 40px);
  overflow-y: auto;
  color: #fff;
}

@media (max-width: 600px) {
  .vcc-modal__card {
    width: 95%;
  }

  .vcc-modal__body {
    padding: 20px;
  }

  .vcc-modal--active {
    justify-content: flex-start;
    overflow: scroll;
  }
}

/* ────────────────────────────────
   11. Buttons
   ──────────────────────────────── */
.vcc-btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1em;
  text-align: center;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s;
  line-height: 1.4;
}

.vcc-btn--red {
  background: #ff0037;
  color: #fff;
  border-color: #ff0037;
  border-radius: 10px;
}

.vcc-btn--red:hover {
  background: #cc002c;
  border-color: #cc002c;
  color: #fff;
}

.vcc-btn--red:disabled {
  background: #ccc;
  border-color: #ccc;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}

.vcc-btn--outline {
  border: 2px solid #ff0037;
  color: #ff0037;
  background: #fff;
  box-shadow: 0 4px 12px 0 #f2f2f2;
}

.vcc-btn--outline:hover {
  background: #ff0037;
  color: #fff;
}

.vcc-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.vcc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ────────────────────────────────
   Utilities / Section spacing
   ──────────────────────────────── */
.vcc-section {
  padding: 80px 20px 70px;
}

.vcc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vcc-container--wide {
  max-width: 1500px;
}

.vcc-text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .vcc-section {
    padding: 50px 16px 40px;
  }

  .vcc-features__heading {
    margin-bottom: 40px;
    margin-top: 20px;
  }
}