/* Angyali Üzenetek – a modul saját stílusa.
 * Minden szabály az .angyali osztály alatt él, hogy ne ütközzön a témával.
 * A betűtípusok helyben vannak, nem töltődik külső forrás (GDPR-barát). */

@font-face { font-family: "Angyali Cormorant"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Angyali Cormorant"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Angyali Cormorant"; font-style: italic; font-weight: 500; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Angyali Cormorant"; font-style: italic; font-weight: 500; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Angyali Cormorant"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Angyali Cormorant"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Angyali Jost"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../fonts/jost-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Angyali Jost"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Angyali Jost"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("../fonts/jost-latin-ext-500-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Angyali Jost"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
 * Elrendezés: keskeny helyen egymás alatt, 760 px-es modulszélességtől
 * (tablet, asztali gép) a két üzenet egymás mellett. Konténerlekérdezés:
 * a modul a saját helyéhez igazodik, keskeny oldalsávban is mobilnézetre vált.
 * ================================================================== */

.angyali {
	--ang-ej: #101a3e;          /* éjféli zafír */
	--ang-kiraly: #1c2b62;      /* szakrális lapiskék */
	--ang-azur: #2b2467;        /* indigó */
	--ang-lila: #3b1c5a;        /* mély ametiszt */
	--ang-padlizsan: #28123d;   /* padlizsán, a legmélyebb árnyalat */
	--ang-gyongy: #fbf5ee;      /* gyöngyház szöveg */
	--ang-gyongy-halk: rgba(251, 245, 238, 0.82);
	--ang-arany: #f3cf6a;       /* erős, meleg arany */
	--ang-arany-sotet: #6f5220;
	--ang-serif: "Angyali Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ang-sans: "Angyali Jost", "Jost", "Segoe UI", system-ui, sans-serif;
	--ang-zaj: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='z'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23z)'/%3E%3C/svg%3E");

	display: block;
	container: angyali / inline-size;
	max-width: 1120px;
	margin: 2.5rem auto;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ang-gyongy);
	text-align: center;
}

.angyali *,
.angyali *::before,
.angyali *::after { box-sizing: border-box; }

.angyali p { margin: 0; padding: 0; color: inherit; letter-spacing: normal; text-transform: none; }
.angyali svg { display: inline-block; }

/* ---- Arany keret: fémes színátmenet, finom csiszolt textúra ---- */
.angyali .angyali__keret {
	position: relative;
	padding: 12px;
	border-radius: 38px;
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px),
		linear-gradient(145deg, #7a5a24 0%, #c39a48 12%, #f4dc9c 24%, #fff6d6 31%, #d0a653 44%, #8c6828 56%, #e2c070 70%, #fbeab8 80%, #b38a3d 90%, #6f5220 100%);
	box-shadow:
		0 0 0 1px var(--ang-arany-sotet),
		inset 0 1px 1px rgba(255, 250, 230, 0.95),
		inset 0 -2px 3px rgba(70, 48, 12, 0.6),
		0 34px 70px -28px rgba(24, 10, 42, 0.7),
		0 10px 24px -12px rgba(24, 10, 42, 0.45);
}

.angyali .angyali__keret::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: var(--ang-zaj);
	mix-blend-mode: multiply;
	opacity: 0.35;
	pointer-events: none;
}

/* ---- A kártya: hajnali égbolt, bársonyos textúrával ---- */
.angyali .angyali__lap {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 48px 26px 34px;
	border-radius: 27px;
	background:
		radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, 0.85), transparent 60%),
		radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, 0.7), transparent 60%),
		radial-gradient(1.4px 1.4px at 88% 34%, rgba(255, 244, 214, 0.75), transparent 60%),
		radial-gradient(1px 1px at 24% 46%, rgba(255, 255, 255, 0.55), transparent 60%),
		radial-gradient(1px 1px at 63% 8%, rgba(255, 255, 255, 0.6), transparent 60%),
		radial-gradient(1.2px 1.2px at 46% 62%, rgba(255, 255, 255, 0.4), transparent 60%),
		radial-gradient(90% 50% at 50% 0%, rgba(176, 186, 232, 0.2), transparent 70%),
		radial-gradient(70% 45% at 85% 100%, rgba(122, 64, 140, 0.32), transparent 70%),
		radial-gradient(60% 40% at 10% 95%, rgba(196, 160, 90, 0.1), transparent 70%),
		linear-gradient(165deg, var(--ang-ej) 0%, var(--ang-kiraly) 30%, var(--ang-azur) 55%, var(--ang-lila) 80%, var(--ang-padlizsan) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(60, 42, 10, 0.85),
		inset 0 4px 14px rgba(0, 0, 0, 0.55),
		inset 0 -1px 0 rgba(255, 240, 200, 0.25);
}

