#removeTry, #removeArrows1, #removeArrows2 {
    opacity: 1;
    transition: opacity .4s ease;
}

.d3d-heading {
    background: #0b303e;
    width: 40%;
    position: relative;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    box-shadow: 0px 0px 10px #aeaeae;
    
}

.d3d-heading p {
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin: 2px;
}

.d3d-heading h3 {
    color: #fff;
    font-size: 40px;
    text-align: center;
    font-family: "Chewy", system ui;
    margin: 2px;
}

/* --------------------------------------------------
   ROTATE HINT
-------------------------------------------------- */
.rotate-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.rotate-hint.show {
  opacity: 1;
}

/* --------------------------------------------------
   CAPTURE 
-------------------------------------------------- */
.capture-btn-3d {
  padding: 15px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 0.3px;
    position: absolute;
    top: 6%;
    right: 3%;
    z-index: 6;    
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.capture-btn-3d:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #0b303e !important;
    background: #fff;
}


/* --------------------------------------------------
   SHOP NOW BUTTON
-------------------------------------------------- */
.shop-now-btn {
  padding: 15px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 0.3px;
  position: absolute;
  bottom: 8%;
  right: 12%;
  z-index: 4;
}

.tumbler3d-wrapper a:hover {
  color: #0b303e !important;
}
.shop-now-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #0b303e;
  background: #fff;
}

/* --------------------------------------------------
   UPLOAD BUTTON
-------------------------------------------------- */
.upload-input {
  display: none;
}

.upload-btn-3d {
  padding: 15px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 0.3px;
  position: absolute;
  top: 6%;
  right: 12%;
  z-index: 4;
}

.upload-btn-3d:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #0b303e !important;
  background: #fff;
}

/* --------------------------------------------------
   Logo
-------------------------------------------------- */
.logo4 {
    position: absolute;
    bottom: 50%;
    top: auto;
    left: auto;
    right: 1%;
    width: 15%;
    z-index: 2;
    transform: rotate(90deg) translate(26%);
    opacity: 1;
}

/* --------------------------------------------------
   WRAPPER
-------------------------------------------------- */
.tumbler3d-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: calc(100vh - 120px);
  min-height: 700px;
  max-height: 700px;
  overflow: hidden;
    box-shadow: 0px -3px 18px -3px rgba(0, 0, 0, 1);  /* Top Shadow */
}

/* --------------------------------------------------
   BACKGROUND GRADIENT
-------------------------------------------------- */
.tumbler3d-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at right center, {{ tumblers[0].bg_start }}, transparent 100%),
    radial-gradient(circle at top center, {{ tumblers[0].bg_end }}, transparent 100%),
    radial-gradient(circle at bottom left, {{ tumblers[0].bg_third }}, transparent 100%);
  z-index: 1;
  transition: background 1s ease;
}

/* --------------------------------------------------
   VIEWPORT
-------------------------------------------------- */
.tumbler3d-viewport {
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  z-index: 3;
}

.tumbler3d-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------
   THUMBNAIL
-------------------------------------------------- */
.tumbler3d-thumb {
  position: absolute;
  bottom: 5%;
  left: 5%;
  z-index: 5;
  cursor: pointer;
}

.tumbler3d-thumb img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}

.tumbler3d-thumb img:hover {
  transform: scale(1.05);
}

.tumbler3d-fade-out {
  opacity: 0;
  transform: scale(0.9);
}

/* Shared transitions */
.tumbler3d-thumb img,
.tumbler3d-viewport,
.tumbler3d-info {
  transition: 1s ease;
}

/* --------------------------------------------------
   BLOCKERS
-------------------------------------------------- */
.tumbler3d-blocker {
  position: absolute;
  z-index: 4;
  pointer-events: auto;
}

.tumbler3d-blocker.right {
  right: 0;
  width: 20%;
  height: 100%;
}
.tumbler3d-blocker.left {
  left: 0;
  width: 40%;
  height: 100%;
}
.tumbler3d-blocker.top {
  width: 100%;
  height: 30%;
  top: 0;
}
.tumbler3d-blocker.bottom {
  bottom: 0;
  width: 100%;
  height: 20%;
}

/* --------------------------------------------------
   VIEW OVERLAY
-------------------------------------------------- */
.view-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 26px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-overlay.show {
  opacity: 1;
}

/* --------------------------------------------------
   CONTROLS PANEL
-------------------------------------------------- */
#controls-body {
  overflow: hidden;
  max-height: 300px;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

#wrap-controls {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 300px;
  padding: 5px 18px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(30px);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 6;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.9;
}

#wrap-controls:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.02);
}

/* Header */
.controls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.toggle-btn {
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
}

#controlsToggle {
    display: none;
}

.toggle-btn:hover {
  background: rgba(255,255,255,0.35);
}

/* Sliders */
.range-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.range-row span {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
}

