html {
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	background:
		radial-gradient(circle at 20% 10%, rgba(133, 65, 180, 0.16), transparent 24%),
		radial-gradient(circle at 80% 20%, rgba(227, 150, 27, 0.10), transparent 18%),
		linear-gradient(180deg, #09070e 0%, #07060b 45%, #050409 100%);
	color: #f3eadb;
	overflow-x: hidden;
	position: relative;
}

.noise {
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.05;
	background-image:
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 4px 4px;
	mix-blend-mode: soft-light;
	z-index: 1;
}

.glow {
	position: fixed;
	border-radius: 999px;
	filter: blur(90px);
	opacity: 0.18;
	pointer-events: none;
	z-index: 0;
}

.glow-1 {
	width: 320px;
	height: 320px;
	background: #9f53dc;
	top: 80px;
	left: -80px;
}

.glow-2 {
	width: 260px;
	height: 260px;
	background: #d9a44a;
	right: -60px;
	top: 260px;
}

.container {
	max-width: 1250px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

.container.narrow {
	max-width: 900px;
}

.join-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	padding: 40px 0 80px;
	background:
		linear-gradient(180deg, rgba(5,5,8,0.30), rgba(5,5,8,0.68)),
		url("background.jpg") center center / cover no-repeat;
}

.join-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			115deg,
			rgba(7, 6, 11, 0.96) 10%,
			rgba(8, 7, 12, 0.84) 48%,
			rgba(8, 7, 12, 0.96) 100%
		);
	z-index: 1;
}

.join-hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	padding: 0 24px;
	margin: 0 auto;
	width: 100%;
}

.back-link {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 3;
	color: #e8dcc7;
	text-decoration: none;
	font-weight: 600;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(240, 201, 121, 0.12);
	backdrop-filter: blur(8px);
}

.back-link:hover {
	color: #fff;
	text-decoration: none;
	background: rgba(255,255,255,0.08);
}

.join-badge {
	display: inline-block;
	padding: 9px 15px;
	margin-bottom: 24px;
	font-size: 12px;
	letter-spacing: 1.7px;
	text-transform: uppercase;
	color: #f0c979;
	border: 1px solid rgba(240, 201, 121, 0.28);
	background: rgba(240, 201, 121, 0.08);
	border-radius: 999px;
	box-shadow: 0 0 20px rgba(240, 201, 121, 0.08);
}

.join-hero h1 {
	margin: 0;
	font-family: 'Cinzel', serif;
	font-size: clamp(52px, 10vw, 110px);
	line-height: 0.95;
	color: #f6d995;
	text-shadow:
		0 0 18px rgba(214, 168, 95, 0.18),
		0 0 45px rgba(214, 168, 95, 0.08);
}

.join-subtitle {
	margin-top: 24px;
	max-width: 760px;
	font-size: 20px;
	line-height: 1.9;
	color: #ddd2c3;
}

.hero-buttons,
.final-actions {
	display: flex;
	justify-content: center; /* centre horizontalement */
	align-items: center;
	gap: 20px; /* espace entre les boutons */
	flex-wrap: wrap; /* évite que ça casse sur mobile */
}

.main-btn,
.ghost-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 16px 26px;
	border-radius: 14px;
	text-decoration: none;
	font-weight: 700;
	transition: 0.22s ease;
	border: 1px solid transparent;
}

