/* Add at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root {
	--background-color: rgb(10, 10, 10);
	--card-background: #111;
	--button-background: rgba(32, 32, 32, 0.95); /* Darker button background */
	--text-color: #fff;
	--secondary-text: rgba(255, 255, 255, 0.6);
	--font-family: 'Poppins', sans-serif;
}

body {
	font-family: var(--font-family);
	background-color: var(--background-color);
	color: var(--text-color);
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* .container {
	width: 100%;
	max-width: 360px; 
	padding: 20px;
	position: relative;
} */

.container {
	width: 100%;
	max-width: 320px;  /* Reduced from 360px */
	padding: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.brand-logo {
	width: 240px;
	height: 84px;
	margin-bottom: -16px;  /* Adjusted from -20px for better overlap */
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));  /* Subtle shadow on the logo itself */
}

/* Floating gradient background */
.container::before {
	content: '';
	position: absolute;
	width: 150%;
	height: 180%;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(
		ellipse at 50% 30%,  /* Position focus point higher */
		rgba(156, 29, 29, 0.8) 0%,
		rgba(105, 4, 179, 0.4) 30%,
		rgba(255, 0, 89, 0.2) 60%,
		transparent 100%
	);
	filter: blur(60px);
	z-index: 0;
	opacity: 0.4;
}

@keyframes floatGradient {
	0%, 100% {
		transform: translate(-50%, -50%) rotate(0deg) scale(1);
	}
	25% {
		transform: translate(-52%, -48%) rotate(3deg) scale(1.03);
	}
	50% {
		transform: translate(-48%, -52%) rotate(-3deg) scale(0.97);
	}
	75% {
		transform: translate(-52%, -48%) rotate(2deg) scale(1.01);
	}
}
.track-card {
	margin-top: 12px;  /* Reduced from 16px for closer logo alignment */
	background: var(--card-background);
	border-radius: 24px;
	padding: 6px;  /* Reduced from 8px for more compact look */
	text-align: center;
	position: relative;
	z-index: 1;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	width: 100%;
}


.album-art {
	width: calc(100% - 16px);  /* Reduced margin */
	height: calc(100% - 16px);
	margin: 8px auto 16px;  /* Reduced margins */
	border-radius: 16px;
	overflow: hidden;
	background: #e8f5e9;
	aspect-ratio: 1 / 1;
}

.album-art img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #e8f5e9;
}

.track-title {
	font-size: 18px;
	font-weight: 400;  /* Reduced from 24px */
	margin: 0 0 2px;  /* Reduced margin */
}

.track-desc {
	font-size: 13px;
	font-weight: 100;  /* Reduced from 18px */
	color: var(--secondary-text);
	margin: 0 0 32px;  /* Reduced from 24px */
	font-weight: normal;
}

.streaming-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 8px 12px 8px; /* Added left and right margins to match album art */
	width: calc(100% - 16px); /* Match album art width */
	align-self: center;
}


/* Base bubble style */
.bubble {
	font-size: 8px;
	padding: 1px 6px;
	border-radius: 8px;
	position: absolute;
	top: -8px;
	left: 40px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.platform-info {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.7);
	padding: 4px 8px;
	font-weight: normal;
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	margin-right: 8px; /* Add space before chevron */
}

/* Remove the hyphen separator since we're using background now */
/* .platform-info::before {
	content: '';
	display: none;
} */

/* Make link box bigger and darker */
.streaming-button {
	display: flex;
	align-items: center;
	padding: 12px 8px;
	background: var(--button-background);
	border-radius: 8px;
	text-decoration: none;
	color: var(--text-color);
	transition: background 0.2s;
	position: relative;
}

.streaming-button.coming-soon {
	opacity: 0.5;  /* Make the whole button slightly faded */
	cursor: default;  /* Remove pointer cursor */
	pointer-events: none;  /* Disable hover effects */
}

.streaming-button.coming-soon:hover {
	background: var(--button-background);  /* Prevent hover effect */
}

.coming-soon-text {
	font-size:7px;
	color: rgba(255, 255, 255, 1);
	padding: 2px 4px;
	font-weight: normal;
	display: inline-flex;
	align-items: center;
	background: rgba(253, 90, 90, 1);
	border-radius: 6px;
	margin-left: auto; /* Push to right */
}

/* .streaming-button:has(.bubble) .platform-info {
	margin-right: 40px;  /* Make space for bubble 
} */

.chevron-right {
	width: 16px;
	height: 16px;
	min-width: 16px;
	margin-left: auto; /* This will push it to the right */
	opacity: 0.5; /* Make it slightly subtle */
	background-image: url("../images/icons/chevron-right.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* Platform icon styles */
.platform-icon {
	width: 24px;
	height: 24px;
	min-width: 24px;
	margin-right: 12px;
	background-size: contain;
	background-repeat: no-repeat;
}

.platform-icon.spotify {
	background-image: url("");
}

.platform-icon.meditative-mind {
	background-image: url("../images/icons/mm.png");
}

.platform-icon.ios {
	background-image: url("../images/icons/apple.svg");
}

.platform-icon.android {
	background-image: url("../images/icons/android.svg");
}

.platform-icon.youtube {
	background-image: url("../images/icons/youtube.svg");
}

.platform-icon.apple-music {
	background-image: url("../images/icons/apple-music.svg");
}

.platform-icon.spotify {
	background-image: url("../images/icons/spotify.svg");
}

.platform-name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 400;
	margin-right: 4px;
}
/* Predefined bubble variants */
.bubble-new {
	background-color: #ff3366;
	color: white;
}

.bubble-coming-soon {
	background-color: #cacaca;
	color: rgb(34, 34, 34);
}

.bubble-recommended {
	background: linear-gradient(
		45deg,
		#4158D0,
		#C850C0,
		#FFCC70
	);
	color: white;
	animation: gradientShift 3s ease infinite;
	background-size: 200% 200%;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
/* Custom bubble - can be used with inline styles for custom colors */
.bubble-custom {
	/* Will use inline styles for colors */
}

.streaming-button:hover {
	background: rgba(255, 255, 255, 0.15);
}

.powered-by {
	font-size: 12px;
	color: var(--secondary-text);
	margin: 0 8px; /* Match the side margins */
	padding-bottom: 8px; /* Add some bottom padding */
}