@charset "utf-8";
/* CSS Document 

TemplateMo 601 Chain Summit

https://templatemo.com/tm-601-chain-summit

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Dark ritual palette */
	--primary: #ff2a2a;   /* ember red */
	--secondary: #b0002a; /* blood crimson */
	--accent: #7a001c;    /* deep wine */
	--dark: #06030a;
	--darker: #020106;
	--light: #f3eefc;
	--gray: rgba(243,238,252,.68);
	--success: #ffcc66;   /* candle flame */
	--shadow: rgba(0,0,0,.6);
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: var(--dark);
	color: var(--light);
	overflow-x: hidden;
	line-height: 1.6;
}

p a {
	color: var(--accent); 
	text-decoration: none; 
	transition: color 0.3s ease;
}
p a:hover {
	color: var(--success); 
	text-decoration: none; 
	transition: color 0.3s ease;
}

/* Background Animation */
.bg-animation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	background:
		radial-gradient(1000px 700px at 50% 40%, rgba(176,0,42,.20), transparent 60%),
		radial-gradient(900px 600px at 20% 80%, rgba(255,42,42,.10), transparent 65%),
		linear-gradient(180deg, var(--darker) 0%, var(--dark) 55%, #010007 100%);
}

/* Strong vignette + grain */
.bg-animation::before{
	content:"";
	position:absolute;
	inset:-2px;
	background:
		radial-gradient(900px 700px at 50% 45%, transparent 35%, rgba(0,0,0,.85) 78%),
		repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px),
		repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px);
	opacity:.55;
	mix-blend-mode: overlay;
}

/* ===== Fog layers ===== */
.fog{
	position:absolute;
	left:-20%;
	width:140%;
	height:60%;
	top:35%;
	background:
		radial-gradient(circle at 10% 30%, rgba(255,255,255,.08), transparent 45%),
		radial-gradient(circle at 45% 60%, rgba(255,255,255,.06), transparent 50%),
		radial-gradient(circle at 80% 40%, rgba(255,255,255,.07), transparent 55%);
	filter: blur(18px);
	opacity:.22;
	transform: translateX(0) translateY(0) scale(1.05);
}
.fog1{ animation: fogDrift1 22s ease-in-out infinite; }
.fog2{ top:48%; opacity:.18; filter: blur(22px); animation: fogDrift2 28s ease-in-out infinite; }
.fog3{ top:28%; opacity:.14; filter: blur(26px); animation: fogDrift3 32s ease-in-out infinite; }

@keyframes fogDrift1{
	0%,100%{ transform: translateX(-2%) translateY(0) scale(1.08); }
	50%{ transform: translateX(3%) translateY(-2%) scale(1.12); }
}
@keyframes fogDrift2{
	0%,100%{ transform: translateX(4%) translateY(0) scale(1.12); }
	50%{ transform: translateX(-3%) translateY(2%) scale(1.06); }
}
@keyframes fogDrift3{
	0%,100%{ transform: translateX(-4%) translateY(1%) scale(1.14); }
	50%{ transform: translateX(2%) translateY(-1%) scale(1.08); }
}

/* ===== Candle silhouettes ===== */
.candles{
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:190px;
	z-index:1;
	opacity:.9;
	mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,.6), transparent);
}
.candle{
	position:absolute;
	bottom:0;
	width:34px;
	height:120px;
	background: #000;
	border-radius: 10px 10px 6px 6px;
	box-shadow: 0 -10px 30px rgba(0,0,0,.7);
}
.candle.tall{ height:150px; }
.candle.short{ height:95px; }
.candle::before{
	content:"";
	position:absolute;
	top:-18px;
	left:50%;
	width:10px;
	height:18px;
	transform: translateX(-50%);
	background: #000;
	border-radius: 999px 999px 8px 8px;
}
/* flame */
.candle::after{
	content:"";
	position:absolute;
	top:-42px;
	left:50%;
	width:18px;
	height:26px;
	transform: translateX(-50%);
	background: radial-gradient(circle at 50% 70%, rgba(255,204,102,.95), rgba(255,102,0,.55) 55%, rgba(255,42,42,.15) 75%, transparent 80%);
	border-radius: 999px 999px 999px 999px;
	filter: blur(.2px) drop-shadow(0 0 12px rgba(255,204,102,.35)) drop-shadow(0 0 22px rgba(176,0,42,.20));
	animation: flameFlicker 1.6s ease-in-out infinite;
	opacity:.95;
}
@keyframes flameFlicker{
	0%,100%{ transform: translateX(-50%) scale(1); opacity:.9; }
	50%{ transform: translateX(-50%) scale(1.08) rotate(-2deg); opacity:1; }
}

.neural-network {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.1;
}

.node {
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--primary);
	border-radius: 50%;
	animation: pulse 4s infinite;
}

.connection {
	position: absolute;
	height: 1px;
	background: linear-gradient(90deg, var(--primary), transparent);
	animation: flow 6s infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.3;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.2);
	}
}

@keyframes flow {
	0% {
		opacity: 0;
		transform: scaleX(0);
	}

	50% {
		opacity: 1;
		transform: scaleX(1);
	}

	100% {
		opacity: 0;
		transform: scaleX(0);
	}
}

/* Header */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(10, 10, 15, 0.9);
	backdrop-filter: blur(20px);
	z-index: 1000;
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: translateY(-2px);
}

.logo-icon {
	width: 40px;
	height: 40px;
}

.logo-text {
	font-size: 1.5rem;
	font-weight: bold;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 0.5rem;
}

