* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Gantari';
}

:root {
	--primary: #00f0ff;
	--secondary: #ff00d4;
	--accent: #9d4edd;
	--dark-1: #0a0a12;
	--dark-2: #12121f;
	--dark-3: #1a1a2e;
	--glass-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
	--glow-cyan: rgba(0, 240, 255, 0.4);
	--glow-magenta: rgba(216, 169, 82, 0.671);
}

body {
	background: var(--dark-1);
	color: #ffffff;
	min-height: 100vh;
}

.footer-content {
	margin-top: 50px;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 20px;
	border-top: 1px solid var(--glow-magenta);
	position: relative;
	z-index: 2;
}

/* Ambient Background */
.ambient-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	animation: float 8s ease-in-out infinite;
}

.orb-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
	top: -10%;
	left: -10%;
	animation-delay: 0s;
}

.orb-2 {
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, var(--glow-magenta) 0%, transparent 70%);
	bottom: -150px;
	right: -150px;
	animation-delay: -7s;
}

.orb-3 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(221, 211, 65, 0.3) 0%, transparent 70%);
	top: 20%;
	left: 45%;
	transform: translate(-50%, -50%);
	animation-delay: -14s;
}

@keyframes float {

	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}

	25% {
		transform: translate(50px, -30px) scale(1.05);
	}

	50% {
		transform: translate(-30px, 50px) scale(0.95);
	}

	75% {
		transform: translate(-50px, -20px) scale(1.02);
	}
}

/* The Background Grid Pattern Overlay */
.grid-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 80px 80px;
	pointer-events: none;
	z-index: 1;
}

/* Main Content Styling */

.button-style {
	margin: 20px;
	padding: 10px 20px;
	font-size: 1rem;
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: 2px solid var(--glow-magenta);
	border-radius: 50px;
	width: 170px;
	cursor: pointer;

	transition:
		background-color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.button-style:hover {
	background-color: var(--glow-magenta);
	box-shadow: 0 0 15px var(--glow-magenta);
	transition: all 0.25s ease;
	transform: translateY(-2px);
}

.welcome {
	font-size: 1.5rem;
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 100px 20px;
}

#bytext {
	font-size: smaller;
	color: var(--glow-magenta);
	animation: textPulse 2s ease-in-out infinite;
}

.ability-cards {
	width: 90%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	perspective: 1000px;
}

.ability-box {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	width: 300px;
	padding: 20px;
	text-align: center;
	margin: 15px;
	/* Increased margin for the "float" room */
	backdrop-filter: blur(5px);
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

	/* --- THE ALWAYS-ON ANIMATION --- */
	/* This makes the box slowly bob up and down */
	animation: floating 4s ease-in-out infinite;
}

/* Offset the animation for every second box so they don't move in perfect sync */
.ability-box:nth-child(even) {
	animation-delay: 1s;
}

.ability-box h3 {
	color: var(--glow-magenta);
	/* Subtle neon pulse for the text */
	animation: textPulse 7s ease-in-out infinite;
}

/* 2. The Magenta Glow Pulse */
@keyframes textPulse {

	10%,
	100% {
		text-shadow: 0 0 5px rgba(255, 0, 255, 0.2);
	}

	50% {
		text-shadow: 0 0 15px rgba(238, 148, 13, 0.8), 0 0 20px rgba(255, 0, 255, 0.4);
	}
}

/* --- HOVER OVERRIDE --- */
/* We pause the float animation on hover so it doesn't fight the user's mouse */
.ability-box:hover {
	animation-play-state: paused;
	transform: translateY(-15px) scale(1.05);
	/* Slightly stronger lift on hover */
	border-color: var(--glow-magenta);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
		0 0 20px rgba(255, 166, 0, 0.4);
	background-color: rgba(255, 255, 255, 0.15);
}

#SmartSuggestion {
	width: min(92%, 980px);
	margin: 60px auto 0;
	padding: 28px 22px 22px;
	border-radius: 18px;
	position: relative;
	z-index: 2;
	overflow: hidden;

	/* Glass card */
	background: linear-gradient(135deg,
			rgba(255, 255, 255, 0.07),
			rgba(255, 255, 255, 0.03));
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	box-shadow:
		0 18px 55px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

/* Subtle animated glow */
#SmartSuggestion::before {
	content: "";
	position: absolute;
	inset: -2px;
	background: radial-gradient(circle at 20% 10%,
			rgba(0, 240, 255, 0.16),
			transparent 55%),
		radial-gradient(circle at 80% 70%,
			rgba(216, 169, 82, 0.18),
			transparent 60%);
	filter: blur(14px);
	opacity: 0.9;
	pointer-events: none;
}

#SmartSuggestion>* {
	position: relative;
}

#SmartSuggestion h2 {
	margin: 0;
	font-family: "Lexend Giga", sans-serif;
	letter-spacing: 0.4px;
	color: #fff;
	text-shadow: 0 0 18px rgba(216, 169, 82, 0.25);
}