/* Bevésett belső aranyvonal. */
.angyali .angyali__lap::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 13px;
	border: 1px solid rgba(237, 212, 151, 0.3);
	border-radius: 17px;
	pointer-events: none;
}

/* Anyagtextúra: finom szemcse a kék felületen. */
.angyali .angyali__lap::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: var(--ang-zaj);
	mix-blend-mode: soft-light;
	opacity: 0.45;
	pointer-events: none;
}

.angyali .angyali__sarok { position: absolute; z-index: -1; width: 40px; height: 40px; color: var(--ang-arany); opacity: 0.85; pointer-events: none; }
.angyali .angyali__sarok--bf { top: 9px; left: 9px; }
.angyali .angyali__sarok--jf { top: 9px; right: 9px; transform: scaleX(-1); }
.angyali .angyali__sarok--ba { bottom: 9px; left: 9px; transform: scaleY(-1); }
.angyali .angyali__sarok--ja { bottom: 9px; right: 9px; transform: scale(-1, -1); }

/* A fénykör – egyszer bomlik ki a betöltéskor. */
.angyali .angyali__fenykor {
	position: absolute;
	z-index: -1;
	top: -150px;
	left: 50%;
	width: 560px;
	height: 560px;
	margin-left: -280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 238, 205, 0.4) 0%, rgba(200, 190, 240, 0.14) 34%, transparent 66%);
	pointer-events: none;
	animation: angyali-kibomlas 2.4s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes angyali-kibomlas {
	from { opacity: 0; transform: scale(.6); }
	to   { opacity: 1; transform: scale(1); }
}

.angyali .angyali__szikra { position: absolute; z-index: -1; color: var(--ang-arany); line-height: 0; pointer-events: none; }
.angyali .angyali__szikra svg { width: 100%; height: auto; fill: currentColor; }
.angyali .angyali__szikra--1 { top: 46px;  left: 15%;  width: 12px; opacity: .55; }
.angyali .angyali__szikra--2 { top: 104px; right: 12%; width: 8px;  opacity: .45; }
.angyali .angyali__szikra--3 { top: 46%;   left: 5%;   width: 6px;  opacity: .35; }
.angyali .angyali__szikra--4 { bottom: 64px; right: 7%; width: 9px; opacity: .4; }

/* ---- Fejléc ---- */
.angyali .angyali__fej { margin: 0 0 26px; }
.angyali .angyali__toll { width: 42px; height: 42px; color: var(--ang-arany); filter: drop-shadow(0 0 8px rgba(255, 230, 170, 0.35)); }
.angyali .angyali__datum {
	margin-top: 6px;
	font-family: var(--ang-sans);
	font-size: 13px;
	letter-spacing: .04em;
	color: var(--ang-gyongy-halk);
}

/* ---- Rács ---- */
.angyali .angyali__racs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }

/* ---- Üzenet ---- */
.angyali .angyali__uzenet { min-width: 0; max-width: 30em; margin: 0 auto; animation: angyali-megjelenes 1.4s .5s ease-out both; }

