/* Mobile-specific styles based on Figma design */
/* Mobile Main Layout */
body {
	margin: 0;
	padding: 0;
}
@media (min-width: 768px) {
.large-screen-img {
	display: flex;
}	
.small-screen-img {
	display: none;	
}
}
@media (max-width: 767px) {
.large-screen-img {
	display: none;
}
.small-screen-img {
	display: flex;
}
}
@media (max-width:1023px) {
.large-screen-text {
	display: none;
}
.small-screen-text {
	display: flex;
}
}
@media (min-width:1024px) {
.large-screen-text {
	display: flex;
}
.small-screen-text {
	display: none;
}
}
.mobile-main {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: auto;
	height: auto;

	/* max-width: 393px; */
	/* margin: 0 auto; */
	/* padding: 0; */
	/* Background handled via pseudo-element so we can control image opacity without affecting content */
	background-color: #fcfffc;
	position: relative;
	/* overflow: hidden; */
	/* Use Fira Sans site-wide with sensible fallbacks */
	font-family: 'Fira Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	min-height: 100vh;
}

.mobile-main::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../images/fullbg.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	/* opacity: 0.7; 70% visible */
	z-index: 0;
	pointer-events: none;
}

.mobile-main > * {
	position: relative;
	z-index: 1; /* ensure content sits above the background pseudo-element */
}

/* Logo Section */
.logo-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 64px 16px;
	gap: 16px;
}

.logo-text {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.logo-line {
	display: flex;
	align-items: center;
	font-family: 'Mairon', var(--font-family);
	color: var(--color-text-light);
	line-height: 41.55px;
}

.logo-large {
	font-size: 60px;
	font-weight: var(--font-weight-regular);
	margin-right: -6px;
}

.logo-small {
	font-size: 30px;
	font-weight: var(--font-weight-regular);
	letter-spacing: -1.2px;
	margin-right: -6px;
}

.logo-image {
	text-align: center;
}

.logo-image img {
	width: 175px;
	height: 198px;
	object-fit: cover;
	/* border-radius: var(--border-radius); */
	@media (min-width:1024px) {
		width: 271px;
		height: 307px;
		aspect-ratio: 271/307;
	}
}

/* Section Titles */
.section-title {
	font-family: var(--font-family);
	font-size: var(--font-size-section);
	font-weight: var(--font-weight-semibold);
	line-height: var(--line-height-section);
	letter-spacing: -0.39px;
	/* color: #e1e5e1; */
  	display: flex;
  	padding: 4px 8px;
  	justify-content: center;
  	align-items: center;
  	align-self: stretch;
	margin: 0;
	@media (min-width:1024px) {
		font-size: 30px;
	}
}

/* Latest Episode specific heading override (center, semibold, 26px/32px) */
.latest-episode-mobile .section-title {
	text-align: center;
	font-weight: 600; /* semibold */
	font-size: 26px;
	line-height: 32px;
}

/* Latest Episode Section */
.latest-episode-mobile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	margin-bottom: 64px;
}

/* Media card wrapper: holds gradient background for both episode card and player */
.media-card {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
	/* Move gradient to the parent so the player sits on it */
	background: linear-gradient(291deg, rgba(49, 51, 49, 0.92) 63.4%, rgba(24, 5, 102, 0.92) 90.07%);
	border-radius: 8px;
	padding: 16px;
	/* box-shadow: 0 6px 24px rgba(0,0,0,0.18); */
	overflow: hidden;
  	min-width: 377px;
	max-width: 624px;
	margin: 0 8px;
	@media (min-width:1024px) {
		max-width: 832px;
	}
}
.media-card .player {
	width: 100%;
}

.episode-card-mobile {
	/* Episode card content sits inside the media-card (parent provides background)
		 Keep layout but remove its own background so parent gradient shows through */
	background: transparent;
	border-radius: 0;
	padding: 0;
	display: flex;
	gap: 12px;
	margin-bottom: 0;
	align-items: center;
	align-self: stretch;
}

