:root {
	/* Dark Theme (Default) */
	--primary-color: #c18f41; /* Bronze/Copper from logo */
	--secondary-color: #2d2d2d; /* Dark gray replacing the green */
	--accent-color: #000000; /* Black */
	--text-color: #f5f5f5; /* Off-white */
	--text-dark: #333333;
	--background-color: #222222;
	--card-background: #2a2a2a;
	--navbar-bg: rgba(34, 34, 34, 0.95);

	/* Light Theme Colors */
	--primary-color-light: #000000; /* Black (was Bronze/Copper) */
	--secondary-color-light: #424242; /* Medium gray for light theme */
	--accent-color-light: #333333; /* Dark grey */
	--text-color-light: #333333; /* Dark text on light background */
	--text-dark-light: #666666;
	--background-color-light: #f0f0f0; /* Light grey background */
	--card-background-light: #ffffff; /* White cards */
	--navbar-bg-light: rgba(240, 240, 240, 0.95);

	/* Other variables */
	--navbar-height: 60px;
	--reveal-distance: 40px;
	--reveal-duration: 0.8s;
	--disappear-duration: 0.6s;
	--disappear-distance: 30px;
	--theme-transition: 0.5s;
}

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

body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--background-color);
	color: var(--text-color);
	line-height: 1.6;
	padding-top: var(--navbar-height);
	transition: background-color var(--theme-transition) ease,
		color var(--theme-transition) ease;
}

/* Light Theme Class */
body.light-theme {
	--primary-color: var(--primary-color-light);
	--secondary-color: var(--secondary-color-light);
	--accent-color: var(--accent-color-light);
	--text-color: var(--text-color-light);
	--text-dark: var(--text-dark-light);
	--background-color: var(--background-color-light);
	--card-background: var(--card-background-light);
	--navbar-bg: var(--navbar-bg-light);
}

/* Navbar Styles */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--navbar-height);
	background-color: var(--navbar-bg);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
	z-index: 1000;
	transition: transform 0.3s ease-in-out,
		background-color var(--theme-transition) ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar.hidden {
	transform: translateY(calc(-1 * var(--navbar-height)));
}

/* Hamburger Menu Styles */
.hamburger-menu {
	position: relative;
}

.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
	cursor: pointer;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--primary-color);
	border-radius: 3px;
	transition: all 0.3s ease, background-color var(--theme-transition) ease;
}

.hamburger:hover span {
	background-color: var(--text-color);
}

.menu-items {
	position: absolute;
	top: calc(var(--navbar-height) - 10px);
	left: -20px;
	background-color: var(--card-background);
	border-radius: 8px;
	padding: 1rem;
	width: 200px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease, background-color var(--theme-transition) ease;
	border-left: 4px solid var(--primary-color);
}

.hamburger-menu:hover .menu-items {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.menu-items ul {
	list-style: none;
}

.menu-items li {
	margin-bottom: 10px;
}

.menu-items a {
	display: block;
	color: var(--text-color);
	text-decoration: none;
	font-size: 1rem;
	padding: 5px 0;
	transition: all 0.2s ease, color var(--theme-transition) ease;
}

.menu-items a:hover {
	color: var(--primary-color);
	transform: translateX(5px);
}

/* Language Switch Styles */
.language-switch {
	display: flex;
	gap: 10px;
	align-items: center;
}

.lang-btn {
	background: none;
	border: none;
	color: var(--text-color);
	font-size: 0.9rem;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: all 0.2s ease, color var(--theme-transition) ease;
	opacity: 0.6;
}

.lang-btn.active {
	opacity: 1;
	font-weight: 600;
	border-bottom: 2px solid var(--primary-color);
}

.lang-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.lang-icon {
	width: 20px;
	height: 14px;
	border-radius: 2px;
}

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

header {
	text-align: center;
	margin-bottom: 3rem;
}

.profile-container {
	width: 293px;
	height: 293px;
	margin: 0 auto 1.5rem;
	position: relative;
	overflow: visible;
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.8s ease, transform 0.8s ease;
	background-color: var(--secondary-color);
	cursor: pointer;
	border: 4px solid var(--primary-color);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.profile-container.active {
	opacity: 1;
	transform: scale(1);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.profile-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	perspective: 1000px;
	overflow: hidden;
	border-radius: 50%;
}

.profile-front,
.profile-back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform 0.8s ease;
	border-radius: 50%;
	overflow: hidden;
}

.profile-front {
	z-index: 2;
}

.profile-back {
	transform: rotateY(180deg);
}

.profile-container.flip .profile-front {
	transform: rotateY(180deg);
}

.profile-container.flip .profile-back {
	transform: rotateY(0deg);
}

.profile-front img,
.profile-back img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease, filter 0.3s ease;
}

