/* =========================================================
   IKYBOY MODERN ANIMATED BACKGROUND, ALIVE MOTION & SECURITY UI
   GPU-only transforms & opacity — Smooth & Ultra-Lightweight
   ========================================================= */

.ib_ambient_layer {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.ib_ambient_layer canvas#ib-bg-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0.72;
}

:root[data-theme="dark"] .ib_ambient_layer canvas#ib-bg-canvas {
	opacity: 0.85;
}

.ib_aurora_orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(68px);
	opacity: 0.22;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.ib_orb_1 {
	width: 420px;
	height: 420px;
	top: -90px;
	left: -80px;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.75), rgba(37, 99, 235, 0.15) 70%);
	animation: ibOrbFloatA 18s ease-in-out infinite alternate;
}

.ib_orb_2 {
	width: 480px;
	height: 480px;
	bottom: -140px;
	right: -110px;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.65), rgba(14, 165, 233, 0.12) 70%);
	animation: ibOrbFloatB 22s ease-in-out infinite alternate;
}

.ib_orb_3 {
	width: 300px;
	height: 300px;
	top: 42%;
	left: 52%;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.35), rgba(56, 189, 248, 0.08) 70%);
	animation: ibOrbFloatC 25s ease-in-out infinite alternate;
}

:root[data-theme="dark"] .ib_aurora_orb {
	opacity: 0.28;
}

@keyframes ibOrbFloatA {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(70px, 55px, 0) scale(1.12); }
}

@keyframes ibOrbFloatB {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(-85px, -50px, 0) scale(1.14); }
}

@keyframes ibOrbFloatC {
	0% { transform: translate3d(-40px, 20px, 0) scale(0.95); }
	100% { transform: translate3d(55px, -45px, 0) scale(1.1); }
}

.pkp_structure_page {
	position: relative;
	z-index: 1;
	background: transparent !important;
}

.pkp_structure_content {
	position: relative;
	z-index: 2;
}

.pkp_structure_main {
	background: rgba(255, 255, 255, 0.88) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

:root[data-theme="dark"] .pkp_structure_main {
	background: rgba(15, 23, 42, 0.86) !important;
}

.page_index_journal .ba_hero {
	background-size: 180% 180% !important;
	animation: ibHeroAmbient 14s ease-in-out infinite alternate;
}

.page_index_journal .ba_hero::before {
	content: "";
	position: absolute;
	inset: -40%;
	background: radial-gradient(circle at 25% 30%, rgba(56, 189, 248, 0.22), transparent 42%),
		radial-gradient(circle at 80% 75%, rgba(129, 140, 248, 0.24), transparent 45%);
	animation: ibHeroPulseGlow 12s ease-in-out infinite alternate;
	pointer-events: none;
	z-index: 0;
}

@keyframes ibHeroAmbient {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

@keyframes ibHeroPulseGlow {
	0% { transform: translate3d(-2%, -2%, 0) scale(1); opacity: 0.75; }
	100% { transform: translate3d(3%, 3%, 0) scale(1.06); opacity: 1; }
}

.page_index_journal .ib_issue_card {
	animation: ibFloatCard 5.5s ease-in-out infinite;
	will-change: transform;
}

@keyframes ibFloatCard {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -6px, 0); }
}

.page_index_journal .ib_issue_tag {
	animation: ibSoftBadgePulse 3.6s ease-in-out infinite;
}

@keyframes ibSoftBadgePulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(254, 243, 199, 0.45); }
	50% { box-shadow: 0 0 0 7px rgba(254, 243, 199, 0); }
}

.page_index_journal .ba_hero a.ba_btn_primary,
.ib_ft_submit_btn {
	position: relative;
	overflow: hidden;
}

.page_index_journal .ba_hero a.ba_btn_primary::after,
.ib_ft_submit_btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -130%;
	width: 70%;
	height: 100%;
	background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
	animation: ibBtnSheen 4.8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes ibBtnSheen {
	0%, 62% { left: -130%; }
	100% { left: 160%; }
}