.range-wrap {
  width: 100%;
  margin-bottom: 12px;
}

#wrap-controls input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.8);
  outline: none;
  cursor: pointer;
}

#wrap-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Buttons */
.btn-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 0;
}

.reset-btn {
  flex: 1;
  padding: 5px;
  background: rgba(255,255,255,1);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  line-height: 10px;
}

.reset-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   MODEL MENU
-------------------------------------------------- */
.model-menu-toggle {
  position: absolute;
  top: 6%;
  left: 4%;
  z-index: 7;
  background: rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 22px;
  color: #fff;
  transition: 0.25s ease;
}

.model-menu-toggle:hover {
  background: rgba(255,255,255,0.35);
}

.model-menu-panel {
  position: absolute;
  top: 0;
  left: -290px;
  width: 290px;
  height: 100%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  padding: 20px;
  z-index: 6;
  transition: left 0.35s ease;
  display: flex;
  flex-direction: column;
}

.model-menu-panel.open {
  left: 0;
}

.model-menu-header {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 35px 0;
  text-align: right;
}

.model-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-menu-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}

.model-menu-btn:hover {
  background: rgba(255,255,255,0.35);
}

.model-menu-btn.active {
  background: #fff;
  color: #000;
}

/* --------------------------------------------------
   BACKGROUND TEXT
-------------------------------------------------- */
.text {
  position: absolute;
  width: 100%;
  height:100%;
  z-index: 3;
}

.bg-text-try {
  font-family: "Chewy", system-ui;
  position: absolute;
  top: 33%;
  right: 18%;
  z-index: 3;
  color: #fff;
  font-size: 70px;
  font-weight: 700;
  rotate: 6deg;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px #000000a2;
}

.bg-text-bet {
  font-family: "Chewy", system-ui;
  position: absolute;
  bottom: 50%;
  right: 17%;
  transform: translateX(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 25px;
  line-height: 32px
  font-weight: 700;
  width: 150px;
  rotate: -2deg;
  text-align: center;
  text-shadow: 1px 1px 3px #000000a2;
}
.bg-text-buy {
  font-family: "Chewy", system-ui;
  position: absolute;
  bottom: 38%;
  right: 18%;
  z-index: 3;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  rotate: -6deg;
  letter-spacing: 2px;
  transform: translateX(-50%, -50%);
  text-shadow: 1px 1px 3px #000000a2;
}

.bg-text-top {
  font-family: "Chewy", system-ui;
  position: absolute;
  top: -3%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 70px;
  font-weight: 800;
  color: #fff;
  z-index: 3;
  line-height: 90px;
  text-align: center;
  width: 75%;
  rotate: -3deg;
  transform: translateX(-50%, -50%);
  text-shadow: 1px 1px 3px #000000a2;
}
.model-span {
    font-size: 120px;
}

.bg-text-top2 {
        display:none;
}

.next-title {
  font-family: "Rubik Doodle Shadow", system-ui;
  position: absolute;
  left: 5%;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 50px;
  font-weight: 700;
  color: #fff;
  z-index: 3;
  width: 200px;
  line-height: 45px;
  text-shadow: 1px 1px 3px #000000a2;
}

.next-nickname {
  font-family: "Chewy", system-ui;
  position: absolute;
  left: 6%;
  bottom: 47%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  z-index: 5;
  width: 230px;
  line-height: 45px;
  rotate: -3deg;
  text-shadow: 1px 1px 3px #000000a2;
}

/* --------------------------------------------------
   ARROWS
-------------------------------------------------- */.arrow {
  position: absolute;
  width: 80px;      /* adjust size */
  height: auto;
  pointer-events: none; /* so clicks pass through */
  z-index: 2;
}

/* POSITIONING — adjust to your layout */
.arrow-next {
    left: 3%;
    top: 48%;
    transform: translate(-50%, -50%) rotate(14deg) scale(0.8);
}
.arrow-try {
  right: 18%;
  top: 19%;
  transform: translate(-50%, -50%) rotate(10deg) scale(1.2);
}
.arrow-buy {
  right: 18%;
  bottom: 5%;
  transform: translate(-50%, -50%) rotate(-10deg) scale(1.2);
}













/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */
@media (max-width: 991px) {
    
.d3d-heading {
    width: 70%;
}
.d3d-heading p {
    font-size: 15px;
}
.d3d-heading h3 {
    font-size: 25px;
}


  .tumbler3d-wrapper {
    height: 700px;
    min-height: 700px;
  }

  .tumbler3d-viewport {
    left: 62%;
    top: 45%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0.8);
  }

  .tumbler3d-thumb {
    left: 7%;
    bottom: 24%;
  }

  .tumbler3d-thumb img {
    width: 90px;
    height: 120px;
  }

  .logo4 {
display:none;
  }

  .view-overlay {
    font-size: 20px;
    padding: 10px 20px;
  }
  /* --------------------------------------------------
   CAPTURE 
-------------------------------------------------- */
.capture-btn-3d {
    padding: 8px 12px;
  background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    letter-spacing: 0.3px;
    position: absolute;
    top: 2%;
    left: auto;
    right: 5%;
    z-index: 6;    
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.capture-btn-3d:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #0b303e !important;
    background: #fff;
}
  
  /* --------------------------------------------------
   SHOP NOW BUTTON
-------------------------------------------------- */
.shop-now-btn {
  position: absolute;
  bottom: 5%;
  right: 5%;
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  z-index: 4;
  transition: 0.25s ease;
  color: #fff;
  background: rgba(0,0,0,0.55);
}

.shop-now-btn:hover {
  color: #0b303e;
  background: rgba(0,0,0,0.55);
}

/* --------------------------------------------------
   UPLOAD BUTTON
-------------------------------------------------- */
.upload-input {
  display: none;
}

.upload-btn-3d {
  position: absolute;
  bottom: 5%;
  top: auto;
  right: auto;
  left: 5%;
  padding: 15px;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  z-index: 4;
  background: rgba(0,0,0,0.55);
}

.upload-btn-3d:hover {
  color: #0b303e;
  background: rgba(0,0,0,0.55);
}



#wrap-controls {
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    transform: none !important;
    padding: 0;
    border-radius: 18px 18px 0 0;
    opacity: 0.97;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
    z-index: 50;
  background: #0d6efd;
  color: #fff;
  }

  #wrap-controls:hover {
    transform: none !important;
  }

  /* Header always visible */
  .controls-header {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    margin: 0;
    padding: 0 20px;
  }

  /* Closed state */
  #controls-body {
        height: 170px;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        width: 90%;
        margin: 0 auto;
  }

  /* Open state */
  #controls-body.open {
    max-height: 170px;
    opacity: 1;
    padding: 15px 20px 20px;
  }

  .control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
  }

  .range-wrap {
    margin-bottom: 5px;
  }

  #wrap-controls input[type="range"] {
    height: 5px;
  }

  #wrap-controls input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  #controls-toggle {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        padding: 3px 7px;
        border-radius: 10px;
        font-size: 13px;
  }

  .controls-header span {
    width: 100%;
    text-align: center;
  }

