* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow: hidden;
  font-family: sans-serif;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
}
#webGLApp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.unknown-pleasures-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  pointer-events: none;
}
.unknown-pleasures-full {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.heading {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-wrap: auto;
  font-family: "Syne", sans-serif;
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
  display: none;
}

.video-frame {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(80vw, 960px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  z-index: 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.video-logo {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -120%);
  z-index: 10;
  filter: brightness(0) saturate(100%) invert(9%) sepia(65%) saturate(2200%) hue-rotate(255deg) brightness(68%) contrast(115%) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  width: clamp(300px, 32vw, 420px);
  max-width: 420px;
  height: auto;
}

@media (min-width: 1024px) {
  .video-logo {
    width: clamp(420px, 44vw, 760px);
    max-width: 760px;
  }
}

@media (orientation: landscape) and (min-width: 900px) and (max-width: 1366px) {
  .video-frame {
    width: min(88vw, 880px);
    top: 50%;
  }
  .video-logo {
    top: 18%;
  }
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Show all options in a grid for comparison */
.headings-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4rem;
  width: 80vw;
  max-width: 1200px;
  pointer-events: none;
}

.color-controls {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 1rem;
  pointer-events: auto;
  display: none;
}
.color-btn {
  min-width: 48px;
  height: 48px;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.color-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.color-btn.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Color Adjuster Panel */
.color-adjuster-panel {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  min-width: px;
  max-width: 400px;
  pointer-events: auto;
  box-shadow: 0 8px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: none;
}

.color-adjuster-panel.open {
  display: block;
}

.color-adjuster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.color-adjuster-title {
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.color-adjuster-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.color-adjuster-close:hover {
  opacity: 0.7;
}

.color-picker-group {
  margin-bottom: 1.25rem;
}

.color-picker-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.color-picker-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.color-picker-input {
  width: 60px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  background: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.color-picker-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.color-value-display {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: white;
  font-family: "Inter", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: text;
  user-select: all;
  transition: all 0.3s ease;
}

.color-value-display:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.color-value-display:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.copy-btn.copied {
  background: rgba(76, 175, 80, 0.3);
  border-color: rgba(76, 175, 80, 0.5);
}

.color-adjuster-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.75rem;
}

.export-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.export-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.toggle-adjuster-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  pointer-events: auto;
  display: none;
}

.toggle-adjuster-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.footer {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  font-family: "Syne", sans-serif;
  font-size: clamp(0.75rem, 1.275vw, 0.50rem);
  font-weight: 100;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: auto;
  filter: brightness(0) saturate(100%) invert(9%) sepia(65%) saturate(2200%) hue-rotate(255deg) brightness(68%) contrast(115%);
}
.footer a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer a:hover {
  opacity: 0.7;
}
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-width 0.2s ease;
  background: transparent;
  will-change: transform;
  filter: brightness(0) saturate(100%) invert(9%) sepia(65%) saturate(2200%) hue-rotate(255deg) brightness(68%) contrast(115%);
}
.custom-cursor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }
  .custom-cursor {
    display: none;
  }
}

@media (max-width: px) {
  .video-frame {
    width: min(92vw, 520px);
    border-radius: 16px;
    top: 52%;
  }
  .video-frame iframe {
    border-radius: inherit;
  }
}
