/* ═══════════════════════════════════════
   Home Page Styles
   ═══════════════════════════════════════ */

/* ── HERO ── */
.hero {
  background: linear-gradient(180deg, rgba(0,99,63,0.93) 0%, var(--green-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  width: fit-content;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-badge-text {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  line-height: 22px;
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2.5px;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 19px;
  font-weight: 400;
  line-height: 34px;
  margin-bottom: 24px;
  max-width: 640px;
  color: var(--white);
}

.hero-desc .dim { color: rgba(255, 255, 255, 0.82); }
.hero-desc .bold { color: var(--white); font-weight: 700; }
.hero-desc .bold2 { color: rgba(255, 255, 255, 0.82); font-weight: 700; }

.hero-dates {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-dates .date-item {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.3px;
}

.hero-dates .sep {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-right {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 400px;
  max-width: 100%;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
}

/* ── INFO BANNER ── */
.info-banner {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.info-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.info-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.info-banner-item strong {
  color: var(--dark);
  font-weight: 700;
}

.info-banner-icon {
  font-size: 18px;
  line-height: 1;
}

.info-banner-sep {
  color: var(--green-mid);
  font-size: 20px;
  font-weight: 300;
}

/* ── ABOUT ── */
.about {
  padding: 64px 0;
}

.about-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about-headline {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 46.2px;
  margin-bottom: 8px;
  max-width: 700px;
}

.about-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  max-width: 700px;
}

.about-text p {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  line-height: 30.6px;
  margin-bottom: 14px;
}

.about-box {
  flex: 1;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.about-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.about-box-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  border: 2.78px solid var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.about-box-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 18px;
  padding: 18px 0;
}

.about-box-title .bbo { color: var(--blue); }
.about-box-title .x { color: var(--dark); }
.about-box-title .fb { color: var(--green); }
.about-box-title .wbf { color: var(--gold); }

.about-box-list li {
  font-size: 16px;
  color: var(--text);
  line-height: 30px;
}

/* ── WHY PLAY ── */
.why-section {
  background: var(--bg);
  padding: 64px 0;
}

.why-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.why-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 46.2px;
  text-align: center;
  margin-bottom: 28px;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1016px;
  margin: 0 auto 31px;
}

.why-card {
  width: calc(50% - 12px);
  min-height: 180px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 31px 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px;
  height: 4px;
  border-radius: 2px;
}

.why-card.green::before { background: var(--green); }
.why-card.blue::before { background: var(--blue); }
.why-card.red::before { background: var(--red); }
.why-card.purple::before { background: var(--purple); }

.why-card-icon {
  font-size: 32px;
  line-height: 51px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 32px;
  margin: 14px 0 8px;
}

.why-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 27.2px;
}

.why-note {
  max-width: 799px;
  margin: 0 auto 31px;
  font-size: 17px;
  color: var(--text);
  text-align: center;
  line-height: 28.9px;
}

.why-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ── TIMELINE ── */
.timeline-section {
  background: var(--white);
  padding: 64px 0;
}

.timeline-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.tl-header {
  text-align: center;
  margin-bottom: 40px;
}

.tl-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 46.2px;
  margin-bottom: 13px;
}

.tl-sub {
  font-size: 17px;
  color: var(--text);
  line-height: 28.9px;
}

.tl-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.tl-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 26px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #00633f 0%, #116194 50%, #b22227 100%);
  opacity: 0.3;
}

.tl-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  position: relative;
}

.tl-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid;
  transition: transform var(--transition-fast);
}

.tl-item:hover .tl-num {
  transform: scale(1.08);
}

.tl-num.green { background: var(--green-light); border-color: var(--green); color: var(--green); }
.tl-num.blue { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.tl-num.red { background: var(--red-light); border-color: var(--red); color: var(--red); }

/* Solid filled variants (used in card-style timeline) */
.tl-num.n1 { background: var(--green); color: var(--white); border-color: var(--green); }
.tl-num.n2 { background: #0a0d1c; color: var(--white); border-color: #0a0d1c; }
.tl-num.n3 {
  background: linear-gradient(135deg, var(--green), #0a0d1c);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--green);
}

.tl-body {
  flex: 1;
  padding-top: 6px;
}

.tl-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-muted);
  letter-spacing: 2px;
  line-height: 20.8px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.tl-step-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 38.4px;
  margin-bottom: 6px;
}

.tl-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 28px;
  margin-bottom: 14px;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── TIMELINE CARD (card-style items) ── */
.tl-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 4px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tl-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-lg);
}

.tl-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tl-card-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.tl-card-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tl-card-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ── PLATFORM ── */
.platform-section {
  background: var(--bg);
  padding: 64px 0;
}

.platform-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.platform-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 46.2px;
  margin-bottom: 13px;
}

.platform-sub {
  font-size: 17px;
  color: var(--text);
  line-height: 28.9px;
  margin-bottom: 35px;
}

.platform-grid {
  display: flex;
  gap: 24px;
  max-width: 860px;
}

.platform-card {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.platform-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.platform-card-bar {
  height: 4px;
  border-radius: 2px;
}

.platform-card-bar.blue { background: var(--blue); }
.platform-card-bar.green { background: var(--green); }

.platform-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 35.2px;
}

.platform-card-title.blue { color: var(--blue); }
.platform-card-title.green { color: var(--green); }

.platform-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 130px;
}

.platform-card-desc {
  flex: 1;
  font-size: 16px;
  color: var(--text);
  line-height: 27.2px;
  margin-top: 10px;
}

.btn-plat-bbo,
.btn-plat-funbridge {
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--white);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.btn-plat-bbo { background: var(--blue); }
.btn-plat-funbridge { background: var(--green); }
.btn-plat-bbo:hover, .btn-plat-funbridge:hover { opacity: 0.88; transform: translateY(-1px); }

.platform-note {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--green-muted);
  line-height: 22.4px;
  min-height: calc(22.4px * 2 + 12px);
}

/* ═══════════════════════════════════════
   Responsive — Home
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero-left { align-items: center; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-ctas { justify-content: center; }
  .hero-dates { justify-content: center; }
  .hero-right img { width: 360px; }
  .hero-title { font-size: 56px; }

  .about-layout { flex-direction: column; gap: 32px; }
  .about-text { max-width: 100%; }

  .platform-grid { flex-direction: column; max-width: 100%; }
}

@media (max-width: 768px) {
  .hero { padding: 48px 0; }
  .hero-title { font-size: 40px; line-height: 1; }
  .hero-desc { font-size: 16px; line-height: 28px; }
  .hero-right img { width: 280px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas a, .hero-ctas button { width: 100%; justify-content: center; }

  .info-banner-sep { display: none; }
  .info-banner-inner { gap: 12px; flex-wrap: wrap; white-space: normal; }

  .about, .why-section, .timeline-section, .platform-section { padding: 40px 0; }

  .why-card { width: 100%; }
  .why-title { font-size: 28px; line-height: 34px; }

  .tl-title { font-size: 28px; line-height: 34px; }
  .platform-title { font-size: 28px; line-height: 34px; }
  .about-headline { font-size: 28px; line-height: 34px; }
  .tl-card { padding: 16px 18px; }
  .tl-card-top { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
}
