/* Join Page Styles */

.join-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 500px;
	padding: 2em;
	position: relative;
}

.join-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5em;
	width: 100%;
	max-width: 900px;
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.join-step h3 {
	color: var(--main-color);
	font-size: 1.8em;
	margin-bottom: 0.5em;
	text-align: center;
}

.join-step > p {
	text-align: center;
	font-size: 1.1em;
	opacity: 0.9;
}

/* Terms Box */
.terms-box {
	width: 100%;
	border: 2px solid var(--main-color);
	padding: 1.5em;
	background: rgba(var(--bg-color), 0.1);
	box-shadow: 0 0 20px rgba(var(--bg-color), 0.3);
}

.terms-box h4 {
	color: var(--main-color);
	margin-bottom: 1em;
	font-size: 1.3em;
	text-align: center;
}

.terms-content {
	max-height: 400px;
	overflow-y: auto;
	padding-right: 1em;
	margin-bottom: 1.5em;
	line-height: 1.8;
}

/* Custom Scrollbar */
.terms-content::-webkit-scrollbar {
	width: 10px;
}

.terms-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--main-color-40);
}

.terms-content::-webkit-scrollbar-thumb {
	background: var(--main-color);
	border-radius: 0;
}

.terms-content::-webkit-scrollbar-thumb:hover {
	background: var(--main-color);
	box-shadow: 0 0 10px var(--main-color);
}

/* Firefox scrollbar */
.terms-content {
	scrollbar-width: thin;
	scrollbar-color: var(--main-color) rgba(0, 0, 0, 0.3);
}

.terms-content p {
	margin-bottom: 0.8em;
}

.terms-content ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 1em;
}

.terms-content li {
	margin-bottom: 0.5em;
	padding-left: 1.5em;
	position: relative;
}

.terms-content li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--main-color);
}

.terms-content ul ul {
	margin-top: 0.5em;
	padding-left: 1.5em;
}

.terms-content ul ul li {
	font-size: 0.95em;
}

.terms-checkbox {
	display: flex;
	align-items: center;
	gap: 0.8em;
	cursor: pointer;
	font-size: 1.05em;
	padding: 0.8em;
	border: 1px solid var(--main-color-40);
	background: rgba(var(--bg-color), 0.05);
}

.terms-checkbox:hover {
	background: rgba(var(--bg-color), 0.15);
}

.terms-checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	cursor: pointer;
	border: 2px solid var(--main-color);
	background: transparent;
	position: relative;
	transition: all 0.3s ease;
}

.terms-checkbox input[type="checkbox"]:hover {
	box-shadow: 0 0 10px var(--main-color-40);
}

.terms-checkbox input[type="checkbox"]:checked {
	background: var(--main-color);
}

.terms-checkbox input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #000;
	font-size: 14px;
	font-weight: bold;
}

/* Join Button */
.join-button {
	background: var(--main-color);
	color: #000;
	padding: 1em 3em;
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none;
	border: 2px solid var(--main-color);
	transition: all 0.3s ease;
	box-shadow: 0 0 20px var(--main-color);
	font-family: monospace;
	cursor: pointer;
	text-transform: uppercase;
}

.join-button:hover:not(:disabled) {
	background: transparent;
	color: var(--main-color);
	box-shadow: 0 0 30px var(--main-color);
	transform: scale(1.05);
}

.join-button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
}

/* Social Follow Buttons */
.social-follow-buttons {
	display: flex;
	gap: 1.5em;
	flex-wrap: wrap;
	justify-content: center;
}

.follow-button {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 1em 2em;
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
	border: 2px solid;
	transition: all 0.3s ease;
	font-family: monospace;
}

.linkedin-btn {
	border-color: #0077b5;
	color: #0077b5;
	background: rgba(0, 119, 181, 0.1);
}

.linkedin-btn:hover {
	background: #0077b5;
	color: #fff;
	box-shadow: 0 0 20px #0077b5;
}

.instagram-btn {
	border-color: #E4405F;
	color: #E4405F;
	background: rgba(228, 64, 95, 0.1);
}

.instagram-btn:hover {
	background: #E4405F;
	color: #fff;
	box-shadow: 0 0 20px #E4405F;
}

/* Discord Button */
.discord-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: var(--main-color);
	color: #000;
	padding: 1em 3em;
	font-size: 1.3em;
	font-weight: bold;
	text-decoration: none;
	border: 2px solid var(--main-color);
	transition: all 0.3s ease;
	box-shadow: 0 0 30px var(--main-color);
	font-family: monospace;
}

.discord-button:hover {
	background: transparent;
	color: var(--main-color);
	transform: scale(1.05);
}

.success-message {
	color: var(--main-color);
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 1em;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
}

/* Progress Indicator */
.step-indicator {
	display: flex;
	gap: 1em;
	margin-top: 2em;
}

.step-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--main-color);
	background: transparent;
	transition: all 0.3s ease;
	cursor: pointer;
}

.step-dot.active {
	background: var(--main-color);
	box-shadow: 0 0 10px var(--main-color);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
	.join-container {
		padding: 1em;
	}

	.join-step {
		max-width: 100%;
	}

	.join-step h3 {
		font-size: 1.4em;
	}

	.terms-content {
		max-height: 200px;
		font-size: 0.9em;
	}

	.join-button {
		width: 100%;
		padding: 0.8em 1.5em;
		font-size: 1em;
	}

	.social-follow-buttons {
		flex-direction: column;
		width: 100%;
	}

	.follow-button {
		width: 100%;
		justify-content: center;
		font-size: 1em;
	}

	.discord-button {
		width: 100%;
		justify-content: center;
		font-size: 1.1em;
	}

	.step-indicator {
		bottom: 1em;
	}
}
