.elementor-3224 .elementor-element.elementor-element-38cc5c8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-f07ec19 *//* Distress Button Container */
.distress-button-container {
  position: relative;
  width: 320px;
  margin: 60px auto;
  text-align: center;
  min-height: 400px;
}

/* Protective Cover - FIXED TO OPEN OUTWARD */
.button-cover {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  perspective: 1200px; /* Increased for better outward flip */
  cursor: pointer;
  transition: transform 0.3s ease;
  transform-origin: top center; /* Changed for outward flip */
}

.cover-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy effect */
  transform-style: preserve-3d;
  transform-origin: top center; /* FIX: Opens from the top outward */
}

/* CHANGED: Opens outward (positive angle) */
.button-cover.open .cover-inner {
  transform: rotateX(110deg); /* Changed from -110deg to 110deg */
}

.cover-front, .cover-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cover-front {
  background: linear-gradient(145deg, #ff0000, #cc0000, #ff0000);
  border: 12px solid #a00; /* Thicker border */
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 0 40px rgba(255,100,100,0.4),
    0 0 20px rgba(255,0,0,0.3); /* Added outer glow */
  color: white;
  padding: 20px;
  transform: rotateX(0deg);
  z-index: 2;
}

/* REMOVED: The dark back side (cover-back) - we don't need it anymore */
.cover-back {
  display: none; /* This removes the dark circle */
}

.warning-text {
  font-family: 'Arial Black', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 900;
}

/* Hinges - Positioned for outward flip */
.hinge {
  position: absolute;
  width: 24px; /* Wider */
  height: 8px;
  background: #555;
  border-radius: 0 0 4px 4px;
  top: -8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 3;
}

.hinge-left {
  left: 60px;
}

.hinge-right {
  right: 60px;
}

/* Pull Handle */
.pull-handle {
  background: linear-gradient(to bottom, #444, #222);
  color: #ffcc00;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 
    0 6px 0 #111,
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.pull-handle:hover {
  background: linear-gradient(to bottom, #555, #333);
  transform: translateY(3px);
  box-shadow: 0 3px 0 #111;
}

.pull-handle:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #111;
}

/* Actual Button - REMOVED dark circle from around it */
.actual-button {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 30px auto 0;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1; /* Lower than cover when closed */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

/* Show button only when cover is open */
.button-cover.open ~ .actual-button {
  opacity: 1;
  visibility: visible;
}

.actual-button:active {
  transform: scale(0.95);
}

.button-top {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #ff0000, #aa0000 70%);
  border-radius: 50%;
  border: 15px solid #800;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.6),
    inset 0 5px 25px rgba(255,100,100,0.9),
    0 0 40px rgba(255,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: all 0.3s;
}

.button-top.pressed {
  background: radial-gradient(circle at 30% 30%, #aa0000, #660000 70%);
  box-shadow: 
    0 5px 20px rgba(0,0,0,0.5),
    inset 0 2px 15px rgba(255,100,100,0.7);
  transform: translateY(5px);
}

.button-text {
  font-family: 'Arial Black', sans-serif;
  font-size: 32px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 
    2px 2px 8px #000,
    0 0 10px rgba(255,100,100,0.5);
}

/* REMOVED: The dark circle base (.button-base) entirely */

.button-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,50,50,0.5) 0%, transparent 70%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.button-glow.active {
  opacity: 1;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.5; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.9; 
    transform: scale(1.05);
  }
}

/* Instructions */
.instructions {
  margin-top: 320px;
  padding: 15px;
  background: rgba(0,0,0,0.8);
  color: white;
  border-radius: 8px;
  font-style: italic;
  border: 1px solid #444;
  position: relative;
  z-index: 1;
}

/* Emergency Alert */
.emergency-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.emergency-alert.active {
  opacity: 1;
  visibility: visible;
}

.alert-content {
  background: #111;
  border: 8px solid #c00;
  border-radius: 15px;
  padding: 50px;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 0 60px rgba(255,0,0,0.8);
  animation: alertPulse 1.5s infinite;
  transform: scale(0.9);
  animation: alertAppear 0.5s forwards, alertPulse 1.5s infinite 0.5s;
}

@keyframes alertAppear {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 50px rgba(255,0,0,0.7); }
  50% { box-shadow: 0 0 90px rgba(255,50,50,0.9); }
}

.alert-content h3 {
  color: #ff0000;
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

.alert-content p {
  color: white;
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.reset-button {
  background: linear-gradient(to bottom, #333, #111);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #444;
}

.reset-button:hover {
  background: linear-gradient(to bottom, #444, #222);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.reset-button:active {
  transform: translateY(1px);
}

/* Animation for cover opening */
@keyframes coverOpen {
  0% { transform: rotateX(0); }
  100% { transform: rotateX(110deg); }
}

/* Add a subtle shadow under the cover when it opens */
.button-cover.open::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  bottom: -25px;
  left: 0;
  filter: blur(5px);
  animation: shadowAppear 0.5s ease-out;
}

@keyframes shadowAppear {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .distress-button-container {
    width: 280px;
    transform: scale(0.9);
  }
  
  .warning-text {
    font-size: 18px;
  }
  
  .button-text {
    font-size: 26px;
    letter-spacing: 3px;
  }
}/* End custom CSS */