/**
 * Save Game
 * Card - Calculadora de Cruzamento Palworld
 */


/* =========================================================
   CARD
   ========================================================= */

.savegame-calculadora-card {
	width: 100%;
	box-sizing: border-box;

	padding: 22px;

	background:
		linear-gradient(
			145deg,
			rgba(19, 24, 35, 0.98),
			rgba(12, 16, 25, 0.98)
		);

	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;

	overflow: hidden;

	position: relative;
}


/* =========================================================
   DETALHE SUPERIOR
   ========================================================= */

.savegame-calculadora-card::before {
	content: "";

	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 3px;

	background: var(--savegame-primary, #00a8ff);
}


/* =========================================================
   ÍCONE
   ========================================================= */

.savegame-calculadora-card__icone {
	width: 52px;
	height: 52px;

	margin-bottom: 17px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;

	border-radius: 50%;

	background:
		rgba(0, 168, 255, 0.1);

	border:
		1px solid rgba(0, 168, 255, 0.25);

	color:
		var(--savegame-primary, #00a8ff);

	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.savegame-calculadora-card__conteudo {
	width: 100%;
}


/* =========================================================
   CATEGORIA
   ========================================================= */

.savegame-calculadora-card__categoria {
	display: block;

	margin-bottom: 6px;

	color:
		var(--savegame-primary, #00a8ff);

	font-size: 12px;
	font-weight: 600;

	line-height: 1.4;

	text-transform: uppercase;
	letter-spacing: 0.7px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.savegame-calculadora-card__titulo {
	margin: 0 0 10px;

	padding: 0;

	color: #ffffff;

	font-size: 20px;
	font-weight: 700;

	line-height: 1.25;
}


/* =========================================================
   TEXTO
   ========================================================= */

.savegame-calculadora-card__texto {
	margin: 0 0 18px;

	color: rgba(255, 255, 255, 0.72);

	font-size: 14px;
	font-weight: 400;

	line-height: 1.6;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.savegame-calculadora-card__botao {
	width: 100%;
	min-height: 46px;

	box-sizing: border-box;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	padding: 11px 16px;

	background:
		var(--savegame-primary, #00a8ff);

	border-radius: 8px;

	color: #ffffff !important;

	font-size: 14px;
	font-weight: 700;

	line-height: 1.3;

	text-align: center;
	text-decoration: none !important;

	transition:
		transform 0.2s ease,
		filter 0.2s ease;
}


@media (hover: hover) and (pointer: fine) {

	.savegame-calculadora-card__botao:hover {
		filter: brightness(1.1);
		transform: translateY(-1px);
	}

}


/* =========================================================
   DESKTOP
   ========================================================= */

.savegame-calculadora-card--desktop {
	position: sticky;
	top: 90px;
}


/* =========================================================
   MOBILE
   ========================================================= */

.savegame-calculadora-card--mobile {
	display: none;

	margin: 26px 0;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 991px) {

	/**
	 * Esconde versão da sidebar.
	 */
	.savegame-calculadora-card--desktop {
		display: none;
	}


	/**
	 * Mostra versão dentro do artigo.
	 */
	.savegame-calculadora-card--mobile {
		display: block;
	}


	.savegame-calculadora-card {
		padding: 20px;
	}


	.savegame-calculadora-card__titulo {
		font-size: 19px;
	}


	.savegame-calculadora-card__icone {
		width: 48px;
		height: 48px;
	}

}