* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #ff3b3b;
	--primary-glow: rgba(255, 59, 59, 0.4);
	--bg-dark: #0a0a0a;
	--bg-card: rgba(20, 20, 20, 0.85);
	--text-primary: #ffffff;
	--text-secondary: #a0a0a0;
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.1);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
	background: var(--bg-dark);
	color: var(--text-primary);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}

.bg-gradient {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at top, rgba(255, 59, 59, 0.15), transparent 50%),
		radial-gradient(ellipse at bottom, rgba(255, 100, 50, 0.1), transparent 50%);
	animation: pulse 4s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.3;
	}

	50% {
		opacity: 0.5;
	}
}

.page-wrapper {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

.nav-bar {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(10, 10, 10, 0.8);
	backdrop-filter: blur(20px);
	z-index: 100;
	border-bottom: 1px solid var(--glass-border);
}

.nav-bar.hidden {
	transform: translateY(-100%);
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.logo-icon {
	height: 28px;
	width: auto;
	display: block;
}

@media (max-width: 600px) {
	.nav-bar {
		padding: 0.75rem 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.logo {
		flex: 1;
	}

	.haptic-control {
		flex-shrink: 0;
		margin-left: 1rem;
	}

	.logo-icon {
		height: 24px;
		width: auto;
	}
}

.trailer-title {
	text-align: center;
	margin: 3rem 0 2.5rem;
}

.trailer-title h1 {
	font-size: 3rem;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	line-height: 1;
}

@media (max-width: 600px) {
	.trailer-title {
		margin: 2rem 0 2rem;
	}
}

.haptic-control {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1.2rem;
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 50px;
	transition: all 0.3s ease;
}

.haptic-control:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.15);
}

.haptic-label {
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--text-secondary);
}

.haptic-toggle {
	position: relative;
	width: 52px;
	height: 28px;
	background: rgba(120, 120, 128, 0.3);
	border-radius: 14px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.haptic-toggle.active {
	background: var(--primary);
	box-shadow: 0 0 20px var(--primary-glow);
}

.haptic-toggle-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 24px;
	height: 24px;
	background: white;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.haptic-toggle.active .haptic-toggle-thumb {
	left: 26px;
}

.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.video-section {
	width: 100%;
	padding: 2rem;
	display: flex;
	justify-content: center;
}

.video-container {
	width: 100%;
	max-width: 1100px;
	aspect-ratio: 16/9;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: black;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	border: 1px solid var(--glass-border);
}

video {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	z-index: 5;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid rgba(255, 255, 255, 0.1);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.loading-text {
	font-size: 0.95rem;
	color: var(--text-secondary);
	letter-spacing: 0.05em;
}

.content-section {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem;
	text-align: center;
}

.content-section h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, white, var(--text-secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.content-section p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 3rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.footer {
	background: rgba(0, 0, 0, 0.8);
	padding: 3rem 2rem;
	margin-top: auto;
}

.footer-content {
	text-align: center;
}

.footer-text {
	color: var(--text-secondary);
	font-size: 1.1rem;
}

.footer-text a {
	color: red;
	text-decoration: none;
	font-weight: 600;
}

.footer-text a:hover {
	text-decoration: underline;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(20px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: var(--bg-card);
	backdrop-filter: blur(40px);
	border: 1px solid var(--glass-border);
	border-radius: 24px;
	padding: 3rem 2.5rem;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	transform: scale(0.9);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
	transform: scale(1);
}

.modal-icon {
	font-size: 4rem;
	text-align: center;
	margin-bottom: 1.5rem;
	filter: drop-shadow(0 0 12px var(--primary-glow));
}

.modal h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
	font-weight: 700;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, white, var(--text-secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.modal p {
	font-size: 1.05rem;
	line-height: 1.6;
	margin-bottom: 2rem;
	text-align: center;
	color: var(--text-secondary);
}

.modal-buttons {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.modal-button {
	padding: 1rem 2rem;
	border: none;
	border-radius: 14px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	letter-spacing: 0.01em;
}

.modal-button.primary {
	background: linear-gradient(135deg, var(--primary), #ff6b6b);
	color: white;
	box-shadow: 0 8px 24px var(--primary-glow);
}

.modal-button.primary:hover {
	box-shadow: 0 12px 32px var(--primary-glow);
	transform: translateY(-2px);
}

.modal-button.secondary {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	color: white;
}

.modal-button.secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

.toast {
	position: fixed;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 12px 24px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	z-index: 10000;
	transition: top 0.3s ease;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast.show {
	top: 20px;
}

#toastIcon {
	font-size: 18px;
}

@media (max-width: 768px) {
	.nav-bar {
		padding: 1rem 1.5rem;
	}

	.video-section {
		padding: 1rem;
		padding-top: 0;
	}

	.video-container {
		border-radius: 12px;
	}

	.logo {
		font-size: 1.3rem;
	}

	.haptic-control {
		padding: 0.5rem 1rem;
	}

	.modal {
		padding: 2rem 1.5rem;
	}

	.content-section {
		padding: 1.5rem;
	}

	.content-section h1 {
		font-size: 1.8rem;
	}
}