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

:root {
	--orange: #ff6b35;
	--orange-light: #f7931e;
	--dark: #1a1a1a;
	--dark-blue: #0f1419;
	--gray: #6b7280;
	--light-gray: #9ca3af;
	--purple: #8b5cf6;
	--blue: #3b82f6;
	--red: #ef4444;
}

body {
	font-family:
		"SF Mono", "Monaco", "Inconsolata", "Fira Code", "Consolas", monospace;
	background: var(--dark-blue);
	color: #e5e7eb;
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(15, 20, 25, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 107, 53, 0.2);
	z-index: 1000;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--orange);
}

.logo-icon {
	width: 32px;
	height: 32px;
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

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

.nav-links a {
	color: #9ca3af;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 0.9rem;
}

.nav-links a:hover {
	color: var(--orange);
}

/* Language Switcher */
.lang-switcher {
	display: flex;
	gap: 0.5rem;
	margin-left: 1rem;
}

.lang-btn {
	background: transparent;
	border: 1px solid var(--gray);
	color: var(--gray);
	padding: 0.3rem 0.6rem;
	border-radius: 0.25rem;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.75rem;
	transition: all 0.3s;
}

.lang-btn:hover {
	border-color: var(--orange);
	color: var(--orange);
}

.lang-btn.active {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--dark);
}

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

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(
			circle at 20% 50%,
			rgba(255, 107, 53, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 50%,
			rgba(139, 92, 246, 0.1) 0%,
			transparent 50%
		);
	animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 0.5;
	}
	50% {
		opacity: 0.8;
	}
}

.hero-content {
	position: relative;
	text-align: center;
	z-index: 1;
}

.hero-symbols {
	position: absolute;
	width: 100%;
	height: 100%;
	top: -100px;
}

.floating-symbol {
	position: absolute;
	width: 120px;
	height: 120px;
	opacity: 0.3;
	animation: float 6s ease-in-out infinite;
}

.fox {
	left: 10%;
	top: 20%;
	animation-delay: 0s;
}

.cat {
	right: 10%;
	top: 20%;
	animation-delay: 1s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

.hero-title {
	font-size: 4rem;
	font-weight: bold;
	background: linear-gradient(
		135deg,
		var(--orange),
		var(--orange-light),
		var(--purple)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1rem;
	animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
	0%,
	100% {
		filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
	}
	50% {
		filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8));
	}
}

.hero-subtitle {
	font-size: 1.5rem;
	color: var(--light-gray);
	margin-bottom: 1rem;
}

.hero-slogan {
	font-size: 1.2rem;
	color: var(--orange);
	font-style: italic;
	margin-bottom: 3rem;
}

.hero-pentagram {
	width: 200px;
	height: 200px;
	/* Animation is handled by JavaScript to allow speed change without reset */
}

@keyframes rotate-reverse {
	from {
		transform: rotate(360deg);
	}
	to {
		transform: rotate(0deg);
	}
}

/* Sections */
section {
	padding: 6rem 0;
}

h2 {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 3rem;
	color: var(--orange-light);
}

.intro {
	background: rgba(26, 26, 26, 0.5);
}

.intro-text {
	max-width: 800px;
	margin: 0 auto 2rem;
	font-size: 1.2rem;
	text-align: center;
	color: var(--light-gray);
	line-height: 1.8;
}

/* Deity Grid */
.deity-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	max-width: 800px;
	margin: 0 auto;
}

.deity-card {
	background: rgba(26, 26, 26, 0.6);
	border: 2px solid rgba(255, 107, 53, 0.3);
	border-radius: 1rem;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
}

