@font-face {
    font-family: 'TeleNeoWeb';
    src: url('fonts/TeleNeoWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'TeleNeoWeb';
    src: url('fonts/TeleNeoWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'TeleNeoWeb';
    src: url('fonts/TeleNeoWeb-ExtraBold.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

:root {
	--magenta: #e20074;
	--magenta-hover: #9b0050;
	--white: #f6f6f6;
	--blue: #6aaee0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'TeleNeoWeb', sans-serif; }

body {
	background-color: var(--magenta);
}

section.hero header {
	position: relative;
	aspect-ratio: 168 / 100;
	max-width: 1600px;
	width: 100%;
	height: auto;
	margin-inline: auto;

}

section.hero header h1 img {
	display: block;
	width: 100%;
	height: auto;
}

section.hero header > img {
	position: absolute;
	height: auto;
}

section.hero .glava {
	width: 32.62%;
	top: 1.5%;
	left: 54.76%;
}

section.hero .lopta {
	width: 14.52%;
	top: 22.8%;
	left: 3.8%;
}

section.hero .zvizdaljka {
	width: 11.62%;
	top: 76.4%;
	left: 39.86%;
}

p, label, input[type="text"], input[type="email"], h4 {
	font-size: clamp(16px,1.2vmax,24px);
}

.style-text {
	max-width: 80ch;
	width: 100%;
	margin-inline: auto;
}

.style-text * {
	color: var(--white);
	text-align: center;
}

.style-text h2, h3 {
	font-weight: 900;
	margin-block: 2rem 1rem;
}

.d-flex {
	display: flex;
	gap: 2rem;
	margin-inline: auto;

}

.d-flex > div {
	width: 100%;
	border: 1px solid rgba(255,255,255,.3);
	padding: 40px;
}

.container { 
	max-width: 1024px; 
	margin: 0 auto; 
}

.form-container { 
	max-width: 600px;
	margin-inline: auto;  
	border: 1px solid rgba(255,255,255,.3);
}

.card {
	padding: 2rem; 
	position: relative; 
	overflow: hidden; 
}




















.form-section { 
	margin-bottom: 2rem; 
}

.form-row { 
	display: grid; 
	grid-template-columns: 1fr; 
	gap: 1rem; 
	margin-bottom: 1rem; 
}

@media (min-width: 768px) { 

	.form-row { 
		grid-template-columns: 1fr 1fr; 
	} 
}

.form-group { 
	margin-bottom: 1rem; 
}
label { 
	display: block; 
	font-weight: 700; 
	color: var(--white); 
	margin-bottom: 0.35rem; 
}

input[type="text"], input[type="email"] { 
	width: 100%; 
	padding: 0.65rem 1rem;
	border: none; 
	transition: all 0.2s; 
	outline: none; 
	background-color: rgba(255,255,255,.3);
}

input[type="text"]:focus, input[type="email"]:focus { 
	border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); 
}

/* File Dropzone */
.file-drop { 
	border: 2px dashed var(--border-color); border-radius: var(--radius-xl); padding: 2.5rem 1.5rem; 
	text-align: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; 
	display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fafc; 
}
.file-drop:hover { background: #f1f5f9; border-color: #cbd5e1; }
.file-drop input { display: none; }
.file-drop svg { width: 2.5rem; height: 2.5rem; color: #94a3b8; margin-bottom: 0.75rem; }
.file-drop p { font-size: 0.875rem; color: var(--text-muted); }
.file-drop p strong { color: var(--text-main); }
.file-drop .small { font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem; }

/* Previews */
.local-preview { margin-top: 1rem; }
.local-preview-title { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.5rem; }
.media-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); background: #f1f5f9; display: flex; justify-content: center; padding: 0.5rem;}
.media-container img, .media-container video { max-width: 100%; max-height: 15rem; object-fit: contain; border-radius: 0.25rem; }
.file-name-display { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* Buttons */
.btn-submit { 
	width: 100%; background: var(--primary); color: white; border: none; padding: 0.85rem 1.5rem; 
	border-radius: var(--radius-xl); font-size: 1rem; font-weight: 600; cursor: pointer; 
	transition: background 0.2s, box-shadow 0.2s; outline: none; 
}
.btn-submit:hover { background: var(--primary-hover); }
.btn-submit:focus { box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3); }

/* Modal Styles */
.modal-overlay {
	position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center; z-index: 50;
	opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
	background: var(--panel-bg); border-radius: var(--radius-xl); width: 90%; max-width: 400px;
	padding: 2.5rem 2rem; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: all 0.3s ease;
	text-align: center;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; }
.modal-icon.success { color: var(--success); }
.modal-icon.error { color: var(--error-text); }
.modal-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-main); }
.modal-message { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; line-height: 1.5; }
.btn-close {
	background: #e2e8f0; color: var(--text-main); border: none; padding: 0.75rem 2rem;
	border-radius: var(--radius-lg); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.btn-close:hover { background: #cbd5e1; }

/* Utilities */
.hidden { display: none !important; }

/* Loading Overlay */
.loading-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.8); backdrop-filter: blur(4px); z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius-xl); }
.loader { width: 3rem; height: 3rem; border: 4px solid var(--border-color); border-top-color: var(--primary); border-radius: 50%; animation: spinner 1s linear infinite; margin-bottom: 1rem; }
.loading-text { color: var(--primary); font-weight: 500; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }