body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-width: 100vw;
  overflow-x: hidden;
  background-color: #000;
}

.bg-image {
  position: relative;
  z-index: 1;
}

.bg-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 90vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: rgb(165 178 184);
}

.bg-video-container::before {
  content: '';
  width: 10%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  background: linear-gradient(270deg,rgba(255, 255, 255, 0) 0%, #b3c9d3 42%);
}

.bg-video-container::after {
  content: '';
  width: 10%;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2;
  background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, #8a959b 42%);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  transform: translateX(-50%);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #000;
}

.logo-container {
  position: absolute;
  top: 162px;
  left: 80px;
  z-index: 10;
}

.logo {
  width: 270px;
  height: auto;
  display: block;
  animation: logo-pulse 2.2s ease-in-out infinite;
}

@keyframes logo-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.audio-btn {
  position: absolute;
  top: 20px;
  right: 26px;
  z-index: 20;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s, box-shadow 0.2s;
}
.audio-btn:hover {
  background: rgba(60, 60, 60, 0.95);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
#audio-icon svg {
  display: block;
}

.copy-box-container {
  position: absolute;
  top:20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  z-index: 15;
  justify-content: center;
  width: calc(100% - 126px);
}

.copy-box {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.25rem;
  background: #fffbe7;
  color: #222;
  border: 3px solid #222;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13), 0 0 0 4px #e0d6b7 inset;
  padding: 12px 22px;
  letter-spacing: 1px;
  user-select: none;
  min-width: 240px;
  text-align: center;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 #e0d6b7;
  flex: 1 1 220px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, box-shadow 0.18s;
  outline: none;
  overflow: hidden;
  position: relative;
}
.copy-box .copy-text {
  user-select: none;
}
.copy-box:active .copy-text {
  user-select: none;
}
.copy-box:hover, .copy-box:focus {
  background: #e0d6b7;
  border-color: #c359dc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.copy-box.copied {
  background: #c8ffd7;
  border-color: #c359dc;
  box-shadow: 0 0 0 4px #c359dc inset, 0 4px 16px rgba(0,0,0,0.18);
}
.copy-indicator {
  display: inline-block;
  margin-left: 12px;
  color: #4caf50;
  font-size: 1.1em;
  font-family: inherit;
  font-weight: bold;
  vertical-align: middle;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
}
.copy-box.copied .copy-indicator {
  opacity: 1 !important;
  transform: translateY(0) scale(1.08);
}

.rugged-btn {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.1rem;
  background: #fffbe7;
  color: #222;
  border: 3px solid #222;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13), 0 0 0 4px #e0d6b7 inset;
  padding: 10px 28px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, box-shadow 0.18s;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 #e0d6b7;
  outline: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}
.rugged-btn:hover, .rugged-btn:focus {
  background: #e0d6b7;
  border-color: #c359dc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  color: #222;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .copy-box-container {
    gap: 8px;
  }
  .copy-box {
    font-size: 1rem;
    min-width: 120px;
    max-width: 220px;
    padding: 8px 10px;
  }
  .rugged-btn {
    font-size: 0.95rem;
    padding: 8px 12px;
    min-width: 70px;
    max-width: 120px;
  }
}

@media (max-width: 700px) {
  .bg-image {
    background-attachment: fixed;
    background-size: 160% auto;
    background-position: center;
  }
  .logo {
    width: 220px;
    height: auto;
    display: block;
  }
  .audio-btn {
    top: 84px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
  #audio-icon svg {
    width: 28px;
    height: 28px;
  }
  .copy-box-container {
    position: static;
    margin: 0 auto;
    margin-top: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transform: none;
    gap: 6px;
  }
  .copy-box {
    font-size: 0.9rem;
    min-width: 90px;
    max-width: 120px;
    padding: 6px 4px;
  }
  .rugged-btn {
    font-size: 0.85rem;
    padding: 6px 6px;
  }

  .logo-container {
    position: absolute;
    top: 92px;
    left: 30px;
    z-index: 10;
  }

  .logo {
    width: 130px;
    height: auto;
    display: block;
    animation: logo-pulse 2.2s ease-in-out infinite;
  }

  .idiot-character {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-height: 230px;
    width: auto;
    z-index: 12;
    pointer-events: none;
    user-select: none;
  }
}

.idiot-character {
  max-height: 350px;
  width: auto;
  z-index: 212;
  pointer-events: none;
  user-select: none;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #111;
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  text-align: center;
  padding: 18px 25px 14px 25px;
  box-sizing: border-box;
  letter-spacing: 1px;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  user-select: none;
  height: 80px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.dance {
  position: fixed;
  left: 30px;
  bottom: 0;
  z-index: 100;
}

.faded {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 80px;
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 24%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 200px;
  z-index: 1;
}

@media (max-width: 700px) {
  .bottom-bar {
    font-size: 1rem;
    padding: 12px 6px 10px 6px;
  }
  .idiot-character {
    max-height: 260px;
  }
}