/* Aaryan Goswami Portfolio — global (every page): back-to-top + protection notice */
.agp-totop {
	position: fixed; z-index: 9990;
	right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
	width: 54px; height: 54px; padding: 0; margin: 0;
	display: grid; place-items: center;
	border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
	background: rgba(var(--agp-surface-rgb, 15,17,24), .82);
	color: var(--agp-text, #f2f4f6);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 14px 34px -12px rgba(0,0,0,.8);
	cursor: pointer; opacity: 0; visibility: hidden;
	transform: translateY(18px) scale(.85);
	transition: opacity .35s, visibility .35s, transform .45s cubic-bezier(.2,.8,.2,1), background .3s, box-shadow .3s;
	-webkit-tap-highlight-color: transparent;
}
.agp-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.agp-totop:hover { background: var(--agp-primary, #f04a22); box-shadow: 0 16px 36px -10px rgba(var(--agp-primary-rgb, 240,74,34), .9); }
.agp-totop:focus-visible { outline: 2px solid var(--agp-primary, #f04a22); outline-offset: 3px; }
.agp-totop .agp-icon { position: relative; width: 20px; height: 20px; transition: transform .3s; }
.agp-totop:hover .agp-icon { transform: translateY(-3px); }
.agp-totop-ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.agp-totop-ring circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 2.5; }
.agp-totop-ring .agp-totop-progress { stroke: var(--agp-primary, #f04a22); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
.agp-totop:hover .agp-totop-progress { stroke: #fff; }
@media (max-width: 600px) { .agp-totop { width: 48px; height: 48px; right: 14px; bottom: 14px; } }

.agp-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 99999;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 18px; border-radius: 999px; max-width: calc(100vw - 32px);
	font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
	color: #fff; background: rgba(15,17,24,.95);
	border: 1px solid rgba(var(--agp-primary-rgb, 240,74,34), .45);
	box-shadow: 0 18px 40px -12px rgba(0,0,0,.8);
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.agp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.agp-toast svg { width: 18px; height: 18px; color: var(--agp-primary, #f04a22); flex: none; }

.agp-devtools-shield { position: fixed; inset: 0; z-index: 99998; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(7,8,12,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; font: 600 18px/1.4 system-ui, sans-serif; }