#SmartSuggestion h2 img {
	transform: translateY(-2px);
}

#SmartSuggestion img[alt="Penguin Logo"] {
	margin: 10px auto 6px;
	filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
	opacity: 0.95;
}

/* Input + button */
#SmartSuggestion .smart-input-wrap {
	max-width: 520px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: stretch;
}

#SmartSuggestion .ai-input-wrapper {
	position: relative;
}

#SmartSuggestion .led-bar {
	 position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* A csík vastagsága */
    background: linear-gradient(90deg, 
        #00f0ff, /* Cián (a kódodból) */
        #d8a952, /* Arany (a kódodból) */
        #00f0ff,
		#f64544  /* Zárás ugyanazzal a színnel a folyamatosságért */
    );
    background-size: 300% 100%;
    z-index: 10;
    animation: led-travel 4s linear infinite;
}

@keyframes led-travel {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}


#ai-input.form-control {
	background: rgba(10, 10, 18, 0.55);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	padding: 1.1rem 2.6rem 1.1rem 1.25rem;
	/* space for X button */
	font-size: 1.05rem;
}

#ai-clear-btn {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	line-height: 1;
	padding: 0;
}

#ai-clear-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

#ai-input.form-control::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

#ai-input.form-control:focus {
	background: rgba(10, 10, 18, 0.65);
	color: #fff;
	border-color: rgba(216, 169, 82, 0.45);
	box-shadow: 0 0 0 0.2rem rgba(216, 169, 82, 0.18);
}

.ai-generate-btn {
	border: 1px solid rgba(216, 169, 82, 0.55);
	color: #fff;
	font-weight: 600;
	padding: 0.9rem 1.1rem;
	border-radius: 999px;
	align-self: center;
	min-width: 190px;
	background: linear-gradient(135deg,
			rgba(216, 169, 82, 0.25),
			rgba(157, 78, 221, 0.18));
}

.ai-generate-btn:hover {
	border-color: rgba(216, 169, 82, 0.8);
	background: linear-gradient(135deg,
			rgba(216, 169, 82, 0.38),
			rgba(157, 78, 221, 0.22));
	box-shadow: 0 0 20px rgba(216, 169, 82, 0.18);
}

.ai-generate-btn:active {
	transform: translateY(1px);
}

/* Output bubble - AI message style */
#ai-story {
	position: relative;
	background: radial-gradient(circle at 0 0, rgba(216, 169, 82, 0.22), transparent 55%),
		rgba(10, 10, 18, 0.52);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	padding: 18px 18px 18px 60px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.94) !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
	text-align: left;
	min-height: 110px;
	/* make it look like a high AI box */
	margin: 1.1rem auto 2rem !important;
	/* extra spacing around suggested text */
	display: flex;
	align-items: center;
}

#ai-story::before {
	content: "AI";
	position: absolute;
	left: 16px;
	top: 16px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(216, 169, 82, 0.9), rgba(157, 78, 221, 0.9));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
	color: #0b0b13;
	box-shadow: 0 0 18px rgba(216, 169, 82, 0.6);
}

#distro-finder {
	img {
		display: block;
		width: 60%;
		height: auto;
		margin: auto;
		border-radius: 50px;
		margin-bottom: 3.5%;
		transition: all 0.5s;
	}

	img:hover {
		width: 70%;
		margin-bottom: 1%;
		transition: all 0.5s;
	}
}

#distro-finder div {
	font-size: 1.2rem;
	text-align: left;
	padding: 15px;

	li {
		margin: 15px 0;
	}
}


#laptopbatterylife a {
	text-align: center;
}

#laptopbatterylife a:hover {
	transition: all 0.3s ease;
	color: var(--accent);
}

.row {
	margin-top: 1%;
	justify-content: center;
}

.card {
	width: 80%;
	margin: 1% 2%;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	text-align: center;
	padding: 20px;
}

.anim {
	opacity: 0;
	transform: translateX(-30px);
	animation: open 1.2s ease-out forwards;
}

.anim-1 {
	opacity: 0;
	transform: translateX(30px);
	animation: open 1s ease-out forwards;
	animation-delay: 0.6s;
}

.anim-y {
	opacity: 0;
	transform: translateY(30px);
	animation: open 1s ease-out forwards;
	animation-delay: 0.3s;
}

.anim-Y {
	opacity: 0;
	transform: translateY(-30px);
	animation: open 1s ease-out forwards;
	animation-delay: 0.3s;
}