.profile-container:hover .profile-front img,
.profile-container:hover .profile-back img {
	filter: brightness(1.05) drop-shadow(0 0 10px rgba(193, 143, 65, 0.3));
}

h1 {
	font-family: "Cinzel", serif;
	font-weight: 900;
	font-size: 3.75rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	letter-spacing: 2px;
	transition: color var(--theme-transition) ease;
	-webkit-text-stroke: 2px var(--primary-color);
	text-shadow: 0 0 2px var(--primary-color), 0 0 4px var(--primary-color),
		2px 2px 5px rgba(0, 0, 0, 0.7), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.tagline {
	color: var(--text-color);
	font-size: 1.1rem;
	margin-bottom: 1rem;
	font-weight: 300;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

section {
	margin-bottom: 2.5rem;
	background-color: var(--card-background);
	padding: 1.5rem;
	border-radius: 10px;
	border-left: 5px solid var(--primary-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: background-color var(--theme-transition) ease,
		box-shadow var(--theme-transition) ease;
}

/* Remove container styling for links section */
section.links {
	background-color: transparent;
	border-left: none;
	box-shadow: none;
	padding: 0;
}

h2 {
	font-family: "Cinzel", serif;
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.5rem;
	border-bottom: 1px solid var(--primary-color);
	padding-bottom: 0.5rem;
	transition: color var(--theme-transition) ease;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

p {
	margin-bottom: 1rem;
}

.links {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
}

.link-button {
	display: flex;
	align-items: center;
	background-color: var(--secondary-color);
	color: var(--text-color);
	padding: 1.3rem 1.8rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease, background-color var(--theme-transition) ease,
		color var(--theme-transition) ease, box-shadow 0.3s ease;
	border-left: 4px solid var(--primary-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.link-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(193, 143, 65, 0.3) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.link-button:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.link-button:hover::before {
	opacity: 1;
}

.icon {
	margin-right: 20px;
	font-size: 1.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	position: relative;
	overflow: visible;
}

.pixel-icon {
	width: 32px;
	height: 32px;
	/* Preserve pixel art crispness */
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
	transform-origin: center;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon hover effect container */
.icon::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0) 70%
	);
	opacity: 0;
	transform: scale(0.5);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	border-radius: 50%;
}

.link-button:hover .icon::after {
	opacity: 1;
	transform: scale(1.5);
}

/* Enhanced pixel icon hover effect */
.link-button:hover .pixel-icon {
	transform: scale(1.4);
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.link-button span:last-child {
	font-size: 1.05rem;
	letter-spacing: 0.5px;
}

.youtube:hover {
	background-color: var(--secondary-color);
}

.youtube:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(196, 48, 43, 0.3) 100%
	);
	opacity: 1;
}

.twitch:hover {
	background-color: var(--secondary-color);
}

.twitch:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(100, 65, 165, 0.3) 100%
	);
	opacity: 1;
}

.tiktok:hover {
	background-color: var(--secondary-color);
}

.tiktok:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(37, 244, 238, 0.2) 100%
	);
	opacity: 1;
}

.discord:hover {
	background-color: var(--secondary-color);
}

.discord:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(88, 101, 242, 0.3) 100%
	);
	opacity: 1;
}

.twitter:hover {
	background-color: var(--secondary-color);
}

.twitter:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(29, 161, 242, 0.3) 100%
	);
	opacity: 1;
}