.episode-image img {
	width: 98px;
	height: 111px;
	object-fit: cover;
	border-radius: var(--border-radius);
}

.episode-content {
	flex: 1;
	padding-left: 8px;
  ;
}

.episode-title {
	font-family: var(--font-family);
	font-size: var(--font-size-body-title);
	font-weight: 450;
	line-height: var(--line-height-body-title);
	letter-spacing: .07px;
	color: var(--color-white);
	margin-bottom: 4px;
  text-align: left;
}

.episode-meta {
	font-family: var(--font-family);
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	color: rgba(255,255,255,0.9);
	margin-bottom: 8px;
	letter-spacing: .07px;
  text-align: left;
}

.episode-description {
	font-family: var(--font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.07px;
	color: rgba(255,255,255,0.88);
  text-align: left;
}

/* Player controls (styled to match Figma) */
.player {
	/* margin-top: 12px; */
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 8px 4px 4px;
	border-radius: 8px;
	/* subtle surface to separate from card art */
	background: rgba(24, 5, 102, 0.90);
	/* box-shadow: 0 6px 18px rgba(12,12,12,0.12); */
}

.player .play-btn {
	width: 24px;
	height: 24px;
	background: none;
	color: var(--color-white);
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	border: none;
	box-shadow: 0 8px 20px rgba(105,74,233,0.18);
}

.player .play-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* SVG icon animation for play/pause */
.play-btn .play-icon {
	display: block;
}
.play-btn .icon-play,
.play-btn .icon-pause {
	transform-origin: 50% 50%;
	transition: opacity 180ms ease, transform 180ms ease;
}
.play-btn .icon-play {
	opacity: 1;
	transform: scale(1);
}
.play-btn .icon-pause {
	opacity: 0;
	transform: scale(0.85);
}
.play-btn.playing .icon-play {
	opacity: 0;
	transform: scale(0.85);
}
.play-btn.playing .icon-pause {
	opacity: 1;
	transform: scale(1);
}

.player .progress-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
}

