@font-face {
  font-family: "SUPER BUBBLE";
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url("../assets/fonts/Super-Bubble.ttf") format("truetype");
}

:root {
  --pink: #E174CB;
  --pink-deep: #DA167E;
  --pink-soft: #FFC9FF;
  --paper: #FFF4FB;
  --black: #000000;
  --white: #FFFFFF;
  --radius: 15px;
  --border: 2px solid var(--black);
  --shadow-card: 0 5px 0 0 rgba(0, 0, 0, 0.92);
  --shadow-soft: 0 5px 0 0 rgba(0, 0, 0, 0.5);
  --font-display: "SUPER BUBBLE", sans-serif;
  --font-marquee: "Sniglet", sans-serif;
  --section-pad: clamp(3rem, 6vw, 5.5rem);
  --gutter: clamp(1rem, 4vw, 3rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-display);
  background: var(--paper);
  color: var(--black);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.heading-sm,
.heading-xl,
.heading-xxl,
.heading-hero {
  font-weight: 400;
  text-transform: uppercase;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 0 3px 0 var(--black);
  line-height: 1.08;
}

.heading-sm { font-size: clamp(26px, 3.4vw, 46px); }
.heading-xl { font-size: clamp(42px, 5.4vw, 74px); }
.heading-xxl { font-size: clamp(42px, 6.6vw, 92px); }
.heading-hero { font-size: clamp(46px, 8vw, 112px); }

.body-text {
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--black);
  -webkit-text-stroke: 1px var(--white);
  text-shadow: 0 2px 0 var(--black);
  margin: 15px 0 20px;
}

.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 23px);
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.85);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 0 rgba(0, 0, 0, 0.85);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.85);
}

.btn-sm {
  font-size: clamp(12px, 1.3vw, 18px);
  padding: 10px 14px;
}

a.btn:not([href]) {
  cursor: default;
}

a.btn:not([href]):hover,
a.btn:not([href]):active {
  transform: none;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.85);
}

.btn-gradient {
  color: var(--white);
  background-image: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  text-shadow: 0 2px 0 var(--black);
}

.btn-black {
  color: var(--white);
  background: var(--black);
}

.btn-white {
  color: var(--black);
  background: var(--white);
}

.btn-icon {
  padding: 12px;
}

.btn-icon svg {
  width: 1.4em;
  height: 1.4em;
  fill: currentColor;
}

.btn-icon img {
  width: 1.8em;
  height: 1.8em;
  object-fit: contain;
  border-radius: 6px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--pink);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(12px, 2vw, 20px);
}

.overlay-text-left::before,
.overlay-text-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/LABUBU-TEXT.png");
  background-repeat: repeat;
  background-size: 420px auto;
  pointer-events: none;
  opacity: 0.12;
}

.overlay-text-left::before { background-position: center left; }
.overlay-text-right::before { background-position: center right; }

.card > * {
  position: relative;
  z-index: 1;
}

.btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.section {
  position: relative;
}

.dots-top::after,
.dots-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(218, 22, 126, 0.14) 2px, transparent 2.6px);
  background-size: 28px 28px;
  pointer-events: none;
}

.dots-top::after {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}

.dots-bottom::after {
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
  mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}

.sec-line {
  position: absolute;
  width: clamp(160px, 18vw, 300px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.sec-line-about {
  right: -2%;
  bottom: 2%;
  transform: rotate(9deg) scaleX(-1);
}

.sec-line-gallery-1 {
  left: -3%;
  top: 6%;
  transform: rotate(-11deg);
}

.sec-line-gallery-2 {
  right: -3%;
  bottom: 4%;
  transform: rotate(8deg) scaleX(-1);
}

.sec-line-socials {
  left: 2%;
  top: 4%;
  transform: rotate(-9deg);
}

.sec-float {
  position: absolute;
  width: clamp(90px, 9vw, 150px);
  pointer-events: none;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.2));
  animation: float-bob 7s ease-in-out infinite;
  z-index: 0;
}

.sec-float-chart {
  --tilt: 6deg;
  right: 4%;
  top: 6%;
  animation-delay: -3s;
}

.sec-float-socials {
  --tilt: -6deg;
  right: 5%;
  top: 10%;
  animation-delay: -1.5s;
}

.section > .container,
.section > .container-wide {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--gutter);
}

