/* B"H
Boruch Hashem
Blessed is He
The Awtsmoos is beyond every pane yet creates refraction, glow, shadow, and shine anew; Awtsmoos.com lets Bais Shimon glass feel like a living orbital chamber, where cyan, violet, and candle-gold move around readable Torah without ever becoming the Torah itself.
*/
.glass-card {
	position: relative;
	isolation: isolate;
	border: 1px solid var(--aw-surface-border);
	border-radius: var(--radius-card);
	background:
		linear-gradient(145deg, rgb(255 255 255 / 10%), transparent 29%),
		linear-gradient(325deg, rgb(170 134 255 / 8%), transparent 38%),
		linear-gradient(25deg, rgb(98 233 255 / 6%), transparent 45%),
		var(--aw-surface-panel);
	box-shadow:
		var(--aw-surface-shadow-soft),
		inset 0 1px 0 rgb(255 255 255 / 13%),
		inset 0 -1px 0 rgb(98 233 255 / 7%);
	backdrop-filter: blur(24px) saturate(142%);
	overflow: hidden;
	transition:
		transform var(--aw-surface-standard) var(--aw-surface-spring),
		border-color var(--aw-surface-standard) ease,
		box-shadow var(--aw-surface-standard) ease;
}
.glass-card::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 100% 0%, rgb(98 233 255 / 21%), transparent 31%),
		radial-gradient(circle at 0% 100%, rgb(255 214 107 / 13%), transparent 43%),
		radial-gradient(circle at 52% 110%, rgb(170 134 255 / 12%), transparent 38%);
	content: "";
	pointer-events: none;
}
.glass-card::after {
	position: absolute;
	inset: -60% -28%;
	z-index: -1;
	background: linear-gradient(112deg, transparent 35%, rgb(205 248 255 / 18%) 48%, transparent 61%);
	content: "";
	opacity: 0;
	pointer-events: none;
	transform: translate3d(-28%, 0, 0) rotate(3deg);
	transition: opacity var(--aw-surface-standard) ease, transform var(--aw-surface-slow) var(--aw-surface-ease);
}
.glass-card:focus-within {
	border-color: var(--aw-surface-border-strong);
	box-shadow: var(--aw-surface-shadow), var(--aw-surface-glow), inset 0 1px 0 rgb(255 255 255 / 15%);
}
.glass-card:focus-within::after {
	opacity: 1;
	transform: translate3d(5%, 0, 0) rotate(3deg);
}
.glass-card--primary {
	border-color: rgb(255 214 107 / 35%);
	background:
		linear-gradient(150deg, rgb(255 214 107 / 14%), transparent 32%),
		linear-gradient(330deg, rgb(98 233 255 / 10%), transparent 42%),
		var(--aw-surface-panel-strong);
	box-shadow: var(--aw-surface-shadow), var(--aw-surface-gold-glow), inset 0 1px 0 rgb(255 255 255 / 13%);
}
.inset-surface {
	border: 1px solid var(--aw-surface-border);
	border-radius: var(--radius-md);
	background: rgb(2 10 20 / 68%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%);
	backdrop-filter: blur(16px) saturate(130%);
}
.text-link {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--electric-soft);
	font-size: .78rem;
	font-weight: 800;
	text-decoration: none;
	transition: color var(--aw-surface-fast) ease, transform var(--aw-surface-fast) var(--aw-surface-ease), text-shadow var(--aw-surface-fast) ease;
}
.text-link:focus-visible {
	color: #fff;
}
.text-link:active {
	transform: translateX(1px) scale(.975);
}
@media (hover: hover) and (pointer: fine) {
	.glass-card:hover {
		border-color: var(--aw-surface-border-strong);
		box-shadow: var(--aw-surface-shadow-lift), var(--aw-surface-glow), inset 0 1px 0 rgb(255 255 255 / 15%);
		transform: translateY(-4px) perspective(800px) rotateX(.35deg);
	}
	.glass-card:hover::after {
		opacity: 1;
		transform: translate3d(20%, 0, 0) rotate(3deg);
	}
	.text-link:hover {
		color: #fff;
		text-shadow: 0 0 18px rgb(98 233 255 / 48%);
		transform: translateX(2px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.glass-card,
	.glass-card::after,
	.text-link {
		transition: none;
	}
}
@media (prefers-reduced-transparency: reduce) {
	.glass-card,
	.inset-surface {
		background: #091c2e;
		backdrop-filter: none;
	}
}
