/* ==========================================================================
   Vizon Academy – front-end styles
   Same look as the rest of vizonsportz.in:
   Barlow Condensed headings, Outfit text, lime green #AADD00, near-black #0f0f0f.
   Everything is scoped under .vz-wrap so it never changes the theme.
   ========================================================================== */

.vz-wrap {
	--vz-green: #AADD00;
	--vz-green-dark: #8fbd00;
	--vz-dark: #0f0f0f;
	--vz-white: #ffffff;
	--vz-light: #f5f5f5;
	--vz-border: #e8e8e8;
	--vz-text: #555555;
	--vz-muted: #888888;
	--vz-red: #d93025;
	--vz-amber-bg: #fff4d6;
	--vz-amber: #8a5a00;
	--vz-radius: 10px;
	--vz-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);

	font-family: 'Outfit', sans-serif;
	color: var(--vz-dark);
	line-height: 1.6;
	width: 100%;
}
.vz-wrap *,
.vz-wrap *::before,
.vz-wrap *::after { box-sizing: border-box; }
.vz-wrap img { max-width: 100%; height: auto; display: block; }
.vz-wrap a { color: inherit; }
.vz-wrap [hidden] { display: none !important; }

.vz-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type (same system as About / Gallery pages) ---------- */
.vz-label {
	display: block;
	font-size: 11px; font-weight: 700;
	letter-spacing: 3px; text-transform: uppercase;
	color: var(--vz-green-dark);
	margin: 0 0 10px;
}
.vz-heading,
.vz-title,
.vz-subheading {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700; line-height: 1.1; letter-spacing: 0.5px;
	color: var(--vz-dark);
	margin: 0 0 16px;
	text-transform: none;
}
.vz-title { font-size: 46px; margin: 12px 0 20px; }
.vz-heading { font-size: 34px; }
.vz-subheading { font-size: 24px; margin-top: 8px; }
.vz-body { font-size: 16px; line-height: 1.75; color: var(--vz-text); margin: 0 0 16px; }
.vz-help { font-size: 13px; color: var(--vz-muted); margin: 6px 0 0; }
.vz-center { text-align: center; margin: 16px 0 0; }
.vz-content { color: var(--vz-text); font-size: 16px; line-height: 1.75; }
.vz-content p { margin: 0 0 14px; }
.vz-content ul, .vz-content ol { margin: 0 0 14px 20px; padding: 0; }

/* ---------- Page header (list page) — same look as the Gallery / Achievements pages ---------- */
.vz-wrap .vz-page-head {
	background: var(--vz-light);
	padding: 38px 24px 32px;
	margin: 0;
	text-align: center;
}
.vz-wrap .vz-page-head .vz-label { font-size: 14px; letter-spacing: 3px; margin: 0 0 10px; line-height: 1.4; }
.vz-wrap .vz-page-head .vz-heading { font-size: 50px; line-height: 1.05; max-width: 820px; margin: 0 auto 12px; }
.vz-wrap .vz-page-head .vz-body { max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.6; }

.vz-section { padding: 44px 0 0; }
.vz-section:last-child { padding-bottom: 56px; }
.vz-wrap.vz-list .vz-section .vz-subheading { font-size: 34px; line-height: 1.1; margin: 0 0 22px; }
.vz-section--past .vz-card { opacity: 0.92; }

