:root {
  --bg-gradient-start: #2c3e50;
  --bg-gradient-end: #233140;
  --panel-bg: #34495e;
  --panel-border: #2c3e50;
  --shadow-dark: #1e2732;
  --shadow-light: #4a5a70;
  --text-color: #ecf0f1;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Teko", sans-serif;
}
.nav-link{
  font-family: "Roboto Mono", monospace;
}
p, a{
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
}
button{
  font-family: "Roboto Mono", monospace !important;
}
#basherButton{
  font-family: "Teko", sans-serif !important;
}
#vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20vw rgba(177, 177, 177, 0);
  pointer-events: none;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.scene {
  perspective: 1200px;
}

.console-panel {
  width: 440px;
  height: 450px;
  background: linear-gradient(145deg, var(--panel-bg), var(--shadow-dark));
  border-radius: 20px;
  border: 3px solid var(--panel-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.3);
  /* transform: rotateX(15deg); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  position: relative;
}

.button-area {
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.button-housing {
  width: 220px;
  height: 220px;
  background: #2c3e50;
  border-radius: 50%;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

#basherButton {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: white;
  font-family: "Teko", sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: all 0.15s ease-out;
  outline: none;
  position: relative;
  overflow: hidden;
}

/* --- THEMES --- */

/* 1. Overcharge Theme */
.theme-overcharge #basherButton {
  background: linear-gradient(180deg, #f39c12, #e67e22);
  box-shadow: 0 15px 25px rgba(243, 156, 18, 0.3), inset 0 5px 10px #f1c40f;
  transform: translateZ(30px);
}
.theme-overcharge #basherButton.pressed {
  transform: translateZ(5px);
  box-shadow: 0 2px 5px rgba(243, 156, 18, 0.5), inset 0 3px 8px #d35400;
}
.theme-overcharge #basherButton.charging::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  animation: charge-pulse 1s infinite alternate;
}
@keyframes charge-pulse {
  from {
    transform: scale(0.5);
    opacity: 0.5;
  }
  to {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* 2. Hydraulic Theme */
.theme-hydraulic #basherButton {
  background: linear-gradient(180deg, #95a5a6, #7f8c8d);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 0 15px #34495e;
  transform: translateZ(20px);
  transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1); /* Slow, heavy transition */
}
.theme-hydraulic #basherButton.pressed {
  transform: translateZ(2px);
  background: linear-gradient(180deg, #7f8c8d, #95a5a6);
}

/* 3. Slime Theme */
.theme-slime #basherButton {
  background: linear-gradient(180deg, #2ecc71, #27ae60);
  box-shadow: 0 15px 25px rgba(46, 204, 113, 0.3), inset 0 5px 15px #adebad;
  transform: translateZ(25px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy */
}
.theme-slime #basherButton.pressed {
  transform: translateZ(10px) scale(0.95);
}
.theme-slime #basherButton::after {
  /* Wobble effect */
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 20%,
    transparent 70%
  );
  border-radius: 45%;
  animation: wobble 5s infinite ease-in-out;
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    border-radius: 45% 55% 60% 40%;
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
    border-radius: 55% 45% 40% 60%;
  }
  50% {
    transform: rotate(0deg) scale(1);
    border-radius: 40% 60% 55% 45%;
  }
  75% {
    transform: rotate(5deg) scale(1.05);
    border-radius: 60% 40% 45% 55%;
  }
}

/* 4. Nuclear Theme */
.theme-nuclear #basherButton {
  background: linear-gradient(180deg, #e74c3c, #c0392b);
  box-shadow: 0 20px 30px rgba(192, 57, 43, 0.4), inset 0 5px 10px #ff7675;
  transform: translateZ(25px);
  border: 4px solid #c0392b;
}
.theme-nuclear #basherButton.pressed {
  transform: translateZ(0px);
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.8), inset 0 2px 5px #7b241c;
}
.screen-shake {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-2px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(4px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-8px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(8px, 0, 0);
  }
}

/* --- Controls --- */
.controls-area {
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}
.theme-selector {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}
.theme-btn {
  flex-grow: 1;
  padding: 10px 5px;
  border: 2px solid var(--shadow-light);
  background: var(--panel-bg);
  color: var(--text-color);
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.theme-btn:hover {
  border-color: #fff;
  background: var(--shadow-light);
}
.theme-btn.active {
  color: #1e2732;
  border-color: #fff;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
  transform: translateY(2px);
}
.theme-btn.active.overcharge {
  background: #f39c12;
}
.theme-btn.active.hydraulic {
  background: #95a5a6;
}
.theme-btn.active.slime {
  background: #2ecc71;
}
.theme-btn.active.nuclear {
  background: #e74c3c;
}
.launch-family{
    font-family: "Teko", sans-serif;
}
@media screen and (max-width: 600px) {


  .scene {
    perspective: 1200px;
  }

  .console-panel {
    width: 340px;
    max-width: 500px;
    height: 370px;
    background: linear-gradient(145deg, var(--panel-bg), var(--shadow-dark));
    border-radius: 20px;
    border: 3px solid var(--panel-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
      inset 0 0 20px rgba(0, 0, 0, 0.3);
    /* transform: rotateX(15deg); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    position: relative;
  }

  .button-area {
    width: 225px;
    height: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .button-housing {
    width: 190px;
    height: 190px;
    background: #2c3e50;
    border-radius: 50%;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #basherButton {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: white;
    font-family: "Teko", sans-serif;
    font-size: 31px;
    letter-spacing: 2px;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: all 0.15s ease-out;
    outline: none;
    position: relative;
    overflow: hidden;
  }
  .theme-btn {
    padding: 7px 3px;
    font-size: 10px;
  }
}