.nav-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	padding: 0.6rem 1.2rem;
	border-radius: 25px;
	font-weight: 500;
	font-size: 0.95rem;
	background: transparent;
}

.nav-links a:hover {
	color: var(--light);
	background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
	color: var(--dark);
	background: linear-gradient(45deg, var(--primary), var(--accent));
	font-weight: 600;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
	opacity: 0;
}

.nav-links a:hover::after {
	width: 30px;
	opacity: 1;
}

.nav-links a.active::after {
	display: none;
}

.mobile-menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	z-index: 1001;
	padding: 0.5rem;
	border-radius: 8px;
	transition: background 0.3s ease;
}

.mobile-menu:hover {
	background: rgba(255, 255, 255, 0.05);
}

.mobile-menu span {
	width: 25px;
	height: 2px;
	background: var(--light);
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(20, 20, 30, 0.98));
	backdrop-filter: blur(20px);
	z-index: 1000;
	padding-top: 80px;
}

.mobile-nav.active {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.mobile-nav a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 1.2rem;
	margin: 0.5rem 0;
	padding: 1rem 2rem;
	border-radius: 30px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	min-width: 250px;
	text-align: center;
	font-weight: 500;
	position: relative;
	overflow: hidden;
}

.mobile-nav a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.mobile-nav a:hover::before {
	left: 100%;
}

.mobile-nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(0, 255, 255, 0.3);
	color: var(--primary);
	transform: scale(1.02);
}

.mobile-nav a.active {
	background: linear-gradient(45deg, var(--primary), var(--accent));
	color: var(--dark);
	font-weight: 600;
	border-color: transparent;
}

/* Hero Section */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	max-width: 800px;
	padding: 0 2rem;
	z-index: 2;
}

.hero h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: 1rem;
	background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
	from {
		filter: drop-shadow(0 0 18px rgba(176,0,42,.30)) drop-shadow(0 0 40px rgba(255,42,42,.10));
	}

	to {
		filter: drop-shadow(0 0 26px rgba(255,42,42,.22)) drop-shadow(0 0 56px rgba(122,0,28,.18));
	}
}

.hero p {
	font-size: 1.2rem;
	color: var(--gray);
	margin-bottom: 2rem;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.stat {
	text-align: center;
}

.stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
	display: block;
}

.stat-label {
	color: var(--gray);
	font-size: 0.9rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	padding: 1rem 2rem;
	border: none;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-primary {
	background: linear-gradient(45deg, var(--primary), var(--accent));
	color: var(--dark);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
	background: transparent;
	color: var(--light);
	border: 2px solid var(--primary);
}

.btn-secondary:hover {
	background: var(--primary);
	color: var(--dark);
}

/* Countdown */
.countdown {
	display: flex;
	gap: 2rem;
	justify-content: center;
	margin: 3rem 0;
	flex-wrap: wrap;
}

.countdown-item {
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	padding: 1rem;
	border-radius: 15px;
	border: 1px solid rgba(0, 255, 255, 0.2);
}

.countdown-number {
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
	display: block;
}

.countdown-label {
	color: var(--gray);
	font-size: 0.8rem;
}

/* Section Styles */
.section {
	padding: 5rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.section h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	text-align: center;
	margin-bottom: 3rem;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Enhanced About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-bottom: 3rem;
}

.about-text {
	font-size: 1.1rem;
	color: var(--gray);
	position: relative;
}

.about-text p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.about-text::before {
	content: '';
	position: absolute;
	left: -2rem;
	top: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(to bottom, var(--primary), var(--secondary));
	border-radius: 2px;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.about-stat {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	padding: 1.5rem;
	border-radius: 15px;
	text-align: center;
	border: 1px solid rgba(0, 255, 255, 0.2);
	transition: all 0.3s ease;
}

.about-stat:hover {
	transform: translateY(-5px);
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.about-stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
	display: block;
	margin-bottom: 0.5rem;
}

.about-stat-label {
	color: var(--gray);
	font-size: 0.9rem;
}

.about-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.blockchain-visual {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	padding: 2rem;
	justify-items: center;
	position: relative;
}

.blockchain-visual::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 200px;
	border: 2px dashed rgba(0, 255, 255, 0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.block {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark);
	font-weight: bold;
	font-size: 0.9rem;
	animation: hexPulse 8s infinite;
	position: relative;
	overflow: hidden;
	z-index: 2;
}

.block::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	animation: hexShine 6s infinite;
}

.block:nth-child(odd) {
	animation-delay: -4s;
}

.block:nth-child(even) {
	animation-delay: -2s;
}

@keyframes hexPulse {

	0%,
	100% {
		transform: scale(1) rotate(0deg);
		box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
	}

	50% {
		transform: scale(1.1) rotate(180deg);
		box-shadow: 0 0 40px rgba(255, 0, 255, 0.6);
	}
}

@keyframes hexShine {
	0% {
		left: -100%;
	}

	50% {
		left: 100%;
	}

	100% {
		left: -100%;
	}
}

/* Hexagonal decorative elements */
.hex-decoration {
	position: absolute;
	width: 30px;
	height: 30px;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
	opacity: 0.1;
	animation: hexFloat 12s infinite;
}

@keyframes hexFloat {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(180deg);
	}
}

/* Speakers Section */
.speakers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.speaker-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 255, 255, 0.1);
}

.speaker-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
	border-color: var(--primary);
}

.speaker-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--dark);
}

.speaker-name {
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.speaker-title {
	color: var(--primary);
	margin-bottom: 1rem;
}

.speaker-bio {
	color: var(--gray);
	font-size: 0.9rem;
}

/* Compact Schedule Section */
.schedule-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tab-btn {
	padding: 0.8rem 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--gray);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9rem;
	backdrop-filter: blur(10px);
}

