:root {
	--primary-purple: #7c3aed;
	--secondary-purple: #a855f7;
	--dark-purple: #5b21b6;
	--light-purple: #c084fc;
	--accent-purple: #8b5cf6;
	--background-dark: #0a0a0a;
	--card-dark: rgba(30, 30, 40, 0.95);
	--border-color: rgba(124, 58, 237, 0.3);
	--text-primary: #ffffff;
	--text-secondary: #cccccc;
	--text-muted: #888888;
}

body {
	background: var(--background-dark);
	color: var(--text-primary);
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

.container {
	max-width: 1200px;
	min-height: 100vh;
	margin: 0 auto;
}

.main-content {
	width: 100%;
	min-height: 100vh;
	padding: 35px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* === HEADER === */
.brand-header {
	margin: 20px 0;
	text-align: center;
}

.container-logo {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.robot-image {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	animation: float 3s ease-in-out infinite;
	border: 3px solid var(--border-color);
}

.brand-title {
	color: var(--primary-purple);
	font-size: 48px;
	font-weight: 700;
	text-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
	margin: 0;
}

.brand-subtitle {
	font-size: 20px;
	line-height: 1.6;
	text-align: center;
	color: var(--text-secondary);
	margin: 0;
}

/* === SEARCH CARD === */
.search-card {
	width: 100%;
	max-width: 600px;
	padding: 32px;
	margin: 0 auto;
	background-color: rgba(124, 58, 237, 0.08);
	border-radius: 16px;
	border: 1px solid var(--border-color);
	backdrop-filter: blur(15px);
	box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

.search-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.input-container {
	position: relative;
}

.mood-textarea {
	width: 100%;
	padding: 16px;
	background-color: rgba(124, 58, 237, 0.05);
	color: var(--text-primary);
	font-size: 16px;
	border: 1px solid rgba(124, 58, 237, 0.2);
	border-radius: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	resize: vertical;
	min-height: 80px;
	font-family: inherit;
	outline: none;
}

.mood-textarea:focus {
	border-color: var(--primary-purple);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
	background-color: rgba(124, 58, 237, 0.1);
}

.mood-textarea::placeholder {
	color: rgba(204, 204, 204, 0.6);
}

/* === EXAMPLES === */
.examples {
	color: var(--text-secondary);
	font-size: 14px;
	text-align: left;
}

.examples-title {
	margin-bottom: 12px;
	font-weight: 500;
	color: var(--text-primary);
}

.examples-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	opacity: 0.85;
	margin: 0;
	list-style: none;
	padding: 0;
}

.examples-list li {
	padding-left: 20px;
	position: relative;
}

.examples-list li::before {
	content: "•";
	color: var(--secondary-purple);
	position: absolute;
	left: 0;
	font-size: 16px;
	font-weight: bold;
}

/* === SEARCH BUTTON === */
.search-button {
	background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
	width: 100%;
	padding: 16px 32px;
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.search-button:hover {
	background: linear-gradient(135deg, var(--secondary-purple), var(--light-purple));
	box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
	transform: translateY(-2px) scale(1.02);
}

.search-button:active {
	transform: translateY(0) scale(0.98);
}

.search-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.play-icon {
	font-size: 14px;
	transition: transform 0.3s ease;
}

.search-button:hover .play-icon {
	transform: scale(1.2) rotate(10deg);
}

/* === RESULTS === */
.results {
	width: 100%;
	margin-top: 40px;
	display: none;
	animation: fadeIn 0.6s ease-out;
}

.results.show {
	display: block;
}

.results h2 {
	padding: 30px 0 50px;
	text-align: center;
	font-size: 32px;
	font-weight: 600;
	color: var(--text-primary);
	text-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
	margin: 0;
}

/* === MOVIES GRID === */
.movies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	padding: 0 20px;
	justify-items: center;
}

.movie-card {
	width: 100%;
	max-width: 350px;
	background: var(--card-dark);
	border: 1.5px solid rgba(124, 58, 237, 0.2);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(10px);
}

.movie-card:hover {
	border-color: var(--primary-purple);
	transform: translateY(-12px) scale(1.03);
	box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

/* === MOVIE POSTER === */
.movie-poster {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.movie-poster img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.movie-card:hover .movie-poster img {
	transform: scale(1.08);
}

.no-poster {
	width: 100%;
	height: 420px;
	background: linear-gradient(135deg, #1a1a2e, #16213e);
	color: var(--text-muted);
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

/* === MOVIE INFO === */
.movie-info {
	padding: 24px;
}

.movie-title {
	margin-bottom: 12px;
	color: var(--text-primary);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.movie-overview {
	height: 150px;
	padding: 12px;
	margin-bottom: 16px;
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.5;
	overflow-y: auto;
	background: rgba(124, 58, 237, 0.08);
	border-radius: 10px;
	border: 1px solid rgba(124, 58, 237, 0.15);
}

.movie-overview::-webkit-scrollbar {
	width: 6px;
}

.movie-overview::-webkit-scrollbar-track {
	background: rgba(124, 58, 237, 0.1);
	border-radius: 3px;
}

.movie-overview::-webkit-scrollbar-thumb {
	background: var(--accent-purple);
	border-radius: 3px;
}

.movie-rating {
	color: var(--secondary-purple);
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* === BACKGROUND ANIMATION === */
.bg {
	position: fixed;
	top: 0;
	left: -50%;
	right: -50%;
	bottom: 0;
	background-image: linear-gradient(-60deg, #1a0b2e 50%, #0f0f23 50%);
	z-index: -1;
	opacity: 0.8;
	animation: slide 4s ease-in-out infinite alternate;
}

.bg2 {
	animation-direction: alternate-reverse;
	animation-duration: 5s;
	background-image: linear-gradient(-60deg, #2d1b69 50%, #1a0b2e 50%);
}

.bg3 {
	animation-duration: 6s;
	background-image: linear-gradient(-60deg, #0f0f23 50%, #2d1b69 50%);
}

/* === ANIMATIONS === */
@keyframes slide {
	0% { transform: translateX(-25%); }
	100% { transform: translateX(25%); }
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
	.main-content {
		padding: 20px;
	}
	
	.container-logo {
		flex-direction: column;
		gap: 12px;
	}
	
	.brand-title {
		font-size: 36px;
	}
	
	.brand-subtitle {
		font-size: 18px;
	}
	
	.search-card {
		padding: 24px;
	}
	
	.movies-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 10px;
	}
	
	.results h2 {
		font-size: 24px;
		padding: 20px 0 30px;
	}
}

@media (max-width: 480px) {
	.robot-image {
		width: 80px;
		height: 80px;
	}
	
	.brand-title {
		font-size: 28px;
	}
	
	.brand-subtitle {
		font-size: 16px;
	}
	
	.search-card {
		padding: 20px;
		border-radius: 12px;
	}
	
	.movie-card {
		max-width: 100%;
		border-radius: 16px;
	}
	
	.mood-textarea {
		border-radius: 8px;
	}
	
	.search-button {
		border-radius: 8px;
	}
}