* {
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #121212;
	color: #fff;
	margin: 0;
	padding: 0;
}

/* KÖZÖS STÍLUSOK MEZŐKNEK, GOMBOKNAK, DOBOZOKNAK */
input[type="text"],
input[type="email"],
input[type="password"],
.form-group input { /* Összevontam a specifikus input és a form-group input stílust */
	width: 100%;
	padding: 12px;
	border: 1px solid #444;
	background: #222;
	color: #fff;
	border-radius: 4px;
	font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
.form-group input:focus {
	outline: none;
	border-color: #f39c12;
}

.btn, /* Általános gomb stílus */
.btn-submit,
.btn-pay,
.webinar-btn,
.btn-interest {
	border: none;
	color: #fff;
	font-weight: bold;
	font-size: 16px; /* Ezt egységesítettem */
	border-radius: 4px; /* Ezt egységesítettem */
	cursor: pointer;
	transition: background 0.2s;
}

.btn-submit {
	width: 100%;
	padding: 14px;
	background: #f39c12;
	font-size: 20px;
}

.btn-submit:hover {
	background: #e67e22;
}

.btn-pay {
	width: 100%;
	padding: 15px;
	background: #2ecc71;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-pay.btn-orange {
	background: #e67e22;
}

.btn-pay:hover {
	background: #27ae60;
}

.btn-pay.btn-orange:hover {
	background: #d35400;
}

.btn-interest {
	background: #2ecc71;
	padding: 12px 30px;
	font-size: 16px;
	border-radius: 5px;
	transition: background 0.3s;
}

.btn-interest:hover {
	background: #27ae60;
}

/* Általános box stílus, ami sok helyen használható */
.box-base {
	background: #1a1a1a;
	padding: 30px; /* Általános padding, egyedi felülírható */
	border-radius: 8px;
	border: 1px solid #333;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* HEADER */
header {
	background: #1a1a1a;
	padding: 15px 20px;
	text-align: center;
	border-bottom: 1px solid #333;
	position: relative;
}

header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: #f39c12;
}

header h1 {
	margin: 0;
	font-size: 24px;
	color: #f39c12;
}

.main-container {
	max-width: 1200px;
	margin: 20px auto;
	padding: 0 15px;
}

/* LANDING / REGISZTRÁCIÓS FORM */
.reg-gate {
	margin: 60px auto;
	padding: 30px;
	/* box-base-ből örökölne, de itt felülírta a paddinget */
	@extend .box-base; /* Ez egy SCSS/LESS feature, CSS-ben manuálisan kell másolni */
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Duplikáció a box-base-el, de az @extend megoldaná */
}

.reg-gate h2 {
	margin-top: 0;
	text-align: center;
	color: #f39c12;
	font-size: 2em
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 20px;
	color: #bbb;
}

.error-message {
	color: #e74c3c;
	text-align: center;
	margin-bottom: 15px;
	font-weight: bold;
	background-color: #fdecea; /* Az újabb .error-message felülírja */
	padding: 10px;
	border-radius: 5px;
	border-left: 4px solid #e74c3c;
}

/* WEBINÁR ELRENDEZÉS */
.webinar-grid {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.left-column {
	flex: 3;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.right-column {
	flex: 1;
	min-width: 320px;
}

.video-box {
	position: relative;
	background: #000;
	aspect-ratio: 16/9;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: background 0.3s;
}

video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Custom Fullscreen Button */
.fullscreen-btn {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	z-index: 11;
	display: none;
	transition: background 0.2s ease;
}

.fullscreen-btn:hover {
	background: rgba(0, 0, 0, 0.8);
}

.fullscreen-btn::before {
	content: "⛶";
	font-size: 18px;
	line-height: 1;
	vertical-align: middle;
}

.video-box:fullscreen .fullscreen-btn {
	display: none;
}

/* Video controls hiding */
video::-webkit-media-controls,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-toggle-closed-captions-button,
video::-webkit-media-controls-fullscreen-button,
video[controls]::-moz-range-track,
video[controls]::-moz-progress-bar,
video[controls]::-moz-volume-slider,
video:not([controls]),
video::-webkit-media-controls-enclosure {
	display: none !important;
	pointer-events: none; /* Összevontam */
}


.audio-notice {
	background: #e74c3c;
	color: white;
	padding: 15px 30px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	animation: pulse 1.5s infinite;
	user-select: none;
	text-align: center;
}

/* CHAT BOX */
.chat-box {
	background: #1a1a1a;
	display: flex;
	flex-direction: column;
	height: 470px;
	border-radius: 8px;
	border: 1px solid #333;
	overflow: hidden;
}

.chat-header {
    background: #2c3e50;
    color: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #3498db;
}

.chat-header .title {
    font-size: 16px;
}

.chat-header .viewers {
    background: #203041;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-header .viewers::before {
    content: "●";
    animation: pulse 1.5s infinite;
}

.chat-header .viewers span {
    font-weight: bold;
    margin-left: 4px;
}

.chat-messages {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	font-size: 14px;
}

/* Scrollbar stílusok összevonása */
.chat-messages::-webkit-scrollbar {
    width: 5px;
}
.chat-messages::-webkit-scrollbar-track {
    background: #2c3e50;
    border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
}


.chat-msg,
.chat-system-msg { /* Összevontam a közös stílusokat */
	margin-bottom: 12px;
	line-height: 1.4;
	border-bottom: 1px solid #222;
	padding-bottom: 6px;
}

.chat-name {
	font-weight: bold;
	color: #3498db;
}

.chat-system-msg {
	font-style: italic;
}

.chat-input-area {
	padding: 10px;
	background: #111;
	display: flex;
	border-top: 1px solid #333;
}

.chat-input-area input {
	flex: 1;
	padding: 10px;
	border: 1px solid #333;
	border-radius: 4px;
	background: #222;
	color: #fff;
}

.chat-input-area input:focus {
	outline: none;
	border-color: #3498db;
}

.chat-input-area input:disabled {
	background-color: #333;
	cursor: not-allowed;
	opacity: 0.7;
}

/* SALES FORM ÉS VISSZASZÁMLÁLÓ KONTÉNER */
.sales-and-countdown-wrapper {
	display: none;
	flex-direction: row;
	gap: 20px;
	align-items: flex-start;
	width: 100%;
}

.sales-and-countdown-wrapper.show {
	display: flex;
	animation: fadeIn 0.8s ease-out;
}

.sales-box {
	padding: 25px; /* Felülírja a box-base paddingjét */
	border: 1px solid #27ae60; /* Felülírja a box-base borderét */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Felülírja a box-base shadow-t */
	flex: 2;
	position: relative;
	border-left: 4px solid #2ecc71; /* Ezt az újabb sales-box felülírja */
	border-radius: 10px; /* Újabb sales-box felülírja a 8px-et */
	margin: 15px 0; /* Újabb sales-box hozzáadja */
	display:none; /* Újabb sales-box hozzáadja */
	@extend .box-base; /* Általános alapstílus */
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sales-box h3 {
	margin-top: 0;
	font-size: 20px;
	color: #2ecc71; /* Az újabb sales-box h3 felülírja */
}

.sales-info {
	font-size: 20px;
	color: #ccc;
	line-height: 1.5;
	margin-bottom: 20px;
	background: #222;
	padding: 12px;
	border-radius: 4px;
	margin: 15px 0; /* Újabb sales-info hozzáadja */
	padding-left: 15px; /* Újabb sales-info hozzáadja */
	border-left: 3px solid #2ecc71; /* Újabb sales-info hozzáadja */
}

.webinar-countdown {
	background: #222;
	color: #fff;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid #444;
	text-align: center;
	font-size: 14px;
	flex: 1;
	min-width: 150px;
	margin-top: 20px;
	height: 300px;
}

.webinar-countdown strong {
	color: #f39c12;
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
}

.webinar-countdown #countdown-webinar-end {
	font-size: 24px;
	font-weight: bold;
	color: #e74c3c;
	letter-spacing: 1px;
}

.waiting-box {
	text-align: center;
	padding: 80px 20px;
	font-size: 20px;
	@extend .box-base; /* Általános alapstílus */
}

#countdown {
	font-size: 42px;
	color: #e74c3c;
	font-weight: bold;
	margin-top: 20px;
	letter-spacing: 2px;
}

/* LIVE VÉGE / ZÁRÓ KÉPERNYŐ STÍLUS */
.webinar-ended-box {
	text-align: center;
	padding: 60px 20px;
	border: 1px solid #e74c3c; /* Felülírja a box-base borderét */
	@extend .box-base; /* Általános alapstílus */
}

.webinar-ended-box h2 {
	color: #e74c3c;
	font-size: 32px;
	margin-top: 0;
}

.webinar-ended-box p {
	color: #bbb;
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 900px) {
	.webinar-grid {
		flex-direction: column;
	}

	.right-column {
		min-width: 100%;
	}

	.chat-box {
		height: 350px;
	}

	body {
		padding: 0;
	}

	.main-container {
		margin: 10px auto;
		padding: 0 10px;
	}

	header h1 {
		font-size: 20px;
	}

	/* Kisebb képernyőn egymás alá kerülnek */
	.sales-and-countdown-wrapper {
		flex-direction: column;
	}

	.sales-box,
	.webinar-countdown {
		flex: none;
		width: 100%;
	}

}

/* LANDING INTRO SZÖVEG */
.landing-intro {
	margin: 40px auto 30px auto;
	text-align: center;
	color: #eee;
	@extend .box-base; /* Általános alapstílus */
}

.landing-intro h1 {
	font-size: 32px;
	margin-bottom: 15px;
	color: #f39c12;
}

.landing-intro .lead {
	font-size: 18px;
	color: #ccc;
	margin-bottom: 20px;
}

.landing-intro h2 {
    color: #f7a01c; /* Narancssárga szín a címnek, a gombok alapján */
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.landing-intro ul {
    list-style: none; /* Kikapcsolja az alapértelmezett listajeleket */
    padding: 0;
    margin: 0;
	width:56%;
	margin:0 auto
}

.landing-intro li {
    background-color: #2b2b2b; /* Kicsit világosabb háttér a listaelemeknek */
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid #f7a01c; /* Narancssárga sáv a bal oldalon */
    border-radius: 5px;
    line-height: 1.6;
    font-size: 1.1em;
}

.landing-intro li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .landing-intro ul {
        list-style: none;
        width: 90%;
    }
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 30px;
	border-radius: 8px;
	border: 1px solid #333;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.webinar-select {
	text-align: center;
	margin: 40px auto 30px auto;
	color: #eee;
}

.webinar-select h3 {
	font-size: 2em;
	margin-bottom: 20px;
	color: #f39c12;
}

.webinar-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.webinar-btn {
	background: #222;
	border: 2px solid #444;
	color: #fff;
	padding: 20px 30px;
	font-size: 30px;
	border-radius: 8px;
	width: 200px;
	transition: 0.2s;
	@extend .btn;
}

.webinar-btn span {
	font-size: 25px;
	color: #f39c12;
}

.webinar-btn:hover {
	background: #333;
	border-color: #f39c12;
}

.webinar-btn.active {
	background: #f39c12;
	border-color: #f39c12;
	color: #000;
}

.webinar-btn.active span {
	color: white;
}

.popup-message {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #27ae60;
	color: white;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	z-index: 1000;
	display: none;
	animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}
.user-info {
	background: #1a1a1a;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 18px;
}

/* Animációk */
@keyframes pulse {
	0% {
		transform: scale(1);
        opacity: 1; /* Hozzáadva a pulzáló pöttyhöz is */
	}

	50% {
		transform: scale(1.03);
        opacity: 0.4; /* Hozzáadva a pulzáló pöttyhöz is */
	}

	100% {
		transform: scale(1);
        opacity: 1; /* Hozzáadva a pulzáló pöttyhöz is */
	}
}

footer a, footer p {
	text-decoration: none;
	color:gray;
}

footer a:hover {
	color:#f39c12
}