@charset "utf-8";
/* Homepage styles, shared by the English and Chinese templates. */
    body {
      background-color: #000;
      color: #fff;
      font-family: Helvetica, sans-serif;
    }
    a {
      text-decoration: none;
    }
    a:hover {
      text-decoration: none;
    }
    /* Navbar brand tweak (for the 🧸 icon if desired) */
	#mainNavbar {
	  font-family: oswald-medium, oswald, sans-serif;
	  text-transform: uppercase;
      font-size: 1.3rem;
	  text-align: center;
	}
    .navbar-brand {
	  font-family: oswald-medium, oswald, sans-serif;
      font-weight: 700;
	  font-size: 2.6rem;
	  letter-spacing:0.02em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
	.nav-link {
	  color: #FFF;
	}
	.nav-link:hover, .navbar-brand:hover, .navbar-nav .nav-link.active {
	  color: rgb(89,195,255);
	}
    /* =========== HERO SECTION =========== */
    .hero-section {
      padding: 2rem 0;
    }
	.hero-images {
	  position: relative;
	}
    .hero-images img {
      width: 100%;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 1rem;
    }
    @media (min-width: 768px) {
      .hero-images img {
        margin-bottom: 0;
      }
    }
	
	.buy-link { /* position */
	  position: absolute;
	  top: 96%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	}
	
    .buy-link, .contract-btn {
	  font-family: oswald-medium, oswald, sans-serif;
      margin: 1rem 0 0.5rem 0;
	  min-width: 220px;
	  text-align: center;
	  font-weight: bold;
	  outline: thick solid #000;
    }
	
	/* =========== SHARED SECTIONS =========== */
	
	  /* =========== BACKGROUND IMAGE SECTIONS =========== */
	  .bg-sections {
		padding: 3rem 0;
		text-align: center;
		min-height: 573px;
	  }
	  
	  /* =========== SECTION TITLES =========== */
	  .section-title {
		font-family: oswald-medium, oswald, sans-serif;
		font-size: clamp(2rem, 7vw, 3.8rem);
		margin-bottom: 1.25rem;
		line-height: 1.29em;
		text-align: center;
		letter-spacing: 0.02em;
	  }
	
	/* =========== SHARED SECTIONS END =========== */
	
    /* =========== ABOUT SECTION =========== */
    #about {
      padding: 3rem 0;
    }
    .about-text {
      line-height: 1.9em;
	  letter-spacing:0.05em;
    }
    .big-teddy-img {
      width: 100%;
      border-radius: 8px;
      margin-top: 2rem;
    }

	/* =========== Shared "glass card" base =========== */
	.glass-card{
	  background: rgba(255,255,255,0.04);
	  border: 1px solid rgba(255,255,255,0.08);
	  border-radius: 18px;
	  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
	  overflow: hidden;
	  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	  transform: translateY(0);
	}
	.glass-card:hover{
	  transform: translateY(-6px);
	  border-color: rgba(89,195,255,.35);
	  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
	  cursor: pointer;
	}

	
    /* =========== TOKENOMICS SECTION =========== */
    #tokenomics {
	  background: center / contain no-repeat url("/img/teddybear-banner.jpg");
    }
	
	/* TOKENOMICS - card style */	
	.stat-card .card-body{ padding: 1.15rem; }
	
	.stat-top{
	  display:flex;
	  align-items:center;
	  gap:.5rem;
	  margin-bottom:.4rem;
	  opacity:.95;
	}
	
	.stat-emoji{ font-size: 1.15rem; }
	.stat-label{
	  font-family: oswald-medium, oswald, sans-serif;
	  letter-spacing:.06em;
	  text-transform: uppercase;
	  font-size:.9rem;
	  opacity: .85;
	}
	
	.stat-value{
	  font-family: oswald-medium, oswald, sans-serif;
	  font-size: 1.45rem;
	  letter-spacing:.02em;
	  line-height: 1.1;
	  margin-bottom:.25rem;
	}
	
	.stat-sub{
	  font-size:.85rem;
	  opacity:.78;
	}
	
	.stat-link{
	  color: rgb(89,195,255);
	  text-decoration: none;
	}
	.stat-link:hover{ text-decoration: underline; }

	/* =========== BEARMAP (Sticker Cards) =========== */
	#bearmap {
	  padding: 4rem 0;
	  text-align: center;
	}
	
	#bearmap .bearmap-sub {
	  opacity: .85;
	  margin-bottom: 2.25rem;
	  font-size: 1.05rem;
	}
	
	/* Phase "trading card" */
	.phase-card{
	  position: relative;
	  transform-style: preserve-3d;
	}
	
	/* subtle animated "holo" sheen */
	.phase-card::before {
	  content: "";
	  position: absolute;
	  inset: -40%;
	  background: linear-gradient(115deg,
		rgba(255,255,255,0.00) 20%,
		rgba(255,255,255,0.08) 40%,
		rgba(255,255,255,0.00) 60%);
	  transform: rotate(8deg) scale(.96);
	  opacity: .7;
	  pointer-events: none;
	  animation: holoSweep 6s linear infinite;
	  /*background: radial-gradient(closest-side, rgba(0,200,255,.18), transparent 65%);*/
	  transition: opacity .2s ease, transform .2s ease;
	}
	
	@keyframes holoSweep {
	  0%   { transform: translateX(-35%) rotate(8deg); }
	  50%  { transform: translateX(35%)  rotate(8deg); }
	  100% { transform: translateX(-35%) rotate(8deg); }
	}
	
	/* Phase header */
	.phase-head {
	  display: flex;
	  align-items: baseline;
	  justify-content: center;
	  gap: .6rem;
	  margin-bottom: .35rem;
	}
	
	.phase-title {
	  font-family: oswald-medium, oswald, sans-serif;
	  font-size: 2.1rem;
	  letter-spacing: .08em;
	  margin: 0;
	}
	
	.phase-tag {
	  font-size: .85rem;
	  padding: .25rem .55rem;
	  border-radius: 999px;
	  background: rgba(255,255,255,0.08);
	  border: 1px solid rgba(255,255,255,0.10);
	  opacity: .9;
	}
	
	.phase-meme {
	  margin: 0 0 1.1rem 0;
	  opacity: .85;
	  font-size: .95rem;
	}
	
	/* Milestone stickers */
	.milestones {
	  display: grid;
	  grid-template-columns: minmax(0, 1fr);
	  gap: .65rem;
	  margin: 0;
	  padding: 0;
	  list-style: none;
	  text-align: left;
	}
	
	.ms {
	  display: flex;
	  flex-wrap: wrap;
	  min-width: 0;
	  align-items: center;
	  justify-content: space-between;
	  gap: .75rem;
	  padding: .75rem .85rem;
	  border-radius: 14px;
	  background: rgba(0,0,0,0.35);
	  border: 1px solid rgba(255,255,255,0.08);
	  transition: transform .18s ease, background .18s ease, border-color .18s ease;
	}
	
	.phase-card:hover .ms {
	  border-color: rgba(255,255,255,0.14);
	}
	
	.ms:hover {
	  transform: translateX(4px);
	  background: rgba(0,0,0,0.48);
	}
	
	.ms-left {
	  display: flex;
	  flex: 1 1 10rem;
	  flex-wrap: wrap;
	  align-items: center;
	  gap: .65rem;
	  min-width: 0;
	}
	
	.ms-icon {
	  flex-shrink: 0;
	  font-size: 1.15rem;
	  line-height: 1;
	  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
	}
	
	.ms-label {
	  min-width: 0;
	  font-weight: 800;
	  letter-spacing: .04em;
	  font-size: .95rem;
	  white-space: normal;
	  overflow-wrap: anywhere;
	}
	
	.ms-note {
	  font-size: .78rem;
	  opacity: .7;
	  margin-left: .45rem;
	  white-space: normal;
	  overflow-wrap: anywhere;
	}
	
	.ms-right {
	  max-width: 100%;
	  font-size: .85rem;
	  opacity: .85;
	  white-space: normal;
	  overflow-wrap: anywhere;
	}
	
	/* Optional: faint divider */
	.phase-foot {
	  margin-top: 1.2rem;
	  font-size: .85rem;
	  opacity: .7;
	}

    /* =========== IMAGE GALLERY SECTION =========== */
    .gallery-container {
      padding: 2rem 0 3rem;
    }
    .gallery-container img {
      width: 100%;
      border-radius: 8px;
    }
	/* ----- Gallery hover effect ----- */
	.gallery-thumb {
	  transition: transform .35s cubic-bezier(.25,.8,.25,1),
				  box-shadow .35s;
	  will-change: transform;
	}
	
	.gallery-item:hover .gallery-thumb {
	  /* 3D pop + slight rotation */
	  transform: perspective(800px) translateZ(30px) scale(1.04) rotateZ(-2deg);
	  box-shadow: 0 15px 25px rgba(0,0,0,.6);
	  z-index: 2;
	}
	
	/* Limit modal width to a bit above the native 346px (so landscape phones fit) */
	.img-modal {
	  max-width: 550px;    /* adjust if your thumbs are wider/taller */
	}
	
	/* Optional: on very small screens (Ã¢â€°Â¤400px) let it use 90vw */
	@media (max-width: 400px) {
	  .img-modal { max-width: 90vw; }
	}
	
	/* ---- download icon style ---- */
	.download-icon {
	  position: absolute;
	  bottom: 12px;
	  right: 16px;
	  font-size: 1.75rem;
	  color: #fff;
	  background: rgba(0,0,0,.55);
	  width: 42px;
	  height: 42px;
	  line-height: 42px;
	  text-align: center;
	  border-radius: 50%;
	  transition: transform .25s, background .25s;
	  text-decoration: none;
	}
	
	.download-icon:hover {
	  transform: scale(1.25) rotate(-10deg);
	  background: rgba(255,255,255,.9);
	  color: #000;
	}
	
    /* =========== RICHARD HEART SECTION 1 & 2 =========== */
    .stream-section {
      padding: 3rem 0;
      text-align: center;
    }
    .stream-section > .container { margin-bottom: 2rem; }
    .stream-preview {
      position: relative;
      max-width: 1903px;
      margin-inline: auto;
    }
    .stream-preview img { display: block; width: 100%; height: auto; }
    .richard-quote {
	  font-family: oswald-medium, oswald, sans-serif;
      font-size: 2.3rem;
	  line-height: 1.3em;
	  text-align: left;
      margin: 0 0 1.5rem;
	  text-shadow: rgba(0, 0, 0, 0.498039) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
	  letter-spacing: 0.02em;
    }
    .stream-attribution { margin: 0; }
    .stream-link {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: max-content;
      max-width: calc(100% - 2rem);
      min-height: 44px;
      background: rgba(0,0,0,.55);
	  font-family: oswald-medium, oswald, sans-serif;
      font-size: 1.8rem;
	  line-height: 1.3em;
	  text-align: center;
      margin: 0;
	  text-shadow: rgba(0, 0, 0, 0.498039) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
      color: #fff;
      border: 2px solid #fff;
      padding: 0.5rem 1rem;
      border-radius: 4px;
      display: inline-block;
      text-decoration: none;
    }
    .stream-link:hover {
      background-color: #fff;
      color: #000;
	  text-shadow: none;
	  cursor: pointer;
    }
	
	/* =========== HOW TO BUY SECTION =========== */
	#how-to-buy {
	  padding: 3rem 0;
	  text-align: center;
	}
	
	#how-to-buy > .container > .section-title {
	  font-family: oswald-medium, oswald, sans-serif;
	  font-size: clamp(2rem, 7.5vw, 4rem);
	  margin-bottom: 1.5rem;
	  line-height: 1.15;
	}
	
	#how-to-buy .lead {
	  max-width: 900px;
	  margin: 0.75rem auto 2rem;
	  opacity: 0.9;
	}
	
	.buy-accordion .accordion-item {
	  border: 0;
	  border-radius: 16px;
	  overflow: hidden;
	  margin-bottom: 14px;
	  background: rgba(255,255,255,0.04);
	}
	
	.buy-accordion .accordion-button {
	  background: rgba(0,0,0,0.35);
	  color: #fff;
	  font-weight: 800;
	  letter-spacing: 0.04em;
	}
	
	.buy-accordion .accordion-button:not(.collapsed) {
	  box-shadow: none;
	}
	
	.buy-accordion .accordion-body {
	  text-align: left;
	  color: rgba(255,255,255,0.9);
	}
	
	.buy-steps .list-group-item {
	  background: rgba(0,0,0,0.35);
	  color: rgba(255,255,255,0.92);
	  border-color: rgba(255,255,255,0.08);
	  border-radius: 14px;
	  margin-bottom: 10px;
	  padding: 14px 16px;
	}
	
	.buy-steps .step-title {
	  font-weight: 800;
	  letter-spacing: 0.03em;
	  text-transform: uppercase;
	  font-size: 1.02rem;
	}
	
	.buy-steps .step-note {
	  font-size: 0.92rem;
	  opacity: 0.9;
	  margin-top: 4px;
	  line-height: 1.55;
	}
	
	.buy-pill {
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  font-weight: 800;
	  letter-spacing: 0.03em;
	  padding: 6px 12px;
	  border-radius: 999px;
	  background: rgba(255,255,255,0.08);
	  border: 1px solid rgba(255,255,255,0.12);
	}
	
	#contractAddressBuy, #contractAddress {
	  background: rgba(255,255,255,0.08);
	  border: 1px solid rgba(255,255,255,0.12);
	}
    #contractAddress {
      display: inline-block;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: normal;
      line-height: 1.6;
    }


    /* =========== SOCIALS SECTION =========== */
    #socials {
      padding: 3rem 0;
      text-align: center;
    }
    .socials-icons img {
      width: 48px;
	  height: auto;
      margin: 0 0.5rem;
      border-radius: 50%;
    }
    /* =========== FOOTER SECTION =========== */
    footer {
      padding: 2rem 0;
      text-align: center;
      background-color: #111;
    }
    footer p {
      margin: 0;
      color: #ccc;
      font-size: 0.9rem;
    }

