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

html,
body {
	height: 100%;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
	background-size: 140% 140%;
	animation: backgroundShift 22s ease-in-out infinite alternate;
	color: #e5e7eb;
	line-height: 1.6;
}

body.page-hardware {
	background: #050308;
}

a {
	color: inherit;
	text-decoration: none;
}

main {
	min-height: calc(100vh - 140px);
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.site-header {
	border-bottom: 1px solid rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(14px);
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.88));
	position: sticky;
	top: 0;
	z-index: 20;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 0.9rem 0;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.brand-logo {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background-image: url("img/logo.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}

.brand-text {
	display: flex;
	flex-direction: column;
}

.brand-name {
	font-weight: 700;
	font-size: 1.05rem;
}

.brand-tagline {
	font-size: 0.8rem;
	color: rgba(148, 163, 184, 0.9);
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.6rem;
	font-size: 0.9rem;
}

.nav-link {
	position: relative;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	color: rgba(226, 232, 240, 0.8);
	overflow: hidden;
	transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
}

.nav-link:hover {
	background: rgba(51, 65, 85, 0.7);
	color: #e5e7eb;
	transform: translateY(-1px);
}

.nav-link.active {
	background: linear-gradient(135deg, #6366f1, #22d3ee);
	color: #020617;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(46, 196, 182, 0.35);
}

.lang-switcher {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	justify-content: flex-end;
}

.lang-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	width: 100%;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	border: none;
	background: transparent;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	color: rgba(226, 232, 240, 0.9);
	opacity: 0.85;
	transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.12s ease;
}

.lang-btn:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.lang-btn.active {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.16));
	color: #e5e7eb;
	opacity: 1;
}

.lang-flag {
	width: 34px;
	height: 22px;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5),
		0 4px 10px rgba(15, 23, 42, 0.75);
	flex-shrink: 0;
}

.lang-flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.22rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
		rgba(15, 23, 42, 0.96);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	color: rgba(226, 232, 240, 0.95);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, background 0.18s ease;
}

.lang-toggle:hover {
	transform: translateY(-1px);
	border-color: rgba(94, 234, 212, 0.9);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 1);
	background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 55%),
		rgba(15, 23, 42, 0.96);
}

.lang-label {
	min-width: 2.3rem;
}

.lang-chevron {
	font-size: 0.7rem;
	opacity: 0.7;
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.lang-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 0.45rem);
	min-width: 170px;
	padding: 0.35rem;
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.8);
	background:
		radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), transparent 55%),
		radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.18), transparent 55%),
		rgba(15, 23, 42, 0.97);
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
	opacity: 0;
	transform: translateY(-6px) scale(0.96);
	transform-origin: top right;
	pointer-events: none;
	backdrop-filter: blur(14px);
	transition: opacity 0.18s ease, transform 0.2s ease;
}

.lang-switcher.open .lang-menu {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.lang-switcher.open .lang-toggle {
	border-color: rgba(94, 234, 212, 0.95);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 1);
}

.lang-switcher.open .lang-chevron {
	transform: rotate(-180deg);
	opacity: 1;
}

.hero {
	padding: 3.2rem 0 2.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.8rem;
	text-align: center;
	max-width: 640px;
	animation: fadeInUp 0.7s ease-out both;
}

.hero-text h1 {
	font-size: clamp(2.2rem, 3vw, 2.9rem);
	margin-bottom: 0.9rem;
}

.hero-text p {
	color: rgba(226, 232, 240, 0.8);
	max-width: 36rem;
}

.hero-subtitle {
	color: rgba(226, 232, 240, 0.85);
	max-width: 34rem;
	margin: 0 auto;
}

.ip-pill {
	margin-top: 1.8rem;
	padding: 0.9rem 1.8rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: radial-gradient(circle at top, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.98));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
	animation: floatUpDown 6s ease-in-out infinite;
}

.ip-pill:hover {
	transform: translateY(-1px);
	border-color: rgba(94, 234, 212, 0.95);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.95);
	animation: pillGlow 1.1s ease-in-out infinite;
}

.ip-address {
	font-family: "Consolas", "SFMono-Regular", ui-monospace, Menlo, Monaco, monospace;
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 700;
	color: #e5e7eb;
}

.ip-copy-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	opacity: 0.9;
}