.instagram:hover {
	background-color: var(--secondary-color);
}

.instagram:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(225, 48, 108, 0.3) 100%
	);
	opacity: 1;
}

.patreon:hover {
	background-color: var(--secondary-color);
}

.patreon:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(249, 104, 84, 0.3) 100%
	);
	opacity: 1;
}

.email:hover {
	background-color: var(--secondary-color);
}

.email:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(66, 133, 244, 0.3) 100%
	);
	opacity: 1;
}

.support:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(255, 66, 77, 0.3) 100%
	);
	opacity: 1;
}

/* Disabled link styles */
.disabled-link {
	opacity: 0.65;
	cursor: not-allowed;
	position: relative;
}

.disabled-link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 12px;
	pointer-events: none;
	z-index: 2;
}

.disabled-link:hover {
	transform: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Allow the before gradient effect to show on disabled links */
.disabled-link:hover::before {
	opacity: 1;
}

.disabled-link.discord:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(88, 101, 242, 0.3) 100%
	);
}

.disabled-link.support:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(255, 66, 77, 0.3) 100%
	);
}

.disabled-link:hover .icon::after {
	opacity: 0.7;
	transform: scale(1.3);
}

.disabled-link:hover .pixel-icon {
	transform: scale(1.2);
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
}

footer {
	text-align: center;
	margin-top: 3rem;
	color: #999;
	font-size: 0.9rem;
}

@media (max-width: 600px) {
	.container {
		padding: 1rem;
	}

	h1 {
		font-size: 3rem;
		-webkit-text-stroke: 1px var(--primary-color);
		text-shadow: 0 0 1px var(--primary-color), 0 0 2px var(--primary-color),
			1px 1px 3px rgba(0, 0, 0, 0.6);
	}

	.profile-container {
		width: 234px;
		height: 234px;
	}

	.navbar {
		padding: 0 1rem;
		position: sticky; /* Always visible on mobile */
	}

	/* Prevent navbar from hiding on mobile */
	.navbar.hidden {
		transform: translateY(0);
	}

	.menu-items {
		width: 180px;
		left: -10px;
	}

	.pixel-icon {
		width: 28px;
		height: 28px;
	}

	.link-button:hover .pixel-icon {
		transform: scale(1.3);
	}

	.link-button {
		padding: 1rem 1.5rem;
	}

	.icon {
		margin-right: 15px;
		min-width: 28px;
		min-height: 28px;
	}
}

/* Scroll Reveal Animations */
.reveal-section {
	opacity: 0;
	transform: translateY(var(--reveal-distance));
	transition: opacity var(--reveal-duration) ease,
		transform var(--reveal-duration) ease;
}

.reveal-section.active {
	opacity: 1;
	transform: translateY(0);
}

.reveal-section.disappear {
	opacity: 0;
	transform: translateY(calc(-1 * var(--disappear-distance)));
	transition: opacity var(--disappear-duration) ease,
		transform var(--disappear-duration) ease;
}

.reveal-delay-1 {
	transition-delay: 0.1s;
}

.reveal-delay-2 {
	transition-delay: 0.2s;
}

.reveal-delay-3 {
	transition-delay: 0.3s;
}

.reveal-left {
	transform: translateX(calc(-1 * var(--reveal-distance)));
}

.reveal-right {
	transform: translateX(var(--reveal-distance));
}

.reveal-left.active,
.reveal-right.active {
	transform: translateX(0);
}

.reveal-left.disappear {
	transform: translateX(calc(-1 * var(--disappear-distance)));
}

.reveal-right.disappear {
	transform: translateX(var(--disappear-distance));
}