.model-menu-toggle {
  top: 2%;
  left: 4%;

}



  .bg-blur-pc {
    display: none;
  }

  .bg-blur-mobile {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    margin: 0 auto;
    height: 300px;
    background: #000;
    opacity: 0.9;
    filter: blur(100px);
    z-index: 2;
  }
  
/* --------------------------------------------------
   TEXT
-------------------------------------------------- */

.model-span {
font-size: 90px;
font-weight: 600;
}

.bg-text-top {
  font-family: "Chewy", system-ui;
  position: absolute;
  top: 3%;
  left: 50%;
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  z-index: 3;
  line-height: 50px;
  text-align: center;
  width: 85%;
  rotate: -3deg;
  text-shadow: 2px 2px 3px #000000;
}

.bg-text-top2 {
        display:none;
}


.next-nickname {
  position: absolute;
  left: 6%;
  bottom: 42%;
  font-size: 25px;
  color: #fff;
  z-index: 3;
  width: 27%;
  rotate: -3deg;
  line-height: 26px;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px #000000a2;
}

.next-title {
  position: absolute;
  left: 8%;
  bottom: 42%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  z-index: 3;
  width: 23%;
  letter-spacing: 2px;
  line-height: 16px;
  text-shadow: 1px 1px 3px #000000a2;
}

.bg-text-try {
  position: absolute;
  bottom: 15%;
  top: auto;
  right: auto;
  left: 23%;
  z-index: 3;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  rotate: 15deg;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px #000000a2;
}

.bg-text-bet {
  position: absolute;
  bottom: 9%;
  right: 50%;
  top: auto;
  z-index: 3;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  width: 15%;
  rotate: -2deg;
  text-align: center;
  transform: translateX(50%);
  text-shadow: 1px 1px 3px #000000a2;
 
}

.bg-text-buy {
  position: absolute;
  top: auto;
  left: auto;
  bottom: 15%;
  right: 23%;
  z-index: 3;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  rotate: -15deg;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px #000000a2;
}

/* --------------------------------------------------
   ARROWS
-------------------------------------------------- */.arrow {
  position: absolute;
  width: 80px;      /* adjust size */
  height: auto;
  pointer-events: none; /* so clicks pass through */
  z-index: 2;
}

/* POSITIONING — adjust to your layout */
.arrow-next {
    display:none;
}
.arrow-try {
  left: auto;
  top: auto;
  right: 8%;
  bottom: 9%;
  transform: rotate(90deg) scale(0.35);
}
.arrow-buy {
  left: 8%;
  top: auto;
  right: auto;
  bottom: 9%;
  transform: rotate(90deg) scale(0.35);
}

}
