:root {
	--ink: #3c2412;
	--brown: #754315;
	--gold: #c99845;
	--line: #d8b875;
	--paper: #f8efdb;
	--cream: #fff9ea;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: "Be Vietnam Pro", sans-serif;
	background: #efe1c2 radial-gradient(circle at 50% 30%, #fff9eb 0, #f3e8cf 45%, #e9d6af 100%);
	font-size: 14px;
}

a {
	color: inherit;
	text-decoration: none;
}

.topbar {
	height: 74px;
	padding: 0 3.5%;
	display: flex;
	align-items: center;
	gap: 28px;
	position: absolute;
	z-index: 10;
	width: 100%;
	background: linear-gradient(90deg, rgba(255, 249, 231, .96), rgba(255, 253, 244, .92), rgba(240, 219, 178, .92));
	border-bottom: 2px solid rgba(143, 91, 26, .35);
	box-shadow: 0 4px 16px rgba(101, 64, 21, .2);
}

.brand {
	font-family: "Roboto Slab", serif;
	font-style: italic;
	font-size: 26px;
	font-weight: 800;
	line-height: .8;
	transform: rotate(-3deg);
	min-width: 150px;
}

.brand small {
	display: block;
	font-size: 21px;
	margin-left: 25px;
}

.main-nav {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.main-nav a {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 16px;
	text-transform: uppercase;
	font-family: "Roboto Slab", serif;
	font-size: 13.5px;
	font-weight: 700;
	color: #5d3a1a;
	transition: all .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	letter-spacing: 0.2px;
}

.main-nav a:hover, .main-nav a.active {
	color: #8b4016;
	background: radial-gradient(circle, rgba(201, 152, 69, 0.12) 0%, transparent 75%);
	padding: 0 22px;
}

.main-nav a::before, .main-nav a::after {
	content: "✦";
	position: absolute;
	color: #c99845;
	font-size: 10px;
	opacity: 0;
	top: 50%;
	transform: translateY(-50%) scale(0);
	transition: all .3s ease;
	pointer-events: none;
}

.main-nav a::before { left: 2px; }
.main-nav a::after { right: 2px; }

.main-nav a:hover::before, .main-nav a.active::before {
	opacity: 1;
	left: 8px;
	transform: translateY(-50%) scale(1.2);
}

.main-nav a:hover::after, .main-nav a.active::after {
	opacity: 1;
	right: 8px;
	transform: translateY(-50%) scale(1.2);
}

.main-nav a.active:after {
	content: "";
	position: absolute;
	bottom: 12px;
	left: 50%;
	width: 40%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #c99845, transparent);
	transform: translateX(-50%);
	opacity: 1;
	display: block;
}

.account {
	display: flex;
	align-items: center;
	gap: 20px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.mini-download {
	padding: 14px 18px;
	border: 1px solid #9b6a2d;
	border-radius: 5px;
	background: linear-gradient(#9b6a34, #5c3213);
	color: #fff;
}

.nav-toggle {
	display: none;
	border: 0;
	background: transparent;
	font-size: 25px;
	color: var(--ink);
}

.hero {
	height: min(640px, 61vw);
	min-height: 520px;
	position: relative;
	background: url("img/bg.jpg") center top/cover no-repeat;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(60, 30, 4, .03), transparent 64%), linear-gradient(0deg, rgba(64, 35, 11, .25), transparent 27%);
}

.hero-copy {
	position: absolute;
	left: 9%;
	top: 25%;
	width: 41%;
	text-align: center;
	color: #422008;
	text-shadow: 0 2px 4px #fff8d8;
}

.genre {
	display: inline-block;
	background: #6f2918;
	color: #f5cf79;
	padding: 12px 15px;
	border: 2px solid #d49d44;
	border-radius: 30px;
	font-size: 11px;
	letter-spacing: 1px;
	box-shadow: inset 0 0 0 3px #6f2918, 0 0 0 1px #7d3f14;
}

.hero h1 {
	font-family: "Roboto Slab", serif;
	font-size: clamp(48px, 6.6vw, 98px);
	line-height: .78;
	margin: 24px 0;
	letter-spacing: -6px;
	font-style: italic;
}

.hero h1 em {
	font-style: italic;
}

.hero-copy p {
	display: inline-block;
	margin: 0;
	background: linear-gradient(90deg, transparent, #5e3218 12%, #5e3218 88%, transparent);
	color: #ffe8ad;
	padding: 10px 40px;
	font-family: "Roboto Slab", serif;
	font-size: clamp(14px, 1.5vw, 21px);
}

.hero-actions {
	position: absolute;
	bottom: 15px;
	left: 7%;
	right: 7%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 28px;
}

.side-action, .download {
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	background: linear-gradient(#fffaf0, #efddba);
	border: 2px solid #c6974f;
	box-shadow: inset 0 0 0 4px #fff8e6, 0 4px 12px rgba(79, 45, 24, .27);
	clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
}

.side-action {
	width: 255px;
	gap: 14px;
}

.side-action i {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #743914;
	color: #fff;
	font-style: normal;
}

.side-action span {
	display: flex;
	flex-direction: column;
	font-size: 10px;
	line-height: 1.8;
}

.side-action b {
	font-family: "Roboto Slab", serif;
	font-size: 18px;
	color: #8b4016;
}

.download {
	width: 350px;
	height: 100px;
	flex-direction: column;
	color: #803914;
	background: linear-gradient(#ffe49d, #efb94d);
	clip-path: polygon(7% 0, 93% 0, 100% 24%, 96% 88%, 84% 100%, 16% 100%, 4% 88%, 0 24%);
}

.download b {
	font: 700 35px "Roboto Slab";
}

.download span {
	font-size: 12px;
}

.page-shell {
	max-width: 1500px;
	margin: auto;
	padding: 30px 22px;
}

.main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px;
}

.panel {
	position: relative;
	background: rgba(255, 251, 240, .78);
	border: 1px solid var(--line);
	padding: 15px;
	box-shadow: inset 0 0 30px rgba(219, 193, 138, .13), 0 2px 8px rgba(126, 87, 34, .09);
}

.panel:before, .panel:after {
	content: "✦";
	position: absolute;
	color: #c99c4b;
	font-size: 18px;
	top: -8px;
}

.panel:before {
	left: -7px;
}

.panel:after {
	right: -7px;
}

.panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #d8c59d;
	padding: 0 10px 12px;
	margin-bottom: 9px;
}

.panel-head h2 {
	margin: 0;
	text-transform: uppercase;
	font: 700 20px "Roboto Slab", serif;
}

.panel-head a {
	font-size: 10px;
}

.centered {
	justify-content: center;
}

.news-item {
	display: grid;
	grid-template-columns: 116px 1fr 12px;
	gap: 12px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #e3d5b7;
}

.news-item:last-child {
	border-bottom: 0;
}

.news-art {
	height: 74px;
	display: grid;
	place-items: center;
	color: #ffecc3;
	font: 700 34px serif;
	text-shadow: 0 2px 5px #180c05;
	background: linear-gradient(135deg, #26343b, #a35324);
}

.art-2 {
	background: linear-gradient(135deg, #42331c, #d98228);
}

.art-3 {
	background: linear-gradient(135deg, #1a2425, #8b311e);
}

.art-4 {
	background: linear-gradient(135deg, #5a4927, #b17848);
}

.news-item small {
	background: #866534;
	color: white;
	text-transform: uppercase;
	padding: 2px 5px;
	font-size: 8px;
}

.news-item h3 {
	font-size: 12px;
	line-height: 1.35;
	margin: 6px 0 4px;
}

.news-item time {
	font-size: 9px;
	color: #806d58;
}

.factions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px 10px;
	padding-top: 8px;
}

.faction {
	text-align: center;
}

.faction-icon {
	width: 76px;
	aspect-ratio: 1;
	margin: auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 5px double #c39b56;
	background: radial-gradient(circle, #52341e, #1c1510);
	color: #edc56c;
	font: 700 28px serif;
	box-shadow: 0 3px 7px rgba(100, 64, 17, .33);
}

.faction:nth-child(3n+2) .faction-icon {
	background: radial-gradient(circle, #41665b, #162523);
}

.faction:nth-child(3n) .faction-icon {
	background: radial-gradient(circle, #704b66, #25121f);
}

.faction:nth-child(n+7) .faction-icon {
	background: radial-gradient(circle, #2e5c51, #10231d);
}

.faction span {
	display: block;
	margin-top: 7px;
	font-size: 11px;
}

.rank-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	margin: 0 0 11px;
}

.rank-tabs button {
	border: 1px solid #d5b97f;
	background: #f7edda;
	padding: 8px;
	text-transform: uppercase;
	color: #69451d;
	font-weight: 700;
	font-size: 10px;
	border-radius: 5px;
}

.rank-tabs .active {
	background: linear-gradient(#c69a4c, #90622a);
	color: #fff;
}

.rank-row {
	display: grid;
	grid-template-columns: 38px 1fr 100px;
	align-items: center;
	border-bottom: 1px solid #e0d1b3;
	padding: 8px 4px;
	font-size: 10px;
}

.rank-row.head {
	font-weight: 700;
}

.rank-row strong {
	text-align: right;
	font-weight: 500;
}

.rank-row i {
	font-style: normal;
	font-weight: 700;
}

.rank-row:nth-child(2) i, .rank-row:nth-child(3) i, .rank-row:nth-child(4) i {
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #d7a530;
	color: #fff;
}

.rank-row:nth-child(3) i {
	background: #9ca4a7;
}

.rank-row:nth-child(4) i {
	background: #a66b32;
}

.media-grid {
	display: grid;
	grid-template-columns: 1fr 1.06fr 1fr;
	gap: 18px;
	margin-top: 20px;
}

.feature-art {
	width: 100%;
	height: 240px;
	border: 0;
	display: flex;
	align-items: end;
	justify-content: center;
	color: #fff;
	text-shadow: 0 2px 5px #000;
	background: linear-gradient(165deg, #7296a2, #dfb159 48%, #33414d);
	position: relative;
	overflow: hidden;
}

.feature-art:before {
	content: "";
	position: absolute;
	width: 70%;
	height: 70%;
	background: rgba(241, 211, 152, .33);
	clip-path: polygon(50% 0, 65% 42%, 100% 100%, 0 100%, 35% 42%);
	left: 15%;
	bottom: 0;
}

.feature-art span {
	position: relative;
	padding: 16px;
	font: 700 18px "Roboto Slab";
}

.battle-art {
	align-items: center;
	background: linear-gradient(145deg, #152532, #b76b34 55%, #1b242b);
	cursor: pointer;
}

.battle-art span {
	width: 68px;
	height: 68px;
	padding: 0;
	display: grid;
	place-items: center;
	background: rgba(32, 20, 10, .66);
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 27px;
}

.thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 7px;
	margin-top: 7px;
}

.thumbs button {
	height: 72px;
	border: 2px solid #cbae79;
	background: linear-gradient(150deg, #758984, #ddaa53);
	color: #fff;
	font-size: 23px;
}

.thumbs .selected {
	outline: 2px solid #8c571e;
}

.fb-cover {
	height: 94px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(90deg, #3a2718, #82704e);
	color: #fff;
}

.avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #d7aa58;
	border: 2px solid white;
	font-family: "Roboto Slab";
}

.fb-cover small, .post small {
	display: block;
	font-size: 9px;
	margin-top: 5px;
}

.post {
	background: white;
	padding: 12px;
	font-size: 11px;
}

.promo {
	height: 115px;
	display: grid;
	place-items: center;
	text-align: center;
	color: #ffe7a4;
	font: 700 18px "Roboto Slab";
	background: linear-gradient(115deg, #3f1c13, #bc5724, #3e1a12);
	border: 3px solid #d8a549;
}

.promo b {
	font-size: 25px;
}

footer {
	padding: 25px 0;
	background: #f4e7d3;
	position: relative;
	border-top: 3px solid #c99845;
	margin-top: 40px;
}

footer::before {
	content: "◆";
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	color: #c99845;
	padding: 0 15px;
	font-size: 20px;
}

.footer-inner {
	width: 1100px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-brand {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.footer-brand b {
	font-family: "Roboto Slab", serif;
	font-size: 24px;
	line-height: 1;
	color: #8b4016;
	font-style: italic;
}

.footer-brand small {
	color: #806d58;
	font-size: 11.5px;
}

.footer-links {
	display: flex;
	gap: 25px;
}

.footer-links a {
	color: #5d3a1a;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: #c99845;
}

.store {
	border: 1px solid #b99350;
	border-radius: 4px;
	padding: 10px;
	margin: 7px 0;
}

.to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #a87631;
	background: #6c3a18;
	color: white;
	opacity: 0;
	pointer-events: none;
	transition: .3s;
}

.to-top.visible {
	opacity: 1;
	pointer-events: auto;
}

.topbar {
	padding: 0;
	display: block;
}

.topbar-inner {
	width: min(1100px, calc(100% - 32px));
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
}

.main-nav {
	justify-content: flex-end;
}



.banner-slider {
	padding: 0;
	min-height: 470px;
	overflow: hidden;
	background: #26170e;
}

.banner-slider:before, .banner-slider:after {
	display: none;
}

.slider-track, .banner-slide {
	position: absolute;
	inset: 0;
}

.banner-slide {
	display: flex;
	align-items: flex-end;
	padding: 38px;
	background: url("img/bg.jpg") 61% center/cover no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity .55s ease;
}

.banner-slide:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(31, 13, 5, .9), transparent 65%), linear-gradient(90deg, rgba(59, 27, 8, .45), transparent);
}

.banner-slide.active {
	opacity: 1;
	visibility: visible;
}

.banner-slide.slide-two {
	background-position: 77% center;
	filter: saturate(1.15);
}

.banner-slide.slide-three {
	background-position: 38% center;
	filter: sepia(.15);
}

.banner-slide span {
	position: relative;
	z-index: 1;
	color: #fff5d8;
	text-transform: uppercase;
	text-shadow: 0 2px 8px #000;
}

.banner-slide small {
	display: inline-block;
	margin-bottom: 9px;
	padding: 5px 9px;
	background: #a96420;
	color: #fff1c5;
	font-size: 9px;
	letter-spacing: 1px;
}

.banner-slide b {
	display: block;
	font: 700 24px/1.3 "Roboto Slab", serif;
}

.slider-arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	width: 38px;
	height: 54px;
	transform: translateY(-50%);
	border: 1px solid #d0a560;
	background: rgba(62, 35, 14, .74);
	color: #ffe4a9;
	font-size: 28px;
	cursor: pointer;
}

.slider-arrow.prev {
	left: 10px;
}

.slider-arrow.next {
	right: 10px;
}

.slider-dots {
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 14px;
	display: flex;
	justify-content: center;
	gap: 7px;
}

.slider-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid #ffe7ad;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.slider-dots button.active {
	width: 24px;
	border-radius: 8px;
	background: #e5b75c;
}

body {
	background: #eee1c5 radial-gradient(circle at 50% 22%, #fff9eb 0, #f5ead3 42%, #eee1c5 78%, #ead9b8 100%);
}

.hero {
	overflow: hidden;
}

.hero-overlay {
	background: linear-gradient(0deg, #f3e7ce 0, rgba(243, 231, 206, .82) 2%, rgba(243, 231, 206, .22) 8%, transparent 20%);
}

.hero:after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 88px;
	pointer-events: none;
	background: linear-gradient(0deg, #f3e7ce 0, rgba(243, 231, 206, .78) 22%, rgba(243, 231, 206, .28) 56%, transparent 100%);
}

.hero-actions {
	z-index: 4;
	bottom: 4px;
	gap: 2px;
	align-items: flex-end;
}

.image-action {
	display: block;
	width: min(27vw, 310px);
	transition: transform .25s ease, filter .25s ease;
	filter: drop-shadow(0 7px 8px rgba(82, 45, 11, .3));
}

.image-action.primary-image-action {
	width: min(30vw, 350px);
}

.image-action img {
	display: block;
	width: 100%;
	height: auto;
}

.image-action:hover, .image-action:focus-visible {
	transform: translateY(-7px) scale(1.025);
	filter: drop-shadow(0 11px 10px rgba(82, 45, 11, .42)) brightness(1.06);
}

.page-shell {
	position: relative;
	background: linear-gradient(180deg, rgba(243, 231, 206, .96), rgba(248, 239, 219, .72) 16%, rgba(239, 225, 197, .58) 88%, rgba(234, 217, 184, .95));
	max-width: none;
	padding-left: max(22px, calc(( 100% - 1456px ) / 2));
	padding-right: max(22px, calc(( 100% - 1456px ) / 2));
}



.hero-actions {
	gap: 8px;
}

.image-action {
	width: min(18vw, 230px);
}

.image-action.primary-image-action {
	width: min(36vw, 470px);
}

.page-shell {
	width: calc(100% - 32px);
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 0 36px;
	background: transparent;
}

.main-grid {
	grid-template-columns: 1.08fr 1fr 1fr;
	gap: 14px;
}

.media-grid {
	grid-template-columns: 1fr 1.05fr 1fr;
	gap: 14px;
}



.hero {
	height: min(740px, calc(61vw + 100px));
	min-height: 620px;
}



.faction-icon {
	width: 88px;
	overflow: hidden;
	padding: 3px;
	background: linear-gradient(145deg, #f6dc9c, #8f5a20 48%, #f5d88d);
	border: 2px solid #c2964d;
	box-shadow: 0 4px 12px rgba(82, 45, 11, .38), inset 0 0 0 2px #fff0bd;
}

.faction-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	border-radius: 50%;
}

.faction span {
	font-weight: 600;
	color: #5a3518;
}

.faction {
	cursor: pointer;
	transition: transform .28s ease, color .28s ease;
}

.faction .faction-icon {
	transition: transform .32s ease, box-shadow .32s ease, filter .32s ease;
}

.faction:hover, .faction:focus-within {
	transform: translateY(-6px);
}

.faction:hover .faction-icon, .faction:focus-within .faction-icon {
	transform: scale(1.09);
	filter: saturate(1.14) brightness(1.06);
	box-shadow: 0 9px 22px rgba(95, 52, 15, .48), 0 0 0 3px rgba(240, 196, 101, .35), inset 0 0 0 2px #fff0bd;
}

.faction:hover span {
	color: #9a5618;
}

.gallery-stage, .video-poster {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	border: 1px solid #b88c4e;
	background: #23170f;
}

.gallery-stage img, .video-poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .3s ease, transform .6s ease;
}

.gallery-stage:hover img, .video-poster:hover img {
	transform: scale(1.035);
}

.gallery-stage img.changing {
	opacity: .18;
}

.gallery-stage span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 14px 12px;
	color: #fff7df;
	font: 600 14px "Roboto Slab", serif;
	text-shadow: 0 2px 5px #000;
	background: linear-gradient(transparent, rgba(27, 13, 5, .88));
}

.gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-top: 7px;
}

.gallery-thumbs button {
	height: 62px;
	padding: 0;
	overflow: hidden;
	border: 2px solid #c3a36b;
	background: #332010;
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease;
}

.gallery-thumbs button:hover {
	transform: translateY(-3px);
	border-color: #e1b85f;
}

.gallery-thumbs button.selected {
	border-color: #8d531d;
	box-shadow: 0 0 0 2px #e5c57e;
}

.gallery-thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-poster {
	display: block;
	padding: 0;
	cursor: pointer;
	color: #fff;
}

.video-poster:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 9, 4, .38), transparent 52%);
}

.video-poster span {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	display: grid;
	place-items: center;
	border: 2px solid #fff4d2;
	border-radius: 50%;
	background: rgba(35, 18, 8, .72);
	font-size: 26px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .5);
}

.rank-tabs {
	grid-template-columns: repeat(2, 1fr);
	gap: 7px;
}

.rank-tabs button {
	padding: 10px 8px;
	font-size: 11px;
	letter-spacing: .35px;
	cursor: pointer;
	transition: background .22s ease, transform .22s ease;
}

.rank-tabs button:hover {
	transform: translateY(-2px);
	background: #f1dfbc;
}

.rank-tabs button.active {
	background: linear-gradient(180deg, #c99a47, #80501f);
	box-shadow: inset 0 1px #f6d994, 0 3px 8px rgba(93, 51, 16, .25);
}

.rank-row {
	min-height: 36px;
	padding: 5px 4px;
	font-size: 9px;
	transition: background .2s ease;
}

.rank-row.rank-master {
	grid-template-columns: 42px minmax(86px, 1fr) 36px minmax(82px, .92fr);
}

.rank-row.rank-wealth {
	grid-template-columns: 42px minmax(110px, 1fr) minmax(92px, .85fr);
}

.rank-row.head {
	min-height: 31px;
	color: #69451d;
	background: #efe0bf;
	font-weight: 700;
	text-transform: uppercase;
}

.rank-row.head span:last-of-type {
	text-align: center;
}

.rank-row:hover:not(.head) {
	background: rgba(218, 182, 111, .17);
}

.rank-row strong {
	font-size: 9px;
	white-space: nowrap;
}

.rank-badge {
	width: 25px;
	height: 25px;
	display: grid !important;
	place-items: center;
	border-radius: 50%;
	margin: auto;
	font-style: normal;
	font-weight: 700;
	color: #7a5a33;
	background: #eadfc9;
	border: 1px solid #cdb58a;
	box-shadow: inset 0 1px rgba(255, 255, 255, .8);
}

.rank-row.top-rank {
	font-weight: 600;
	background: linear-gradient(90deg, rgba(238, 205, 128, .2), rgba(255, 251, 237, .45));
}

.rank-badge.rank-1 {
	width: 30px;
	height: 30px;
	color: #fff6c6;
	background: linear-gradient(145deg, #f6d76d, #b87916);
	border-color: #8f5b12;
	box-shadow: 0 2px 7px rgba(154, 98, 13, .4), inset 0 1px #fff2aa;
}

.rank-badge.rank-2 {
	width: 28px;
	height: 28px;
	color: #fff;
	background: linear-gradient(145deg, #dce2e4, #899398);
	border-color: #737d82;
	box-shadow: 0 2px 6px rgba(90, 101, 106, .3), inset 0 1px #fff;
}

.rank-badge.rank-3 {
	width: 27px;
	height: 27px;
	color: #fff1df;
	background: linear-gradient(145deg, #d99a5e, #8b4b22);
	border-color: #77401e;
	box-shadow: 0 2px 6px rgba(108, 59, 26, .3), inset 0 1px #f8c895;
}

.fanpage {
	overflow: hidden;
}

.facebook-embed {
	width: 100%;
	min-height: 390px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #d6c39b;
	overflow: hidden;
}

.facebook-embed iframe {
	display: block;
	max-width: 100%;
}

.rank-row.top-rank {
	position: relative;
	margin: 3px 0;
	border: 1px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	font-weight: 700;
	isolation: isolate;
}

.rank-row.top-rank:before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: .9;
}

.rank-row.top-rank:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
}

.rank-row.top-1 {
	min-height: 44px;
	border-color: #d5a83e;
	box-shadow: 0 3px 10px rgba(150, 96, 17, .2), inset 0 1px rgba(255, 255, 255, .75);
}

.rank-row.top-1:before {
	background: linear-gradient(100deg, #f2d587 0%, #fff8d9 36%, #f3d984 72%, #fff5ce 100%);
}

.rank-row.top-1:after {
	background: linear-gradient(#fff2a6, #bd7514, #f5d56b);
	box-shadow: 2px 0 7px rgba(169, 103, 14, .28);
}

.rank-row.top-2 {
	min-height: 41px;
	border-color: #b6bec0;
	box-shadow: 0 2px 8px rgba(91, 103, 107, .16), inset 0 1px rgba(255, 255, 255, .8);
}

.rank-row.top-2:before {
	background: linear-gradient(100deg, #d9dfe0 0%, #fafcfa 38%, #d9dede 72%, #f7f8f4 100%);
}

.rank-row.top-2:after {
	background: linear-gradient(#f8ffff, #879397, #d8dfe0);
}

.rank-row.top-3 {
	min-height: 39px;
	border-color: #c98b59;
	box-shadow: 0 2px 7px rgba(113, 64, 30, .15), inset 0 1px rgba(255, 255, 255, .7);
}

.rank-row.top-3:before {
	background: linear-gradient(100deg, #e8b887 0%, #fff0d7 40%, #e2ae7a 74%, #fbe6c9 100%);
}

.rank-row.top-3:after {
	background: linear-gradient(#f3c291, #915127, #d99156);
}

.rank-row.top-rank>span:nth-child(2) {
	font-family: "Roboto Slab", serif;
	font-size: 10px;
	text-shadow: 0 1px rgba(255, 255, 255, .7);
}

.rank-row.top-1>span:nth-child(2), .rank-row.top-1 strong {
	color: #75430b;
}

.rank-row.top-2>span:nth-child(2), .rank-row.top-2 strong {
	color: #505b60;
}

.rank-row.top-3>span:nth-child(2), .rank-row.top-3 strong {
	color: #713e20;
}

.rank-row.top-rank:hover {
	transform: translateX(2px);
	filter: brightness(1.035);
}

.rank-badge.rank-1, .rank-badge.rank-2, .rank-badge.rank-3 {
	position: relative;
	border-width: 2px;
	font-family: Georgia, serif;
	transition: transform .25s ease;
}

.rank-row.top-rank:hover .rank-badge {
	transform: scale(1.12) rotate(-4deg);
}

.rank-badge.rank-1 {
	width: 34px;
	height: 34px;
	font-size: 18px;
	background: radial-gradient(circle at 35% 25%, #fff4a6, #e2ad2f 48%, #965b0f 100%);
	border-color: #f8dc78;
	box-shadow: 0 0 0 2px #9a6116, 0 3px 8px rgba(124, 73, 10, .42), inset 0 2px #fff8ba;
}

.rank-badge.rank-2 {
	width: 31px;
	height: 31px;
	font-size: 13px;
	background: radial-gradient(circle at 35% 25%, #fff, #c5ced1 48%, #778286 100%);
	border-color: #eef4f4;
	box-shadow: 0 0 0 2px #7b868a, 0 3px 7px rgba(76, 88, 93, .3), inset 0 2px #fff;
}

.rank-badge.rank-3 {
	width: 30px;
	height: 30px;
	font-size: 12px;
	background: radial-gradient(circle at 35% 25%, #ffd5a5, #c57b42 50%, #743b1c 100%);
	border-color: #efb77f;
	box-shadow: 0 0 0 2px #834720, 0 3px 7px rgba(91, 48, 23, .3), inset 0 2px #ffe1b9;
}

.rank-row.top-rank, .rank-row.top-1, .rank-row.top-2, .rank-row.top-3 {
	min-height: 36px;
	margin: 0;
	padding: 5px 4px;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	box-shadow: none;
	filter: none;
	font-weight: inherit;
	isolation: auto;
}

.rank-row.top-rank:before, .rank-row.top-rank:after {
	display: none;
	content: none;
}

.rank-row.top-rank>span:nth-child(2), .rank-row.top-1>span:nth-child(2), .rank-row.top-2>span:nth-child(2), .rank-row.top-3>span:nth-child(2), .rank-row.top-1 strong, .rank-row.top-2 strong, .rank-row.top-3 strong {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	text-shadow: none;
}

.rank-row.top-rank:hover {
	transform: none;
	filter: none;
	background: rgba(218, 182, 111, .17);
}

.rank-badge.rank-1, .rank-badge.rank-2, .rank-badge.rank-3 {
	position: relative;
	z-index: 0;
	overflow: visible;
	display: grid !important;
	place-items: center;
	border-radius: 50%;
	font-family: Georgia, serif;
	line-height: 1;
	transition: transform .22s ease, filter .22s ease;
}

.rank-badge.rank-1:after, .rank-badge.rank-2:after, .rank-badge.rank-3:after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	bottom: -5px;
	width: 13px;
	height: 11px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 50% 28%, 100% 0, 78% 100%, 50% 72%, 22% 100%);
}

.rank-badge.rank-1 {
	width: 32px;
	height: 32px;
	font-size: 17px;
	color: #fff4b0;
	background: radial-gradient(circle at 35% 28%, #ffe895 0, #d39a27 52%, #7f4a0d 100%);
	border: 2px solid #f2ce67;
	box-shadow: 0 0 0 1px #8e5712, 0 2px 5px rgba(91, 53, 11, .32), inset 0 1px 2px #fff3b2;
}

.rank-badge.rank-1:after {
	background: linear-gradient(90deg, #9b5e12, #e4b748, #9b5e12);
}

.rank-badge.rank-2 {
	width: 30px;
	height: 30px;
	font-size: 12px;
	color: #fff;
	background: radial-gradient(circle at 35% 28%, #f9ffff 0, #aeb9bc 55%, #606d72 100%);
	border: 2px solid #e2e9e9;
	box-shadow: 0 0 0 1px #747f83, 0 2px 5px rgba(66, 77, 82, .25), inset 0 1px 2px #fff;
}

.rank-badge.rank-2:after {
	background: linear-gradient(90deg, #778286, #cdd5d6, #778286);
}

.rank-badge.rank-3 {
	width: 29px;
	height: 29px;
	font-size: 12px;
	color: #ffead2;
	background: radial-gradient(circle at 35% 28%, #efbd89 0, #aa6435 55%, #623216 100%);
	border: 2px solid #dda36d;
	box-shadow: 0 0 0 1px #77401d, 0 2px 5px rgba(75, 39, 18, .25), inset 0 1px 2px #ffd3a5;
}

.rank-badge.rank-3:after {
	background: linear-gradient(90deg, #7c421d, #c8834d, #7c421d);
}

.rank-row.top-rank:hover .rank-badge {
	transform: translateY(-2px) scale(1.07);
	filter: brightness(1.06);
}

.main-grid {
	grid-template-columns: minmax(0, 1.18fr) minmax(400px, .82fr);
	gap: 16px;
	align-items: stretch;
}

.main-left {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.main-left .banner-slider {
	min-height: 350px;
}

.main-left .faction-panel {
	flex: 1;
}

.rank-panel {
	grid-column: auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
}

.rank-panel .rank-table {
	flex: 1;
	display: grid;
	grid-template-rows: 31px repeat(10, minmax(36px, 1fr));
}

.factions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	column-gap: 0;
	row-gap: 20px;
	padding-top: 10px;
}

.faction {
	flex: 0 0 20%;
	min-width: 0;
}

.rank-row.top-rank, .rank-row.top-1, .rank-row.top-2, .rank-row.top-3 {
	min-height: 36px;
	margin: 0;
	padding: 5px 4px;
	border: 0;
	border-bottom: 1px solid #e0d1b3;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-weight: inherit;
}

.rank-row.top-rank:hover {
	background: rgba(218, 182, 111, .17);
}

.rank-badge.rank-1:after, .rank-badge.rank-2:after, .rank-badge.rank-3:after {
	display: none;
	content: none;
}

.rank-badge.rank-1, .rank-badge.rank-2, .rank-badge.rank-3 {
	width: 28px;
	height: 28px;
	font: 700 12px Georgia, serif;
	border-radius: 50%;
	transform: none;
	filter: none;
}

.rank-badge.rank-1 {
	color: #73460d;
	background: radial-gradient(circle at 34% 28%, #fff3a8 0, #e3b840 42%, #a96c12 76%, #73420a 100%);
	border: 2px solid #e8c45e;
	box-shadow: inset 0 0 0 2px rgba(255, 239, 152, .45), 0 2px 4px rgba(105, 63, 8, .28);
}

.rank-badge.rank-2 {
	color: #4f5b60;
	background: radial-gradient(circle at 34% 28%, #fff 0, #d8dfe0 42%, #98a5a9 76%, #657176 100%);
	border: 2px solid #dce3e4;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 2px 4px rgba(71, 83, 88, .22);
}

.rank-badge.rank-3 {
	color: #663819;
	background: radial-gradient(circle at 34% 28%, #ffd7ac 0, #cf8b51 42%, #955125 76%, #623016 100%);
	border: 2px solid #d89b66;
	box-shadow: inset 0 0 0 2px rgba(255, 220, 181, .4), 0 2px 4px rgba(79, 39, 16, .22);
}

.rank-row.top-rank:hover .rank-badge {
	transform: scale(1.06);
	filter: brightness(1.05);
}

.banner-slide, .banner-slide.slide-two, .banner-slide.slide-three {
	display: none;
	padding: 0;
	background: none;
	opacity: 1;
	visibility: visible;
	filter: none;
	transition: none;
}

.banner-slide.active {
	display: block;
	opacity: 1;
	visibility: visible;
}

.banner-slide:after {
	display: none;
	content: none;
	background: none;
}

.banner-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.media-grid {
	align-items: stretch;
	grid-auto-rows: 470px;
}

.media-grid>.panel {
	height: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.media-grid>.panel>.panel-head {
	flex: 0 0 auto;
}

.gallery-stage {
	flex: 1 1 auto;
	height: auto;
	min-height: 0;
}

.gallery-thumbs {
	flex: 0 0 auto;
}

.video-poster {
	flex: 1 1 auto;
	height: auto;
	min-height: 0;
}

.facebook-embed {
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
}

.facebook-embed iframe {
	height: 100%;
	min-height: 390px;
}

.media-grid {
	grid-template-columns: 1.05fr 1.05fr .9fr;
	grid-auto-rows: 410px;
	gap: 14px;
}

.media-grid>.panel {
	height: 410px;
	padding: 12px;
	background: rgba(255, 250, 238, .72);
	box-shadow: inset 0 0 22px rgba(210, 177, 112, .12), 0 3px 10px rgba(91, 57, 20, .09);
}

.media-grid>.panel>.panel-head {
	min-height: 36px;
	margin-bottom: 8px;
	padding: 0 8px 9px;
}

.gallery-stage {
	--stage-image: url("img/co-thanh-tren-may.jpg");
	border-color: #c29b5e;
	background-image: linear-gradient(rgba(27, 18, 12, .52), rgba(27, 18, 12, .52)), var(--stage-image);
	background-size: cover;
	background-position: center;
}

.video-poster {
	border-color: #c29b5e;
	background-image: linear-gradient(rgba(27, 18, 12, .52), rgba(27, 18, 12, .52)), url("img/video-poster.jpg");
	background-size: cover;
	background-position: center;
}

.gallery-stage img, .video-poster img {
	object-fit: contain;
	object-position: center;
}

.gallery-thumbs {
	gap: 5px;
	margin-top: 6px;
}

.gallery-thumbs button {
	height: 50px;
	border-width: 1px;
	border-color: #c7aa77;
}

.gallery-thumbs button.selected {
	border-color: #8d531d;
	box-shadow: 0 0 0 1px #e5c57e;
}

.facebook-embed {
	min-height: 0;
	border-color: #c7aa77;
	background: #fff;
}

.facebook-embed iframe {
	height: 100%;
	min-height: 0;
}

.panel:not(.banner-slider) {
	border: 1px solid #bd8c42;
	background-color: rgba(255, 250, 238, .82);
	background-image: linear-gradient(90deg, #b78437, #e2c17c), linear-gradient(180deg, #b78437, #e2c17c), linear-gradient(270deg, #b78437, #e2c17c), linear-gradient(180deg, #b78437, #e2c17c), linear-gradient(90deg, #b78437, #e2c17c), linear-gradient(0deg, #b78437, #e2c17c), linear-gradient(270deg, #b78437, #e2c17c), linear-gradient(0deg, #b78437, #e2c17c), linear-gradient(145deg, rgba(255, 253, 245, .9), rgba(246, 234, 207, .72));
	background-position: left 7px top 7px, left 7px top 7px, right 7px top 7px, right 7px top 7px, left 7px bottom 7px, left 7px bottom 7px, right 7px bottom 7px, right 7px bottom 7px, center;
	background-size: 28px 1px, 1px 28px, 28px 1px, 1px 28px, 28px 1px, 1px 28px, 28px 1px, 1px 28px, 100% 100%;
	background-repeat: no-repeat;
	box-shadow: inset 0 0 0 3px rgba(255, 249, 230, .92), inset 0 0 0 4px rgba(198, 157, 86, .5), 0 4px 14px rgba(83, 51, 18, .12);
}

.panel:not(.banner-slider):before, .panel:not(.banner-slider):after {
	content: "";
	display: block;
	position: absolute;
	z-index: 3;
	left: 50%;
	width: 18px;
	height: 8px;
	transform: translateX(-50%);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	background: linear-gradient(90deg, #8f5a1d, #e7c36d 48%, #8f5a1d);
	color: transparent;
	font-size: 0;
	box-shadow: none;
}

.panel:not(.banner-slider):before {
	top: -4px;
}

.panel:not(.banner-slider):after {
	top: auto;
	bottom: -4px;
}

.banner-slider {
	border: 2px solid #a97531;
	box-shadow: inset 0 0 0 2px #efd598, 0 4px 13px rgba(75, 43, 15, .16);
}

.panel-head {
	border-bottom: 0;
	background: linear-gradient(90deg, transparent 0, #d3b06d 12%, #b8893e 50%, #d3b06d 88%, transparent 100%) left bottom/100% 1px no-repeat;
}

.panel-head h2 {
	position: relative;
	letter-spacing: .25px;
	color: #4b2b16;
	text-shadow: 0 1px rgba(255, 255, 255, .75);
}

.panel-head h2:before, .panel-head h2:after {
	content: "◆";
	display: inline-block;
	margin: 0 7px;
	color: #bd8a3a;
	font-size: 7px;
	vertical-align: middle;
}

body {
	background: #ead9b8;
}

main {
	background: linear-gradient(180deg, #f3e7ce 0%, #f3e7ce 56%, #f0e1c4 82%, #ead9b8 100%);
}

.hero {
	margin-bottom: -1px;
}

.hero-overlay {
	background: none;
}

.hero:after {
	display: block;
	inset: auto 0 -1px;
	height: 150px;
	background: linear-gradient(180deg, rgba(243, 231, 206, 0) 0%, rgba(243, 231, 206, .14) 30%, rgba(243, 231, 206, .58) 68%, #f3e7ce 100%);
}

.page-shell {
	background: transparent;
}



.slider-track {
	display: flex;
	overflow: visible;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.slider-track.dragging {
	cursor: grabbing;
}

.banner-slide, .banner-slide.slide-two, .banner-slide.slide-three, .banner-slide.active {
	position: relative;
	inset: auto;
	display: block;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	opacity: 1;
	visibility: visible;
	filter: none;
	transition: none;
}

.banner-slide img {
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.rank-row {
	font-size: 13px;
	line-height: 1.25;
}

.rank-row strong {
	font-size: 10.5px;
}

.rank-row.head {
	font-size: 10px;
}

.rank-row.top-rank>span:nth-child(2), .rank-row.top-1>span:nth-child(2), .rank-row.top-2>span:nth-child(2), .rank-row.top-3>span:nth-child(2), .rank-row.top-1 strong, .rank-row.top-2 strong, .rank-row.top-3 strong {
	font-size: 13px;
}

html {
	width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	width: 100%;
	overflow-x: hidden;
}

.topbar {
	height: 74px;
}

.topbar-inner {
	width: 1100px;
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-toggle {
	display: none !important;
}

.main-nav {
	display: flex !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	transform: none !important;
	background: transparent !important;
	box-shadow: none !important;
	justify-content: center;
}

.hero {
	height: 740px;
	min-height: 740px;
	background-position: center top;
}

.hero-actions {
	width: 620px;
	max-width: none;
}

.page-shell {
	width: 1100px;
	margin: 0 auto;
	padding: 30px 0 36px;
}

.main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(400px, .82fr);
	gap: 16px;
	align-items: stretch;
}

.main-left {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
}

.main-left .banner-slider {
	width: 100%;
	min-height: 350px;
}

.rank-panel {
	grid-column: auto;
	min-width: 0;
	height: 100%;
	min-height: 0;
}

.factions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.faction {
	flex: 0 0 20%;
	width: 20%;
	max-width: 20%;
}

.faction-icon {
	width: 88px;
	height: 88px;
}

.media-grid {
	display: grid;
	grid-template-columns: 1.05fr 1.05fr .9fr;
	grid-auto-rows: 410px;
	gap: 16px;
}

.media-grid>.panel {
	grid-column: auto !important;
	width: auto !important;
	max-width: none !important;
	height: 410px;
	min-height: 0;
}



.hero-actions {
	left: 50%;
	right: auto;
	bottom: 4px;
	width: 980px;
	gap: 16px;
	justify-content: center;
	align-items: flex-end;
	transform: translateX(-50%);
}

.hero-actions .image-action {
	flex: 0 0 230px;
	width: 230px;
	max-width: none;
}

.hero-actions .primary-image-action {
	flex: 0 0 470px;
	width: 470px;
	max-width: none;
}

.hero-actions .image-action {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transform: none !important;
	transition: filter .25s ease;
}

.hero-actions .image-action:nth-child(1) {
	--button-mask: url("img/dang-ky.png");
}

.hero-actions .image-action:nth-child(2) {
	--button-mask: url("img/tai-game.png");
}

.hero-actions .image-action:nth-child(3) {
	--button-mask: url("img/dang-nhap.png");
}

.hero-actions .image-action:before {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	background-image: linear-gradient(105deg, transparent 38%, rgba(255, 226, 120, .35) 44%, rgba(255, 255, 255, 1) 50%, rgba(255, 236, 170, .48) 56%, transparent 62%);
	background-size: 300% 100%;
	background-position: 100% 0;
	background-repeat: no-repeat;
	-webkit-mask: var(--button-mask) center/100% 100% no-repeat;
	mask: var(--button-mask) center/100% 100% no-repeat;
	animation: none;
}

.hero-actions .image-action:hover, .hero-actions .image-action:focus-visible {
	transform: none !important;
	filter: drop-shadow(0 9px 10px rgba(82, 45, 11, .38)) brightness(1.04);
}

.hero-actions .image-action:hover:before, .hero-actions .image-action:focus-visible:before {
	animation: hero-button-shine .9s ease-in-out forwards;
}

@keyframes hero-button-shine {
	0% {
		background-position: 100% 0;
		opacity: 0;
	}
	
	12% {
		opacity: 1;
	}
	
	82% {
		opacity: 1;
	}
	
	100% {
		background-position: 0 0;
		opacity: 0;
	}
}

/* Modal Download Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 14, 5, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #f8efdb url('img/bg-panel.jpg');
    width: 90%;
    max-width: 500px;
    border: 2px solid #c99845;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #fff8e6;
    overflow: hidden;
    position: relative;
}

.modal-header {
    background: linear-gradient(90deg, #8b4016, #c99845);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d8b875;
}

.modal-header h2 {
    margin: 0;
    color: #fff9ea;
    font-size: 20px;
    font-family: "Roboto Slab", serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modal-header .close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.modal-header .close:hover {
    transform: scale(1.2) rotate(90deg);
}

.modal-body {
    padding: 25px 20px;
}

.modal-body p {
    margin: 0 0 20px;
    color: #3c2412;
    font-weight: 600;
    text-align: center;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dl-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid rgba(139, 64, 22, 0.3);
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.dl-btn:hover {
    transform: translateX(8px);
    background: #fff;
    border-color: #8b4016;
    box-shadow: 0 4px 12px rgba(139, 64, 22, 0.15);
}

.dl-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 20px;
    margin-right: 15px;
    color: #fff;
}

.dl-btn.direct .dl-icon { background: linear-gradient(135deg, #e67e22, #d35400); }
.dl-btn.google .dl-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
.dl-btn.mega .dl-icon { background: linear-gradient(135deg, #2ecc71, #27ae60); }

.dl-text {
    flex-grow: 1;
}

.dl-text strong {
    display: block;
    color: #8b4016;
    font-size: 16px;
}

.dl-text span {
    font-size: 12px;
    color: #806d58;
}

.arrow-right {
    color: #c99845;
    opacity: 0.5;
    transition: transform 0.2s;
}

.dl-btn:hover .arrow-right {
    transform: translateX(5px);
    opacity: 1;
}

.dl-note {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #d8b875;
}

.dl-note p {
    font-size: 12px;
    color: #806d58;
    font-weight: normal;
    text-align: left;
    margin: 0;
}

.dl-note i {
    color: #c99845;
    margin-right: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