.tab-btn.active {
	background: linear-gradient(45deg, var(--primary), var(--accent));
	color: var(--dark);
	border-color: transparent;
	transform: scale(1.05);
}

.schedule-content {
	display: none;
}

.schedule-content.active {
	display: block;
	animation: slideIn 0.4s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.timeline {
	display: grid;
	gap: 1rem;
	max-width: 900px;
	margin: 0 auto;
}

.timeline-item {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	border: 1px solid rgba(0, 255, 255, 0.1);
	overflow: hidden;
	transition: all 0.3s ease;
}

.timeline-item:hover {
	border-color: var(--primary);
	box-shadow: 0 5px 20px rgba(0, 255, 255, 0.15);
}

.timeline-header {
	padding: 1.2rem;
	cursor: pointer;
	display: grid;
	grid-template-columns: 120px 1fr auto;
	gap: 1rem;
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	transition: background 0.3s ease;
}

.timeline-header:hover {
	background: rgba(0, 255, 255, 0.05);
}

.timeline-time {
	color: var(--primary);
	font-weight: bold;
	font-size: 0.9rem;
	text-align: center;
	background: rgba(0, 255, 255, 0.1);
	padding: 0.5rem;
	border-radius: 8px;
	border: 1px solid rgba(0, 255, 255, 0.2);
}

.timeline-info {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.timeline-title {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--light);
	margin: 0;
}

.timeline-speaker {
	color: var(--primary);
	font-size: 0.9rem;
	font-weight: 500;
}

.timeline-collapse-icon {
	font-size: 1rem;
	transition: transform 0.3s ease;
	color: var(--primary);
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 255, 255, 0.1);
	border-radius: 50%;
}

.timeline-item.expanded .timeline-collapse-icon {
	transform: rotate(180deg);
	background: var(--primary);
	color: var(--dark);
}

.timeline-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 1.2rem;
}

.timeline-item.expanded .timeline-details {
	max-height: 150px;
	padding: 0 1.2rem 1.2rem;
}

.timeline-desc {
	color: var(--gray);
	font-size: 0.95rem;
	line-height: 1.6;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Sponsors Section - New Design */
.sponsors-section {
	background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
	border-radius: 20px;
	padding: 3rem;
	margin: 2rem 0;
	position: relative;
	overflow: hidden;
}

.sponsors-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.1), transparent 50%),
		radial-gradient(circle at 70% 70%, rgba(255, 0, 255, 0.1), transparent 50%);
	opacity: 0.6;
}

.sponsor-tiers {
	display: grid;
	gap: 3rem;
	position: relative;
	z-index: 2;
}

.sponsor-tier {
	text-align: center;
}

.tier-title {
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 2rem;
	position: relative;
	display: inline-block;
}