@keyframes angyali-megjelenes {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.angyali .angyali__felirat {
	font-family: var(--ang-serif);
	font-style: italic;
	font-weight: 600;
	font-size: 19px;
	color: var(--ang-arany);
	margin-bottom: 14px;
	text-shadow: 0 0 14px rgba(243, 207, 106, 0.35);
}

/* Fémes arany szöveg, ahol a böngésző támogatja. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.angyali .angyali__felirat {
		background: linear-gradient(180deg, #fff1bf 0%, #f3cf6a 45%, #d9a23c 100%);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		text-shadow: none;
		filter: drop-shadow(0 0 10px rgba(243, 207, 106, 0.3));
	}
}

.angyali .angyali__bevezetes {
	font-family: var(--ang-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.45;
	color: var(--ang-gyongy-halk);
	margin-bottom: 18px;
}

.angyali .angyali__fo {
	font-family: var(--ang-serif);
	font-weight: 600;
	font-size: 23px;
	line-height: 1.42;
	color: var(--ang-gyongy);
	text-wrap: pretty;
	text-shadow: 0 1px 12px rgba(24, 12, 48, 0.4);
	margin-bottom: 28px;
}

.angyali .angyali__utravalo {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 27em;
	margin: 0 auto;
	padding: 17px 20px;
	text-align: left;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(237, 212, 151, 0.34);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.angyali .angyali__utravalo > div { min-width: 0; }
.angyali .angyali__utravalo .angyali__csillag-ikon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: var(--ang-arany); }

.angyali .angyali__utravalo-cim {
	font-family: var(--ang-sans);
	font-weight: 500;
	font-size: 13px;
	color: var(--ang-arany);
	margin-bottom: 4px;
}

.angyali .angyali__utravalo-szoveg {
	font-family: var(--ang-sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ang-gyongy);
}

/* ---- Elválasztó: mobilon vízszintes ---- */
.angyali .angyali__elvalaszto {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
	color: var(--ang-arany);
}
.angyali .angyali__elvalaszto span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(237, 212, 151, .6), transparent); }
.angyali .angyali__elvalaszto svg { width: 12px; height: 12px; fill: currentColor; filter: drop-shadow(0 0 6px rgba(255, 230, 170, .6)); }

/* ---- Zárt második üzenet (vendégeknek) ---- */
.angyali .angyali__zar {
	position: relative;
	min-width: 0;
	width: 100%;
	max-width: 30em;
	margin: 0 auto;
	padding: 26px 22px 28px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(22, 16, 54, 0.45), rgba(34, 16, 56, 0.2));
	border: 1px solid rgba(237, 212, 151, 0.28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(170, 150, 230, 0.08);
}

/* Díszítő „fátyol”: nem valódi szöveg, a második üzenet a forrásból sem olvasható ki. */
.angyali .angyali__fatyol { display: grid; gap: 11px; justify-items: center; margin: 2px 0 22px; filter: blur(4.5px); opacity: .45; }
.angyali .angyali__fatyol span { display: block; height: 12px; border-radius: 8px; background: rgba(251, 245, 238, .6); }
.angyali .angyali__fatyol span:nth-child(1) { width: 70%; }
.angyali .angyali__fatyol span:nth-child(2) { width: 92%; }
.angyali .angyali__fatyol span:nth-child(3) { width: 84%; }
.angyali .angyali__fatyol span:nth-child(4) { width: 90%; }
.angyali .angyali__fatyol span:nth-child(5) { width: 48%; }

.angyali .angyali__zar-cim {
	font-family: var(--ang-serif);
	font-weight: 600;
	font-size: 26px;
	line-height: 1.3;
	color: var(--ang-gyongy);
	margin-bottom: 8px;
}

.angyali .angyali__zar-szoveg {
	font-family: var(--ang-sans);
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ang-gyongy-halk);
	max-width: 26em;
	margin: 0 auto 26px;
}

/* =====================================================================
 * Gombok: finom, ékszerszerű díszek. Lenyomáskor kissé besüllyednek,
 * kattintáskor csillámok szállnak fel körülöttük.
 * A ráhúzás csak a fényt változtatja, a méretet és a helyet nem.
 * ================================================================== */