.ib_kpi_card,
.ib_info_card,
.ib_quick_card,
.ib_an_card,
.ib_sb_card,
.obj_article_summary {
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.28s ease !important;
}

.ib_kpi_card:hover,
.ib_quick_card:hover,
.ib_sb_card:hover,
.obj_article_summary:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -14px rgba(15, 23, 42, 0.22) !important;
}

.ib_sb_item {
	transition: background 0.2s ease, padding-left 0.22s ease, color 0.2s ease !important;
}

.ib_sb_item:hover {
	padding-left: 1.15rem !important;
}

.ib_sb_item:hover .ib_sb_icon {
	transform: scale(1.14) rotate(-4deg);
	transition: transform 0.2s ease;
}

.ib_sb_item:hover .ib_sb_arrow {
	transform: translateX(4px);
	transition: transform 0.2s ease;
}

.ib_sb_sinta_badge {
	animation: ibSintaGlow 3.2s ease-in-out infinite;
}

@keyframes ibSintaGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
	50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

.ib_an_card {
	position: relative;
	overflow: hidden;
}

.ib_an_card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -40%;
	width: 40%;
	height: 3px;
	background: linear-gradient(90deg, transparent, #38bdf8, #fbbf24, transparent);
	animation: ibTopBorderSweep 6s linear infinite;
	pointer-events: none;
}

@keyframes ibTopBorderSweep {
	0% { left: -40%; }
	100% { left: 115%; }
}

