body {
    padding:0;
    margin:0;
    overflow:hidden;
	height: 600px;
}
canvas {
    padding:0;
    margin:0;
}
div.btnbg {
    position:fixed;
    left:0;
    top:0;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  width: 100vw;
  overflow: hidden;
}

#sakura {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0; /* Petals behind the logo */
  display: block;
  pointer-events: none;
}

/* Remove all existing .logo-container CSS and replace with this */
.logo-container {
  position: absolute !important;
  top: 50% !important; 
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1 !important;
  
  /* Default: 50vw for all screens (mobile-first) */
  width: calc(50vw) !important;
  height: calc(50vw) !important;
  
  /* Override any min/max constraints */
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  background: transparent !important;
  overflow: hidden !important;
}

.logo {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border-radius: 20px !important;
  object-fit: contain !important;
}

/* Only apply larger sizing on desktop */
@media screen and (min-width: 481px) {
  .logo-container {
    width: min(90vw, 40vh) !important;
    height: min(90vw, 40vh) !important;
  }
}

/* Nuclear option - highest specificity to override everything */
html body .logo-container {
  width: 185px !important; /* Exactly 50% of 371px */
  height: 185px !important;
}

/* For any screen width, force 50vw */
@media screen and (max-width: 600px) {
  html body div.logo-container {
    width: 50vw !important;
    height: 50vw !important;
    min-width: 0 !important;
    max-width: 50vw !important;
    min-height: 0 !important;
    max-height: 50vw !important;
  }
}

/* Desktop: Reasonable size for screens above 480px */
@media screen and (min-width: 481px) {
  html body div.logo-container {
    width: min(40vw, 40vh) !important;
    height: min(40vw, 40vh) !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}