* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  -webkit-tap-highlight-color: transparent; /* Prevent tap highlight on mobile */
  touch-action: manipulation; /* Prevent double-tap zoom */
}

body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0f 50%, #0f0a0a 100%);
  color: #fff;
  min-height: 100vh;
}

#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.btn {
  background-color: #1DB954;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background-color: #1ed760;
  transform: scale(1.05);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}

.header-left {
  display: flex;
  align-items: center;
}

.mode-toggle {
  display: flex;
  background-color: #333;
  border-radius: 50px;
  overflow: hidden;
}

.mode-toggle button {
  background: none;
  border: none;
  color: #aaa;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.mode-toggle button.active {
  background-color: #1DB954;
  color: white;
}

.search-container {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #333;
  background-color: #282828;
  color: white;
}

.library-container, .soundboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .library-container, .soundboard-container {
    grid-template-columns: 1fr;
  }
}

.track-card {
  background-color: #282828;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}

.track-card:hover {
  background-color: #333;
}

.track-info {
  display: flex;
  padding: 0.75rem;
  gap: 0.75rem;
  align-items: center;
}

.track-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.track-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.track-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* Only apply truncation on mobile devices */
@media (max-width: 768px) {
  .track-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }
}

.track-artist {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.25rem;
}

.track-duration {
  font-size: 0.8rem;
  color: #aaa;
}

.track-controls {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #333;
}

.playback-container {
  background-color: #282828;
  border-radius: 6px;        
  margin-bottom: 1rem;
  padding: 1em;
  padding-bottom: 0.5em;
  transition: all 0.3s ease;
}

.playback-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.playback-container.sticky .playback-info {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.playback-container.sticky .track-thumbnail {
  width: 40px;
  height: 40px;
}

.playback-container.sticky.game-mode .tag-selector {
  display: none;
}

.playback-container.sticky:not(.game-mode) .tag-selector {
  display: block; /* Ensure it stays visible in editor mode */
}

.playback-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.playback-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.time-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.progress-container {
  position: relative;
  height: 6px;
  background-color: #333;
  border-radius: 3px;
  cursor: pointer;
}

.progress-bar {
  position: absolute;
  height: 100%;
  background-color: #1DB954;
  border-radius: 3px;
}

.start-time-marker {
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: #ff5500;
  top: -3px;
  transform: translateX(-50%);
  z-index: 10;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #aaa;
}

.tag-selector {
  margin-top: 0.5rem;
}

.tag-selector select {
  background-color: #333;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.soundboard-item {
  display: flex;
  background-color: #282828;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.soundboard-info {
  flex: 1;
  padding: 0.5rem;
}

.soundboard-time {
  color: #1DB954;
  font-size: 0.8rem;
}

.soundboard-management {
  margin-bottom: 1.5rem;
  background-color: #1e1e1e;
  border-radius: 6px;
  padding: 0.1em;
}

.soundboard-editor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.soundboard-actions {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.btn-danger {
  background-color: #e74c3c;
}

.btn-danger:hover {
  background-color: #c0392b;
}

.tag {
  display: inline-block;
  background-color: #1DB954;
  color: white;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.7rem;
  white-space: nowrap;
}

.tag-hotbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tag-hotbar-button {
  background-color: #282828;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tag-hotbar-button:hover {
  background-color: #1DB954;
}

/* Add styles for the side menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: #1e1e1e;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

.side-menu.open {
  left: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.menu-overlay.open {
  display: block;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 1rem;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}

.soundboard-list {
  margin-bottom: 1rem;
}

.soundboard-item-menu {
  background-color: #282828;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soundboard-item-menu .btn-sm {
  padding: 0.15rem 0.3rem;
  font-size: 0.7rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.soundboard-item-menu .btn-sm:hover {
  opacity: 1;
}

.soundboard-item-menu.active {
  background-color: #1DB954;
}

.soundboard-actions-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.soundboard-actions-menu .btn {
  flex: 1;
  min-width: calc(50% - 0.5rem);
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Add a placeholder to prevent content jump when player becomes fixed */
.player-placeholder {
  display: none;
  height: 0;
  transition: height 0.3s ease;
}

.player-placeholder.active {
  display: block;
}

.playback-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.playback-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.time-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* Compact layout for the player */
.player-main-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.player-main-row .track-details {
  flex: 1;
}

.player-main-row .controls-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tag-select {
  background-color: #333;
  color: white;
  border: none;
  padding: 0.25rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin: 0 0.25rem;
}

.tag-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.5);
}

