

.mm-stack {
	border: 1px solid var(--mm-frame-border);
	border-radius: 0;
	box-shadow: var(--mm-shadow-soft);
	overflow: hidden;
	background: var(--mm-panel);
}

.mm-stack > .mm-section-head {
	border-radius: 0;
	margin: 0;
	border-bottom: none;
}

.mm-section-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .75rem 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
}

.mm-section-head--news {
	background: linear-gradient(90deg, #0d6efd 0%, #084298 100%);
}

.mm-section-head--sa {
	background: linear-gradient(90deg, var(--mm-brand) 0%, var(--mm-brand-dark) 100%);
}

.mm-section-head--video {
	background: linear-gradient(90deg, #334155 0%, #0f172a 100%);
	font-size: .92rem;
}

.mm-home-news {
	display: grid;
	gap: .85rem;
	padding: .85rem;
	background: #f4f7fb;
	border: none;
}

.mm-home-news__all {
	margin: 0;
	font-weight: 700;
	border-radius: 0;
	border-top: none;
}

.mm-news-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 0;
	background: #fff;
	border: 1px solid rgba(203, 213, 225, 0.95);
	border-radius: 0;
	overflow: hidden;
	box-shadow: var(--mm-shadow-soft);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mm-news-card:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 146, 23, 0.45);
	box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
}

.mm-news-card__media {
	position: relative;
	display: block;
	min-height: 120px;
	background: #111827;
}

.mm-news-card__media img {
	width: 100%;
	height: 100%;
	min-height: 120px;
	object-fit: cover;
	display: block;
}

.mm-news-card__media-fallback {
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #334155, #0f172a);
}

.mm-news-card__badge {
	position: absolute;
	left: .55rem;
	top: .55rem;
	padding: .2rem .55rem;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(4px);
}

.mm-news-card--notice .mm-news-card__badge { background: rgba(13, 110, 253, .85); }
.mm-news-card--event .mm-news-card__badge { background: rgba(255, 193, 7, .92); color: #1f2937; }
.mm-news-card--patch .mm-news-card__badge { background: rgba(13, 202, 240, .88); color: #0f172a; }
.mm-news-card--maintenance .mm-news-card__badge { background: rgba(220, 53, 69, .88); }

.mm-news-card__body {
	display: flex;
	flex-direction: column;
	padding: .85rem .95rem;
}

.mm-news-card__title {
	margin: 0 0 .45rem;
	font-size: 1.05rem;
	line-height: 1.25;
}

.mm-news-card__title a {
	color: #0f172a;
	text-decoration: none;
}

.mm-news-card__title a:hover {
	color: #0d6efd;
}

.mm-news-card__excerpt {
	margin: 0 0 .75rem;
	color: #475569;
	font-size: .92rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mm-news-card__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.mm-news-card__date {
	color: #64748b;
	font-size: .82rem;
}

.mm-news-card__link {
	font-size: .86rem;
	font-weight: 700;
	color: #0d6efd;
	text-decoration: none;
	white-space: nowrap;
}

.mm-news-card__link:hover {
	color: #084298;
}

.mm-sa-panel {
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.mm-stack--sa .mm-sa-zone {
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.12);
	padding: .65rem .5rem;
}

.mm-stack--sa .mm-sa-zone--mag {
	border-right: none;
	border-radius: 0;
}

.mm-stack--sa .mm-sa-zone--mek {
	border-left: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 0;
}

.mm-sa-zone {
	text-align: center;
}

.mm-social-bar {
	padding: .65rem 0 .85rem;
	border: none;
	border-top: none;
	background: #111827;
}

.social-icon {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mm-home-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.4rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
	align-items: flex-start;
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.mm-home-layout {
		grid-template-columns: minmax(0, 25%) minmax(0, 75%);
		gap: 0.45rem;
	}
}

.mm-home-main {
	background: transparent;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.mm-home-body {
	display: grid;
	gap: .4rem;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.mm-home-body__hero,
.mm-home-body__feed,
.mm-home-body__aside {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}

.mm-home-layout .mm-stack {
	max-width: 100%;
	box-sizing: border-box;
}

.mm-home-layout .d-flex.flex-wrap {
	max-width: 100%;
}

.mm-home-layout .table {
	max-width: 100%;
}

@media (min-width: 992px) {
	.mm-home-body {
		grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
		grid-template-areas:
			"hero hero"
			"feed aside";
		align-items: start;
	}

	.mm-home-body__hero { grid-area: hero; }
	.mm-home-body__feed { grid-area: feed; }
	.mm-home-body__aside { grid-area: aside; }
}

.mm-sidebar-panel,
.mm-home-main,
.mm-home-primary,
.mm-home-secondary {
	min-width: 0;
}

.mm-sidebar-panel {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	max-width: 100%;
	overflow-x: clip;
}

.mm-sidebar-panel > .mt-1,
.mm-sidebar-panel > [class*="mt-"] {
	margin-top: 0 !important;
}

.mm-sidebar-panel > .mm-member,
.mm-sidebar-panel > .my-1 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.mm-home-primary,
.mm-home-secondary {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.mm-stack--media #mmSlide,
.mm-stack--media .mm-social-bar {
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.mm-stack--ranking .title-ranking {
	margin: 0;
	border-radius: 0;
}

.mm-stack--ranking .btn-danger {
	border-radius: 0;
	border: none;
	border-bottom: none;
}

.mm-stack--ranking #rankTabs {
	border-radius: 0;
	border-bottom: none;
}

.mm-stack--ranking .tab-content {
	border: none !important;
	border-radius: 0;
}

.mm-stack--cta .game-start-bg,
.mm-stack--shop .ec-shop-article-container {
	border-radius: 0;
}

.mm-stack--video iframe {
	display: block;
	border: none;
	vertical-align: bottom;
}

#mmSlide {
	border-radius: 0;
	overflow: hidden;
	border: none;
	box-shadow: none;
}

#mmSlide img {
	max-height: 420px;
	object-fit: cover;
	transition: transform .45s ease;
}

#mmSlide .carousel-item:hover img {
	transform: scale(1.015);
}

#mmSlide .carousel-caption h5 {
	text-shadow: 1px 1px 2px #000;
}

#mmSlide .carousel-indicators {
	justify-content: flex-end;
	margin-right: 1rem;
	margin-left: auto;
	bottom: 10px;
}

#mmSlide .carousel-indicators [data-bs-target] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .55);
	border: none;
	margin: 0 4px;
}