.site-logo {
  font-size: clamp(26px, 3vw, 42px);
  text-transform: uppercase;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 0 3px 0 var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 817px;
  margin-top: -93px;
  background-image: radial-gradient(at center center, #FFC9FFAD 43%, rgba(255, 244, 251, 0) 43%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/main-lab.gif");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 27% auto;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(218, 22, 126, 0.18) 2px, transparent 2.6px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 78%);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  width: clamp(180px, 22vw, 320px);
  opacity: 0.14;
  pointer-events: none;
}

.hero-line-1 {
  left: -3%;
  bottom: 4%;
  transform: rotate(-10deg);
}

.hero-line-2 {
  right: -2%;
  top: 12%;
  transform: rotate(12deg) scaleX(-1);
}

.hero-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.2));
  animation: float-bob 6s ease-in-out infinite;
}

.hero-float-1 {
  --tilt: -7deg;
  width: clamp(110px, 13vw, 190px);
  left: 6%;
  top: 30%;
}

.hero-float-2 {
  --tilt: 8deg;
  width: clamp(100px, 12vw, 170px);
  right: 6%;
  top: 22%;
  animation-duration: 7s;
  animation-delay: -2.5s;
}

.hero-float-3 {
  --tilt: -4deg;
  width: clamp(90px, 10vw, 140px);
  right: 16%;
  bottom: 8%;
  animation-duration: 8s;
  animation-delay: -4s;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--tilt, 0deg)); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-logo {
  width: 88%;
  margin-top: 100px;
}