/* ===== GAME MODE REDESIGN - ULTRA-DARK GLASSMORPHISM ===== */

/* Game Mode Container */
.game-mode-container {
  background: linear-gradient(135deg, rgba(15, 10, 10, 0.95) 0%, rgba(25, 15, 15, 0.9) 50%, rgba(20, 10, 10, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 87, 34, 0.1);
  border-radius: 24px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 87, 34, 0.1);
}

@media (max-width: 768px) {
  .game-mode-container {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 20px;
  }
}

/* Primary Game Controls */
.game-controls-primary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .game-controls-primary {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Game Controls Row - Full Width for Single Buttons */
.game-controls-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.game-controls-row .game-button:only-child {
  width: 100%;
}

@media (max-width: 768px) {
  .game-controls-row {
    gap: 0.75rem;
  }
}

/* Game Buttons - Complete Mobile-First Redesign */
.game-button {
  flex: 1;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Desktop scaling */
@media (min-width: 769px) {
  .game-button {
    padding: 1.5rem;
    font-size: 1.1rem;
    min-height: 120px;
    border-radius: 24px;
  }
}

/* Button Structure for Clean Preview Integration */
.button-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}

.button-title {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .button-title {
    font-size: 1rem;
  }
}

.game-button i {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (min-width: 769px) {
  .game-button i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
}

/* Clean Preview Design */
.button-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

@media (min-width: 769px) {
  .button-preview {
    padding: 0.75rem;
    border-radius: 16px;
    margin-top: 0.75rem;
    gap: 0.75rem;
  }
}

.preview-thumbnail-small {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
  .preview-thumbnail-small {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}

.preview-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  max-width: calc(100% - 40px); /* Account for thumbnail and gap */
}

.preview-song-title-small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
  line-height: 1.2;
  max-width: 100%;
  display: block;
}

@media (min-width: 769px) {
  .preview-song-title-small {
    font-size: 0.85rem;
  }
  
  .preview-text {
    max-width: calc(100% - 48px); /* Account for larger thumbnail on desktop */
  }
}

.preview-song-artist-small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  max-width: 100%;
  display: block;
}

@media (min-width: 769px) {
  .preview-song-artist-small {
    font-size: 0.75rem;
  }
}

/* Adjust button height for preview - more compact */
.game-button:has(.button-preview) {
  min-height: 130px;
}

@media (min-width: 769px) {
  .game-button:has(.button-preview) {
    min-height: 150px;
  }
}

/* Button Hover States */
.game-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.game-button:active {
  transform: translateY(0);
}

/* Goal Button Colors - Cleaner */
.goal-home {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.15) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(255, 87, 34, 0.2);
}

.goal-home:hover {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.25) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 
    0 12px 40px rgba(255, 87, 34, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.goal-away {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(33, 150, 243, 0.2);
}

.goal-away:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.25) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(33, 150, 243, 0.4);
  box-shadow: 
    0 12px 40px rgba(33, 150, 243, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Whistle Button with Integrated Intensity Display */
.whistle {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(255, 152, 0, 0.2);
  position: relative;
}

.whistle:hover {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.25) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(255, 152, 0, 0.4);
  box-shadow: 
    0 12px 40px rgba(255, 152, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Intensity Accent Bar - Subtle left border accent */
.whistle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--intensity-color);
  border-radius: 20px 0 0 20px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .whistle::before {
    width: 6px;
    border-radius: 24px 0 0 24px;
  }
}