/* Language Transition Animations */
[data-lang] {
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.lang-fade-out {
	opacity: 0;
	transform: translateY(-5px);
}

.lang-fade-in {
	animation: fadeIn 0.4s ease forwards;
}

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

/* Add fade-out transitions for profile image */
.profile-container.disappear {
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Theme and Language Toggle Styles */
.theme-controls {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Common toggle styles */
.theme-toggle,
.lang-toggle {
	position: relative;
	width: 70px;
	height: 30px;
	border-radius: 20px;
	background-color: var(--card-background);
	cursor: pointer;
	transition: background-color var(--theme-transition) ease,
		box-shadow 0.3s ease;
	display: flex;
	align-items: center;
	padding: 0 4px;
	border: 1px solid var(--primary-color);
	overflow: hidden;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.theme-toggle-track,
.lang-toggle-track {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0;
	font-size: 12px;
	position: relative;
	z-index: 1;
}

.theme-toggle-thumb,
.lang-toggle-thumb {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 36px;
	height: 32px;
	border-radius: 15px;
	background-color: var(--primary-color);
	transition: transform var(--theme-transition) ease;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Position for day mode */
.light-theme .theme-toggle-thumb {
	transform: translateX(35px);
}

/* Position for English language */
.lang-en .lang-toggle-thumb {
	transform: translateX(35px);
}

.theme-icon,
.lang-toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 24px;
	text-align: center;
	color: #ffffff;
	position: relative;
	z-index: 1;
	line-height: 24px;
	padding-top: 1px;
	font-size: 14px;
	font-weight: 600;
}

.theme-icon i {
	font-size: 16px;
}

/* Change theme icons color in light mode */
.light-theme .theme-icon,
.light-theme .lang-toggle-icon {
	color: #000000;
}

.theme-icon:first-child,
.lang-toggle-icon:first-child {
	margin-left: 5px;
}

.theme-icon:last-child,
.lang-toggle-icon:last-child {
	margin-right: 5px;
}

/* Light theme specific adjustments */
.light-theme .link-button {
	color: #ffffff;
	background-color: var(--secondary-color-light);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.light-theme section {
	background-color: var(--secondary-color-light);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	color: #ffffff;
}

.light-theme section.links {
	background-color: transparent;
	box-shadow: none;
}

.light-theme .profile-container.active {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.light-theme .youtube:hover,
.light-theme .twitch:hover,
.light-theme .tiktok:hover,
.light-theme .discord:hover,
.light-theme .instagram:hover,
.light-theme .email:hover,
.light-theme .support:hover {
	color: #fff;
}

.light-theme .link-button:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.light-theme .disabled-link {
	opacity: 0.7;
	background-color: var(--secondary-color-light);
}

.light-theme .disabled-link::after {
	background-color: rgba(255, 255, 255, 0.2);
}

.youtube:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(196, 48, 43, 0.5));
}

.twitch:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(100, 65, 165, 0.5));
}

.tiktok:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(37, 244, 238, 0.5));
}

.discord:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(88, 101, 242, 0.5));
}

.instagram:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(225, 48, 108, 0.5));
}

.email:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(66, 133, 244, 0.5));
}

.support:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(255, 66, 77, 0.5));
}

.light-theme .link-button::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(193, 143, 65, 0.5) 100%
	);
}

.light-theme .youtube:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(196, 48, 43, 0.5) 100%
	);
}

.light-theme .twitch:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(100, 65, 165, 0.5) 100%
	);
}

.light-theme .tiktok:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(37, 244, 238, 0.4) 100%
	);
}

.light-theme .discord:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(88, 101, 242, 0.5) 100%
	);
}

.light-theme .instagram:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(225, 48, 108, 0.5) 100%
	);
}

.light-theme .email:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(66, 133, 244, 0.5) 100%
	);
}

.light-theme .support:hover::before {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(255, 66, 77, 0.5) 100%
	);
}