/* Responsive sizing keeps the original desktop proportions without clipping. */
.navbar-brand { flex-shrink: 0; }
.navbar-brand > span { flex: 0 0 auto; }
#mainNavbar .nav-link { white-space: nowrap; }
.hero-images img, .big-teddy-img, .gallery-container img { height: auto; }
.gallery-item { display: block; }
.navbar-brand.gallery-item { display: flex; }
.buy-link { max-width: calc(100% - 2rem); }
.buy-accordion .accordion-button { font-family: Oswald, sans-serif; }
.buy-accordion .accordion-button > span { min-width: 0; overflow-wrap: anywhere; }
.buy-accordion .accordion-button::after { filter: brightness(0) invert(1); }
.buy-accordion .accordion-header { margin-bottom: 0; }
.buy-pill { flex-shrink: 0; }
.img-modal { margin-inline: auto; }
#modalImg { max-height: calc(100vh - 96px); max-height: calc(100svh - 96px); object-fit: contain; }
.page-viewer { width: 100%; height: 80vh; height: 80svh; max-height: calc(100vh - 112px); max-height: calc(100svh - 112px); border: medium solid #fff; border-radius: 8px; }
#videoModal .modal-dialog {
  max-width: min(800px, calc((100vh - 112px) * 16 / 9));
  max-width: min(800px, calc((100svh - 112px) * 16 / 9));
  margin-inline: auto;
}
footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .25rem; color: #59c3ff; }
footer nav a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #59c3ff; outline-offset: 4px; }