.tier-title.platinum {
	background: linear-gradient(45deg, #e5e7eb, #ffffff, #e5e7eb);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;

}

.tier-title.gold {
	background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.tier-title.silver {
	background: linear-gradient(45deg, #9ca3af, #d1d5db, #9ca3af);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.tier-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 2px;
}

.sponsors-grid {
	display: grid;
	gap: 2rem;
	align-items: center;
	justify-items: center;
}

.sponsors-grid.platinum {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sponsors-grid.gold {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.sponsors-grid.silver {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.sponsor-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(15px);
	border-radius: 25px;
	padding: 2.5rem;
	text-align: center;
	transition: all 0.4s ease;
	border: 2px solid rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
	width: 100%;
}

.sponsor-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.6s ease;
}

.sponsor-card:hover::before {
	left: 100%;
}

.sponsor-card.platinum {
	border-color: rgba(229, 231, 235, 0.3);
	max-width: 350px;
}

.sponsor-card.platinum:hover {
	transform: translateY(-15px) scale(1.02);
	border-color: #e5e7eb;
	box-shadow: 0 25px 50px rgba(229, 231, 235, 0.25);
}

.sponsor-card.gold {
	border-color: rgba(251, 191, 36, 0.3);
	max-width: 300px;
}

.sponsor-card.gold:hover {
	transform: translateY(-12px) scale(1.02);
	border-color: #fbbf24;
	box-shadow: 0 20px 40px rgba(251, 191, 36, 0.25);
}

.sponsor-card.silver {
	border-color: rgba(156, 163, 175, 0.3);
	max-width: 250px;
}

.sponsor-card.silver:hover {
	transform: translateY(-10px) scale(1.02);
	border-color: #9ca3af;
	box-shadow: 0 15px 30px rgba(156, 163, 175, 0.25);
}

.sponsor-logo {
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark);
	font-weight: bold;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.sponsor-card.platinum .sponsor-logo {
	width: 140px;
	height: 140px;
	background: linear-gradient(135deg, #f3f4f6, #ffffff, #e5e7eb);
	font-size: 2.2rem;
	box-shadow: 0 10px 30px rgba(229, 231, 235, 0.3);
}

.sponsor-card.gold .sponsor-logo {
	width: 120px;
	height: 120px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
	font-size: 2rem;
	box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.sponsor-card.silver .sponsor-logo {
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #9ca3af, #d1d5db, #6b7280);
	font-size: 1.8rem;
	box-shadow: 0 6px 20px rgba(156, 163, 175, 0.3);
}

.sponsor-name {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 0.8rem;
	color: var(--light);
}

.sponsor-card.platinum .sponsor-name {
	font-size: 1.6rem;
}

.sponsor-description {
	color: var(--gray);
	font-size: 0.95rem;
	line-height: 1.5;
	font-style: italic;
}

.sponsor-card.platinum .sponsor-description {
	font-size: 1rem;
}

/* Simple Registration Section */
.register-section {
	background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(255, 0, 255, 0.08));
	border-radius: 20px;
	padding: 4rem 2rem;
	margin: 2rem auto;
	max-width: 600px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.register-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 40%);
	animation: rotate 20s linear infinite;
}

.register-content {
	position: relative;
	z-index: 2;
}

.register-title {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.register-subtitle {
	color: var(--gray);
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

.email-form {
	display: flex;
	gap: 1rem;
	max-width: 450px;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: center;
}

.email-input {
	flex: 1;
	min-width: 250px;
	padding: 1rem 1.5rem;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 50px;
	color: var(--light);
	font-size: 1rem;
	transition: all 0.3s ease;
	font-family: inherit;
}

.email-input::placeholder {
	color: var(--gray);
}

.email-input:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* === FIX CENTRAGE BOUTON PASSWORD (mobile) === */
.password-box {
  align-items: center; /* centre les enfants dans la colonne */
}

.password-box input {
  width: 100%;         /* input plein largeur */
}

.password-box .submit-btn,
.password-box button.submit-btn {
  align-self: center;  /* le vrai centrage en flex */
  display: inline-flex;
  justify-content: center;
  width: fit-content;  /* évite l'étirement */
  margin: 0 auto;      /* backup */
}

/* Option: bouton plus “propre” sur mobile */
@media (max-width: 600px) {
  .password-box .submit-btn,
  .password-box button.submit-btn {
    width: 100%;
    max-width: 360px;
  }
}



.form-message {
	margin-top: 1.5rem;
	padding: 1rem;
	border-radius: 10px;
	display: none;
	animation: slideIn 0.4s ease;
}

.form-message.success {
	background: rgba(0, 255, 136, 0.1);
	border: 1px solid rgba(0, 255, 136, 0.3);
	color: var(--success);
}

.form-message.error {
	background: rgba(255, 0, 0, 0.1);
	border: 1px solid rgba(255, 0, 0, 0.3);
	color: #ff6b6b;
}

/* Contact Info Section */
.contact-info-section {
	margin-top: 3rem;
	padding: 3rem 2rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	max-width: 1000px;
	margin: 0 auto;
	align-items: start;
}

.contact-form-column {
	background: rgba(255, 255, 255, 0.05);
	padding: 2rem;
	border-radius: 15px;
	border: 1px solid rgba(0, 255, 255, 0.1);
}

.contact-form-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-field label {
	color: var(--light);
	font-size: 0.9rem;
	font-weight: 500;
}

.form-field input,
.form-field textarea {
	padding: 0.8rem 1rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	color: var(--light);
	font-size: 0.95rem;
	font-family: inherit;
	transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.form-field textarea {
	resize: vertical;
	min-height: 100px;
}

.contact-submit-btn {
	padding: 0.8rem 2rem;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	border: none;
	border-radius: 25px;
	color: var(--dark);
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.contact-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.contact-info-column {
	padding: 2rem;
}

.contact-info-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 2rem;
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.contact-info-grid {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.contact-icon {
	width: 45px;
	height: 45px;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--dark);
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.contact-label {
	font-size: 0.85rem;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact-value {
	color: var(--gray);
	font-size: 0.95rem;
	line-height: 1.4;
}

.contact-value a {
	color: var(--gray);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-value a:hover {
	color: var(--primary);
}

@media (max-width: 768px) {
	.contact-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.contact-form-column {
		padding: 1.5rem;
	}

	.contact-info-column {
		padding: 1.5rem;
		background: rgba(255, 255, 255, 0.05);
		border-radius: 15px;
		border: 1px solid rgba(0, 255, 255, 0.1);
	}
}

/* Footer */
footer {
	background: var(--darker);
	padding: 3rem 2rem 1rem;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
	margin-top: 2rem; 
	color: var(--gray); 
	font-size: 0.85rem;
}

footer p a {
	color: var(--gray); 
	text-decoration: none; 
	transition: color 0.3s ease;
}
footer p a:hover {
	color: var(--secondary); 
	text-decoration: none; 
	transition: color 0.3s ease;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin: 2rem 0;
}

.social-link {
	width: 50px;
	height: 50px;
	background: linear-gradient(45deg, var(--primary), var(--accent));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--dark);
	font-weight: bold;
	transition: all 0.3s ease;
}

.social-link:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Particles */
.particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.particle {
	position: absolute;
	width: 3px;
	height: 3px;
	background: radial-gradient(circle, rgba(255,204,102,.95), rgba(255,42,42,.55) 55%, transparent 70%);
	border-radius: 50%;
	filter: blur(.2px) drop-shadow(0 0 10px rgba(255,204,102,.16));
	animation: emberRise 12s linear infinite;
}

@keyframes emberRise {

	0%,
	100% {
		transform: translateY(110vh) translateX(0);
		opacity: 0;
	}

	10% {
		opacity: .85;
	}

	90% {
		opacity: .6;
	}

	100% {
		transform: translateY(-100px) translateX(100px);
		opacity: 0;
	}
}

/* Scroll-triggered animations */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

.animate-on-scroll.slide-left {
	transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animated {
	transform: translateX(0);
}

.animate-on-scroll.slide-right {
	transform: translateX(50px);
}

.animate-on-scroll.slide-right.animated {
	transform: translateX(0);
}

.animate-on-scroll.scale-up {
	transform: scale(0.8);
}

.animate-on-scroll.scale-up.animated {
	transform: scale(1);
}

.stagger-animation {
	animation-delay: calc(var(--stagger) * 0.1s);
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.mobile-menu {
		display: flex;
	}

	.hero-stats {
		gap: 1.5rem;
	}

	.countdown {
		gap: 0.5rem;
	}

	.countdown-item {
		min-width: 70px;
		padding: 0.8rem 0.5rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.btn {
		width: 100%;
		max-width: 280px;
	}

	.about-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.about-text::before {
		display: none;
	}

	.about-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.blockchain-visual {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		padding: 1.5rem;
	}

	.block {
		width: 60px;
		height: 60px;
		font-size: 0.8rem;
	}

	.timeline-header {
		grid-template-columns: 1fr;
		gap: 0.8rem;
		padding: 1rem;
	}

	.timeline-time {
		width: 100%;
		text-align: center;
	}

	.timeline-info {
		text-align: center;
	}

	.sponsors-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.sponsors-section {
		padding: 2rem 1rem;
		margin: 1rem 0;
	}

	.sponsor-tiers {
		gap: 2rem;
	}

	.tier-title {
		font-size: 1.4rem;
	}

	.sponsors-grid.platinum,
	.sponsors-grid.gold,
	.sponsors-grid.silver {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.sponsor-card {
		padding: 1.5rem;
		max-width: none;
	}

	.sponsor-card.platinum .sponsor-logo,
	.sponsor-card.gold .sponsor-logo,
	.sponsor-card.silver .sponsor-logo {
		width: 80px;
		height: 80px;
		font-size: 1.4rem;
	}

	.sponsor-name {
		font-size: 1.1rem;
	}

	.sponsor-description {
		font-size: 0.8rem;
	}
}

.password-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, 90vw);
  margin-inline: auto;
}

.password-box input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  color: #fff;
  outline: none;
}

.password-message {
  min-height: 1.2em;
  color: #ff6b6b;
  font-size: 0.95rem;
}
/* ===== Theme: Dark Ritual ===== */
:root{
  --bg0:#050308;
  --bg1:#090612;
  --ink:#e9e3ff;
  --muted: rgba(233,227,255,.65);

  --accent:#b0002a;      /* rouge sombre */
  --accent2:#ff2a6d;     /* magenta/rose néon */
  --glow: rgba(255,42,109,.18);
  --border: rgba(255,255,255,.10);

  --card: rgba(10,6,18,.55);
  --card2: rgba(10,6,18,.35);
}

.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  /* base background */
  background:
    radial-gradient(1200px 600px at 50% 35%, rgba(176,0,42,.12), transparent 55%),
    radial-gradient(900px 480px at 20% 80%, rgba(255,42,109,.10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  color: var(--ink);
}

/* Background layer: vignette + grain + symboles subtils */
.cult-bg{
  position:absolute;
  inset:-2px;
  pointer-events:none;
  z-index:0;

  /* 3 couches: vignette, grain, symboles */
  background:
    radial-gradient(900px 700px at 50% 40%, transparent 35%, rgba(0,0,0,.78) 75%),
    /* grain: pseudo bruit via repeating gradients */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 2px,
      transpa


/* =========================================================
   CULT THEME OVERRIDES (red/black + fog + candle silhouettes)
   ========================================================= */

/* Shift template palette to "ritual" */
:root{
  --primary: #ff2a2a;
  --secondary: #b0002a;
  --accent: #ff2a6d;
  --dark: #050308;
  --darker: #020107;
  --light: #f3e9ff;
  --gray: rgba(243,233,255,.62);
  --success: #ff2a6d;
}

/* Global background */
body{
  background: radial-gradient(900px 600px at 50% 20%, rgba(176,0,42,.20), transparent 55%),
              radial-gradient(900px 600px at 20% 80%, rgba(255,42,109,.10), transparent 60%),
              linear-gradient(180deg, #07020f, #020107);
  color: var(--light);
}

/* Subtle vignette + grain */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(900px 700px at 50% 40%, transparent 35%, rgba(0,0,0,.85) 80%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 7px);
  mix-blend-mode: overlay;
  opacity: .55;
}

/* Make sure page content sits above overlays */
header, section, footer { position: relative; z-index: 2; }

/* Header tweaks */
header{
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,42,42,.12);
  backdrop-filter: blur(10px);
}
.logo span{
  background: linear-gradient(90deg, #ff2a2a, #ff2a6d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links a:hover{ color: #ff8aa6; }
.hamburger span{ background: rgba(243,233,255,.8); }

/* Background animation container */
.bg-animation{
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events:none;
}

/* Hide original "neural network" visuals if you want */
.neural-network{ opacity: 0.05; filter: blur(0.2px); }
.particles{ opacity: 0.10; }

/* Fog layers */
.bg-animation .fog{
  position:absolute;
  inset:-20%;
  background: radial-gradient(closest-side at 30% 50%, rgba(255,42,42,.16), transparent 55%),
              radial-gradient(closest-side at 70% 55%, rgba(255,42,109,.10), transparent 60%),
              radial-gradient(closest-side at 50% 60%, rgba(255,255,255,.05), transparent 62%);
  filter: blur(18px);
  opacity: .55;
  transform: translate3d(0,0,0);
}
.bg-animation .fog.fog1{ animation: fogDrift1 18s ease-in-out infinite; }
.bg-animation .fog.fog2{ opacity:.35; filter: blur(26px); animation: fogDrift2 26s ease-in-out infinite; }
.bg-animation .fog.fog3{ opacity:.25; filter: blur(34px); animation: fogDrift3 34s ease-in-out infinite; }

@keyframes fogDrift1{
  0%,100%{ transform: translate(-3%, -2%) scale(1.02); }
  50%{ transform: translate(4%, 2%) scale(1.06); }
}
@keyframes fogDrift2{
  0%,100%{ transform: translate(6%, 3%) scale(1.05); }
  50%{ transform: translate(-5%, -2%) scale(1.10); }
}
@keyframes fogDrift3{
  0%,100%{ transform: translate(-2%, 6%) scale(1.08); }
  50%{ transform: translate(3%, -6%) scale(1.14); }
}

/* Candle silhouettes row */
.bg-animation .candles{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 160px;
  opacity: .95;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.65));
}
.bg-animation .candles::before{
  /* "floor" haze */
  content:"";
  position:absolute;
  left:-10%; right:-10%; bottom:-10px;
  height: 120px;
  background: radial-gradient(70% 120% at 50% 20%, rgba(255,42,42,.18), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.75));
  filter: blur(4px);
}

/* Each candle */
.bg-animation .candle{
  position:absolute;
  bottom: 18px;
  width: 22px;
  height: 62px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, rgba(20,8,14,.90), rgba(0,0,0,.98));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,42,42,.05);
}
.bg-animation .candle::before{
  /* wick */
  content:"";
  position:absolute;
  top:-10px; left:50%;
  width: 2px; height: 10px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.9);
  border-radius: 2px;
}
.bg-animation .candle::after{
  /* flame */
  content:"";
  position:absolute;
  top:-22px; left:50%;
  width: 10px; height: 18px;
  transform: translateX(-50%) rotate(8deg);
  background: radial-gradient(circle at 50% 65%, rgba(255,220,170,.95), rgba(255,90,60,.85) 55%, rgba(176,0,42,.0) 72%);
  border-radius: 50% 50% 50% 50%;
  filter: blur(.2px) drop-shadow(0 0 18px rgba(255,42,42,.35));
  animation: flameFlicker 1.6s ease-in-out infinite;
}
.bg-animation .candle.tall{ height: 86px; width: 26px; }
.bg-animation .candle.short{ height: 48px; width: 18px; opacity:.9; }
@keyframes flameFlicker{
  0%,100%{ transform: translateX(-50%) rotate(6deg) scale(1); opacity:.95; }
  50%{ transform: translateX(-50%) rotate(-6deg) scale(1.08); opacity:.85; }
}

/* Hero: make it a ritual card */
.hero{
  padding-top: 120px;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-content{
  text-align:center;
  padding: 0 18px;
}
.hero h1{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  background: linear-gradient(90deg, #ff2a2a, #ff2a6d);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: 0 0 26px rgba(255,42,42,.18);
}
.hero p{ color: rgba(243,233,255,.65); }

/* Password box */
.password-box{
  margin: 28px auto 0;
  width: min(460px, 92vw);
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8,3,14,.65), rgba(8,3,14,.35));
  border: 1px solid rgba(255,42,42,.16);
  box-shadow: 0 18px 55px rgba(0,0,0,.60), 0 0 0 1px rgba(255,42,109,.10) inset;
  backdrop-filter: blur(12px);
}
.password-box input{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.45);
  color: var(--light);
  outline: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.password-box input:focus{
  border-color: rgba(255,42,42,.35);
  box-shadow: 0 0 0 4px rgba(255,42,42,.12);
  transform: translateY(-1px);
}
.password-message{
  min-height: 1.2em;
  color: rgba(255,120,140,.95);
  text-shadow: 0 0 18px rgba(255,42,42,.20);
}

/* Button: crimson seal */
.btn.btn-primary{
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  letter-spacing: .03em;
  color: #09030f;
  background: radial-gradient(120% 120% at 20% 0%, #ff6a6a, #ff2a2a 55%, #3b0010 115%);
  box-shadow: 0 18px 55px rgba(176,0,42,.30), 0 0 22px rgba(255,42,42,.18);
  transition: transform .15s ease, filter .15s ease;
}
.btn.btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.btn.btn-primary:active{ transform: translateY(0) scale(.99); }

/* Optional: hide other sections if you keep them */
.locked-hide{ display:none !important; }

/* === FIX INTERACTIONS (brume, overlays, décor) === */
.cult-bg,
.bg-animation,
.fog,
.smoke,
.overlay,
.hero::before,
.hero::after {
  pointer-events: none;
}

.final-screen{
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 24px 16px;
  text-align: center;
}

.joker{
  width: min(520px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.6));
}

.coords{
  font-size: clamp(18px, 4.5vw, 28px);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.9);
}

/* Partie illisible */
.coords .blur{
  display: inline-block;
  filter: blur(8px);
  opacity: .35;
  user-select: none;
}

/* Partie lisible */
.coords .reveal{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255,42,109,.12);
  box-shadow: 0 0 22px rgba(255,42,109,.18);
  color: rgba(255,255,255,.95);
}

.reel-section{
  display:grid;
  gap:12px;
  justify-items:center;
}

.reel-title{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.95rem;
  color: rgba(255,255,255,.75);
}

.reels{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(0,0,0,.25);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

.reel{
  width: 56px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,42,109,.06);
}

.reel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.85), transparent 35%, transparent 65%, rgba(0,0,0,.85));
  pointer-events:none;
}

.strip{
  position:absolute;
  left:0; top:0;
  width:100%;
  will-change: transform;
}

.cell{
  height: 72px;           /* doit matcher .reel height */
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 0 18px rgba(255,42,109,.18);
}

.reel-hint{
  font-size:.92rem;
  color: rgba(255,255,255,.6);
}


/* From Uiverse.io by jeremyssocial */ 
@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

@keyframes typeAndDelete {
  0%,
  10% {
    width: 0;
  }
  45%,
  55% {
    width: 6.2em;
  } /* adjust width based on content */
  90%,
  100% {
    width: 0;
  }
}

.terminal-loader {
  border: 0.1em solid #333;
  background-color: #1a1a1a;
  color: #0f0;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  padding: 1.5em 1em;
  width: 12em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background-color: #333;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 0 0.4em;
  box-sizing: border-box;
}

.terminal-controls {
  float: right;
}

.control {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
  border-radius: 50%;
  background-color: #777;
}

.control.close {
  background-color: #e33;
}

.control.minimize {
  background-color: #ee0;
}

.control.maximize {
  background-color: #0b0;
}

.terminal-title {
  float: left;
  line-height: 1.5em;
  color: #eee;
}

.text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.2em solid green; /* Cursor */
  animation:
    typeAndDelete 4s steps(11) infinite,
    blinkCursor 0.5s step-end infinite alternate;
  margin-top: 1.5em;
}


.terminal-status{
  margin-top: .6em;
  color: rgba(0,255,0,.75);
  font-size: .95em;
  min-height: 1.2em;
}

.text.fake {
  color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255,60,60,.35);
}