.angyali .angyali__gombok { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* A megnyitó gombok <button> elemek: a téma gombstílusainak semlegesítése. */
.angyali button.angyali__gomb,
.angyali button.angyali__gomb:hover,
.angyali button.angyali__gomb:focus,
.angyali button.angyali__gomb:active,
.angyali button.angyali__gomb:disabled {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}
.angyali button.angyali__gomb:disabled { cursor: default; }
.angyali button.angyali__gomb:disabled .angyali__gomb-test { filter: saturate(.55) brightness(.85); }
.angyali button.angyali__gomb:disabled .angyali__gomb-test::before { animation: none; display: none; }

/* Elrendezés: csak az alapszabályban, hogy állapotváltáskor ne változzon a méret. */
.angyali .angyali__gomb {
	position: relative;
	display: inline-block;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 15.5em;
	border-radius: 26px;
	-webkit-tap-highlight-color: transparent;
}

/* Témavédelem: minden állapotban ugyanaz, elrendezési tulajdonság nélkül. */
.angyali .angyali__gomb,
.angyali .angyali__gomb:visited,
.angyali .angyali__gomb:hover,
.angyali .angyali__gomb:focus,
.angyali .angyali__gomb:active {
	text-decoration: none;
	background: none;
	border: 0;
	box-shadow: none;
	outline: none;
}

.angyali .angyali__gomb:focus-visible { outline: 1.5px solid var(--ang-arany); outline-offset: 5px; }

.angyali .angyali__gomb-test {
	--ang-gomb-dereng: 0 0 0 transparent;
	--ang-gomb-nyom: inset 0 0 0 transparent;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 12px 22px;
	min-height: 48px;
	border-radius: inherit;
	font-family: var(--ang-sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: .05em;
	white-space: normal;
	text-align: center;
	transition: transform .3s ease, box-shadow .45s ease, filter .45s ease;
}

/* Két apró gyémánt a felirat két oldalán. */
.angyali .angyali__gomb-felirat { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-width: 0; text-wrap: balance; }
.angyali .angyali__gomb-felirat::before,
.angyali .angyali__gomb-felirat::after {
	content: "";
	flex: 0 0 auto;
	width: 4px;
	height: 4px;
	background: currentColor;
	transform: rotate(45deg);
	opacity: .7;
}

/* Lassú, halk csillanás. */
.angyali .angyali__gomb-test::before {
	content: "";
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: -60%;
	width: 36%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	animation: angyali-csillanas 8s ease-in-out 2s infinite;
	pointer-events: none;
}

@keyframes angyali-csillanas {
	0%   { left: -60%; }
	14%  { left: 130%; }
	100% { left: 130%; }
}

/* Arany: szatén felület, vésett belső szegély. */
.angyali .angyali__gomb--fo .angyali__gomb-test {
	color: #1b1a4a;
	background: linear-gradient(180deg, #fbe7aa 0%, #ecc566 50%, #cf9a3c 100%);
	box-shadow:
		var(--ang-gomb-nyom),
		inset 0 0 0 1px rgba(255, 246, 214, 0.85),
		inset 0 0 0 3px rgba(225, 178, 84, 0.9),
		inset 0 0 0 4px rgba(122, 82, 24, 0.5),
		0 0 0 1px #8a6526,
		0 6px 16px -6px rgba(4, 8, 30, 0.6),
		var(--ang-gomb-dereng);
}

/* Éjkék: áttetsző felület, kettős aranyszegély, arany felirat. */
.angyali .angyali__gomb--masod .angyali__gomb-test {
	color: var(--ang-arany);
	background: linear-gradient(180deg, rgba(46, 42, 110, 0.65), rgba(56, 26, 86, 0.65));
	box-shadow:
		var(--ang-gomb-nyom),
		inset 0 0 0 1px rgba(243, 207, 106, 0.85),
		inset 0 0 0 4px rgba(22, 12, 44, 0.55),
		inset 0 0 0 5px rgba(243, 207, 106, 0.35),
		0 6px 16px -6px rgba(4, 8, 30, 0.6),
		var(--ang-gomb-dereng);
}
.angyali .angyali__gomb--masod .angyali__gomb-test::before { background: linear-gradient(100deg, transparent, rgba(243, 207, 106, 0.28), transparent); animation-delay: 3s; }

/* Ráhúzás: csak dereng, nem mozdul. */
@media (hover: hover) {
	.angyali .angyali__gomb--fo:hover .angyali__gomb-test { --ang-gomb-dereng: 0 0 22px 2px rgba(243, 207, 106, 0.4); filter: brightness(1.04); }
	.angyali .angyali__gomb--masod:hover .angyali__gomb-test { --ang-gomb-dereng: 0 0 22px 2px rgba(200, 180, 240, 0.3); filter: brightness(1.12); }
}

/* Lenyomás: finoman besüllyed. */
.angyali .angyali__gomb:active .angyali__gomb-test,
.angyali .angyali__gomb.is-nyomva .angyali__gomb-test,
.angyali .angyali__gomb.is-uton .angyali__gomb-test {
	--ang-gomb-nyom: inset 0 2px 7px rgba(40, 24, 4, 0.45);
	transform: scale(.975);
	transition-duration: .12s;
}

/* Csillámréteg a gomb körül. */
.angyali .angyali__gomb-feny {
	position: absolute;
	z-index: 2;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}
.angyali .angyali__gomb-feny::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0;
}
.angyali .angyali__gomb.is-fenyes .angyali__gomb-feny::before { animation: angyali-dereng 1s ease-out forwards; }

@keyframes angyali-dereng {
	0%   { opacity: 0; box-shadow: 0 0 10px 2px rgba(255, 240, 196, 0.7); }
	30%  { opacity: 1; box-shadow: 0 0 30px 10px rgba(255, 236, 180, 0.45); }
	100% { opacity: 0; box-shadow: 0 0 46px 18px rgba(210, 195, 245, 0); }
}

/* Egy csillám: négyágú csillag vagy fénypont. A helyét és útját a szkript adja. */
.angyali .angyali__csillam {
	position: absolute;
	left: var(--kx, 50%);
	top: var(--ky, 50%);
	width: var(--s, 8px);
	height: var(--s, 8px);
	margin: calc(var(--s, 8px) / -2) 0 0 calc(var(--s, 8px) / -2);
	background: linear-gradient(180deg, #fffaf0, #f3cf6a);
	clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
	opacity: 0;
	animation: angyali-csillam var(--t, .9s) cubic-bezier(.2, .6, .3, 1) var(--k, 0s) forwards;
}
.angyali .angyali__csillam--pont {
	clip-path: none;
	border-radius: 50%;
	background: #fff6dc;
	box-shadow: 0 0 6px 2px rgba(255, 228, 160, 0.8);
}

@keyframes angyali-csillam {
	0%   { opacity: 0; transform: translate(0, 0) scale(0) rotate(0deg); }
	25%  { opacity: 1; transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .35)) scale(1) rotate(45deg); }
	70%  { opacity: .85; }
	100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3) rotate(120deg); }
}