.copy-message {
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: #8dffb0;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-message.visible {
	opacity: 1;
	transform: translateY(0);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.7rem;
	justify-content: center;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	font-size: 0.95rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn.primary {
	background: linear-gradient(135deg, #6366f1, #22d3ee);
	color: #020617;
	font-weight: 600;
	box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
	animation: glowPulse 3s ease-in-out infinite;
}

.btn.primary:hover {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 18px 40px rgba(37, 99, 235, 0.75);
	animation: buttonGlow 1.2s ease-in-out infinite;
}

.btn.ghost {
	border-color: rgba(245, 245, 245, 0.4);
	color: rgba(245, 245, 245, 0.9);
	background: rgba(5, 3, 8, 0.7);
}

.btn.ghost:hover {
	background: rgba(245, 245, 245, 0.06);
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
	animation: buttonGlowSoft 1.2s ease-in-out infinite;
}

.hero-card {
	background: rgba(15, 23, 42, 0.95);
	border-radius: 20px;
	padding: 1.5rem 1.4rem;
	border: 1px solid rgba(148, 163, 184, 0.4);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.hero-card-title {
	font-weight: 600;
	margin-bottom: 1rem;
}

.hero-card-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0.35rem 0;
	font-size: 0.92rem;
}

.hero-card-row span:last-child {
	font-weight: 500;
}

.accent {
	color: #22d3ee;
}

.grid-section {
	padding: 0 0 2.2rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.home-boards .info-card {
	text-align: center;
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
}

.info-card {
	background: rgba(15, 23, 42, 0.96);
	border-radius: 16px;
	padding: 1.2rem 1.1rem;
	border: 1px solid rgba(30, 64, 175, 0.7);
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.7s ease-out both;
}

.info-card h2,
.info-card h3 {
	font-size: 1.05rem;
	margin-bottom: 0.4rem;
}

.info-card p {
	font-size: 0.9rem;
	color: rgba(209, 213, 219, 0.9);
}

.info-card:hover {
	transform: translateY(-3px);
	border-color: rgba(94, 234, 212, 0.9);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.96);
	background: rgba(15, 23, 42, 1);
}

.info-card::after {
	content: "";
	position: absolute;
	inset: -1px;
	background:
		radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 55%),
		radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.16), transparent 55%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.info-card:hover::after {
	opacity: 1;
}

.nav-link:hover {
	background: rgba(51, 65, 85, 0.8);
	color: #e5e7eb;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.95);
}

.lang-toggle:hover {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.98);
	border-color: rgba(94, 234, 212, 0.9);
}

.lang-menu .lang-btn:hover {
	transform: translateY(-1px);
	background: rgba(30, 64, 175, 0.22);
}

.confetti-piece {
	position: fixed;
	width: 7px;
	height: 12px;
	border-radius: 3px;
	pointer-events: none;
	z-index: 50;
	opacity: 0;
	animation-name: confettiFall;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}

@keyframes confettiFall {
	0% {
		transform: translate3d(0, 0, 0) rotateZ(0deg);
		opacity: 1;
	}

	100% {
		transform: translate3d(var(--dx), var(--dy), 0) rotateZ(360deg);
		opacity: 0;
	}
}

@keyframes pillGlow {
	0% {
		box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
	}

	50% {
		box-shadow: 0 18px 40px rgba(56, 189, 248, 0.5);
	}

	100% {
		box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
	}
}

@keyframes buttonGlow {
	0% {
		box-shadow: 0 14px 34px rgba(37, 99, 235, 0.6);
	}

	50% {
		box-shadow: 0 20px 44px rgba(56, 189, 248, 0.7);
	}

	100% {
		box-shadow: 0 14px 34px rgba(37, 99, 235, 0.6);
	}
}

@keyframes buttonGlowSoft {
	0% {
		box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
	}

	50% {
		box-shadow: 0 16px 36px rgba(148, 163, 184, 0.35);
	}

	100% {
		box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
	}
}

@keyframes cardGlow {
	0% {
		box-shadow: 0 14px 32px rgba(15, 23, 42, 0.96);
	}

	50% {
		box-shadow: 0 22px 46px rgba(56, 189, 248, 0.35);
	}

	100% {
		box-shadow: 0 14px 32px rgba(15, 23, 42, 0.96);
	}
}

@keyframes cardSheen {
	0% {
		opacity: 0.4;
	}

	50% {
		opacity: 0.9;
	}

	100% {
		opacity: 0.4;
	}
}

