/* 24580A Inferno team showcase — dark glass cards on the The7 gradient */

.inferno-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 64px 24px 48px;
	color: #e5e7eb;
}

.inferno-section {
	margin-bottom: 56px;
}

.inferno-section h2 {
	font-size: 1.85rem;
	margin: 0 0 12px;
	color: #ffffff;
}

.inferno-section-lede {
	color: #cbd5e1;
	margin: 0 0 28px;
	max-width: 680px;
}

/* ---------- Hero ---------- */
.inferno-hero {
	margin-bottom: 40px;
	text-align: center;
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(239, 68, 68, 0.10), transparent 60%),
		radial-gradient(ellipse at 50% 100%, rgba(26, 126, 251, 0.08), transparent 60%),
		rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.inferno-hero-photo {
	margin: 0;
	padding: 0;
}

.inferno-hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	object-position: center 40%;
}

.inferno-hero-photo figcaption {
	padding: 12px 24px;
	font-size: 0.85rem;
	color: #94a3b8;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.2);
}

.inferno-hero-inner {
	padding: 40px 32px 48px;
}

.inferno-team-badge {
	display: inline-block;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	padding: 6px 12px;
	border: 1.5px solid rgba(239, 68, 68, 0.55);
	border-radius: 6px;
	color: #fca5a5;
	background: rgba(239, 68, 68, 0.08);
	margin-bottom: 16px;
}

.inferno-team-name {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 4px 0 8px;
	color: #ffffff;
	text-transform: uppercase;
}

.inferno-tagline {
	font-size: 1.15rem;
	color: #cbd5e1;
	margin: 0 0 32px;
}

.inferno-headline-strip {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.inferno-headline-strip li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.inferno-headline-icon {
	font-size: 1.6rem;
	margin-bottom: 4px;
}

.inferno-headline-line {
	color: #ffffff;
	font-size: 1.05rem;
	text-align: center;
}

.inferno-headline-sub {
	color: #94a3b8;
	font-size: 0.85rem;
	text-align: center;
	line-height: 1.4;
}

.inferno-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
}

/* ---------- Buttons ---------- */
.inferno-button {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	background: #1a7efb;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}

.inferno-button:hover {
	background: #135bcf;
}

.inferno-button--ghost {
	background: transparent;
	color: #1a7efb !important;
	border: 1.5px solid #1a7efb;
}

.inferno-button--ghost:hover {
	background: rgba(26, 126, 251, 0.08);
}

/* ---------- Quick facts ---------- */
.inferno-quickfacts {
	margin-bottom: 48px;
}

.inferno-quickfacts-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}

.inferno-quickfacts-grid > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
}

.inferno-qf-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.inferno-qf-value {
	font-size: 0.95rem;
	color: #ffffff;
	font-weight: 600;
}

/* ---------- World rank panel ---------- */
.inferno-world-rank-card {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	align-items: center;
	padding: 32px;
	background: linear-gradient(135deg, rgba(26, 126, 251, 0.10), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(26, 126, 251, 0.35);
	border-radius: 14px;
}

.inferno-world-rank-rank {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 12px;
}

.inferno-world-rank-num {
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.inferno-world-rank-label {
	margin-top: 6px;
	font-size: 0.95rem;
	color: #cbd5e1;
}

.inferno-world-rank-standings {
	font-size: 1rem;
	color: #cbd5e1;
	margin: 0 0 16px;
}

.inferno-world-rank-scores {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	gap: 20px;
}

.inferno-world-rank-scores li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.inferno-score-num {
	font-size: 1.6rem;
	font-weight: 700;
	color: #ffffff;
}

.inferno-score-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
}

.inferno-world-rank-note {
	margin: 0;
	font-size: 0.9rem;
	color: #94a3b8;
}

/* ---------- Roster ---------- */
.inferno-roster-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.inferno-member-card {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 18px 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.inferno-member-card:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(26, 126, 251, 0.4);
}

.inferno-member-avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #1a7efb, #6366f1);
	color: #ffffff;
	font-weight: 700;
	font-size: 1.2rem;
}

.inferno-member-avatar--coach {
	background: linear-gradient(135deg, #ef4444, #f97316);
}

.inferno-member-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.inferno-member-name {
	font-weight: 700;
	color: #ffffff;
}

.inferno-member-grade {
	font-size: 0.8rem;
	color: #94a3b8;
}

.inferno-member-role {
	font-size: 0.9rem;
	color: #cbd5e1;
}

/* ---------- Events ---------- */
.inferno-event-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.inferno-event-card {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	padding: 22px 24px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.inferno-event-card:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
}

.inferno-event-card--headline {
	background: linear-gradient(135deg, rgba(26, 126, 251, 0.10), rgba(255, 255, 255, 0.03));
	border-color: rgba(26, 126, 251, 0.35);
}

.inferno-event-card--worlds {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(239, 68, 68, 0.06));
	border-color: rgba(245, 158, 11, 0.45);
}

.inferno-event-card--excellence {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.06));
	border-color: rgba(168, 85, 247, 0.4);
}

.inferno-event-card--signature {
	border-color: rgba(26, 126, 251, 0.3);
}

.inferno-event-name {
	margin: 0 0 4px;
	font-size: 1.1rem;
	color: #ffffff;
}

.inferno-event-sub {
	display: block;
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 6px;
}

.inferno-event-where {
	font-size: 0.85rem;
	color: #cbd5e1;
}

.inferno-event-awards {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	justify-content: center;
}

.inferno-award-pill {
	display: inline-block;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 0.85rem;
	color: #ffffff;
	font-weight: 500;
}

