﻿.countdown-page {
	min-height: 100vh;
	padding: 40px 20px 60px;
	background: radial-gradient(circle at 20% 0%, rgba(205, 42, 62, 0.10), transparent 28%), radial-gradient(circle at 80% 0%, rgba(67, 111, 77, 0.10), transparent 28%), linear-gradient(180deg, #101722 0%, #0a1220 100%);
	color: #fff;
	box-sizing: border-box;
	overflow-x: hidden;
	position: relative;
}

	.countdown-page::before {
		content: "";
		display: block;
		width: 100%;
		height: 6px;
		margin: -40px 0 34px;
		background: linear-gradient( 90deg, #c6283c 0%, #c6283c 33.33%, #f5f5f2 33.33%, #f5f5f2 66.66%, #2f6b43 66.66%, #2f6b43 100% );
		border-radius: 999px;
		opacity: .95;
	}

.fc-title {
	text-align: center;
	font-size: clamp(2.2rem, 6vw, 4.8rem);
	line-height: 1.05;
	font-weight: 900;
	margin: 0 0 20px;
	letter-spacing: -0.03em;
	color: #f8f8f6;
	text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.fc-target {
	text-align: center;
	color: #d8dee7;
	font-size: 1rem;
	margin-bottom: 40px;
}

.fc-wrap {
	margin-top: 65px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 26px;
	flex-wrap: nowrap;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.fc-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	flex: 0 1 auto;
}

.fc-label {
	color: #f1f3f5;
	font-size: 1rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	text-align: center;
}

.fc-card {
	position: relative;
	width: 210px;
	height: 238px;
	perspective: 1000px;
	flex: 0 0 auto;
}

.fc-static,
.fc-animated {
	position: absolute;
	left: 0;
	width: 100%;
	height: 50%;
	overflow: hidden;
	border-radius: 22px;
	backface-visibility: hidden;
	/*border: solid 2px white;*/
}

.fc-top {
	top: 0;
	background: linear-gradient(180deg, #7a1f2d 0%, #5f1824 100%);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	transform-origin: bottom;
	box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
	z-index: 1;
	border: solid 2px white;
}

.fc-bottom {
	bottom: 0;
	background: linear-gradient(180deg, #173c26 0%, #102b1b 100%);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	transform-origin: top;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
	z-index: 1;
}

.fc-animated.fc-flip-top {
	top: 0;
	background: linear-gradient(180deg, #7a1f2d 0%, #5f1824 100%);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	transform-origin: bottom;
	z-index: 4;
	visibility: hidden;
	border: solid 2px white;
}

.fc-animated.fc-flip-bottom {
	bottom: 0;
	background: linear-gradient(180deg, #173c26 0%, #102b1b 100%);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	transform-origin: top;
	transform: rotateX(90deg);
	z-index: 3;
	visibility: hidden;
}

	/* fehér border overlay */
	.fc-animated.fc-flip-bottom::after {
		content: "";
		position: absolute;
		inset: 0;
		border: 2px solid white;
		border-radius: inherit;
		opacity: 0;
		pointer-events: none;
	}

/* amikor animál */
.fc-card.flip-bottom .fc-flip-bottom::after {
	animation: borderFade .42s ease-out forwards;
}

@keyframes borderFade {
	0% {
		opacity: 1;
		box-shadow: 0 0 12px rgba(255,255,255,.9);
	}

	100% {
		opacity: 0;
		box-shadow: 0 0 0 rgba(255,255,255,0);
	}
}


.fc-digit {
	position: absolute;
	left: 0;
	width: 100%;
	text-align: center;
	font-weight: 800;
	font-size: 6.4rem;
	line-height: 0.6;
	color: #f8f8f6;
	text-shadow: 0 2px 10px rgba(0,0,0,.18);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
	user-select: none;
}

.fc-top .fc-digit,
.fc-flip-top .fc-digit {
	top: 28px;
}

.fc-bottom .fc-digit,
.fc-flip-bottom .fc-digit {
	top: -91px;
}

.fc-divider {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 2px;
	background: rgba(255,255,255,.28);
	z-index: 6;
}

	.fc-divider::before,
	.fc-divider::after {
		content: "";
		position: absolute;
		top: 50%;
		width: 12px;
		height: 12px;
		margin-top: -6px;
		border-radius: 50%;
		background: #d8d8d2;
		box-shadow: 0 0 0 2px rgba(0,0,0,.18);
	}

	.fc-divider::before {
		left: -6px;
	}

	.fc-divider::after {
		right: -6px;
	}

.fc-card.flip-top .fc-flip-top {
	visibility: visible;
	animation: flipTop .42s ease-in forwards;
}

.fc-card.flip-bottom .fc-flip-bottom {
	visibility: visible;
	animation: flipBottom .42s ease-out forwards;
}

@keyframes flipTop {
	from {
		transform: rotateX(0deg);
	}

	to {
		transform: rotateX(-90deg);
	}
}

@keyframes flipBottom {
	from {
		transform: rotateX(90deg);
	}

	to {
		transform: rotateX(0deg);
	}
}

.fc-done {
	margin-top: 28px;
	text-align: center;
	color: #f8f8f6;
	font-weight: 700;
	font-size: 1.2rem;
}

/* finom magyar ritmus a feliratokon */
.fc-unit:nth-child(1) .fc-label {
	color: #e56a7b;
	background-color: white;
	padding: 5px;
	border-radius: 5px;
}

.fc-unit:nth-child(2) .fc-label {
	color: gray;
	background-color: white;
	padding: 5px;
	border-radius: 5px;
}

.fc-unit:nth-child(3) .fc-label,
.fc-unit:nth-child(4) .fc-label {
	color: #79b48a;
	background-color: white;
	padding: 5px;
	border-radius: 5px;
}

/* tablet */
@media (max-width: 980px) {
	.countdown-page {
		padding: 32px 16px 48px;
	}

		.countdown-page::before {
			margin: -32px 0 28px;
		}

	.fc-wrap {
		margin-top: 65px;
		gap: 18px;
		max-width: 760px;
	}

	.fc-card {
		width: 100px;
		height: 150px;
		top: 0px;
	}

	.fc-digit {
		font-size: 4rem;
	}

	.fc-top .fc-digit,
	.fc-flip-top .fc-digit {
		top: 18px;
	}

	.fc-bottom .fc-digit,
	.fc-flip-bottom .fc-digit {
		top: -66px;
	}

	.fc-label {
		font-size: 1rem;
		letter-spacing: .18em;
		background-color: white;
		padding: 5px;
		border-radius: 5px;
	}
}

/* mobil */
/* 📱 PORTRAIT mobil redesign */
@media (max-width: 640px) and (orientation: portrait) {

	.fc-wrap {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 14px 40px;
		justify-items: center;
		max-width: 320px;
		margin: 10% auto 0;
	}

	.fc-unit {
		width: 100%;
		align-items: center;
		gap: 20px;
	}

	.fc-card {
		width: 100%;
		max-width: 110px;
		aspect-ratio: 1 / 1.1;
		/*height: auto;*/
		border-radius: 16px;
	}

	.fc-static,
	.fc-animated {
		border-radius: 16px;
	}

	.fc-digit {
		font-size: clamp(3.2rem, 4vw, 4rem);
	}

	.fc-top .fc-digit,
	.fc-flip-top .fc-digit {
		top: 25px;
	}

	.fc-bottom .fc-digit,
	.fc-flip-bottom .fc-digit {
		top: -40px;
	}

	.fc-label {
		font-size: 0.8rem;
		letter-spacing: .1em;
	}

	/* kis vizuális boost */
	.fc-card {
		box-shadow: 0 10px 30px rgba(0,0,0,.35);
	}

	/* középre igazítás */
	.countdown-page {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

.countdown-page {
	min-height: 100vh;
	padding: 40px 20px 60px;
	background: radial-gradient(circle at 20% 0%, rgba(205, 42, 62, 0.10), transparent 28%), radial-gradient(circle at 80% 0%, rgba(67, 111, 77, 0.10), transparent 28%), linear-gradient(180deg, #101722 0%, #0a1220 100%);
	color: #fff;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

.folk {
	position: absolute;
	pointer-events: none;
	opacity: 0.14;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	z-index: 0;
	filter: drop-shadow(0 0 10px rgba(0,0,0,.15));
}

/* ugyanaz az SVG mind a 4 sarokba */
.folk-tl,
.folk-tr,
.folk-bl,
.folk-br {
	width: 260px;
	height: 260px;
	background-image: url('/img/folk-red.svg');
}

.folk-tl {
	top: 10px;
	left: 10px;
}

.folk-tr {
	top: 10px;
	right: 10px;
	transform: scaleX(-1);
}

.folk-bl {
	bottom: 10px;
	left: 10px;
	transform: scaleY(-1);
}

.folk-br {
	bottom: 10px;
	right: 10px;
	transform: scale(-1, -1);
}

/* a tartalom legyen a minták fölött */
.fc-wrap,
.fc-title,
.fc-target,
.fc-done {
	position: relative;
	z-index: 1;
}

.folk-tl {
	position: absolute;
	top: 20px;
	left: -5px;
	width: 220px;
	height: 220px;
	background: url('/images/folk-corner-red.png') no-repeat center/contain;
	opacity: 1;
	pointer-events: none;
	transform: scale(1, -1);
}

.folk-tr {
	position: absolute;
	top: 20px;
	right: -5px;
	width: 220px;
	height: 220px;
	background: url('/images/folk-corner-red.png') no-repeat center/contain;
	transform: scale(-1, -1);
	opacity: 1;
	pointer-events: none;
}

.folk-bl {
	position: absolute;
	bottom: 20px;
	left: -5px;
	width: 220px;
	height: 220px;
	background: url('/images/folk-corner-red.png') no-repeat center/contain;
	transform: scale(1, 1);
	opacity: 1;
	pointer-events: none;
}

.folk-br {
	position: absolute;
	bottom: 20px;
	right: -5px;
	width: 220px;
	height: 220px;
	background: url('/images/folk-corner-red.png') no-repeat center/contain;
	transform: scale(-1, 1);
	opacity: 1;
	pointer-events: none;
}

@media (max-width: 640px) {
	.folk-tl,
	.folk-tr,
	.folk-bl,
	.folk-br {
		width: 110px;
		height: 110px;
		opacity: 1;
	}
}

.login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: radial-gradient(circle at 20% 0%, rgba(205, 42, 62, 0.10), transparent 28%), radial-gradient(circle at 80% 0%, rgba(67, 111, 77, 0.10), transparent 28%), linear-gradient(180deg, #101722 0%, #0a1220 100%);
}

.login-card {
	width: 100%;
	max-width: 420px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 20px;
	padding: 28px;
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	color: #fff;
}

	.login-card h1 {
		margin-bottom: 22px;
		font-size: 1.8rem;
		font-weight: 800;
		text-align: center;
	}

	.login-card .form-label {
		color: #e9edf3;
		font-weight: 600;
	}

	.login-card .form-control {
		background: rgba(255,255,255,0.08);
		border: 1px solid rgba(255,255,255,0.14);
		color: #fff;
	}

		.login-card .form-control:focus {
			background: rgba(255,255,255,0.10);
			color: #fff;
			border-color: rgba(255,255,255,0.28);
			box-shadow: none;
		}

	.login-card .btn-primary {
		/*background: linear-gradient(90deg, #7a1f2d 0%, #2f6b43 100%);*/
		border: none;
		font-weight: 700;
		padding: 10px 14px;
		background-color: #0a1220;
		border: solid 1px white;
	}

	.login-card .validation-message,
	.login-card .text-danger {
		color: #ffb4b4;
	}

.admin-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: radial-gradient(circle at 20% 0%, rgba(205, 42, 62, 0.10), transparent 28%), radial-gradient(circle at 80% 0%, rgba(67, 111, 77, 0.10), transparent 28%), linear-gradient(180deg, #101722 0%, #0a1220 100%);
}

.admin-card {
	width: 100%;
	max-width: 1000px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 20px;
	padding: 28px;
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	color: #fff;
	text-align: center;
}

	.admin-card h1 {
		margin-bottom: 16px;
		font-size: 2rem;
		font-weight: 800;
	}

.admin-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 20px;
}

.admin-card-wide {
	max-width: 900px;
	text-align: left;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.stat-box {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 18px;
	padding: 18px;
	text-align: center;
}

.stat-label {
	font-size: .95rem;
	color: #d7dee8;
	margin-bottom: 8px;
}

.stat-value {
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
}

.table-wrap {
	margin-top: 20px;
	overflow-x: auto;
	border-radius: 16px;
}

@media (max-width: 640px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}

.f1 {
	border: solid 2px transparent;
}

	.f1:hover {
		border: solid 2px white;
	}

.f2 {
	border: solid 2px transparent;
}

	.f2:hover {
		border: solid 2px white;
	}

.f3 {
	border: solid 2px transparent;
}

	.f3:hover {
		border: solid 2px white;
	}

.card-container {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap; /* EZ A LÉNYEG */
}

.card-container {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap; /* EZ A LÉNYEG */
}

.card-img {
	width: 10rem;
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.main {
	margin-left: 0px;
}

.oldal_kep {
	justify-content: center !important;
}

@media (min-width: 768px) {
	.card-img {
		width: 10rem;
	}
	.main {
		margin-left: 100px;
	}
}

.fish-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 5px;
}

.fish-card {
	background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
	color: white;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

	.fish-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 30px rgba(0,0,0,0.35);
	}

.fish-card--blocked {
	background: linear-gradient(180deg, #4a1d1f 0%, #2a1012 100%);
	border: 1px solid rgba(255, 90, 90, 0.5);
}

.fish-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

	.fish-card__header h4 {
		margin: 0;
		font-size: 1.1rem;
	}

.badge-tilos {
	background: linear-gradient(90deg, #ff4d4f 0%, #dc2626 100%);
	color: white;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(220,38,38,0.35);
}

.fish-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
}

.label {
	font-size: 0.85rem;
	opacity: 0.8;
}

@media (max-width: 992px) {
	.fish-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin: 5px;
	}
}

@media (max-width: 576px) {
	.fish-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 5px;
	}

	.fish-card {
		padding: 14px;
	}

	.fish-card__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.badge-tilos {
		align-self: flex-start;
	}
}

.hero-box {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: white;
	padding: 24px;
	border-radius: 20px;
	margin-bottom: 24px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

	.hero-box h1 {
		margin: 0 0 8px 0;
		font-size: 1.8rem;
	}

	.hero-box p {
		margin: 0;
		opacity: 0.9;
	}

.rejtett {
	z-index: 1000;
	position: absolute;
	color: white;
	background-color: transparent;
	height: 20px;
	width: 20px;
}