.player .progress {
	height: 5px;
	background: #f9f7ff;
	border-radius: 999px;
	flex: 1;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.player .progress .progress-filled {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0%;
	background: #694ae9;
	transition: width 0.12s linear;
}

.player .time {
	white-space: nowrap;
	font-size: 12px;
	color: #f9f7ff;
	min-width: 60px;
	text-align: right;
}

.btn-spotify {
	/* display: inline-block; */
	display: flex;
	align-items: center;
	padding: 8px 16px;
	/* border: 3px solid var(--color-accent); */
	border-radius: 8px;
	background:#000;
	gap: 8px;
	color: var(--color-white);
	font-family: var(--font-family);
	font-size: var(--font-size-body-small);
	font-weight: var(--font-weight-regular);
	letter-spacing: 0.07px;
	text-decoration: none;
	transition: var(--transition);
}

.btn-spotify:hover {
	background-color:#1DB954;
	color: #ffffff;
}

/* About Section */
.about-section-mobile {
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border-radius: 8px;
	background: rgba(252, 255, 252, 0.90);
	margin-bottom: 64px;
	align-items: center;
	align-self: stretch;
}

.about-content p {
	font-family: var(--font-family);
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 24px;
	color: var(--color-text);
	text-align: justify;
	margin-bottom: var(--spacing-sm);
	max-width: 832px;
	text-indent: 2rem;
	@media (min-width:1024px) {
		font-size: 18px;
		line-height: 28px;
	}
}

/* Cast Section */
/* .cast-section-mobile {
	padding: 48px 16px;
	margin-bottom: 64px;
} */

.host-section {
	padding: 48px 16px;
	margin-bottom: 64px;
	background: linear-gradient(295deg, rgba(59, 33, 166, 0.81) 13.12%, rgba(79, 169, 229, 0.90) 82.74%);
}

.guest-section {
	padding: 0px 16px;
	margin-bottom: 64px;
	background: rgba(252, 255, 252, 0.90);
}

.char-section {
	padding: 48px 16px;
	margin-bottom: 64px;
	background: linear-gradient(276deg, rgba(49, 51, 49, 0.85) 20.86%, rgba(153, 18, 15, 0.85) 75.68%);
}

.cast-cards {
	display: flex;
	flex-direction: column;
	gap: 24px;
	@media (min-width:1024px) {
		gap: 32px;
	}
}

.cast-card {
	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	align-items: center;
  	align-content: center;
  	align-self: stretch;
	gap: 4px;
	padding: 16px;
	/* border-radius: var(--border-radius); */
	min-height: 229px;
	@media (min-width:768px) and (max-width:1023px) {
		gap: 16px;
	}
	@media (min-width:1024px) {
		gap: 32px;
	}
}

/* .cast-light {
  background: linear-gradient(135deg, #f2f5f2 0%, #e1e5e1 100%);
} */

/* .cast-light h3,
.cast-light p {
	color: var(--color-text-dark);
}

.cast-purple {
	background: linear-gradient(135deg, var(--color-secondary) 0%, #5a3fc7 100%);
}

.cast-purple h3,
.cast-purple p {
	color: var(--color-white);
}

.cast-mystic {
	background: linear-gradient(135deg, #694ae9 0%, #4a2db7 100%);
}

.cast-mystic h3,
.cast-mystic p {
	color: var(--color-text-light);
} */

.cast-content {
	/* flex: 1; */
	display: flex;
  	width: 248px;
	flex-direction: column;
  	align-items: flex-end;
	/* justify-content: flex-start; */
	/* padding-right: 8px; */
}

.cast-content h3 {
	font-family: var(--font-family);
	font-size: 22px;
	font-weight: 600;
  	/* color: #fcfffc; */
	line-height: var(--line-height-subsection);
	letter-spacing: -0.22px;
	margin-bottom: -2px;
	margin-top: 0;
	@media (min-width:1024px) {
		font-size: 26px;
		line-height: 32px;
		letter-spacing: -0.39px;
	}
}

.cast-content p {
	font-family: var(--font-family);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-align: right !important;
  	/* color: #fcfffc; */
	padding: 8px 4px;
	margin: 0;
	@media (min-width:1024px) {
		font-size: 18px;
		line-height: 28px;
		font-weight: 400;
	}
}

.text-mystic p,
.text-mystic h3 {
	color: #fcfffc;
}

.title-mystic {
	color: #fcfffc;
}

.text-dark p,
.text-dark h3 {
	color: #313331;
}

.text-dark {
	color: #313331;
}

.title-dark {
	color: #313331;
}

.subrole {
  font-family: var(--font-family)!important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  letter-spacing: 0.07px !important;
  /* color: #f2f5f2 !important; */
  margin: 0 !important;
  padding: 0 !important;
  @media (min-width:1024px) {
	  font-size: 16px !important;
	  line-height: 24px !important;
  }
}

.subrole-light {
	color: #f2f5f2 !important;
}

.subrole-dark {
	color: #969996 !important;
}

.cast-image {
	/* width: 164px; */
	/* height: 164px; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.cast-placeholder {
	width: 132px;
	height: 197px;
	background: #c3c3c3;
	border-radius: var(--border-radius);
}

/* Adventurers Section */
/* .adventurers-section-mobile {
	padding: 48px 16px;
	margin-bottom: 64px;
} */

.adventurer-cards {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 48px;
	align-self: stretch;
}

.adventurer-card {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 8px;
	padding: 16px;
	align-self: stretch;
	flex-wrap: wrap;
	@media (min-width: 768px) and (max-width:1023px) {
		gap: 16px;
	}
	@media (min-width:1024px) {
		gap: 32px;
	}
}

/* .adventurer-blue {
	background: linear-gradient(135deg, var(--color-tertiary) 0%, #004d80 100%);
}

.adventurer-blue h3,
.adventurer-blue p {
	color: var(--color-tertiary);
}

.adventurer-white {
	background: linear-gradient(135deg, var(--color-white) 0%, #f0f0f0 100%);
}

.adventurer-white h3,
.adventurer-white p {
	color: var(--color-text-dark);
}

.adventurer-crimson {
	background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
}

.adventurer-crimson h3 {
	color: var(--color-text-dark);
}

.adventurer-crimson p {
	color: var(--color-text-dark);
} */

.adventurer-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* .adventurer-image img {
	width: 132px;
	height: 132px;
	object-fit: cover;
	border-radius: var(--border-radius);
} */

.adventurer-content {
	display: flex;
	width: 248px;
	flex-direction: column;
	align-items: flex-start;
}

.adventurer-content h3 {
	font-family: var(--font-family);
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.22px;
	margin: 0;
	color: #F7FCFF;
}

.adventurer-class {
	font-family: var(--font-family);
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0.07px;
	margin: 0;
	color: #f2f5f2;
}

.adventurer-player {
	font-family: var(--font-family);
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0.07px;
	margin-bottom: 8px;
	margin-top: 0;
	color: #f2f5f2;
}

.adventurer-content p:last-child {
	font-family: var(--font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
	color: #F7FCFF;
}

/* Footer */
.footer-container {
	display: flex;
	flex-direction: column;
	/* padding: 0 16px; */
	justify-content: center;
	align-items: center;
	gap: 8px;
	align-self: stretch;
	background: transparent;
}

.footer-mobile {
	display: flex;
	width: 361px;
	padding: 16px 16px 42px 16px;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	gap: 42px;
	background: rgba(252, 255, 252, 0.90) !important;
}

.footer-logo {
	/* margin-bottom: 43px; */
	align-self: center;
}

.footer-logo img {
	width: 123px;
	height: 140px;
	aspect-ratio: 123/140;
	@media (min-width:1024px) {
		width: 197px;
		height: 224px;
		aspect-ratio: 197/224;
	}
}
.footer-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 42px;
	align-self: stretch;
	@media (min-width:1024px) {
		flex-direction: column;
	}
}
.footer-social {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 42px;
	@media (min-width:1024px) {
		flex-direction: row;
	}
}

.social-spotify,
.social-patreon,
.social-instagram {
	/* width: 42px; */
	/* height: 42px; */
	display: flex;
	align-items: center;
	justify-content: center;
	/* border-radius: 50%; */
	font-size: 20px;
	text-decoration: none;
	transition: var(--transition);
}

.footer-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	/* margin-bottom: 32px; */
	@media (min-width:1024px) {
		flex-direction: row;
	}
}

.footer-links a {
	font-family: var(--font-family);
	font-size: var(--font-size-small);
	font-weight: var(--font-weight-semibold);
	line-height: var(--line-height-small);
	color: #313331;
	text-decoration: underline;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-highlight);
}

.footer-copyright {
	background: #333333;
	/* margin: 0 -16px -16px;
	padding: 12px 16px 4px; */
	display: flex;
	padding: 4px 8px;
	align-items: flex-end;
	align-self: stretch;
}
.copyright-img {
	padding-right: 4px;
}

.footer-copyright p {
	font-family: var(--font-family);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.12px;
	line-height: 18px;
	color: #ffffff;
	margin: 0;
	display: flex;
	flex-direction: row;
}

/* Responsive adjustments */
@media (max-width: 393px) {
	.mobile-main {
		max-width: 100%;
	}
  
	.logo-section {
		padding: 64px 8px;
	}
  
	.logo-large {
		font-size: 48px;
	}
  
	.logo-small {
		font-size: 24px;
	}
  
	.episode-card-mobile,
	.cast-card,
	.adventurer-card {
		/* flex-direction: column; */
		text-align: center;
	}
  
	.cast-content,
	.adventurer-content {
		padding: 0;
	}
  
	.cast-content p {
		text-align: center;
	}
}

