/* Ferry Cameras Paywall – scoped styles */

.ferry-paywall {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	min-height: 480px;
	background: radial-gradient(ellipse at top, #1e293b 0%, #0f1419 70%);
	border-radius: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ferry-paywall-card {
	background: #1a2332;
	border: 1px solid #2d3a4f;
	border-radius: 20px;
	padding: 2.5rem 2rem;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	color: #e7ecf3;
}

.ferry-logo {
	font-size: 3rem;
	margin-bottom: 0.75rem;
}

.ferry-paywall-card h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: #e7ecf3;
}

.ferry-subtitle {
	color: #8b9bb4;
	font-size: 0.95rem;
	margin-bottom: 1.75rem;
}

.ferry-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	text-align: left;
}

.ferry-feature {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.25);
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	color: #93c5fd;
}

.ferry-price-box {
	margin-bottom: 0.75rem;
}

.ferry-price {
	font-size: 2.75rem;
	font-weight: 800;
	color: #e7ecf3;
}

.ferry-period {
	font-size: 1.1rem;
	color: #8b9bb4;
}

.ferry-desc {
	color: #8b9bb4;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.ferry-btn-primary {
	width: 100%;
	background: #3b82f6;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 0.9rem 1.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.ferry-btn-primary:hover {
	background: #2563eb;
}

.ferry-btn-primary:active {
	transform: scale(0.98);
}

.ferry-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ferry-note {
	margin-top: 1.25rem;
	font-size: 0.8rem;
	color: #8b9bb4;
}

/* ========== APP / CAMERAS ========== */
.ferry-app {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: #0f1419;
	color: #e7ecf3;
	border-radius: 12px;
	overflow: hidden;
}

.ferry-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	background: #1a2332;
	border-bottom: 1px solid #2d3a4f;
}

.ferry-header-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ferry-header-left h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: #e7ecf3;
}

.ferry-live-badge {
	background: #ef4444;
	color: white;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	letter-spacing: 0.05em;
	animation: ferry-pulse 2s infinite;
}

@keyframes ferry-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

.ferry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.25rem;
	padding: 1.25rem;
}

.ferry-camera-card {
	background: #1a2332;
	border: 1px solid #2d3a4f;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.ferry-camera-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #2d3a4f;
}

.ferry-camera-header h3 {
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0;
	color: #e7ecf3;
}

.ferry-status {
	font-size: 0.75rem;
	color: #8b9bb4;
}

.ferry-status.live {
	color: #22c55e;
}

.ferry-status.error {
	color: #ef4444;
}

.ferry-video-wrapper {
	position: relative;
	background: #000;
	aspect-ratio: 16 / 9;
}

.ferry-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ferry-footer {
	text-align: center;
	padding: 1rem;
	color: #8b9bb4;
	font-size: 0.8rem;
	border-top: 1px solid #2d3a4f;
}

@media (max-width: 600px) {
	.ferry-features {
		grid-template-columns: 1fr;
	}

	.ferry-grid {
		grid-template-columns: 1fr;
		padding: 0.75rem;
	}
}

.ferry-header-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ferry-btn-secondary {
	background: transparent;
	color: #8b9bb4;
	border: 1px solid #2d3a4f;
	border-radius: 8px;
	padding: 0.45rem 0.9rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s;
}

.ferry-btn-secondary:hover {
	border-color: #8b9bb4;
	color: #e7ecf3;
}

.ferry-btn-secondary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.ferry-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}