/* ---------- Buttons ---------- */
.vz-wrap .vz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 26px;
	border-radius: 30px; border: 1px solid transparent;
	font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
	letter-spacing: 0.3px; text-decoration: none !important;
	cursor: pointer; transition: all 0.25s ease;
	line-height: 1.2; text-align: center;
	text-transform: none; box-shadow: none; width: auto; height: auto;
}
.vz-wrap .vz-btn .vz-icon { width: 18px; height: 18px; }
.vz-wrap .vz-btn--primary { background: var(--vz-green) !important; color: var(--vz-dark) !important; border-color: var(--vz-green) !important; }
.vz-wrap .vz-btn--primary:hover { background: var(--vz-dark) !important; color: var(--vz-green) !important; border-color: var(--vz-dark) !important; }
.vz-wrap .vz-btn--dark { background: var(--vz-dark) !important; color: var(--vz-green) !important; border-color: var(--vz-dark) !important; }
.vz-wrap .vz-btn--dark:hover { background: var(--vz-green) !important; color: var(--vz-dark) !important; border-color: var(--vz-green) !important; }
.vz-wrap .vz-btn--outline { background: var(--vz-white) !important; color: var(--vz-dark) !important; border-color: var(--vz-border) !important; }
.vz-wrap .vz-btn--outline:hover { border-color: var(--vz-green) !important; }
.vz-wrap .vz-btn--whatsapp { background: #25d366 !important; color: #fff !important; border-color: #25d366 !important; font-size: 15px; }
.vz-wrap .vz-btn--whatsapp:hover { background: #1ebe5a !important; border-color: #1ebe5a !important; }
.vz-wrap .vz-btn--block { display: flex; width: 100%; }
.vz-wrap .vz-btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.vz-wrap .vz-btn[disabled] { opacity: 0.6; cursor: wait; }
.vz-mobile-only { display: none; }

/* ---------- Badges & chips ---------- */
.vz-badge {
	display: inline-block;
	font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	padding: 5px 12px; border-radius: 20px;
	background: var(--vz-light); color: var(--vz-text);
	line-height: 1.3;
}
.vz-badge--tournament-open      { background: var(--vz-green); color: var(--vz-dark); }
.vz-badge--tournament-upcoming  { background: var(--vz-dark); color: var(--vz-green); }
.vz-badge--tournament-closed    { background: var(--vz-border); color: var(--vz-text); }
.vz-badge--tournament-completed { background: var(--vz-light); color: var(--vz-muted); }
.vz-badge--payment-pending      { background: var(--vz-amber-bg); color: var(--vz-amber); }
.vz-badge--payment-paid,
.vz-badge--reg-confirmed        { background: #e9f7c2; color: #3d5600; }
.vz-badge--reg-rejected         { background: #fde8e7; color: var(--vz-red); }
.vz-badge--reg-submitted        { background: var(--vz-dark); color: var(--vz-green); }

.vz-chip {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
	border: 1px solid var(--vz-border); border-radius: 20px; padding: 3px 10px;
	color: var(--vz-text); white-space: nowrap;
}

/* ---------- Icons ---------- */
.vz-icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Tournament cards ---------- */
.vz-grid {
	display: grid;
	/* as many 280px+ columns as fit: 3 on a full-width page, 1 in a narrow column */
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.vz-card {
	display: flex; flex-direction: column;
	background: var(--vz-white);
	border: 1px solid var(--vz-border);
	border-radius: var(--vz-radius);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vz-card:hover { transform: translateY(-4px); box-shadow: var(--vz-shadow); }
.vz-card__media {
	position: relative; display: block;
	aspect-ratio: 3 / 4; background: var(--vz-dark);
	overflow: hidden;
}
/* Brochure: shown whole (never cut off), on a soft blurred copy of itself */
.vz-card__blur {
	position: absolute; inset: -24px;
	background-size: cover; background-position: center;
	filter: blur(18px) brightness(0.55); transform: scale(1.08);
}
.vz-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.vz-card:hover .vz-card__media img { transform: scale(1.03); }
.vz-card__media .vz-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.vz-card__placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; min-height: 220px;
	background: var(--vz-dark); color: var(--vz-green);
	border-radius: var(--vz-radius);
}
.vz-card__media .vz-card__placeholder { border-radius: 0; }
.vz-card__placeholder .vz-icon { width: 64px; height: 64px; }
.vz-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.vz-card__title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 26px; font-weight: 700; line-height: 1.15;
	margin: 0 0 12px;
}
.vz-card__title a { text-decoration: none; }
.vz-card__title a:hover { color: var(--vz-green-dark); }
.vz-card__meta { list-style: none; margin: 0 0 12px; padding: 0; }
.vz-card__meta li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--vz-text); margin: 0 0 8px; }
.vz-card__meta .vz-icon { color: var(--vz-green-dark); margin-top: 2px; }
.vz-card__note { font-size: 13px; font-weight: 600; color: var(--vz-dark); margin: 0 0 14px; }
.vz-card__foot { margin-top: auto; }
.vz-card__foot .vz-btn { width: 100%; }

.vz-empty {
	text-align: center; padding: 56px 20px;
	border: 1px dashed var(--vz-border); border-radius: var(--vz-radius);
	color: var(--vz-muted);
}
.vz-empty .vz-icon { width: 40px; height: 40px; color: var(--vz-green-dark); margin: 0 auto 10px; }
.vz-empty p { margin: 0; }

/* ---------- Single page hero ---------- */
.vz-single { padding-top: 40px; }
.vz-hero {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px; align-items: start;
}
.vz-hero__poster {
	display: block; border-radius: var(--vz-radius); overflow: hidden;
	background: var(--vz-light); cursor: zoom-in;
}
.vz-hero__poster img { width: 100%; }
.vz-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.vz-thumbs a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.vz-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.vz-thumbs a:hover img { transform: scale(1.06); }

.vz-facts { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--vz-border); }
.vz-facts li {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 0; border-bottom: 1px solid var(--vz-border);
}
.vz-facts .vz-icon {
	width: 38px; height: 38px; padding: 9px;
	background: var(--vz-light); border-radius: 50%; color: var(--vz-dark);
}
.vz-facts strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--vz-muted); }
.vz-facts span { font-size: 16px; font-weight: 500; color: var(--vz-dark); }
.vz-facts a { color: var(--vz-green-dark); font-weight: 600; }
.vz-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Categories ---------- */
.vz-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vz-cat {
	display: flex; flex-direction: column;
	border: 1px solid var(--vz-border); border-radius: var(--vz-radius);
	padding: 18px; background: var(--vz-white);
}
.vz-cat.is-unavailable { background: var(--vz-light); }
.vz-cat__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.vz-cat__name { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.vz-cat__rule { font-size: 14px; color: var(--vz-text); margin: 0 0 14px; }
.vz-cat__bottom {
	margin-top: auto; padding-top: 12px; border-top: 1px solid var(--vz-border);
	display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.vz-cat__fee { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; }
.vz-cat__fee small { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500; color: var(--vz-muted); }
.vz-cat__seats { font-size: 13px; font-weight: 600; color: var(--vz-green-dark); text-align: right; }
.vz-cat.is-unavailable .vz-cat__seats { color: var(--vz-red); }

/* ---------- Notices & alerts ---------- */
.vz-notice {
	background: var(--vz-light); border-left: 4px solid var(--vz-green);
	padding: 18px 20px; border-radius: 6px; color: var(--vz-dark);
}
.vz-alert { border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; outline: none; }
.vz-alert ul { margin: 8px 0 0 18px; padding: 0; }
.vz-alert--error { background: #fde8e7; color: #8c1d15; border: 1px solid #f6c5c1; }

/* ---------- Form ---------- */
.vz-form { max-width: 820px; }
.vz-fieldset {
	border: 1px solid var(--vz-border); border-radius: var(--vz-radius);
	padding: 24px; margin: 0 0 20px; background: var(--vz-white);
	min-width: 0;
}
.vz-legend {
	display: flex; align-items: center; gap: 10px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 22px; font-weight: 700; padding: 0 8px; margin-left: -8px;
	color: var(--vz-dark); flex-wrap: wrap; max-width: 100%;
}
.vz-legend small { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; color: var(--vz-muted); }
.vz-step {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--vz-dark); color: var(--vz-green);
	font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
}
.vz-grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.vz-field { display: flex; flex-direction: column; min-width: 0; }
.vz-field--full { grid-column: 1 / -1; }
.vz-field label { font-size: 14px; font-weight: 600; color: var(--vz-dark); margin: 0 0 6px; }
.vz-req { color: var(--vz-red); }
.vz-wrap .vz-input {
	width: 100%; min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #d6d6d6; border-radius: 8px;
	background: var(--vz-white); color: var(--vz-dark);
	font-family: 'Outfit', sans-serif; font-size: 16px; /* 16px stops iPhone zoom */
	line-height: 1.4; box-shadow: none; margin: 0;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none; appearance: none;
}
.vz-wrap select.vz-input {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f0f0f' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.vz-wrap textarea.vz-input { min-height: 96px; resize: vertical; }
.vz-wrap .vz-input:focus {
	outline: none; border-color: var(--vz-green-dark);
	box-shadow: 0 0 0 3px rgba(170, 221, 0, 0.3);
}
.vz-field.has-error .vz-input { border-color: var(--vz-red); }
.vz-error-text { color: var(--vz-red); font-size: 13px; font-weight: 500; margin: 6px 0 0; }

.vz-catinfo {
	margin-top: 16px; padding: 16px 18px;
	background: var(--vz-light); border-radius: 8px;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.vz-catinfo div strong { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vz-muted); }
.vz-catinfo div span { font-weight: 600; font-size: 15px; }

.vz-terms { margin: 0 0 18px; }
.vz-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--vz-dark); }
.vz-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vz-dark); flex: 0 0 auto; }
.vz-check a { color: var(--vz-green-dark); font-weight: 600; }
.vz-terms.has-error .vz-check { color: var(--vz-red); }
.vz-paynote { font-size: 14px; color: var(--vz-text); background: var(--vz-light); border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; }

