.elementor-86 .elementor-element.elementor-element-528d73e{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS *//* Full-screen container */
.pixel-fixer-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000000;
  color: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Hide WordPress elements that might interfere */
.pixel-fixer-container ~ header,
.pixel-fixer-container ~ footer,
.pixel-fixer-container ~ .site-header,
.pixel-fixer-container ~ .site-footer,
.pixel-fixer-container ~ .elementor-location-header,
.pixel-fixer-container ~ .elementor-location-footer {
  display: none !important;
}

/* Controls styles */
.controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
  transition: all 0.3s ease;
}

.controls.opposite-corner {
  right: auto;
  left: 20px;
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Timer inside button styles */
.timer-text {
  font-family: monospace;
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.timer-text.active {
  opacity: 1;
}

.timer-text.warning {
  color: #ff3b30;
  animation: pulse-text-warning 1s infinite;
}

@keyframes pulse-text-warning {
  0% { color: #ff3b30; }
  50% { color: #ffffff; }
  100% { color: #ff3b30; }
}

#stopBtn {
  min-width: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Canvas styles */
.canvas-wrapper {
  position: relative;
  display: inline-block;
}

.fixer-container {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fixer-container.inactive {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.fixer-container.inactive::before {
  content: "Click to start";
  position: absolute;
  color: white;
  font-size: 18px;
  z-index: 20;
  pointer-events: none;
}

/* Speech bubble */
.speech-bubble {
  position: absolute;
  background-color: white;
  color: black;
  padding: 15px;
  border-radius: 10px;
  max-width: 250px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 1.4;
  z-index: 100;
  left: calc(100% + 20px);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Arrow for the speech bubble */
.speech-bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.icon {
  font-size: 16px;
  line-height: 1;
}

/* Fullscreen styles */
#fixScreen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#fixScreen:fullscreen {
  background-color: #000;
}

#fixScreen:fullscreen .fixer-container {
  z-index: 100;
}

#fixScreen:fullscreen .controls {
  z-index: 1000;
}

body.is-fullscreen {
  overflow: hidden;
}

body.is-fullscreen #fixScreen .fixer-container {
  cursor: move !important;
}

.ui-draggable-dragging {
  z-index: 1000 !important;
}

/* Responsive styles */
@media (max-width: 768px) {
  .btn {
    padding: 14px 20px;
    min-width: 100px;
    font-size: 16px;
  }

  .controls {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .controls.opposite-corner {
    left: 10px;
    right: auto;
  }

  .fixer-container {
    width: 128px;
    height: 128px;
  }

  .fixer-container.inactive::before {
    font-size: 14px;
  }

  #stopBtn {
    min-width: 140px;
  }

  .timer-text {
    font-size: 0.9rem;
    margin-left: 5px;
  }
  
  /* Keep speech bubble on the right side */
  .speech-bubble {
    left: calc(100% + 10px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 14px;
    padding: 10px;
    max-width: 180px;
  }

  .speech-bubble::before {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  
  /* Additional layout adjustments for mobile */
  .canvas-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: auto;
    max-width: 90%;
  }
  
  #fixScreen {
    padding: 0 20px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .speech-bubble {
    max-width: 150px;
    font-size: 12px;
    padding: 8px;
  }
  
  .canvas-wrapper {
    max-width: 80%;
  }
}

/* For very small screens, make sure the bubble is still visible */
@media (max-width: 360px) {
  .speech-bubble {
    max-width: 120px;
    font-size: 11px;
    padding: 6px;
    left: calc(100% + 5px);
  }
  
  .canvas-wrapper {
    max-width: 70%;
  }
  
  .fixer-container {
    width: 100px;
    height: 100px;
  }
}

/* Prevent unwanted scrolling or zooming on mobile */
body.is-fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

body.is-fullscreen #fixScreen .fixer-container {
  cursor: move !important;
  touch-action: none;
}

/* Alternative positioning for extremely small screens or landscape orientation */
@media (max-height: 500px), (max-width: 320px) {
  .canvas-wrapper {
    margin-left: 20px;
  }
  
  .speech-bubble {
    position: absolute;
    left: auto;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
  }
  
  .speech-bubble::before {
    left: auto;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }
}

/* Fix for speech bubble on landscape orientation */
@media (max-height: 450px) and (orientation: landscape) {
  .canvas-wrapper {
    flex-direction: row;
    align-items: center;
  }
  
  .speech-bubble {
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
  }
  
  .speech-bubble::before {
    left: -10px;
    top: 50%;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
}/* End custom CSS */