/* ---- Csillámpor vászon: a tartalom fölött, de minden kattintást átenged ---- */
.angyali .angyali__csillampor {
	position: absolute;
	z-index: 5;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* ---- Lábléc ---- */
.angyali .angyali__lab {
	margin-top: 30px;
	font-family: var(--ang-serif);
	font-style: italic;
	font-size: 16.5px;
	color: var(--ang-gyongy-halk);
}

/* ---- Megnyitás ---- */
.angyali .angyali__hely { min-width: 0; width: 100%; }
.angyali .angyali__rejtett[hidden],
.angyali .angyali__zar[hidden] { display: none; }

/* A második hely az első üzenet megnyitásáig halványan várakozik. */
.angyali .angyali__hely--2 .angyali__zar { transition: opacity .6s ease, filter .6s ease; }
.angyali .angyali__hely--2.is-varakozik .angyali__zar { opacity: .5; filter: saturate(.65); }

/* Kérdés a sorrend-jelzés fölött. */
.angyali .angyali__felhivas { max-width: 30em; margin: 0 auto 16px; }
.angyali .angyali__felhivas[hidden] { display: none; }
.angyali .angyali__kerdes {
	margin-bottom: 10px;
	font-family: var(--ang-serif);
	font-style: italic;
	font-weight: 600;
	font-size: 23px;
	line-height: 1.3;
	color: var(--ang-gyongy);
	text-wrap: balance;
	text-shadow: 0 0 18px rgba(243, 207, 106, 0.25);
}

/* Kiemelt sorrend-jelzés: a második üzenet csak az első után nyitható. */
.angyali .angyali__sorrend {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 30em;
	margin: 0 auto;
	padding: 13px 18px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(243, 207, 106, 0.2), rgba(243, 207, 106, 0.08));
	border: 1.5px solid var(--ang-arany);
	box-shadow: 0 0 22px rgba(243, 207, 106, 0.22), inset 0 1px 0 rgba(255, 246, 214, 0.25);
	color: var(--ang-gyongy);
	font-family: var(--ang-sans);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
	animation: angyali-dereng-jelzes 2.8s ease-in-out infinite;
}
.angyali .angyali__sorrend strong { display: block; font-weight: 500; font-size: 16.5px; color: var(--ang-arany); }
.angyali .angyali__sorrend-szoveg { min-width: 0; }
.angyali .angyali__lakat { flex: 0 0 26px; width: 26px; height: 26px; color: var(--ang-arany); }

