/**
 * Evidentment Theme Styles
 *
 * @package Evidentment
 * @author Robot Innocent SL
 * @license LGPL-2.1-or-later
 */

/* Font Faces */
@font-face {
	font-family: 'Eurostile Extended';
	src: url('../fonts/Eurostile Extended Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* Base Typography */
* {
	font-family: 'Inter', sans-serif;
}

.eurostile {
	font-family: 'Eurostile Extended', sans-serif;
}

/* Speech Bubbles */
.speech-bubble {
	position: relative;
	background: #c3ff00;
	padding: 8px 16px;
	border-radius: 4px;
	display: inline-block;
	transform: perspective(100px) rotateX(-5deg);
}

.speech-bubble-2 {
	position: relative;
	background: linear-gradient(135deg, #00ff88, #c3ff00);
	padding: 8px 16px;
	border-radius: 4px;
	display: inline-block;
	transform: perspective(100px) rotateX(5deg);
}

/* Card Hover Effects */
.card-hover {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
	transform: translateY(-8px) scale(1.02);
}

.card-hover:hover .play-overlay {
	opacity: 1;
}

.play-overlay {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.episode-image {
	transition: filter 0.3s ease;
}

.card-hover:hover .episode-image {
	filter: brightness(0.8);
}

/* Filter Active State */
.filter-active {
	background: #c3ff00;
	color: #0a0e27;
}

/* Animations */
@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.animate-slide-up {
	animation: slideUp 0.6s ease-out forwards;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px) rotate(-2deg);
	}
	50% {
		transform: translateY(-10px) rotate(2deg);
	}
}

.float-animation {
	animation: float 4s ease-in-out infinite;
}

@keyframes floatReverse {
	0%, 100% {
		transform: translateY(0px) rotate(2deg);
	}
	50% {
		transform: translateY(-8px) rotate(-2deg);
	}
}

.float-animation-reverse {
	animation: floatReverse 4s ease-in-out infinite;
	animation-delay: 2s;
}

/* Player Timeline */
.player-timeline {
	background: linear-gradient(90deg, #c3ff00 0%, #00ff88 100%);
}

/* Keyboard Focus Styles */
*:focus-visible {
	outline: 2px solid #c3ff00;
	outline-offset: 2px;
}

button:focus-visible {
	outline: 2px solid #c3ff00;
	outline-offset: 2px;
}

/* Skip to Main Content Link */
.skip-to-main {
	position: absolute;
	left: -9999px;
	z-index: 999;
}

.skip-to-main:focus {
	left: 50%;
	transform: translateX(-50%);
	top: 1rem;
	background: #c3ff00;
	color: #0a0e27;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: bold;
}

/* Screen Reader Only */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Text Utilities */
.line-clamp-1 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.line-clamp-2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Prose Styles for Content */
.prose {
	max-width: 65ch;
}

.prose p {
	margin-bottom: 1.25em;
}

.prose h2 {
	font-size: 1.5em;
	margin-top: 2em;
	margin-bottom: 1em;
	line-height: 1.3333333;
	font-weight: 700;
}

.prose h3 {
	font-size: 1.25em;
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	line-height: 1.6;
	font-weight: 600;
}

.prose ul {
	list-style-type: disc;
	padding-left: 1.625em;
	margin-top: 1.25em;
	margin-bottom: 1.25em;
}

.prose ol {
	list-style-type: decimal;
	padding-left: 1.625em;
	margin-top: 1.25em;
	margin-bottom: 1.25em;
}

.prose li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.prose a {
	color: #c3ff00;
	text-decoration: underline;
	font-weight: 500;
}

.prose a:hover {
	color: #00ff88;
}

.prose strong {
	color: inherit;
	font-weight: 600;
}

.prose code {
	color: #c3ff00;
	font-weight: 600;
	font-size: 0.875em;
}

.prose blockquote {
	font-weight: 500;
	font-style: italic;
	color: inherit;
	border-left-width: 0.25rem;
	border-left-color: #c3ff00;
	quotes: "\201C""\201D""\2018""\2019";
	margin-top: 1.6em;
	margin-bottom: 1.6em;
	padding-left: 1em;
}

.prose-invert {
	--tw-prose-body: rgb(209 213 219);
	--tw-prose-headings: rgb(243 244 246);
	--tw-prose-links: #c3ff00;
	--tw-prose-bold: rgb(243 244 246);
	--tw-prose-counters: rgb(156 163 175);
	--tw-prose-bullets: rgb(75 85 99);
	--tw-prose-hr: rgb(55 65 81);
	--tw-prose-quotes: rgb(243 244 246);
	--tw-prose-quote-borders: rgb(55 65 81);
	--tw-prose-captions: rgb(156 163 175);
	--tw-prose-code: #c3ff00;
	--tw-prose-pre-code: rgb(229 231 235);
	--tw-prose-pre-bg: rgb(31 41 55);
	--tw-prose-th-borders: rgb(75 85 99);
	--tw-prose-td-borders: rgb(55 65 81);
}

/* Keyboard Focus Enhancement */
.keyboard-focus {
	outline: 3px solid #c3ff00;
	outline-offset: 3px;
}

/* Responsive Utilities */
@media (max-width: 768px) {
	.hide-mobile {
		display: none;
	}
}

@media (min-width: 769px) {
	.hide-desktop {
		display: none;
	}
}

/* Loading State */
.loading {
	opacity: 0.5;
	pointer-events: none;
}

/* Smooth Scroll */
html {
	scroll-behavior: smooth;
}

/* Improve Text Rendering */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