@keyframes open {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.highlight-box {
	position: fixed;
	top: 80px;
	/* navbar alatt */
	left: 50%;
	transform: translateX(-50%);
	background-color: #cce5ff;
	/* világos kék */
	color: #000;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	max-width: 80%;
	font-size: 16px;
}

.highlight-box .close-btn {
	position: absolute;
	top: 5px;
	right: 10px;
	cursor: pointer;
	font-weight: bold;
	font-size: 18px;
}

.card-title {
	color: var(--glow-magenta);
	font-family: 'Lexend Giga', sans-serif;
}

.card-text {
	color: white;
}

.logo-img {
	max-height: 4.5%;
}

a {
	color: var(--glow-magenta);
}

.distrofinder-div {
	width: 80%;
	margin: 1%;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	margin-top: 50px;
	text-align: justify;
	padding: 20px;
}

#reveal-button {
	margin: auto 1.5rem;
	padding: 0.5rem 1.4rem;
	font-size: 0.9rem;
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: 2px solid var(--glow-magenta);
	border-radius: 50px;
	/* height: 3rem; */
	/* width: 10rem; */
	cursor: pointer;

	transition:
		background-color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;

	margin-top: 10px;
}

#reveal-button:hover {
	background-color: var(--glow-magenta);
	box-shadow: 0 0 15px var(--glow-magenta);
	transition: all 0.25s ease;
	transform: translateY(-2px);
}

select {
	margin-left: 1.5rem;
	padding: 0.5rem 1rem;
	border-radius: 50px;
	background-color: rgb(90, 95, 102);
	color: #fff;
	text-align: center;
	border: 2px solid var(--glow-magenta);
}

/* Default state for the display area */
#hyde {
	opacity: 0;
	visibility: hidden;
	/* A slight downward shift for a nice reveal effect */
	transform: translateX(10px);
	/* Transition opacity, visibility, and transform smoothly */
	transition: opacity 0.5s ease-out, visibility 0.3s ease-out, transform 0.5s ease-out;
}

/* Active state triggered by JavaScript */

/* Language Switcher Styles */
.lang-switcher {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	border: none;
	border-radius: 8px;
	padding: 0;
	cursor: pointer;
	margin-left: auto;
	margin-right: 12px;
}

.lang-switcher {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid var(--glass-border);
	border-radius: 8px;
	padding: 6px 10px;
	backdrop-filter: blur(10px);
	cursor: pointer;
	transition: all 0.3s ease;
}

.lang-switcher:hover {
	border-color: var(--primary);
	background: rgba(0, 240, 255, 0.1);
	box-shadow: 0 0 12px var(--glow-cyan);
	transform: scale(1.05);
}

.lang-switcher img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.lang-switcher span {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: 1px;
}

#hyde.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	/* Moves it back to its original position */
}

/* 
option:not(:checked) {
	background-color: rgba(255, 255, 255, 0.2);
	color: black;
} */

.card-text {
	text-align: justify;
}

ul.card-text {
	margin-left: 0;
	padding-left: 1rem;
}

.drk-bg {
	width: min(92%, 980px);
	margin: 60px auto 0;
	padding: 28px 22px 22px;
	border-radius: 18px;
	text-align: justify;
	position: relative;
	z-index: 2;
	overflow: hidden;

	/* Match SmartSuggestion glass background */
	background: linear-gradient(135deg,
			rgba(255, 255, 255, 0.07),
			rgba(255, 255, 255, 0.03));
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	box-shadow:
		0 18px 55px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.input-style {
	margin: auto;
	display: block;
	margin-top: 3.5rem;
	width: 15rem;
	height: 2rem;
	border: none;
	border-radius: 10px;
	text-align: center;
}

#suggest-div p{
	margin-bottom: 6px;
}

#suggestion-form input {
	display: block;
	margin-top: 1.5rem;
	/* margin-bottom: 1rem; */
	width: 20rem;
	max-width: 100%;
	height: 2rem;
	border: none;
	border-radius: 10px;
	padding: 0.5rem;
}

#suggestion-form textarea {
	display: block;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 0.5rem;
}

#suggestion-form button {
	display: block;
	margin: auto;
}

/*ads*/
.popup-overlay {
	display: none;
	/* Alapból rejtve */
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	/* Félátlátszó fekete */
}

.popup-content {
	background-color: white;
	margin: 15% auto;
	padding: 20px;
	border-radius: 10px;
	width: 90%;
	max-width: 400px;
	text-align: center;
	position: relative;

	/* ANIMÁCIÓ HOZZÁADÁSA: */
	/* Név: zoomIn, Időtartam: 0.4s, Típus: ease-out (lassuló) */
	animation-name: zoomIn;
	animation-duration: 0.8s;
	animation-timing-function: ease-out;
}

.close-btn {
	color: black;
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 28px;
	background-color: white;
	border: 1px solid black;
	border-radius: 50px;
	width: 32px;
	cursor: pointer;
}

/* --- ÚJ: Az animáció definíciója --- */
@keyframes zoomIn {
	from {
		/* Kezdőállapot: teljesen kicsi (0) és átlátszó (0) */
		transform: scale(0);
		opacity: 0;
	}

	to {
		/* Végállapot: teljes méret (1) és látható (1) */
		transform: scale(1);
		opacity: 1;
	}
}

#helpbox {
	margin: 2rem;
}

#helpbox li {
	padding: 1rem;
}

#Notiumbanner {
	img {
		width: 100%;
		display: block;
		max-width: 650px;
		height: auto;
		margin: 1.5em auto;
		border-radius: 25px;
	}
}