/* Intensity Icon in Top Right Corner */
/*
.whistle::after {
  content: var(--intensity-icon);
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--intensity-color);
  opacity: 0.6;
  transition: all 0.3s ease;
  z-index: 1;
}

@media (min-width: 769px) {
  .whistle::after {
    top: 16px;
    right: 16px;
    font-size: 0.8rem;
  }
}

.whistle:hover::after {
  opacity: 1;
  transform: scale(1.1);
}
*/

/* Intensity-specific styling using data attributes */
.whistle[data-intensity="Chill"] {
  --intensity-color: #4caf50;
  /* --intensity-icon: "\f2dc"; */ /* snowflake */
}

.whistle[data-intensity="Heating Up"] {
  --intensity-color: #ff9800;
  /* --intensity-icon: "\f2c7"; */ /* thermometer-half */
}

.whistle[data-intensity="On Fire"] {
  --intensity-color: #f44336;
  /* --intensity-icon: "\f06d"; */ /* fire */
}

/* Adjust whistle button when it has controls */
/*
.button-with-controls .whistle::after {
  right: 60px;
}

@media (min-width: 769px) {
  .button-with-controls .whistle::after {
    right: 72px;
  }
}
*/

/* Playing State */
.game-button.playing {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-color: rgba(244, 67, 54, 0.5);
  animation: pulse-playing 2s infinite;
}