#mmSlide .carousel-indicators .active {
	background-color: #fff;
}

.title-ranking,
.title-sa,
.title-server,
.title-social-media {
	border-radius: 0;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.title-ranking a,
.title-sa a {
	color: #fff;
}

.mm-stack--shop.ec-block-shop,
.ec-block-shop.mm-stack {
	border: none;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
}

.game-start-bg {
	border-radius: 0;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	border: 1px solid var(--mm-frame-border);
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, border-color .15s ease;
}

.game-start-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 30%,
		rgba(255, 255, 255, 0.22) 50%,
		rgba(255, 255, 255, 0) 70%
	);
	transform: translateX(-130%) skewX(-25deg);
	transition: transform .5s ease;
	pointer-events: none;
	z-index: 1;
}

.game-start-bg:hover {
	transform: translateY(-3px) scale(1.02);
	filter: brightness(1.08) contrast(1.05);
	border-color: var(--mm-brand);
	box-shadow: 0 12px 28px rgba(239, 146, 23, 0.32), 0 4px 12px rgba(31, 22, 12, 0.12);
}

.game-start-bg:hover::before {
	transform: translateX(130%) skewX(-25deg);
}

.game-start-bg:active {
	transform: translateY(-1px) scale(0.99);
	box-shadow: 0 6px 16px rgba(239, 146, 23, 0.22);
}

.game-start-bg .login-form-group {
	position: relative;
	z-index: 2;
}

.game-start-bg h2 {
	transition: transform .2s ease, letter-spacing .2s ease;
}

.game-start-bg:hover h2 {
	transform: scale(1.04);
	letter-spacing: 0.02em;
}

.game-start-bg:hover h2 .bi-play {
	display: inline-block;
	animation: mm-play-nudge .6s ease infinite alternate;
}

@keyframes mm-play-nudge {
	from { transform: translateX(0); }
	to { transform: translateX(4px); }
}

#rankTabs .nav-link.active {
	background: var(--mm-brand);
	color: #fff;
	border-color: var(--mm-brand-dark);
}

.mm-stack--ranking .tab-content.bg-light.rounded-bottom {
	border: none;
	border-radius: 0;
}

@media (max-width: 767.98px) {
	.mm-news-card {
		grid-template-columns: 1fr;
	}

	.mm-news-card__media,
	.mm-news-card__media img,
	.mm-news-card__media-fallback {
		min-height: 170px;
	}

	.mm-stack--sa .mm-sa-zone--mag,
	.mm-stack--sa .mm-sa-zone--mek {
		border-radius: 0;
		border: 1px solid rgba(255, 255, 255, 0.35);
	}
}

@media (max-width: 991.98px) {
	.mm-sidebar-panel,
	.mm-home-main {
		margin-bottom: .75rem;
	}

	.mm-home-body__aside {
		order: 3;
	}
}

.mm-home-layout .bt_btn {
	border: none;
	box-shadow: none;
}

.mm-home-layout .mm-news-card {
	border-top: none;
	border-bottom: none;
}

.mm-home-layout .mm-news-card__media,
.mm-home-layout .mm-news-card__media img {
	border: none;
}

.mm-home-layout .ec-block-shop img,
.mm-home-layout .mm-stack--shop img {
	border: none !important;
}

.mm-home-layout .title-ranking {
	border-bottom: none;
}

.mm-home-layout .mm-stack--sa .mm-sa-zone--mek {
	border-left: none;
}

.mm-home-layout .bt_btn.shiny::before {
	animation: none;
	left: -70%;
	opacity: 0;
}

.mm-home-layout .bt_btn.shiny:hover::before {
	animation: mm-shine-move 0.55s ease forwards;
	opacity: 1;
}

.mm-home-layout .bt_btn.shiny:hover {
	transform: translateY(-2px) scale(1.02);
	border-color: var(--mm-brand);
	box-shadow: 0 12px 28px rgba(239, 146, 23, 0.28), 0 4px 12px rgba(31, 22, 12, 0.1);
}

.mm-home-layout .bt_btn.shiny {
	transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}

.mm-home-layout .bt_btn.shiny:not(:hover)::before {
	animation: none;
}

.mm-home-layout .d-flex.flex-wrap .bt_btn {
	flex: 1 1 100%;
	max-width: 100%;
}

@media (min-width: 576px) {
	.mm-home-layout .d-flex.flex-wrap .bt_btn.w-50 {
		flex: 1 1 calc(50% - 0.35rem);
		max-width: calc(50% - 0.35rem);
	}
}