.inferno-event-card--worlds .inferno-award-pill,
.inferno-event-card--excellence .inferno-award-pill {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
}

.inferno-event-note {
	margin: 4px 0 0;
	font-size: 0.85rem;
	color: #cbd5e1;
	font-style: italic;
}

/* ---------- Gallery — carousel control ---------- */
.inferno-gallery > h2 {
	margin-bottom: 12px;
}

.inferno-carousel {
	margin-top: 36px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

.inferno-carousel-header h3 {
	margin: 0 0 4px;
	font-size: 1.25rem;
	color: #ffffff;
}

.inferno-carousel-sub {
	margin: 0 0 8px;
	font-size: 0.88rem;
	color: #94a3b8;
}

.inferno-carousel-lede {
	margin: 0 0 18px;
	color: #cbd5e1;
	max-width: 720px;
	line-height: 1.55;
}

/* Stage: prev | frame | next */
.inferno-carousel-stage {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	gap: 12px;
	align-items: stretch;
}

.inferno-carousel-frame {
	position: relative;
	background: #0a0d12;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.inferno-carousel-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease;
}

.inferno-carousel-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.inferno-carousel-zoom {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: zoom-in;
}

.inferno-carousel-zoom:focus-visible {
	outline: 2px solid #60a5fa;
	outline-offset: -2px;
}

.inferno-carousel-zoom img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.inferno-carousel-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 12px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	color: #ffffff;
	font-size: 0.92rem;
}

/* Prev / next buttons */
.inferno-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	color: #ffffff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.inferno-carousel-nav:hover {
	background: rgba(26, 126, 251, 0.18);
	border-color: rgba(26, 126, 251, 0.5);
}

.inferno-carousel-nav:focus-visible {
	outline: 2px solid #60a5fa;
	outline-offset: 2px;
}

.inferno-carousel-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Counter strip */
.inferno-carousel-controls {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

.inferno-carousel-counter {
	font-size: 0.8rem;
	color: #94a3b8;
	font-variant-numeric: tabular-nums;
}

.inferno-carousel-current {
	color: #ffffff;
	font-weight: 600;
}

/* Thumbnails strip */
.inferno-carousel-thumbs {
	list-style: none;
	margin: 14px 0 0;
	padding: 8px 0;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.inferno-carousel-thumbs::-webkit-scrollbar {
	height: 6px;
}

.inferno-carousel-thumbs::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 3px;
}

.inferno-carousel-thumb {
	flex: 0 0 auto;
}

.inferno-carousel-thumb button {
	display: block;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.15s ease, opacity 0.15s ease;
	opacity: 0.6;
}

.inferno-carousel-thumb button:hover {
	opacity: 0.9;
}

.inferno-carousel-thumb.is-active button {
	border-color: #1a7efb;
	opacity: 1;
}

.inferno-carousel-thumb img {
	display: block;
	width: 88px;
	height: 56px;
	object-fit: cover;
}

/* ---------- Lightbox ---------- */
.inferno-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	cursor: zoom-out;
}

.inferno-lightbox[hidden] {
	display: none;
}

.inferno-lightbox-img {
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6);
}

.inferno-lightbox-caption {
	margin: 0;
	max-width: 80vw;
	color: #cbd5e1;
	font-size: 0.95rem;
	text-align: center;
}

.inferno-lightbox-close {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 44px;
	height: 44px;
	font-size: 2rem;
	line-height: 1;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.18s ease;
}

.inferno-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.16);
}

/* ---------- Sponsors ---------- */
.inferno-sponsor-grid {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}

.inferno-sponsor-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	font-weight: 600;
	color: #ffffff;
	text-align: center;
}

.inferno-sponsor-card--placeholder {
	background: transparent;
	border: 1.5px dashed rgba(255, 255, 255, 0.22);
	padding: 0;
}

.inferno-sponsor-card--placeholder a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	height: 100%;
	min-height: 100px;
	padding: 16px;
	color: #9ca3af;
	text-decoration: none;
	border-radius: 12px;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.inferno-sponsor-card--placeholder a:hover {
	background: rgba(26, 126, 251, 0.06);
	color: #60a5fa;
}

.inferno-sponsor-cta {
	font-size: 0.82rem;
}

.inferno-sponsor-link {
	margin: 18px 0 0;
}

.inferno-sponsor-link a {
	color: #60a5fa;
	font-weight: 500;
}

/* ---------- Join footer ---------- */
.inferno-join {
	text-align: center;
	margin-top: 56px;
	padding-top: 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inferno-join-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 16px 0 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
	.inferno-page {
		padding: 40px 16px 36px;
	}
	.inferno-section {
		margin-bottom: 40px;
	}
	.inferno-section h2 {
		font-size: 1.5rem;
	}
	.inferno-hero-inner {
		padding: 28px 20px 32px;
	}
	.inferno-hero-photo img {
		max-height: 320px;
	}
	.inferno-headline-strip {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.inferno-quickfacts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.inferno-world-rank-card {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px;
	}
	.inferno-world-rank-num {
		font-size: 3.5rem;
	}
	.inferno-event-card {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.inferno-carousel {
		padding: 16px;
	}
	.inferno-carousel-stage {
		grid-template-columns: 36px 1fr 36px;
		gap: 8px;
	}
	.inferno-carousel-nav {
		font-size: 1.4rem;
	}
	.inferno-carousel-thumb img {
		width: 72px;
		height: 48px;
	}
	.inferno-lightbox {
		padding: 16px;
	}
}