/* hidden trap field for robots */
.vz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Confirmation ---------- */
.vz-confirm {
	max-width: 820px; margin: 0 auto 48px;
	border: 2px solid var(--vz-green); border-radius: 14px;
	padding: 32px; background: var(--vz-white);
	outline: none; scroll-margin-top: 120px;
}
.vz-confirm__head { display: flex; gap: 18px; align-items: flex-start; }
.vz-confirm__head .vz-heading { margin-bottom: 6px; }
.vz-confirm__icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--vz-green); color: var(--vz-dark);
}
.vz-confirm__icon .vz-icon { width: 28px; height: 28px; stroke-width: 2.6; }
.vz-ref {
	display: flex; flex-direction: column; align-items: center;
	background: var(--vz-dark); color: var(--vz-white);
	border-radius: var(--vz-radius); padding: 18px; margin: 8px 0 16px;
}
.vz-ref span { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #aaa; }
.vz-ref strong { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; letter-spacing: 2px; color: var(--vz-green); }
.vz-confirm__status { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.vz-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 24px; }
.vz-summary div { border-bottom: 1px solid var(--vz-border); padding-bottom: 10px; }
.vz-summary dt { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vz-muted); }
.vz-wrap .vz-summary dd { margin: 2px 0 0; padding: 0; font-weight: 600; }
.vz-wrap .vz-summary dt { margin: 0; padding: 0; }