.main-btn {
	background: linear-gradient(180deg, #f5d792 0%, #d9a44a 100%);
	color: #3a2100;
	box-shadow:
		inset 0 2px 0 rgba(255,255,255,0.28),
		0 10px 28px rgba(0,0,0,0.35);
}

.main-btn:hover {
	transform: translateY(-3px);
	filter: brightness(1.05);
	color: #2d1800;
	text-decoration: none;
}

.ghost-btn {
	background: rgba(255,255,255,0.05);
	border-color: rgba(240, 201, 121, 0.16);
	color: #f3eadb;
}

.ghost-btn:hover {
	transform: translateY(-3px);
	color: #fff;
	text-decoration: none;
	background: rgba(255,255,255,0.09);
}

.big-btn {
	min-width: 220px;
	font-size: 16px;
	cursor: pointer;
}

.section {
	padding: 110px 0;
	position: relative;
	z-index: 2;
}

.section-title {
	margin: 0 0 18px 0;
	text-align: center;
	font-family: 'Cinzel', serif;
	font-size: clamp(34px, 5vw, 50px);
	color: #f2cf86;
}

.section-subtitle {
	text-align: center;
	font-size: 18px;
	line-height: 1.8;
	color: #d7cbbb;
	max-width: 760px;
	margin: 0 auto 42px;
}

.big-panel,
.step-card,
.info-card,
.warning-panel,
.final-box {
	background: linear-gradient(180deg, rgba(18, 13, 24, 0.96), rgba(9, 8, 14, 0.96));
	border: 1px solid rgba(214, 168, 95, 0.20);
	border-radius: 24px;
	box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.big-panel {
	padding: 36px;
	line-height: 1.9;
	color: #ddd2c3;
}

.big-panel h2 {
	margin-top: 8px;
	margin-bottom: 18px;
	font-size: 36px;
	font-family: 'Cinzel', serif;
	color: #f3cf8c;
}

.panel-label {
	color: #d8b46f;
	font-size: 12px;
	letter-spacing: 1.7px;
	text-transform: uppercase;
}

.steps-grid,
.info-grid {
	display: grid;
	gap: 22px;
}

.steps-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-grid {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin-top: 36px;
}

.step-card,
.info-card {
	padding: 28px;
	transition: 0.22s ease;
}

.step-card:hover,
.info-card:hover {
	transform: translateY(-5px);
	border-color: rgba(240, 201, 121, 0.36);
	box-shadow: 0 20px 40px rgba(0,0,0,0.30);
}

.step-number {
	font-family: 'Cinzel', serif;
	font-size: 14px;
	letter-spacing: 2px;
	color: #d8b46f;
	margin-bottom: 14px;
}

.step-card h3,
.info-card h3 {
	margin-top: 0;
	margin-bottom: 12px;
	font-family: 'Cinzel', serif;
	font-size: 24px;
	color: #f3cf8c;
}

.step-card p,
.info-card p,
.warning-panel p,
.final-box p {
	margin: 0;
	font-size: 16px;
	line-height: 1.85;
	color: #d7cbbb;
}

.ip-box {
	margin-top: 18px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	padding: 14px;
	border-radius: 16px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(240, 201, 121, 0.14);
}

.ip-box span {
	font-size: 17px;
	font-weight: 700;
	color: #f0bf63;
	word-break: break-all;
}

.ip-box button {
	padding: 12px 16px;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(180deg, #f5d792 0%, #d9a44a 100%);
	color: #3a2100;
	transition: 0.2s ease;
}

.ip-box button:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.copy-msg {
	margin-top: 10px;
	min-height: 20px;
	font-size: 14px;
	color: #9bf7b1;
	opacity: 0;
	transition: 0.25s ease;
}

.copy-msg.show {
	opacity: 1;
}

.warning-panel {
	padding: 34px;
	text-align: center;
	border-color: rgba(240, 140, 100, 0.25);
}

.warning-title {
	font-family: 'Cinzel', serif;
	font-size: 28px;
	color: #ffbe92;
	margin-bottom: 14px;
}

.final-box {
	text-align: center;
	padding: 42px 28px;
}

.final-box h2 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: clamp(34px, 5vw, 52px);
	font-family: 'Cinzel', serif;
	color: #f6d995;
}

.final-ip {
	margin-top: 22px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #f0bf63;
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 768px) {
	.join-hero {
		padding-top: 100px;
	}

	.back-link {
		top: 18px;
		left: 18px;
	}

	.join-subtitle {
		font-size: 17px;
		line-height: 1.8;
	}

	.hero-buttons,
	.final-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.main-btn,
	.ghost-btn,
	.big-btn {
		width: 100%;
	}

	.big-panel,
	.step-card,
	.info-card,
	.warning-panel,
	.final-box {
		padding: 24px;
	}
}