.angyali .angyali__sorrend.is-kesz { animation: none; background: rgba(243, 207, 106, 0.14); box-shadow: 0 0 30px rgba(243, 207, 106, 0.35); }
.angyali .angyali__sorrend.is-kesz .angyali__lakat path { transform: translate(5px, -2px) rotate(18deg); transform-origin: 17px 10px; transition: transform .5s ease; }

@keyframes angyali-dereng-jelzes {
	0%, 100% { box-shadow: 0 0 14px rgba(243, 207, 106, 0.16), inset 0 1px 0 rgba(255, 246, 214, 0.25); }
	50%      { box-shadow: 0 0 28px rgba(243, 207, 106, 0.38), inset 0 1px 0 rgba(255, 246, 214, 0.25); }
}
.angyali .angyali__hely--2.is-varakozik a.angyali__gomb { pointer-events: none; }

.angyali .angyali__rejtett.is-elotunik { animation: angyali-elotunes 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.angyali .angyali__rejtett.is-elotunik .angyali__uzenet { animation: none; }
.angyali .angyali__uzenet:focus { outline: none; }

@keyframes angyali-elotunes {
	0%   { opacity: 0; transform: translateY(8px) scale(.985); filter: blur(4px); }
	60%  { filter: blur(0); }
	100% { opacity: 1; transform: none; filter: none; }
}

/* ---- Apróbetűs felelősségkizárás ---- */
.angyali .angyali__jogi {
	max-width: 62em;
	margin: 22px auto 0;
	padding-top: 16px;
	border-top: 1px solid rgba(243, 207, 106, 0.22);
	font-family: var(--ang-sans);
	font-size: 11.5px;
	line-height: 1.55;
	color: rgba(251, 245, 238, 0.66);
	text-wrap: pretty;
}

/* =====================================================================
 * Tablet és asztali gép: vízszintes elrendezés
 * ================================================================== */
@container angyali (min-width: 760px) {
	.angyali .angyali__keret { padding: 14px; border-radius: 42px; }
	.angyali .angyali__lap { padding: 50px 40px 36px; border-radius: 30px; }
	.angyali .angyali__lap::before { inset: 15px; border-radius: 20px; }
	.angyali .angyali__sarok { width: 52px; height: 52px; }
	.angyali .angyali__sarok--bf { top: 11px; left: 11px; }
	.angyali .angyali__sarok--jf { top: 11px; right: 11px; }
	.angyali .angyali__sarok--ba { bottom: 11px; left: 11px; }
	.angyali .angyali__sarok--ja { bottom: 11px; right: 11px; }

	.angyali .angyali__racs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 30px; align-items: start; }

	.angyali .angyali__elvalaszto { flex-direction: column; align-self: stretch; width: 14px; max-width: none; margin: 0; }
	.angyali .angyali__elvalaszto span { flex: 1; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(237, 212, 151, .6), transparent); }

	.angyali .angyali__fo { font-size: 22px; }
	.angyali .angyali__zar { padding: 26px 20px 28px; }
	.angyali .angyali__gomb { flex: 0 1 auto; min-width: 0; max-width: 15.5em; }
	.angyali .angyali__gomb-test { padding-left: 14px; padding-right: 14px; }
}