.vz-pay { background: var(--vz-light); border-radius: var(--vz-radius); padding: 22px; margin: 0 0 24px; }
.vz-pay__grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.vz-pay__qr { background: var(--vz-white); border-radius: var(--vz-radius); padding: 12px; text-align: center; width: 220px; max-width: 100%; }
.vz-pay__qr img { width: 100%; }
.vz-pay__qr span { display: block; font-size: 12px; color: var(--vz-muted); margin-top: 6px; }
.vz-pay__details { flex: 1; min-width: 220px; }
.vz-pay__label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vz-muted); margin: 0 0 4px; }
.vz-pay__upi { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.vz-pay__upi code {
	font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700;
	background: var(--vz-white); border: 1px solid var(--vz-border); border-radius: 8px;
	padding: 8px 12px; color: var(--vz-dark); word-break: break-all;
}
.vz-pay__amount { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 700; margin: 0; }
.vz-pay .vz-paynote { background: var(--vz-white); margin: 16px 0 0; }
.vz-pay__details .vz-mobile-only { margin-bottom: 14px; }

/* ---------- Lightbox ---------- */
.vz-lightbox {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(10, 10, 10, 0.94);
	display: flex; align-items: center; justify-content: center;
	padding: 40px;
	animation: vzFade 0.25s ease;
}
@keyframes vzFade { from { opacity: 0; } to { opacity: 1; } }
.vz-lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.vz-lightbox button {
	position: fixed; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0;
	display: flex; align-items: center; justify-content: center;
}
.vz-lightbox button:hover { background: rgba(170, 221, 0, 0.85); color: var(--vz-dark); }
.vz-lightbox .vz-lb-close { top: 20px; right: 20px; }
.vz-lightbox .vz-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.vz-lightbox .vz-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll-in animation (right → left, like the rest of the site) ---------- */
.vz-js .vz-fade { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.35s ease; }
.vz-js .vz-fade.is-visible { opacity: 1; transform: none; }
.vz-js .vz-fade.is-visible:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
	.vz-js .vz-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vz-hero { gap: 32px; }
	.vz-title { font-size: 38px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.vz-container { padding: 0 16px; }
	.vz-wrap .vz-page-head { padding: 26px 18px 22px; }
	.vz-wrap .vz-page-head .vz-label { font-size: 13px; letter-spacing: 2.5px; margin-bottom: 8px; }
	.vz-wrap .vz-page-head .vz-heading { font-size: 38px; margin-bottom: 10px; }
	.vz-wrap .vz-page-head .vz-body { font-size: 16px; }
	.vz-wrap.vz-list .vz-section .vz-subheading { font-size: 30px; margin-bottom: 16px; }
	.vz-section { padding-top: 28px; }
	.vz-section:last-child { padding-bottom: 36px; }
	.vz-heading { font-size: 28px; }
	.vz-title { font-size: 32px; }
	.vz-section { padding-top: 36px; }
	.vz-section:last-child { padding-bottom: 56px; }
	.vz-single { padding-top: 20px; }
	.vz-hero { grid-template-columns: 1fr; gap: 24px; }
	.vz-hero__media { max-width: 460px; width: 100%; margin: 0 auto; }
	.vz-actions .vz-btn { flex: 1 1 auto; }
	.vz-grid-form, .vz-summary, .vz-catinfo { grid-template-columns: 1fr; }
	.vz-fieldset { padding: 18px 16px; }
	.vz-confirm { padding: 22px 16px; }
	.vz-ref strong { font-size: 32px; }
	.vz-mobile-only { display: inline-flex; }
	.vz-lightbox { padding: 12px; }
	.vz-lightbox .vz-lb-prev { left: 8px; }
	.vz-lightbox .vz-lb-next { right: 8px; }
}
@media (max-width: 560px) {
	.vz-grid, .vz-cats { grid-template-columns: 1fr; }
	.vz-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