@keyframes pulse-playing {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(244, 67, 54, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(244, 67, 54, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* Team Tag Display */
.team-tag-display {
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.7em;
  margin-top: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== END GAME MODE REDESIGN ===== */

.show-full-soundboard {
  margin: 1rem 0;
  text-align: center;
}

.pause-container {
  margin-bottom: 1rem;
}

.pause-button {
  width: 100%;
  background-color: #e74c3c;
}

.pause-button:hover, .pause-button:active {
  background-color: #c0392b;
}

/* Add styles for the hidden track */
.hidden-track {
  display: none;
}

/* Landing Page Styles */
.landing-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  z-index: 9999;
  overflow: hidden;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.landing-page .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
}

.logo-container {
  margin-bottom: 3rem;
}

.title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease forwards;
  color: #fff;
  letter-spacing: 0.05em;
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.3s forwards;
  color: #aaa;
}

.btn-spotify {
  background-color: #1DB954;
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.6s forwards;
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.btn-spotify:hover {
  background-color: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(29, 185, 84, 0.4);
}

.btn-spotify i {
  font-size: 1.3rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 3rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
}

.logo-image {
  width: 80px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1); /* This makes the black logo white */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.1s forwards;
}

/* Add styles for disabled buttons */
.btn:disabled {
  background-color: #555;
  color: #888;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.btn:disabled:hover {
  background-color: #555;
  transform: none;
}

/* Make soundboard actions more responsive on smaller screens */
@media (max-width: 768px) {
  .soundboard-actions {
    flex-wrap: wrap; /* Allow items to wrap to next line */
    justify-content: flex-end;
    row-gap: 0.5rem; /* Space between rows */
  }
  
  .soundboard-item {
    padding-bottom: 0.5rem; /* Add more padding at bottom for wrapped controls */
  }
  
  /* Make the play button and delete button stay on the same row */
  .soundboard-actions .btn-sm {
    order: 1; /* Play button */
  }
  
  .soundboard-actions .btn-danger {
    order: 2; /* Delete button */
  }
  
  /* Make the tag selectors go to the second row */
  .soundboard-actions select,
  .soundboard-actions > div {
    order: 3;
    margin-top: 0.25rem;
    width: 100%; /* Take full width on second row */
  }
}

/* Intensity button styles */
.intensity-btn {
  flex: 1;
  color: white;
  border: none;
  padding: 0.6rem 0;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.75;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.intensity-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.intensity-btn.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.intensity-tag {
  display: inline-block;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.7rem;
  margin-left: 0.3rem;
  white-space: nowrap;
}

.intensity-chill {
  background-color: #4caf50;
}

.intensity-heating {
  background-color: #ff9800;
}

.intensity-fire {
  background-color: #f44336;
}

/* Add CSS for the reset button */
.reset-btn {
  margin-left: auto;
  background-color: #ff6b6b;
  color: white;
}
.reset-btn:hover {
  background-color: #ff5252;
}

.default-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  background-color: #1DB954;
  color: white;
  border-radius: 3px;
  font-size: 0.7rem;
}

.btn-disabled {
  background-color: #555 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Disabled button styling */
.btn-disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Default badge in dropdown */
.default-badge {
  background-color: #f44336;
  color: white;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.7rem;
  margin-left: 5px;
}

/* Admin mode badge */
.admin-badge {
  background-color: #4CAF50;
  color: white;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.7rem;
  margin-left: 5px;
}

.admin-indicator {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
}

.admin-toggle {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #333;
  color: #aaa;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0.5;
}

.admin-toggle:hover {
  opacity: 1;
  color: white;
}

.mode-selection {
  display: flex;
  gap: 10px;
}

.mode-selection button {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.mode-selection button.active {
  background-color: #1DB954;
}

/* Goal Button Container with Clean Select */
.goal-button-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.goal-button-container .game-button {
  width: 100%;
}

.team-select {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,255,255,0.7)' viewBox='0 0 16 16'%3e%3cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 3rem;
  text-align: center;
}

@media (min-width: 769px) {
  .team-select {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 16px;
    background-size: 14px 10px;
    background-position: right 1.25rem center;
    padding-right: 3.5rem;
  }
}

.team-select:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(15, 15, 15, 0.95);
  transform: translateY(-1px);
}

.team-select:focus {
  outline: none;
  border-color: rgba(29, 185, 84, 0.5);
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.15);
}

.team-select option {
  background-color: #1a1a1a;
  color: white;
  padding: 0.5rem;
}

/* Intensity tag styles for buttons */
.intensity-tag-small {
  color: white;
  padding: 0.2rem 0.4rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.button-intensity-display {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .button-intensity-display {
    margin-top: 0.25rem;
  }
  
  .intensity-tag-small {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
  }
}

/* Intensity Section - Clean Mobile-First Design */
.intensity-section {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 769px) {
  .intensity-section {
    padding: 2rem;
    border-radius: 24px;
  }
}

.intensity-title {
  text-align: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .intensity-title {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

.intensity-selector-btn {
  flex: 1;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0.5rem;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .intensity-selector-btn {
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }
}

.intensity-selector-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.intensity-selector-btn.active {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Button Intensity Display for Whistle */
.button-intensity-display {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.intensity-tag-small {
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
  .intensity-tag-small {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
  }
}

/* Control Actions Section - Clean Mobile-First */
.control-actions {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 769px) {
  .control-actions {
    padding: 2rem;
    border-radius: 24px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.reset-button {
  background: rgba(102, 102, 102, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

@media (min-width: 769px) {
  .reset-button {
    padding: 1.25rem 2rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }
}

.reset-button:hover {
  background: rgba(102, 102, 102, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.show-soundboard-btn {
  background: rgba(29, 185, 84, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(29, 185, 84, 0.3);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.85rem;
}

@media (min-width: 769px) {
  .show-soundboard-btn {
    padding: 1.25rem 2rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }
}

.show-soundboard-btn:hover {
  background: rgba(29, 185, 84, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.2);
  border-color: rgba(29, 185, 84, 0.5);
}

/* Button with Controls Layout */
.button-with-controls {
  display: flex;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 769px) {
  .button-with-controls {
    border-radius: 24px;
  }
}

.button-with-controls .game-button {
  flex: 1;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
}

.button-with-controls .game-button:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  transform: none;
  border: none;
}

/* Control Sliver */
.button-control-sliver {
  display: flex;
  flex-direction: column;
  width: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
  .button-control-sliver {
    width: 56px;
  }
}

.sliver-control {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  min-height: 50%;
}

.sliver-control:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sliver-control:active {
  background: rgba(255, 255, 255, 0.15);
}

/* Specific sliver control types */
.sliver-dropdown {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sliver-skip {
  /* No additional styles needed */
}

.sliver-skip-full {
  min-height: 100%;
}

/* Compact team select */
.team-select-compact {
  margin-top: 0.5rem;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Full-Screen Pause Overlay for Game Mode */
.fullscreen-pause-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeInOverlay 0.15s ease;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* Animated Border Effects - Thick Gradient Borders */
/* Goal Border - Clean Red Glow with Pulse */
.fullscreen-pause-overlay.goal-border {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  border: 8px solid #ff3333;
  box-shadow: 
    0 0 30px rgba(255, 51, 51, 0.8),
    0 0 60px rgba(255, 51, 51, 0.6),
    0 0 90px rgba(255, 51, 51, 0.4),
    inset 0 0 30px rgba(255, 51, 51, 0.2);
  animation: goalGlow 0.4s ease-in-out infinite;
}

.fullscreen-pause-overlay.goal-border::before {
  display: none;
}

.fullscreen-pause-overlay.goal-border::after {
  display: none;
}

/* Chill Border - Thick Blue Gradient */
.fullscreen-pause-overlay.chill-border {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  box-shadow: inset 0 0 0 12px transparent;
}

.fullscreen-pause-overlay.chill-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    #1e88e5, #42a5f5, #64b5f6, #90caf9, 
    #bbdefb, #90caf9, #64b5f6, #42a5f5, #1e88e5);
  background-size: 400% 400%;
  animation: chillFlow 4s ease-in-out infinite;
  z-index: -1;
}

.fullscreen-pause-overlay.chill-border::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: -1;
}

/* Heating Up Border - Thick Orange Gradient */
.fullscreen-pause-overlay.heating-border {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  box-shadow: inset 0 0 0 12px transparent;
}

.fullscreen-pause-overlay.heating-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    #ff6f00, #ff8f00, #ffa000, #ffb300, 
    #ffc107, #ffb300, #ffa000, #ff8f00, #ff6f00);
  background-size: 400% 400%;
  animation: heatingPulse 2s ease-in-out infinite;
  z-index: -1;
}

.fullscreen-pause-overlay.heating-border::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: -1;
}

/* On Fire Border - Thick Red Gradient with Fast Spin */
.fullscreen-pause-overlay.fire-border {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  border: 12px solid;
  border-image: linear-gradient(45deg, 
    #ff1744, #f44336, #ff5722, #ff6f00, 
    #ff8f00, #ff6f00, #ff5722, #f44336, #ff1744) 1;
  box-shadow: 
    0 0 20px rgba(244, 67, 54, 0.6),
    0 0 40px rgba(244, 67, 54, 0.4),
    0 0 60px rgba(244, 67, 54, 0.2),
    inset 0 0 20px rgba(244, 67, 54, 0.1);
  animation: fireGlowBorder 3s ease-in-out infinite;
}

/* Border Animations */
@keyframes goalGlow {
  0%, 100% { 
    border-color: #ff3333;
    box-shadow: 
      0 0 30px rgba(255, 51, 51, 0.8),
      0 0 60px rgba(255, 51, 51, 0.6),
      0 0 90px rgba(255, 51, 51, 0.4),
      inset 0 0 30px rgba(255, 51, 51, 0.2);
  }
  50% { 
    border-color: #ff6666;
    box-shadow: 
      0 0 50px rgba(255, 51, 51, 1),
      0 0 100px rgba(255, 51, 51, 0.8),
      0 0 150px rgba(255, 51, 51, 0.6),
      inset 0 0 50px rgba(255, 51, 51, 0.4);
  }
}

@keyframes chillFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heatingPulse {
  0%, 100% { 
    background-position: 0% 50%;
    filter: brightness(1) saturate(1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.2) saturate(1.3);
  }
}

@keyframes fireGlowBorder {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(244, 67, 54, 0.6),
      0 0 40px rgba(244, 67, 54, 0.4),
      0 0 60px rgba(244, 67, 54, 0.2),
      inset 0 0 20px rgba(244, 67, 54, 0.1);
  }
  50% { 
    box-shadow: 
      0 0 30px rgba(244, 67, 54, 0.8),
      0 0 60px rgba(244, 67, 54, 0.6),
      0 0 90px rgba(244, 67, 54, 0.4),
      0 0 120px rgba(244, 67, 54, 0.2),
      inset 0 0 30px rgba(244, 67, 54, 0.2);
  }
}

/*
.fullscreen-pause-overlay::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  z-index: -1;
}
*/

.pause-overlay-content {
  text-align: center;
  color: white;
  user-select: none;
  animation: slideInScale 0.2s ease;
  max-width: 90%;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 10;
}

@keyframes slideInScale {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Large Pause Icon */
.pause-overlay-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
}

@media (min-width: 769px) {
  .pause-overlay-icon {
    font-size: 6rem;
    margin-bottom: 2.5rem;
  }
}

@keyframes pauseIconPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 12px rgba(29, 185, 84, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(29, 185, 84, 0.6));
  }
}

.pause-overlay-text {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .pause-overlay-text {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
  }
  50% {
    text-shadow: 0 2px 16px rgba(29, 185, 84, 0.6);
  }
}

/* Track Info Container with Integrated Album Art */
.pause-overlay-track-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .pause-overlay-track-info {
    padding: 2rem;
    border-radius: 24px;
    gap: 1.5rem;
  }
}

/* Album Art - Keep Original Size */
.pause-overlay-album-art {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(29, 185, 84, 0.3);
  animation: albumGlow 3s infinite ease-in-out;
  position: relative;
}

@media (min-width: 769px) {
  .pause-overlay-album-art {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }
}

@keyframes albumGlow {
  0%, 100% {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.4),
      0 0 0 2px rgba(29, 185, 84, 0.3);
  }
  50% {
    box-shadow: 
      0 12px 32px rgba(0, 0, 0, 0.5),
      0 0 0 3px rgba(29, 185, 84, 0.5);
  }
}

.pause-overlay-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Track Text Container */
.pause-overlay-track-text {
  flex: 1;
  min-width: 0;
}

.pause-overlay-track-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  word-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 769px) {
  .pause-overlay-track-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
}

.pause-overlay-track-artist {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.4;
  word-wrap: break-word;
}

@media (min-width: 769px) {
  .pause-overlay-track-artist {
    font-size: 1.3rem;
  }
}

/* Playing From Notification */
.pause-overlay-category {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(29, 185, 84, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  animation: categorySlideIn 0.4s ease 1s forwards;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}

@media (min-width: 769px) {
  .pause-overlay-category {
    top: 3rem;
    right: 3rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }
}

@keyframes categorySlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pause-overlay-category-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  display: block;
}

.pause-overlay-category-value {
  font-weight: 700;
  font-size: 1em;
}

/* Hide overlay on very small screens in landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
  .fullscreen-pause-overlay {
    display: none;
  }
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
}

/* Three.js particle canvas container */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  pointer-events: none;
}

/* Particle canvas inside pause overlay */
#pause-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Button Title Row - Horizontal Layout for Goal Buttons */
.button-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (min-width: 769px) {
  .button-title-row {
    gap: 0.75rem;
  }
}

/* Integrated Intensity Selector - Compact Design */
.intensity-selector-integrated {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 769px) {
  .intensity-selector-integrated {
    padding-top: 1.5rem;
  }
}

.intensity-selector-integrated .intensity-title {
  text-align: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .intensity-selector-integrated .intensity-title {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}

.intensity-selector-integrated .intensity-selector-btn {
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 12px;
}

@media (min-width: 769px) {
  .intensity-selector-integrated .intensity-selector-btn {
    padding: 1rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 16px;
  }
} 