.light-theme .link-button:hover .pixel-icon {
	filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.light-theme .profile-container {
	background-color: var(--secondary-color-light);
}

.light-theme h2 {
	color: var(--primary-color-light);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.light-theme section a {
	color: var(--primary-color);
}

.light-theme p {
	color: #ffffff;
}

.light-theme .menu-items {
	background-color: var(--secondary-color-light);
	border-left: 4px solid var(--primary-color-light);
}

.light-theme .menu-items a {
	color: #ffffff;
}

.light-theme .menu-items a:hover {
	color: var(--primary-color);
}

.light-theme .tagline {
	color: #000000;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.light-theme footer,
.light-theme footer p,
.light-theme #current-year,
.light-theme [data-lang="copyright"] {
	color: #000000 !important;
}

.about h2 {
	color: var(--primary-color);
}

.light-theme .about h2 {
	color: #ffffff;
}

/* Nested animation for links inside reveal sections */
.reveal-section .reveal-delay-1 {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.reveal-section .reveal-delay-2 {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.reveal-section .reveal-delay-3 {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.reveal-section.active .reveal-delay-1 {
	opacity: 1;
	transform: translateY(0);
}

.reveal-section.active .reveal-delay-2 {
	opacity: 1;
	transform: translateY(0);
}

.reveal-section.active .reveal-delay-3 {
	opacity: 1;
	transform: translateY(0);
}

/* Individual button animation delays */
.reveal-section .youtube {
	transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.reveal-section .twitch {
	transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.reveal-section .tiktok {
	transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.reveal-section .instagram {
	transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.reveal-section .email {
	transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.reveal-section .discord {
	transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.reveal-section .support {
	transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}

.reveal-section .link-button {
	opacity: 0;
	transform: translateY(20px);
}

.profile-container::before {
	/* Remove this entire rule since we're using :after now */
}

.profile-container:hover::before {
	/* Remove this entire rule since we're using :after now */
}

@keyframes pulse {
	/* Remove this keyframe animation since we're using pulseProfile now */
}

.profile-container.active .rotation-icon {
	content: "↻";
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	background-color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	opacity: 0;
	transform: scale(0);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 12;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.profile-container.active:hover .rotation-icon {
	opacity: 1;
	transform: scale(1);
}

.profile-back .profile-image {
	filter: sepia(0.3) contrast(1.1);
	border-color: var(--secondary-color);
}

/* Pulse animation around border */
.profile-container::after {
	content: "";
	display: block;
	position: absolute;
	top: -8px;
	left: -8px;
	right: -8px;
	bottom: -8px;
	border-radius: 50%;
	border: 5px solid var(--primary-color);
	opacity: 0;
	z-index: 5;
	pointer-events: none;
	box-shadow: 0 0 12px var(--primary-color);
	transition: opacity 0.3s;
}

.profile-container:hover::after {
	opacity: 1;
	animation: pulseProfile 1.8s infinite;
}

@keyframes pulseProfile {
	0% {
		opacity: 0.9;
		transform: scale(1);
		box-shadow: 0 0 8px var(--primary-color);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.09);
		box-shadow: 0 0 18px var(--primary-color);
	}
	100% {
		opacity: 0.9;
		transform: scale(1);
		box-shadow: 0 0 8px var(--primary-color);
	}
}

/* Style dla przycisku powiadomień */
.notifications-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 36px;
	height: 36px;
	margin-right: 10px;
	color: var(--text-color);
	font-size: 1.2rem;
	transition: color 0.3s, transform 0.2s;
}

.notifications-toggle:hover {
	color: var(--highlight-color);
	transform: scale(1.1);
}

.notifications-toggle:active {
	transform: scale(0.95);
}

.notifications-badge {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #dc3545;
	color: white;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transform: translate(25%, -25%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.notifications-badge.visible {
	opacity: 1;
	visibility: visible;
}

/* Animacja dzwonka przy nowych powiadomieniach */
@keyframes bell-shake {
	0% {
		transform: rotate(0);
	}
	15% {
		transform: rotate(15deg);
	}
	30% {
		transform: rotate(-15deg);
	}
	45% {
		transform: rotate(10deg);
	}
	60% {
		transform: rotate(-10deg);
	}
	75% {
		transform: rotate(5deg);
	}
	85% {
		transform: rotate(-5deg);
	}
	100% {
		transform: rotate(0);
	}
}

.notifications-toggle.new-notification i {
	animation: bell-shake 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
	transform-origin: top center;
}

/* Dostosowanie układu paska nawigacji */
.theme-controls {
	display: flex;
	align-items: center;
}
