/* ## Main ## */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

::selection {
	background-color: white;
	color: rgb(255, 0, 140);
}

:focus {
	background-color: white;
	color: rgb(255, 0, 140);
}

body {
	min-height: 100dvh;
	font-family: Poppins, sans-serif;
	color: var(--text-light);
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/* .new{
    text-align: center;
    background-color: #00d5ff27;
    color: #00d5ff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    border-style: solid;
    border-color:  #00d5ff;
    border-width: 1px;
    flex-shrink: 0;
    white-space: nowrap;
} */

/* ## Nav (da up part) ## */
.book-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(15, 19, 37, 0.1);
	width: fit-content;
	backdrop-filter: blur(5px);
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	transition: all 0.1s ease;
}

.nav-home {
	text-decoration: none;
	font-weight: 500;
	transition: all 0.1s ease;
	font-size: 0.95rem;
}

.nav-home:hover {
	color: white;
	transform: scale(0.95);
}

/* ## Header ## */
.header {
	border-radius: 25px;
	padding: 15% 5%;
}

.header h1 {
	font-size: 2rem;
	font-weight: 600;
	color: white;
}

.header .subtitle {
	font-style: italic;
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 20px;
	line-height: 1.6;
}

.stats {
	display: inline-block;
	background-color: #ffffff4d;
	font-weight: 500;
	color: white;
	backdrop-filter: blur(2px);
	width: fit-content;
	height: fit-content;
}

.stats .number {
	color: white;
	display: inline-block;
	padding: 0;
}

.content-area {
	overflow: hidden;
	min-height: 600px;
	color: white;
}

.book-collection {
	padding: 40px;
}

/* ## Items ## */
.collection-item {
	margin-bottom: 3rem;
	transition: all 0.2s ease;
}

.collection-header {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.collection-icon {
	font-size: 3rem;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    aspect-ratio: 1 / 1 !important;
}

.collection-info {
	flex: 1;
}

.collection-title {
	font-size: 1.8rem;
	font-weight: 600;
	color: white;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.collection-description {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.collection-stats {
	font-size: 0.9rem;
	color: var(--bg-secundary-light);
	font-weight: 500;
}

.episodes-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
}

.episode-card {
	background: rgba(118, 75, 162, 0.1);
	border: 1px solid rgba(188, 141, 235, 0.8);
	padding: 1.5rem;
	transition: all 0.1s ease;
	backdrop-filter: blur(10px);
	cursor: pointer;
}

.episode-card:hover {
	border-color: var(--bg-secundary-light);
	background: rgba(118, 75, 162, 0.2);
}

.episode-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.episode-number {
	background: var(--bg-secundary);
	color: white;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

.episode-language {
	background: rgb(0, 0, 0);
	padding: 0.25rem 0.75rem;
	font-size: 0.8rem;
}

.episode-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: white;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.episode-excerpt {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.episode-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.read-link {
	color: white;
	text-decoration: none;
	padding: 0.5rem 1rem;
	font-weight: 500;
	font-size: 0.9rem;
	transition: none;
}

.read-link:hover {
	transform: translateY(-2px);
	transition: none;
	text-decoration: underline;
	background-color: black;
}