@container angyali (min-width: 1000px) {
	.angyali .angyali__lap { padding: 58px 64px 40px; }
	.angyali .angyali__racs { gap: 0 48px; }
	.angyali .angyali__fo { font-size: 25px; }
	.angyali .angyali__bevezetes { font-size: 21px; }
	.angyali .angyali__zar { padding: 30px 28px 30px; }
	.angyali .angyali__gomb-test { padding-left: 22px; padding-right: 22px; }
}

/* ---- Kis telefonok ---- */
@container angyali (max-width: 420px) {
	.angyali .angyali__keret { padding: 8px; border-radius: 30px; }
	.angyali .angyali__lap { padding: 42px 18px 30px; border-radius: 23px; }
	.angyali .angyali__lap::before { inset: 10px; border-radius: 15px; }
	.angyali .angyali__sarok { width: 32px; height: 32px; }
	.angyali .angyali__sarok--bf { top: 7px; left: 7px; }
	.angyali .angyali__sarok--jf { top: 7px; right: 7px; }
	.angyali .angyali__sarok--ba { bottom: 7px; left: 7px; }
	.angyali .angyali__sarok--ja { bottom: 7px; right: 7px; }
	.angyali .angyali__fo { font-size: 21px; }
	.angyali .angyali__bevezetes { font-size: 18.5px; }
	.angyali .angyali__utravalo { padding: 15px 15px; gap: 11px; }
	.angyali .angyali__zar { padding: 22px 16px 24px; }
	.angyali .angyali__zar-cim { font-size: 23px; }
	.angyali .angyali__gomb { flex: 1 1 100%; min-width: 0; max-width: 18em; }
}

@media (prefers-reduced-motion: reduce) {
	.angyali .angyali__fenykor,
	.angyali .angyali__uzenet,
	.angyali .angyali__gomb-test::before { animation: none; }
	.angyali .angyali__gomb-test::before { display: none; }
	.angyali .angyali__gomb-test { transition: none; }
	.angyali .angyali__csillam { display: none; }
	.angyali .angyali__rejtett.is-elotunik,
	.angyali .angyali__sorrend,
	.angyali .angyali__hely--2 .angyali__zar { animation: none; transition: none; }
}

/* Ajánlott napi olvasmány */
.angyali .angyali__olvasmany { max-width: 30em; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(243, 207, 106, .28); }
.angyali .angyali__olvasmany-cimke { margin: 0 0 10px; text-align: center; font-family: var(--ang-serif); font-style: italic; font-size: 17px; color: var(--ang-arany); }
.angyali .angyali__olvasmany-link {
	display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; color: inherit;
	background: rgba(251, 245, 238, .05); box-shadow: 0 0 0 1px rgba(243, 207, 106, .3);
	transition: background .4s ease, box-shadow .4s ease;
}
.angyali .angyali__olvasmany-link:hover, .angyali .angyali__olvasmany-link:focus-visible { background: rgba(251, 245, 238, .09); box-shadow: 0 0 0 1px rgba(243, 207, 106, .6), 0 0 26px rgba(255, 244, 214, .16); outline: none; }
.angyali .angyali__olvasmany-kep { flex: 0 0 76px; width: 76px; height: 76px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(243, 207, 106, .45); }
.angyali .angyali__olvasmany-szoveg { display: grid; gap: 4px; min-width: 0; text-align: left; }
.angyali .angyali__olvasmany-cim { font-family: var(--ang-serif); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--ang-gyongy); }
.angyali .angyali__olvasmany-kivonat { font-size: 14px; line-height: 1.5; color: var(--ang-gyongy-halk); }
.angyali .angyali__olvasmany-tovabb { font-size: 13.5px; letter-spacing: .03em; color: var(--ang-arany); }
.angyali .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