.text.real {
  color: #0f0;
  text-shadow: 0 0 14px rgba(0,255,0,.35);
}

.coord-line{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.coord-line .blur,
.coord-line .reveal{
  display:block;
  text-align:center;
}

/* 1) Centrage global fiable */
.wrap {
  width: min(560px, 92vw);
  margin: 0 auto;
  padding: 24px 16px;   /* symétrique */
  box-sizing: border-box;
}

/* 2) Chaque bloc d’indice prend la même largeur et est centré */
.section,
.terminal-loader,
.card,
.coords,
.coord-line {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 3) Empêche un composant de “pousser” à droite */
.card { min-width: 0 !important; }

.wrap{ outline:2px solid red; }
.terminal-loader{ outline:2px solid lime; }
.card{ outline:2px solid cyan; }


/* ==============================
   PARAMÈTRES RAPIDES
================================*/
:root{
  --joker-max: 340px;      /* Taille max de la tête (change ici) */
  --coord-size: clamp(15px, 4vw, 22px);
  --section-width: 560px;
}

/* ==============================
   STRUCTURE GLOBALE
================================*/
.wrap{
  width: min(var(--section-width), 92vw);
  margin: 0 auto;
  padding: 28px 16px;
  box-sizing: border-box;
  display: grid;
  gap: 28px;
  justify-items: center;
}

/* ==============================
   IMAGE INDICE
================================*/
.joker{
  width: min(var(--joker-max), 82vw);
  height: auto;
  display: block;
  margin: 0 auto 6px;
  filter:
    drop-shadow(0 18px 60px rgba(0,0,0,.75))
    brightness(.95)
    contrast(1.05);
}

/* ==============================
   COORDONNÉES GPS
================================*/
.coord-line{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  flex-wrap: nowrap;
  font-size: var(--coord-size);
  font-variant-numeric: tabular-nums;
  letter-spacing:.04em;
  white-space: nowrap;
}

/* Partie brouillée */
.coord-line .blur{
  filter: blur(7px);
  opacity:.35;
  user-select:none;
}

/* Partie visible */
.coord-line .reveal{
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,42,109,.15);
  box-shadow: 0 0 22px rgba(255,42,109,.22);
  color:#fff;
}