.deity-card:hover {
	transform: translateY(-10px);
	border-color: var(--orange);
	box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.deity-icon {
	width: 120px;
	height: 120px;
	margin-bottom: 1.5rem;
	transition: transform 0.3s;
}

.deity-card:hover .deity-icon {
	transform: scale(1.1) rotate(5deg);
}

.deity-card h3 {
	color: var(--orange-light);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.deity-card p {
	color: var(--light-gray);
	text-align: left;
}

/* Symbol Grid */
.symbol-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.symbol-card {
	background: rgba(26, 26, 26, 0.4);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: 0.5rem;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
}

.symbol-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
}

.symbol-card img {
	width: 80px;
	height: 80px;
	margin-bottom: 1rem;
}

.symbol-card h4 {
	color: var(--purple);
	margin-bottom: 0.5rem;
}

.symbol-card p {
	color: var(--light-gray);
	font-size: 0.9rem;
}

/* Cosmogony */
.cosmogony {
	background: rgba(26, 26, 26, 0.5);
}

.cosmogony-content {
	max-width: 800px;
	margin: 0 auto;
}

.cosmogony-content p {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	color: var(--light-gray);
}

.cosmogony-content code {
	background: rgba(139, 92, 246, 0.2);
	color: var(--purple);
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
	font-family: inherit;
}

.realms {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.realm {
	padding: 2rem;
	border-radius: 0.5rem;
	border: 2px solid;
}

.realm.hell {
	background: rgba(239, 68, 68, 0.1);
	border-color: var(--red);
}

.realm.heaven {
	background: rgba(59, 130, 246, 0.1);
	border-color: var(--blue);
}

.realm h4 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.realm.hell h4 {
	color: var(--red);
}

.realm.heaven h4 {
	color: var(--blue);
}

/* CTA Section */
.cta {
	text-align: center;
	background: linear-gradient(
		135deg,
		rgba(255, 107, 53, 0.1),
		rgba(139, 92, 246, 0.1)
	);
}

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

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

.btn {
	padding: 1rem 2rem;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	transition: all 0.3s;
	border: 2px solid;
}

.btn.primary {
	background: var(--orange);
	color: var(--dark);
	border-color: var(--orange);
}

.btn.primary:hover {
	background: transparent;
	color: var(--orange);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn.secondary {
	background: transparent;
	color: var(--purple);
	border-color: var(--purple);
}

.btn.secondary:hover {
	background: var(--purple);
	color: var(--dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Footer */
footer {
	background: rgba(15, 20, 25, 0.95);
	border-top: 1px solid rgba(255, 107, 53, 0.2);
	padding: 3rem 0;
	text-align: center;
}

.footer-symbols {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.footer-symbols img {
	width: 40px;
	height: 40px;
	opacity: 0.5;
	transition: all 0.3s;
}

.footer-symbols img:hover {
	opacity: 1;
	transform: scale(1.2);
}

footer p {
	color: var(--gray);
	font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
	margin-top: 80px;
	padding: 4rem 0;
	text-align: center;
	background: rgba(26, 26, 26, 0.3);
}

.page-icon {
	width: 100px;
	height: 100px;
	margin-bottom: 2rem;
	/* Animation is handled by JavaScript to allow speed change without reset */
}

.page-hero h1 {
	font-size: 3rem;
	color: var(--orange-light);
	margin-bottom: 1rem;
}

.page-subtitle {
	font-size: 1.2rem;
	color: var(--light-gray);
	font-style: italic;
}

/* Rays Page */
.rays-intro {
	padding: 3rem 0;
}

.rays-detailed {
	padding: 2rem 0 6rem;
}

.ray-card {
	background: rgba(26, 26, 26, 0.5);
	border-left: 4px solid var(--orange);
	border-radius: 0.5rem;
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.3s;
}

.ray-card:hover {
	background: rgba(26, 26, 26, 0.7);
	transform: translateX(10px);
	box-shadow: -5px 5px 30px rgba(255, 107, 53, 0.2);
}

.ray-card[data-ray="1"] {
	border-left-color: #60a5fa;
}
.ray-card[data-ray="2"] {
	border-left-color: #34d399;
}
.ray-card[data-ray="3"] {
	border-left-color: #fbbf24;
}
.ray-card[data-ray="4"] {
	border-left-color: #f472b6;
}
.ray-card[data-ray="5"] {
	border-left-color: #a78bfa;
}

.ray-number {
	display: inline-block;
	font-size: 2rem;
	font-weight: bold;
	color: var(--orange);
	background: rgba(255, 107, 53, 0.1);
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	border-radius: 50%;
	margin-bottom: 1rem;
}

.ray-content h3 {
	font-size: 2rem;
	color: var(--orange-light);
	margin-bottom: 0.5rem;
}

.ray-motto {
	font-size: 1.2rem;
	color: var(--orange);
	font-style: italic;
	margin-bottom: 1.5rem;
}

.ray-description p {
	color: var(--light-gray);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.ray-practices {
	background: rgba(15, 20, 25, 0.5);
	padding: 1.5rem;
	border-radius: 0.5rem;
	margin-top: 1.5rem;
}

.ray-practices h4 {
	color: var(--orange-light);
	margin-bottom: 1rem;
}

.ray-practices ul {
	list-style: none;
	padding: 0;
}

.ray-practices li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
	color: var(--light-gray);
}

.ray-practices li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--orange);
}

.rays-balance {
	background: rgba(26, 26, 26, 0.3);
	padding: 4rem 0;
}

.balance-diagram {
	text-align: center;
	margin-top: 3rem;
}

.balance-pentagram {
	width: 300px;
	height: 300px;
	opacity: 0.7;
	animation: pulse 4s ease-in-out infinite;
}

/* Pantheon Page */
.entity-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.entity-card {
	background: rgba(26, 26, 26, 0.6);
	border: 2px solid rgba(139, 92, 246, 0.3);
	border-radius: 0.75rem;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
}

.entity-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.entity-card.deity {
	border-color: rgba(255, 107, 53, 0.5);
}

.entity-card.deity:hover {
	border-color: var(--orange);
	box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.entity-card img {
	width: 100px;
	height: 100px;
	margin-bottom: 1rem;
}

.entity-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--purple);
}

.entity-card.deity h3 {
	color: var(--orange-light);
}

.entity-card p {
	color: var(--light-gray);
	line-height: 1.6;
	text-align: left;
	margin-bottom: 0.75rem;
}

.entity-card p:last-child {
	margin-bottom: 0;
}

/* Commandments Page */
.commandment-list {
	max-width: 900px;
	margin: 0 auto;
	margin-top: 3rem;
}

.commandment-item {
	background: rgba(26, 26, 26, 0.5);
	border: 2px solid rgba(59, 130, 246, 0.3);
	border-radius: 0.5rem;
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.3s;
}

.commandment-item:hover {
	border-color: var(--blue);
	transform: scale(1.02);
}

.commandment-number {
	display: inline-block;
	background: var(--blue);
	color: var(--dark);
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	font-weight: bold;
	margin-bottom: 1rem;
}

.commandment-item h3 {
	color: var(--blue);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.commandment-item p {
	color: var(--light-gray);
	line-height: 1.7;
}

.ritual-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.ritual-card {
	background: rgba(26, 26, 26, 0.5);
	border: 2px solid rgba(139, 92, 246, 0.3);
	border-radius: 0.5rem;
	padding: 2rem;
	transition: all 0.3s;
}

.ritual-card:hover {
	border-color: var(--purple);
	transform: translateY(-5px);
}

.ritual-card h3 {
	color: var(--purple);
	margin-bottom: 1rem;
}

.ritual-card p {
	color: var(--light-gray);
	line-height: 1.6;
}

/* Parables Page */
.parable-list {
	max-width: 900px;
	margin: 0 auto;
}

.parable-card {
	background: rgba(26, 26, 26, 0.5);
	border: 2px solid rgba(247, 147, 30, 0.3);
	border-radius: 0.75rem;
	padding: 2.5rem;
	margin-bottom: 3rem;
	transition: all 0.3s;
}

.parable-card:hover {
	border-color: var(--orange-light);
	box-shadow: 0 5px 30px rgba(247, 147, 30, 0.2);
}

.parable-card h3 {
	color: var(--orange-light);
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.parable-card p {
	color: var(--light-gray);
	line-height: 1.8;
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.parable-moral {
	background: rgba(247, 147, 30, 0.1);
	border-left: 4px solid var(--orange-light);
	padding: 1rem 1.5rem;
	margin-top: 1.5rem;
	border-radius: 0.25rem;
}

.parable-moral strong {
	color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.5rem;
	}

	.page-hero h1 {
		font-size: 2rem;
	}

	.nav-links {
		gap: 1rem;
		font-size: 0.8rem;
	}

	.deity-grid,
	.symbol-grid,
	.realms,
	.entity-grid,
	.ritual-grid {
		grid-template-columns: 1fr;
	}

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

	.ray-content h3 {
		font-size: 1.5rem;
	}

	.balance-pentagram {
		width: 200px;
		height: 200px;
	}
}