.contract {
  padding-bottom: var(--section-pad);
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.contract-left {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.copy-icon {
  background: none;
  border: none;
  cursor: pointer;
  line-height: 0;
}

.copy-icon svg {
  height: clamp(22px, 2.6vw, 34px);
  width: auto;
  fill: var(--black);
  transition: transform 0.2s ease;
}

.copy-icon:hover svg {
  transform: scale(1.15);
}

.contract-title {
  font-size: clamp(16px, 2.6vw, 34px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--black);
  -webkit-text-stroke: 1px var(--white);
  text-shadow: 0 3px 0 var(--black);
  overflow-wrap: anywhere;
}

.about-grid {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.about-text { width: 62%; }

.about-media {
  width: 38%;
  display: flex;
  justify-content: center;
  transform: rotate(-0.6deg);
}

.about-media img { width: min(100%, 420px); }

.about-text .heading-xl { margin: 12px 0; }

.marquee-band {
  position: relative;
  overflow: hidden;
  background: var(--pink);
  border-top: var(--border);
  border-bottom: var(--border);
  box-shadow: var(--shadow-card);
  padding: 14px 0;
}

.tilt-right { transform: rotate(0.3deg) scale(1.02); }
.tilt-left { transform: rotate(-0.3deg) scale(1.02); position: relative; z-index: 3; }

.marquee-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/LABUBU-TEXT.png");
  background-position: center left;
  background-size: 420px auto;
  opacity: 0.12;
  pointer-events: none;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  font-family: var(--font-marquee);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 2px;
  text-shadow:
    -2px 0 black,
    2px 0 black,
    0 -2px black,
    0 2px black,
    4px 4px 0 black,
    6px 6px 10px rgba(0, 0, 0, 0.7);
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.chart {
  background-image: linear-gradient(180deg, rgba(231, 113, 170, 0) 0%, rgba(231, 113, 170, 0.22) 18%, rgba(231, 113, 170, 0.22) 82%, rgba(231, 113, 170, 0) 100%);
}

.chart-grid {
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 4vw, 48px);
}

.chart-left {
  width: 42%;
  display: flex;
}

.card-dark {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(12px, 2vw, 20px);
}

.chart-note {
  color: #999;
  font-size: 12px;
  text-align: center;
  margin: 8px 0;
}

.chart-embed {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 420px;
}

.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  font-size: clamp(18px, 2.4vw, 32px);
  text-transform: uppercase;
  color: var(--pink);
  -webkit-text-stroke: 1px var(--black);
  text-shadow: 0 3px 0 var(--black);
  border: 2px dashed var(--pink);
  border-radius: var(--radius);
}

.card-dark .btn-row {
  margin-top: 15px;
}

.chart-right {
  width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.buy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border-bottom: 3px solid var(--black);
  padding-bottom: 8px;
}

.buy-titles { flex: 1; }

.buy-head img {
  width: clamp(140px, 22%, 280px);
  flex-shrink: 0;
}

.chart-right .card {
  width: 100%;
}

.gallery {
  position: relative;
  text-align: center;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/labubu-eyes.gif");
  background-position: center center;
  background-size: clamp(60px, 7%, 110px) auto;
  opacity: 0.07;
  pointer-events: none;
}

.gallery .container-wide {
  position: relative;
  z-index: 1;
}

.gallery .heading-hero {
  margin: 12px 0 clamp(20px, 3vw, 36px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2.4vw, 30px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.gallery-item img {
  width: 100%;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.tilt-a { transform: rotate(-0.6deg); }
.tilt-b { transform: rotate(0.6deg); }
.tilt-c { transform: rotate(0.5deg); }

.pfp-promo {
  padding-top: 0;
}

.pfp-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 36px);
}

.pfp-gif {
  width: clamp(140px, 20vw, 220px);
  flex-shrink: 0;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.pfp-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pfp-copy .heading-xl { margin: 8px 0; }

.pfp-copy .body-text { margin: 10px 0 18px; }

.socials {
  background-image: linear-gradient(180deg, rgba(225, 116, 203, 0) 0%, rgba(225, 116, 203, 0.18) 30%, rgba(225, 116, 203, 0.55) 100%);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.socials-grid {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.socials-media {
  width: 50%;
  display: flex;
  justify-content: center;
}

.socials-media img { width: min(100%, 460px); }

.socials-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.socials-text .heading-hero {
  margin: 10px 0;
}

.socials-text .body-text {
  max-width: 560px;
}

.socials-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.socials-links .btn-icon {
  width: 76px;
  height: 76px;
  padding: 0;
}

.socials-links .btn-icon svg,
.socials-links .btn-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  background: var(--pink);
  border-top: var(--border);
  box-shadow: 0 -6px 12px 0 rgba(0, 0, 0, 0.23);
  padding: clamp(16px, 2.5vw, 28px) var(--gutter);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/LABUBU-TEXT.png");
  background-position: center left;
  background-size: 420px auto;
  opacity: 0.12;
  pointer-events: none;
}

.footer-col {
  position: relative;
  z-index: 1;
  width: 33.33%;
}

.footer-col.right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: clamp(26px, 3vw, 42px);
  text-transform: uppercase;
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 0 3px 0 var(--black);
}

.footer-disclaimer {
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  color: rgba(0, 0, 0, 0.75);
}

.anim {
  opacity: 0;
}

.anim.visible {
  animation-duration: 0.9s;
  animation-fill-mode: both;
}

.anim-fade.visible { animation-name: fadeIn; }
.anim-down.visible { animation-name: fadeInDown; }
.anim-up.visible { animation-name: fadeInUp; }
.anim-left.visible { animation-name: fadeInLeft; }
.anim-right.visible { animation-name: fadeInRight; }

.delay-1.visible { animation-delay: 0.1s; }
.delay-2.visible { animation-delay: 0.2s; }
.delay-3.visible { animation-delay: 0.3s; }
.delay-4.visible { animation-delay: 0.4s; }
.delay-5.visible { animation-delay: 0.5s; }
.delay-6.visible { animation-delay: 0.6s; }
.delay-7.visible { animation-delay: 0.7s; }
.delay-8.visible { animation-delay: 0.8s; }
.delay-9.visible { animation-delay: 0.9s; }
.delay-10.visible { animation-delay: 1s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hover-grow-rotate,
.hover-shrink,
.hover-skew {
  transition: transform 0.3s ease;
}

.hover-grow-rotate:hover { transform: scale(1.06) rotate(3deg); }
.hover-shrink:hover { transform: scale(0.94); }
.hover-skew:hover { transform: skewX(-8deg); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  background: var(--black);
  color: var(--white);
  font-size: clamp(14px, 1.6vw, 20px);
  text-transform: uppercase;
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  padding: 12px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1366px) {
  .hero::before { background-size: 658px auto; }
}

@media (max-width: 1024px) {
  .hero::before { background-size: 637px auto; }
  .about-grid { flex-direction: column; }
  .about-text,
  .about-media { width: 100%; }
  .about-media { transform: none; }
  .about-media img { width: min(70%, 360px); }
  .chart-grid { flex-direction: column; }
  .chart-left,
  .chart-right { width: 100%; }
  .chart-embed { min-height: 0; padding-bottom: 90%; flex: none; }
}

@media (max-width: 767px) {
  .hero { min-height: 460px; margin-top: 0; }
  .hero::before { background-size: 343px auto; }
  .hero-logo { width: 100%; margin-top: 100px; }
  .hero-float,
  .hero-line,
  .sec-float,
  .sec-line { display: none; }
  .contract-card { justify-content: center; }
  .buy-head { flex-direction: row; }
  .buy-head img { width: 32%; }
  .pfp-card { flex-direction: column; text-align: center; }
  .pfp-copy { align-items: center; }
  .socials-grid { flex-direction: column; }
  .socials-media,
  .socials-text { width: 100%; }
  .socials-media img { width: min(80%, 340px); }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-col { width: 100%; }
  .footer-col.right { justify-content: center; }
}

@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .header-actions .btn-sm { padding: 8px 10px; }
  .btn { padding: 10px 12px; }
  .gallery-grid { gap: 8px; }
}
