/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* ---- Global modern baseline (2025 minimal) ---- */
:root {
	/* colors */
	--bg: #0b0b0c;
	--surface: #121214;
	--panel: #17171a;
	--muted: #8b8b93;
	--text: #e9e9ec;
	--primary: #7c7cff;
	--primary-contrast: #ffffff;

	/* shape + depth */
	--radius: 12px;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
	--shadow-md: 0 8px 24px rgba(0,0,0,0.35);
	--shadow-lg: 0 18px 48px rgba(0,0,0,0.45);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	background: var(--bg);
	color: var(--text);
	color-scheme: dark;
	line-height: 1.6;
}

h1, h2, h3 {
	font-family: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	letter-spacing: -0.02em;
	margin: 0 0 0.4em 0;
}

p {
	margin: 0 0 1em 0;
	color: var(--text);
	opacity: 0.9;
}

a {
	color: var(--primary);
	text-decoration: none;
}

/* Panels and cards */
.panel {
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)) var(--panel);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="number"] {
	background: #111114;
	color: var(--text);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 12px 14px;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
	color: var(--muted);
}

input:focus {
	border-color: rgba(124,124,255,0.8);
	box-shadow: 0 0 0 4px rgba(124,124,255,0.15);
}

/* Buttons */
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 12px;
	padding: 12px 16px;
	font-weight: 600;
	color: var(--primary-contrast);
	background: radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 40%), linear-gradient(180deg, #8d8dff 0%, #6c6cff 100%);
	box-shadow: 0 8px 18px rgba(124,124,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.12);
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(124,124,255,0.45);
}

button:active {
	transform: translateY(0);
}

button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Poster image helper */
.poster-img {
	width: 100%;
	height: 520px;
	object-fit: contain;
	object-position: center;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	background: #0f0f12;
	border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 800px) {
	.poster-img {
		height: 360px;
	}
}
