/* =========================================================
   APPS SECTION — modern app cards (Creations page)
   Theme-aware (dark default + .light-mode) and responsive.
========================================================= */
.apps-grid {
	margin-top: 10px;
}
.apps-grid > [class*="col-"] {
	margin-top: 30px;
}
.app-card {
	position: relative;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 30px 28px;
	border-radius: 22px;
	background: var(--tj-theme-accent-2);
	border: 1px solid rgba(135, 80, 247, .16);
	overflow: hidden;
	-webkit-transition: -webkit-transform .4s cubic-bezier(.16, 1, .3, 1);
	transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease, box-shadow .4s ease;
}
.app-card::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(135, 80, 247, .28), transparent 70%);
	opacity: .7;
	pointer-events: none;
	-webkit-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
}
.app-card:hover {
	-webkit-transform: translateY(-8px);
	-ms-transform: translateY(-8px);
	transform: translateY(-8px);
	border-color: rgba(135, 80, 247, .5);
	-webkit-box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.app-card:hover::before { opacity: 1; }

.app-card__head {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}
.app-card__icon {
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	padding: 10px;
	-o-object-fit: contain;
	object-fit: contain;
	background: rgba(135, 80, 247, .10);
	border: 1px solid rgba(135, 80, 247, .25);
}
.app-card__meta { min-width: 0; }
.app-card__title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
}
.app-card__tags {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 8px;
}
.app-tag {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 30px;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1;
	color: var(--tj-theme-primary-2, #9b8dff);
	background: rgba(135, 80, 247, .14);
	border: 1px solid rgba(135, 80, 247, .22);
}
.app-tag i { font-size: 12px; }

.app-card__desc {
	position: relative;
	z-index: 1;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	margin: 0 0 24px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--tj-body);
}

.app-card__btn {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 20px;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 500;
	color: #ffffff;
	background: var(--tj-theme-primary);
	border: 1px solid var(--tj-theme-primary);
	-webkit-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}
.app-card__btn:hover {
	background: transparent;
	color: var(--tj-theme-primary-2, #9b8dff);
	-webkit-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	transform: translateY(-2px);
}
.app-card__btn i { font-size: 15px; }

/* Light mode */
.light-mode .app-card {
	background: var(--tj-white);
	border-color: rgba(135, 80, 247, .16);
	-webkit-box-shadow: 0 12px 34px rgba(87, 50, 150, .06);
	box-shadow: 0 12px 34px rgba(87, 50, 150, .06);
}
.light-mode .app-card:hover {
	-webkit-box-shadow: 0 22px 44px rgba(87, 50, 150, .14);
	box-shadow: 0 22px 44px rgba(87, 50, 150, .14);
}
.light-mode .app-card__title { color: #14082a; }
.light-mode .app-card__desc { color: #5c6266; }
.light-mode .app-card__icon { background: rgba(135, 80, 247, .08); }
.light-mode .app-card__btn { color: #ffffff; }
.light-mode .app-card__btn:hover { color: var(--tj-theme-primary); }

/* Responsive */
@media only screen and (max-width: 575px) {
	.app-card { padding: 24px 20px; }
	.app-card__icon { width: 62px; height: 62px; border-radius: 16px; }
	.app-card__title { font-size: 19px; }
}