@media (max-width: 575.98px) {
  .navbar-brand { font-size: clamp(1.25rem, 5.6vw, 2rem); margin-right: .5rem; }
  .navbar-brand img { width: clamp(32px, 10vw, 48px); height: auto; }
  .buy-accordion .accordion-button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
  .buy-accordion .accordion-button .buy-pill { grid-column: 1; justify-self: start; }
  .buy-accordion .accordion-button > .ms-2 { grid-column: 1; margin-left: 0 !important; }
  .buy-accordion .accordion-button::after { grid-column: 2; grid-row: 1 / span 2; }
  .richard-quote { font-size: clamp(1.6rem, 6vw, 2.3rem); }
  .stream-link { font-size: clamp(1.25rem, 5vw, 1.8rem); }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #mainNavbar { font-size: 1rem; }
  .navbar-brand { font-size: 2rem; }
  .navbar-brand img { width: 48px; height: 48px; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  #mainNavbar { font-size: 1.1rem; }
}

/* Desktop: the image spans both rows; the quote and button flow over it.
   Smaller screens retain the separate caption and centered preview button. */
@media (min-width: 992px) {
  .stream-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    max-width: 1903px;
    margin-inline: auto;
    padding: 0;
  }
  .stream-section > .container {
    grid-area: 1 / 1;
    align-self: start;
    margin: 0 auto;
    padding-top: clamp(2rem, 3.8vw, 4.5rem);
    padding-bottom: 1.5rem;
    z-index: 1;
  }
  .stream-section .richard-quote { font-size: clamp(1.75rem, 2.8vw, 2.3rem); }
  .stream-preview { display: contents; }
  .stream-preview img {
    grid-area: 1 / 1 / span 2 / 2;
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }
  .stream-link {
    grid-area: 2 / 1;
    position: static;
    transform: none;
    align-self: start;
    justify-self: center;
    margin: 0 1rem clamp(2rem, 3.8vw, 4.5rem);
    z-index: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .phase-card::before { animation: none; }
  .glass-card, .ms, .gallery-thumb, .download-icon { transition: none; }
  .glass-card:hover, .ms:hover, .gallery-item:hover .gallery-thumb, .download-icon:hover { transform: none; }
}