/* ==============================
   SÉPARATION
================================*/
.divider{
  width: 100%;
  max-width: var(--section-width);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,42,109,.45), transparent);
  margin: 10px 0;
}

/* ==============================
   TERMINAL + AUDIO
================================*/
.terminal-loader,
.card{
  width: 100%;
  max-width: var(--section-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Supprime tout débordement mobile */
.card{
  min-width: 0 !important;
}

/* ==============================
   PETITS AJUSTEMENTS MOBILE
================================*/
@media (max-width: 420px){
  .wrap{ gap: 22px; }
  :root{ --joker-max: 300px; }
}


/* =========================================================
   FINAL PAGE FIX + IMMERSIVE FX (fade-in steps + subtle fog)
   Add to <body>: class="final-page"
   ========================================================= */

/* Disable any leftover debug outlines */
.final-page .wrap{ outline: none !important; }
.final-page .terminal-loader{ outline: none !important; }
.final-page .card{ outline: none !important; }

/* Quick knobs */
.final-page{
  --joker-max: 320px;                 /* change to resize the image */
  --section-width: 560px;
  --coord-size: clamp(14px, 3.6vw, 20px); /* keep coords on one line */
}

/* Center everything reliably on mobile */
.final-page .wrap{
  width: min(var(--section-width), 92vw);
  margin: 0 auto;
  padding: 28px 16px;
  box-sizing: border-box;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.final-page img,
.final-page svg{
  max-width: 100%;
  height: auto;
}

/* Smaller image via variable */
.final-page .joker{
  width: min(var(--joker-max), 82vw);
  height: auto;
  display: block;
  margin: 0 auto 6px;
  filter: drop-shadow(0 18px 60px rgba(0,0,0,.75)) brightness(.95) contrast(1.05);
}

/* Coordinates on one line, centered */
.final-page .coord-line{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;     /* keep on one line */
  white-space: nowrap;   /* keep on one line */
  font-size: var(--coord-size);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  max-width: 100%;
}

.final-page .coord-line .blur{
  filter: blur(2px);
  opacity: .15;
  user-select: none;
}

.final-page .coord-line .reveal{
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,42,109,.15);
  box-shadow: 0 0 22px rgba(255,42,109,.22);
  color: rgba(255,255,255,.95);
}

/* Divider between hints */
.final-page .divider{
  width: 100%;
  max-width: var(--section-width);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,42,109,.45), transparent);
  margin: 6px 0;
}