.owners-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
	margin-top: 1rem;
}

.owner-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.owner-avatar {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	object-fit: cover;
	margin-bottom: 0.4rem;
}

.owner-spec-list {
	margin-top: 0.2rem;
	margin-bottom: 0;
}

.page-hero {
	padding: 2.7rem 0 1.4rem;
}

.page-hero h1 {
	font-size: clamp(1.9rem, 2.5vw, 2.3rem);
	margin-bottom: 0.5rem;
}

.page-hero p {
	color: rgba(245, 245, 245, 0.75);
	max-width: 40rem;
}

.page-hero .container {
	animation: fadeInUp 0.7s ease-out both;
}

.content {
	padding-bottom: 3rem;
}

.content h2 {
	font-size: 1.3rem;
	margin: 1.6rem 0 0.6rem;
}

.content p {
	color: rgba(209, 213, 219, 0.92);
}

.content p+p {
	margin-top: 0.6rem;
}

.hardware-highlight {
	margin-top: 1.4rem;
	padding: 1.4rem 1.2rem 2rem;
	border-radius: 18px 18px 0 0;
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
	border-top: 1px solid rgba(30, 64, 175, 0.7);
}

.hardware-highlight h2 {
	margin-top: 0;
}

.spec-list {
	list-style: none;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.spec-list ul {
	list-style: none;
	margin: 0.25rem 0 0.3rem 1.3rem;
	padding-left: 0;
}

.spec-list li {
	position: relative;
	padding-left: 1.3rem;
	margin: 0.22rem 0;
	font-size: 0.93rem;
	color: rgba(245, 245, 245, 0.85);
}

.spec-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(135deg, #22d3ee, #6366f1);
}

.status-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	margin-top: 1rem;
	margin-bottom: 2rem;
}

.status-card {
	background: rgba(15, 23, 42, 0.96);
	border-radius: 14px;
	padding: 1.1rem 1.1rem 1rem;
	border: 1px solid rgba(30, 64, 175, 0.7);
	font-size: 0.9rem;
	animation: fadeInUp 0.7s ease-out both;
}

.status-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.4rem;
}

.status-name {
	font-weight: 600;
}

.status-indicator {
	padding: 0.18rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
}

.status-online {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
}

.status-maintenance {
	background: rgba(241, 196, 15, 0.15);
	color: #f1c40f;
}

.status-meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin-top: 0.5rem;
	color: rgba(245, 245, 245, 0.78);
}

.discord-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
	gap: 1.8rem;
	margin-top: 0.8rem;
}

.discord-invite-box {
	margin: 0.6rem 0 0.9rem;
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	background: rgba(31, 35, 63, 0.9);
	border: 1px solid rgba(88, 101, 242, 0.8);
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	animation: fadeInUp 0.7s ease-out both;
}

.discord-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(245, 245, 245, 0.7);
}

.discord-link {
	font-family: "Consolas", "SFMono-Regular", ui-monospace, Menlo, Monaco, monospace;
	font-size: 0.9rem;
	color: #c7ccff;
}

.site-footer {
	border-top: 1px solid rgba(15, 23, 42, 0.9);
	background: rgba(15, 23, 42, 0.98);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 1rem 0.5rem 1.3rem;
	font-size: 0.8rem;
	color: rgba(148, 163, 184, 0.9);
}

.footer-separator {
	opacity: 0.6;
}

@keyframes backgroundShift {
	0% {
		background-position: 50% 0%;
	}

	50% {
		background-position: 50% 40%;
	}

	100% {
		background-position: 50% 80%;
	}
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(8px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes glowPulse {
	0% {
		box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
	}

	50% {
		box-shadow: 0 18px 42px rgba(56, 189, 248, 0.7);
	}

	100% {
		box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
	}
}

@keyframes floatUpDown {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}

	100% {
		transform: translateY(0);
	}
}

@media (max-width: 800px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-right {
		width: 100%;
		justify-content: space-between;
	}

	.main-nav {
		justify-content: flex-start;
	}

	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-card {
		order: -1;
	}

	.grid-3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.status-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.discord-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.owners-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 520px) {
	.brand-logo {
		width: 34px;
		height: 34px;
	}

	.hero {
		padding-top: 2.6rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn {
		width: 100%;
	}
}