:root {
	  --spotify-color: #1DB954;
	  --appleMusic-color: #FA233B;
	  --applepodcasts-color: #af39d8;
	  --youtube-color: #FF0000;
	  --youtubeMusic-color: #FF0000;
	  --soundcloud-color: #FF5500;
	  --deezer-color: #A238FF;
	  --amazonMusic-color: #232F3E;
	  --amazonStore-color: #232F3E;
	  --tidal-color: #000000;
	  --other-color: #3793df;
	}
  body {
	font-family: Outfit, system-ui, Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	position: relative; /* Make body the positioning context */
	  min-height: 100vh;   /* Ensure the body can grow */
	  background: linear-gradient(rgba(39, 40, 45, 0.9), rgba(15, 15, 16, 0.9));
	  background-attachment: fixed;
	  background-size: cover;
	  overflow-x: hidden;
  }
  
  
  
  .background-blur {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: blur(18px);
	z-index: -1; /* Send it behind all content */
  }
  
  a {
	  text-decoration: none;
	  transition: .5s all;
	  color: #fff;
  }
  a:hover {
	  transition: .5s all;
	  color: #ddd;
  }
  
  header {
	  position: relative;
  }
  
  .logo {
	  text-transform: lowercase;
	  font-weight: bold;
	  margin: 0 auto;
	  font-size: 4rem;
	  font-family: "Leckerli One", system-ui, sans-serif;
	  max-width: 350px;
  }
  
  header small {
	  font-size: 1.12rem;
	  position: relative;
	  top: -45px;
  }
  
  .container {
	margin: 3rem auto 1rem auto;
	max-width: 600px;
	width: 90%;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(18px);
	text-align: center;
  }
  
  #result {
	text-align: center;
	margin-top: 2rem;
  }
  
  .platforms i {
	  font-size: 48px;
	  color: #000;
  }
  
  hr {
	  border: 0;
	  height: 1px;
	  background-image:linear-gradient(to right, rgba(204, 204, 204, 0.12), rgba(165, 165, 165, 0.98), rgba(204, 204, 204, 0.12));
	  margin: 20px 0;
  }
 
  
  #creationResult, #slugPreview {
	  margin-top: 1rem;
  }
  
  #platformCheckboxes {
	  text-align: left;
	  margin: 15px auto;
	  display: block;
	  max-width: 175px;
	  font-size: 22px;
  }
  
  #platformCheckboxes input {
	   transform: scale(1.8);
	   margin: 0 8px 0px 0;
	   top: -3px;
	   position: relative;
  }
  
  #platformCheckboxes label {
	  display: block;
	  margin-bottom: 0.3rem;
  }
  
  #creationResult a {
	  display: block;
	  padding: 20px;
	  background-color: rgba(0, 0, 0, 0.1);
	  margin: 5px;
	  border-radius: 8px;
	  color: #000;
	  font-weight: bold;
	  font-size: 24px;
  }
  
  input[type="text"], input[type="password"] {
	width: 100%;
	padding: 0.5rem;
	font-size: 1rem;
	box-sizing: border-box;
	border: 1px solid #bebebe;
	border-radius: 50px;
	padding: 20px;
  }
  
  button {
	padding: 0.55rem 1rem;
	font-size: 1rem;
	margin-top: 0.5rem;
	cursor: pointer;
	width: 100%;
	transition: .5s all;
	border: 1px solid transparent;
	background-color: #000000;
	color: #fff;
	border-radius: 50px;
	font-weight: bold;
	text-transform: uppercase;
	box-shadow: 2px 2px 8px rgb(0 0 0 / 55%);
  }
  button:hover {
	transform: none;
	filter: invert(1);
	transition: .5s all;
	box-shadow: 2px 2px 8px rgb(255 255 255 / 55%);
  }
  
  pre {
	background: #f4f4f4;
	padding: 1rem;
	margin-top: 1rem;
	white-space: pre-wrap;
	word-wrap: break-word;
  }
  .error {
	color: red;
  }
  #spinner {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 2rem;
  }
  
  .loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #555;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }
  .platform-links {
	  margin: 0 auto;
	  list-style: none;
	  padding: 0;
  }
  .platform-icon-link {
	display: inline-block;
	margin: 0.7rem;
	transition: transform 0.3s ease;
  }
  
  .custom-button {
	  margin: 0.3rem;
  }
  
  .platform-icon-link:hover {
	transform: scale(1.2);
	cursor: pointer;
  }
  
  .platform-icon {
	width: 65px;
	height: 65px;
	vertical-align: middle;
	filter: invert(0);
  }
  .platform-label {
	  display: none;
  }
  .platform-edit-input {
	margin-top: 0.5rem;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.9rem;
  }
  .thumbnail {
	max-width: 100%;
	border-radius: 50px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .thumbnail-section h1 {
	margin: 1rem auto 0 auto;
	font-size: 2rem;
	font-weight: bold;
  }
  
  .thumbnail-section h2 {
	margin: 0 0 16px 0;
	font-size: 1.1rem;
	color: #555;
  }
  
  footer {
	  color: #fff;
	  font-size: 16px;
	  text-shadow: 2px 2px 2px #000;
	  text-align: center;
	  margin-top: auto;
	  font-weight: bold;
  }
  footer small {
	  font-weight: normal;
  }
  footer span {
	  font-family: "Leckerli One", system-ui, sans-serif;
	  text-transform: lowercase;
	  font-size: 22px;
  }
  @media (max-width: 600px) {
	  .container {
		  margin: 8px;
		  width: calc(100% - 46px);
		  padding: 15px;
	  }
	  .custom-button {
		background-color: #fff;
		color: #000;
	  }
	  .custom-button .platform-label {
		  color: #000;
	  }
	  .custom-button i {
		  filter: invert(0);
		  font-size: 2rem;
	  }
	  .spotify-button {
		  background-color: var(--spotify-color);
		}
	  
		.appleMusic-button {
		  background-color: var(--appleMusic-color);
		}
		
		.applepodcasts-button {
			background-color: var(--applepodcasts-color);
		}
	  
		.youtube-button,
		.youtubeMusic-button {
		  background-color: var(--youtube-color);
		}
	  
		.soundcloud-button {
		  background-color: var(--soundcloud-color);
		}
	  
		.deezer-button {
		  background-color: var(--deezer-color);
		}
	  
		.amazonMusic-button, .amazonStore-button {
		  background-color: var(--amazonMusic-color);
		}
	  
		.tidal-button {
		  background-color: var(--tidal-color);
		}
		.other-button {
		  background-color: var(--other-color);
		}
	.platform-icon-link {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  width: calc(100% - 1.5rem);
	  margin: 0.5rem 0;
	  padding: 0.75rem;
	  border-radius: 50px;
	  color: #fff;
	  text-decoration: none;
	  transition: .5s filter;
	  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25);
	}
  
	.platform-icon-link:hover {
	  transform: none;
	  filter: brightness(120%);
	  transition: .5s filter;
	}
  
	.platform-icon {
	  width: 32px;
	  height: 32px;
	  margin-right: 0.5rem;
	  filter: invert(1);
	}
  
	.platform-label {
	  font-size: 1.1rem;
	  font-weight: bold;
	  color: #fff;
	  display: inline;
	}
  }
  @media (min-width: 601px) {
	.spotify-button .platform-icon {
		filter: brightness(0) saturate(100%) invert(51%) sepia(65%) saturate(570%) hue-rotate(88deg) brightness(99%) contrast(89%);
	  background-color: transparent;
	}
  
	.appleMusic-button .platform-icon {
	  background-color: transparent;
	  filter: brightness(0) saturate(100%) invert(36%) sepia(54%) saturate(5803%) hue-rotate(335deg) brightness(92%) contrast(114%);
	}
	
	.applepodcasts-button .platform-icon {
	  background-color: transparent;
	  filter: brightness(0) saturate(100%) invert(28%) sepia(30%) saturate(4387%) hue-rotate(266deg) brightness(102%) contrast(98%);
	}
  
	.youtube-button .platform-icon,
	.youtubeMusic-button .platform-icon {
	  background-color: transparent;
	  filter: brightness(0) saturate(100%) invert(11%) sepia(98%) saturate(7482%) hue-rotate(4deg) brightness(103%) contrast(110%);
	}
  
	.soundcloud-button .platform-icon {
	  background-color: transparent;
	}
  
	.deezer-button .platform-icon {
	  background-color: transparent;
	  filter: brightness(0) saturate(100%) invert(31%) sepia(52%) saturate(4806%) hue-rotate(258deg) brightness(97%) contrast(108%);
	}
  
	.amazonMusic-button .platform-icon, .amazonStore-button .platform-icon {
	  background-color: transparent;
	}
  
	.tidal-button .platform-icon {
	  background-color: transparent;
	  
	}
	.other-button .platform-icon {
	  background-color: transparent;
	 filter: brightness(0) saturate(100%) invert(48%) sepia(55%) saturate(605%) hue-rotate(165deg) brightness(97%) contrast(97%);
	}
  
	.platform-icon {
	  padding: 0px;
	}
  }