html.ib_motion_ready .ib_reveal {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

html.ib_motion_ready .ib_reveal.ib_revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	.ib_ambient_layer,
	.ib_aurora_orb,
	.ba_hero,
	.ba_hero::before,
	.ib_issue_card,
	.ib_issue_tag,
	.ib_sb_sinta_badge,
	.ib_an_card::before,
	.ba_btn_primary::after,
	.ib_ft_submit_btn::after {
		animation: none !important;
	}
	html.ib_motion_ready .ib_reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ADMIN REAL-TIME SECURITY ALERT BAR & LOG MODAL */
.ib_sec_alert_bar {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	width: min(920px, calc(100% - 24px));
	z-index: 99990;
	background: linear-gradient(90deg, #450a0a 0%, #7f1d1d 50%, #450a0a 100%);
	color: #fef2f2;
	border: 1px solid rgba(248, 113, 113, 0.6);
	border-radius: 14px;
	box-shadow: 0 22px 50px -10px rgba(127, 29, 29, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
	animation: ibSecSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ibSecSlideUp {
	from { opacity: 0; transform: translate(-50%, 24px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

.ib_sec_alert_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.15rem;
	flex-wrap: wrap;
}

.ib_sec_alert_left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ib_sec_pulse_dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
	animation: ibSecPulse 1.6s infinite;
	flex-shrink: 0;
}

@keyframes ibSecPulse {
	0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.85); }
	70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
	100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ib_sec_alert_icon {
	font-size: 1.35rem;
}

.ib_sec_alert_title {
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #ffffff;
}

.ib_sec_alert_sub {
	font-size: 0.78rem;
	color: #fecaca;
	margin-top: 0.15rem;
}

.ib_sec_alert_sub code {
	background: rgba(0, 0, 0, 0.35);
	padding: 0.1rem 0.38rem;
	border-radius: 5px;
	color: #fde68a;
}

.ib_sec_alert_actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.ib_sec_btn_inspect,
.ib_sec_btn_ack,
.ib_sec_btn_ghost {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.48rem 0.9rem;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	border: none;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.ib_sec_btn_inspect {
	background: #fef2f2;
	color: #7f1d1d !important;
}

.ib_sec_btn_ack {
	background: #dc2626;
	color: #ffffff !important;
	border: 1px solid rgba(254, 202, 202, 0.4);
}

.ib_sec_btn_ghost {
	background: rgba(255, 255, 255, 0.1);
	color: #e2e8f0 !important;
	border: 1px solid rgba(148, 163, 184, 0.35);
}

.ib_sec_btn_inspect:hover,
.ib_sec_btn_ack:hover,
.ib_sec_btn_ghost:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.ib_sec_modal_backdrop {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(2, 6, 23, 0.78);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.ib_sec_modal_backdrop[hidden] {
	display: none !important;
}

.ib_sec_modal {
	width: min(920px, 100%);
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	background: #0f172a;
	color: #e2e8f0;
	border: 1px solid rgba(248, 113, 113, 0.4);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.ib_sec_modal_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 1.4rem;
	background: linear-gradient(90deg, #450a0a, #1e293b);
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.ib_sec_modal_head h3 {
	margin: 0;
	font-size: 1.05rem;
	color: #ffffff;
}

.ib_sec_modal_head p {
	margin: 0.25rem 0 0;
	font-size: 0.78rem;
	color: #cbd5e1;
}

.ib_sec_modal_close {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	font-size: 1.35rem;
	cursor: pointer;
}

.ib_sec_modal_body {
	padding: 1rem 1.25rem;
	overflow: auto;
}

.ib_sec_table_wrap {
	overflow-x: auto;
}

.ib_sec_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8rem;
}

.ib_sec_table th,
.ib_sec_table td {
	text-align: left;
	padding: 0.65rem 0.7rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	vertical-align: top;
}

.ib_sec_table th {
	color: #94a3b8;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ib_sec_sev {
	display: inline-block;
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
}

.ib_sec_badge_crit {
	background: rgba(239, 68, 68, 0.24);
	color: #fca5a5;
	border: 1px solid rgba(239, 68, 68, 0.5);
}

.ib_sec_badge_high {
	background: rgba(245, 158, 11, 0.22);
	color: #fcd34d;
	border: 1px solid rgba(245, 158, 11, 0.45);
}

.ib_sec_detail {
	font-size: 0.74rem;
	color: #94a3b8;
	margin-top: 0.2rem;
}

.ib_sec_uri {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.74rem;
	color: #7dd3fc;
	word-break: break-all;
}

.ib_sec_time {
	white-space: nowrap;
	color: #cbd5e1;
	font-size: 0.75rem;
}

.ib_sec_modal_foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	padding: 0.9rem 1.25rem;
	background: #0b1222;
	border-top: 1px solid rgba(148, 163, 184, 0.15);
	flex-wrap: wrap;
}

/* IKYBOY_BG_VISIBILITY_BOOST_START */
.ib_ambient_layer {
	background: linear-gradient(180deg, rgba(224, 242, 254, 0.35) 0%, rgba(238, 242, 255, 0.25) 50%, rgba(240, 249, 255, 0.38) 100%);
}

:root[data-theme="dark"] .ib_ambient_layer {
	background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.08), transparent 45%),
		radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08), transparent 45%);
}

.ib_bg_grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(2, 132, 199, 0.065) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(2, 132, 199, 0.065) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.25) 100%);
	-webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.25) 100%);
	animation: ibGridDrift 28s linear infinite;
	will-change: transform;
}

:root[data-theme="dark"] .ib_bg_grid {
	background-image:
		linear-gradient(to right, rgba(56, 189, 248, 0.075) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(56, 189, 248, 0.075) 1px, transparent 1px);
}

@keyframes ibGridDrift {
	0% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(-23px, -23px, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

.ib_ambient_layer canvas#ib-bg-canvas {
	opacity: 0.96 !important;
}

:root[data-theme="dark"] .ib_ambient_layer canvas#ib-bg-canvas {
	opacity: 1 !important;
}

.ib_aurora_orb {
	opacity: 0.34 !important;
}

:root[data-theme="dark"] .ib_aurora_orb {
	opacity: 0.36 !important;
}

.pkp_structure_main {
	background: rgba(255, 255, 255, 0.86) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

:root[data-theme="dark"] .pkp_structure_main {
	background: rgba(15, 23, 42, 0.84) !important;
}
/* IKYBOY_BG_VISIBILITY_BOOST_END */