/* Make blocks same width and centered */
.final-page .terminal-loader,
.final-page .card{
  width: 100%;
  max-width: var(--section-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Prevent Uiverse card min-width from pushing off-screen */
.final-page .card{ min-width: 0 !important; }

/* --- Subtle fog overlay ABOVE content (doesn't block clicks) --- */
.final-page::after{
  content:"";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 4; /* above content, below browser UI */
  background:
    radial-gradient(closest-side at 20% 40%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(closest-side at 70% 55%, rgba(255,42,42,.10), transparent 65%),
    radial-gradient(closest-side at 45% 70%, rgba(255,42,109,.06), transparent 68%);
  filter: blur(22px);
  opacity: .16;
  transform: translate3d(0,0,0);
  animation: finalFogDrift 20s ease-in-out infinite;
}

@keyframes finalFogDrift{
  0%,100%{ transform: translate(-2%, -1%) scale(1.02); }
  50%{ transform: translate(3%, 2%) scale(1.06); }
}

/* --- Reveal steps: fade-in + tiny glitch --- */
.final-page .hint-step{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: opacity, transform, filter;
}

.final-page .hint-step.shown{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: glitchIn .55s steps(2, end) 1;
}

@keyframes glitchIn{
  0%{ clip-path: inset(0 0 0 0); transform: translateY(18px); }
  20%{ clip-path: inset(10% 0 55% 0); transform: translate(1px, -1px); }
  40%{ clip-path: inset(45% 0 10% 0); transform: translate(-1px, 1px); }
  60%{ clip-path: inset(12% 0 40% 0); transform: translate(1px, 0); }
  100%{ clip-path: inset(0 0 0 0); transform: translateY(0); }
}

/* Make terminal typing text not fight with old animation */
.final-page .terminal-loader .text{
  animation: none !important;
}


/* Ligne coordonnée: on centre le badge, et le flou passe en overlay */
.coord-line{
  position: relative;
  display: inline-block;   /* largeur = contenu */
  text-align: center;
  margin: 0 auto;
}

/* Le flou n'occupe plus de largeur (il n’influence plus le centrage) */
.coord-line .blur{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);

  filter: blur(7px);
  opacity: .28;            /* remets un peu visible pour l'effet */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Le badge reste centré, toujours sur la même ligne */
.coord-line .reveal{
  display: inline-block;
  font-size: clamp(15px, 4vw, 22px);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,42,109,.15);
  box-shadow: 0 0 22px rgba(255,42,109,.22);
  color:#fff;
}


/* ==== CENTER EVERYTHING (robuste mobile) ==== */
html, body { overflow-x: hidden; }

*, *::before, *::after { box-sizing: border-box; }

/* Un padding symétrique qui respecte les safe-areas iPhone */
:root{
  --page-pad: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --maxw: 560px;
}

/* Le conteneur principal prend EXACTEMENT la largeur dispo et se centre */
.wrap{
  width: min(var(--maxw), calc(100vw - (2 * var(--page-pad))));
  margin-inline: auto;
  padding-inline: 0;              /* évite les doubles paddings */
  display: flex;
  flex-direction: column;
  align-items: center;            /* centre tous les enfants */
}

/* Tous les “blocs” doivent être centrés et ne jamais dépasser */
.terminal-loader,
.card,
.divider,
.coord-line,
.coords,
.section{
  width: 100%;
  max-width: min(var(--maxw), calc(100vw - (2 * var(--page-pad))));
  margin-inline: auto;
}

/* Si un composant Uiverse impose une largeur mini, on l’annule */
.card{ min-width: 0 !important; }

/* Sécurité: aucune translation résiduelle */
.terminal-loader, .card { left: auto !important; right: auto !important; transform: none; }

/* ===== Reveal en fade doux ===== */
.hint-step {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2,.8,.2,1);
}

.hint-step.shown {
  opacity: 1;
  transform: translateY(0);
}


.ready-link{
  text-decoration: none;
  display: inline-block;
}

.ready-btn{
  --green: #1BFD9C;
  font-size: 15px;
  padding: 0.7em 2.7em;
  letter-spacing: 0.06em;
  position: relative;
  font-family: inherit;
  border-radius: 0.6em;
  overflow: hidden;
  transition: all 0.3s;
  line-height: 1.4em;
  border: 2px solid var(--green);
  background: linear-gradient(to right,
    rgba(27, 253, 156, 0.1) 1%,
    transparent 40%,
    transparent 60%,
    rgba(27, 253, 156, 0.1) 100%
  );
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4),
              0 0 9px 3px rgba(27, 253, 156, 0.1);

  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.ready-btn:hover{
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6),
              0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.ready-btn::before{
  content: "";
  position: absolute;
  left: -4em;
  width: 4em;
  height: 100%;
  top: 0;
  transition: transform .4s ease-in-out;
  background: linear-gradient(to right,
    transparent 1%,
    rgba(27, 253, 156, 0.1) 40%,
    rgba(27, 253, 156, 0.1) 60%,
    transparent 100%
  );
}

.ready-btn:hover::before{
  transform: translateX(15em);
}

