* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html,
body {
    min-height: 100%;
    background-color: #1E022D;
    background-image: radial-gradient(1200px 600px at 40% 0%, #330646 0%, #260334 45%, #1E022D 100%);
    color: #F0F0F0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.10;
  mix-blend-mode: overlay;
}

.td-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(38, 3, 52, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 224, 224, 0.08);
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.td-header.is-scrolled {
    background: rgba(38, 3, 52, 0.42);
    border-bottom-color: rgba(224, 224, 224, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.td-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 18px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.td-header__left {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 12px;
}

.td-logo {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #F0F0F0;
    min-width: 0;
}

.td-logo__img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,0.35));
}

.td-logo__text {
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.td-logo__text span {
    color: #974FD0;
}

.td-gift {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 18px;

    background: rgba(77, 28, 101, 0.40);
    border: 1px solid rgba(224, 224, 224, 0.10);
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.td-gift:hover {
    transform: translateY(-1px);
    border-color: rgba(151, 79, 208, 0.40);
    background: rgba(118, 44, 178, 0.28);
}

.td-nav ul {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.td-nav ul li a {
    text-decoration: none;
    color: #E0E0E0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;

    padding: 10px 12px;
    border-radius: 12px;

    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.td-nav ul li a:hover {
    background: rgba(151, 79, 208, 0.18);
    color: #F0F0F0;
    transform: translateY(-1px);
}

.td-header__right {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: center;
}

.td-btn {
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.td-btn--ghost {
    color: #F0F0F0;
    border: 1px solid rgba(224, 224, 224, 0.18);
    background: rgba(77, 28, 101, 0.25);
}

.td-btn--ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(151, 79, 208, 0.40);
    background: rgba(118, 44, 178, 0.28);
}

.td-btn--cta {
    color: #2A0538;
    background: #F87070;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 26px rgba(248, 112, 112, 0.25);
}

.td-btn--cta:hover {
    transform: translateY(-1px);
    background: #ff7f7f;
}

.td-burger {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(224, 224, 224, 0.14);
    background: rgba(77, 28, 101, 0.35);
    cursor: pointer;

    display: none;
    place-items: center;

    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
    position: relative;
}

.td-burger span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 20px;
    background: rgba(240, 240, 240, 0.92);
    transition: transform 220ms ease, opacity 200ms ease, top 220ms ease;
}

.td-burger span:nth-child(1) { top: 14px; }
.td-burger span:nth-child(2) { top: 20px; }
.td-burger span:nth-child(3) { top: 26px; }

.td-burger:hover {
    transform: translateY(-1px);
    border-color: rgba(151, 79, 208, 0.45);
    background: rgba(118, 44, 178, 0.30);
}

.td-burger.is-open span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.td-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.td-burger.is-open span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.td-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 1100;
}

.td-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.td-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(86vw, 360px);

    background: rgba(38, 3, 52, 0.92);
    border-right: 1px solid rgba(224, 224, 224, 0.10);
    backdrop-filter: blur(14px);

    transform: translateX(-110%);
    transition: transform 260ms ease;
    z-index: 1200;

    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
}

.td-drawer.is-open {
    transform: translateX(0);
}

.td-drawer__title {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.td-drawer__close {
    width: 40px;
    height: 40px;
    border-radius: 14px;

    border: 1px solid rgba(224, 224, 224, 0.12);
    background: rgba(77, 28, 101, 0.35);
    color: #F0F0F0;
    cursor: pointer;

    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.td-drawer__close:hover {
    transform: translateY(-1px);
    border-color: rgba(151, 79, 208, 0.45);
    background: rgba(118, 44, 178, 0.30);
}

.td-drawer__nav ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.td-drawer__nav ul li a {
    display: block;
    text-decoration: none;
    color: #E0E0E0;

    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(224, 224, 224, 0.08);
    background: rgba(77, 28, 101, 0.18);

    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.td-drawer__nav ul li a:hover {
    transform: translateY(-1px);
    border-color: rgba(151, 79, 208, 0.40);
    background: rgba(118, 44, 178, 0.25);
    color: #F0F0F0;
}


@media (max-width: 980px) {
    .td-header__inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .td-nav {
        display: none;
    }

    .td-burger {
        display: grid;
    }

    .td-logo__text {
        display: none;
    }

    .td-header__left {
        gap: 10px;
    }

    .td-header__right {
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .td-header__inner {
        padding: 10px 12px;
    }

    .td-burger,
    .td-gift {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .td-logo__img {
        width: 34px;
        height: 34px;
    }

    .td-btn {
        padding: 9px 12px;
        border-radius: 12px;
        font-size: 13px;
    }
}

.td-hero {
	padding: 26px 0 0;
}

.td-hero__wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 18px;
}

.td-hero__card {
	position: relative;
	border-radius: 26px;
	overflow: hidden;

	background:
		radial-gradient(900px 360px at 35% 0%, rgba(151, 79, 208, 0.22) 0%, rgba(151, 79, 208, 0) 60%),
		radial-gradient(700px 280px at 85% 40%, rgba(118, 44, 178, 0.18) 0%, rgba(118, 44, 178, 0) 60%),
		linear-gradient(180deg, rgba(77, 28, 101, 0.50) 0%, rgba(38, 3, 52, 0.26) 100%);

	border: 1px solid rgba(224, 224, 224, 0.10);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.td-hero__card::before {
	content: "";
	position: absolute;
	inset: -2px;
	pointer-events: none;
	background: radial-gradient(800px 340px at 15% 20%, rgba(248, 176, 64, 0.10), transparent 60%);
	opacity: 0.65;
}


.td-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: stretch;
	gap: 0;
	min-height: 360px;
}


.td-hero__content {
	padding: 75px 26px 22px;
	display: grid;
	align-content: start;
}

.td-hero__badge {
	width: fit-content;
	padding: 8px 14px;
	border-radius: 999px;

	background: rgba(248, 176, 64, 0.16);
	border: 1px solid rgba(248, 176, 64, 0.28);
	color: #F8B040;

	font-weight: 900;
	letter-spacing: 0.6px;
	margin-bottom: 14px;
}

.td-hero__title {
	display: block;
	font-size: 33px;
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.td-hero__subtitle {
	color: rgba(240, 240, 240, 0.86);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2px;
	margin-bottom: 18px;
}


.td-hero__stats {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 14px;

	padding: 14px 16px;
	border-radius: 18px;

	background: rgba(30, 2, 45, 0.35);
	border: 1px solid rgba(224, 224, 224, 0.08);
	margin-bottom: 18px;
}

.td-hero__statTop {
	font-weight: 900;
	font-size: 20px;
	letter-spacing: 0.2px;
    text-align: center;
}

.td-hero__statBottom {
	color: rgba(224, 224, 224, 0.78);
	font-size: 12px;
	font-weight: 700;
	margin-top: 4px;
    text-align: center;
}

.td-hero__divider {
	width: 1px;
	height: 40px;
	background: rgba(224, 224, 224, 0.10);
}

.td-hero__actions {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 14px;
    padding-top: 20px;
}

.td-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	text-decoration: none;
	color: #2A0538;
	background: #F87070;

	padding: 14px 18px;
	border-radius: 18px;

	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.2px;

	box-shadow: 0 18px 44px rgba(248, 112, 112, 0.26);
	transition: transform 200ms ease, filter 200ms ease, background 200ms ease;
}

.td-hero__cta:hover {
	transform: translateY(-1px);
	filter: brightness(1.02);
	background: #ff7f7f;
}

.td-hero__or {
	color: rgba(224, 224, 224, 0.65);
	font-weight: 900;
	font-size: 12px;
	text-transform: lowercase;
	padding: 0 6px;
}

.td-hero__socials {
	display: grid;
	grid-auto-flow: column;
	gap: 12px;
	align-items: center;
}

.td-hero__social {
	width: 48px;
	height: 48px;
	border-radius: 18px;

	display: grid;
	place-items: center;
	transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.td-hero__social:hover {
	transform: translateY(-1px);
}

.td-hero__social img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	display: block;
}

.td-hero__visual {
	position: relative;
	display: grid;
	align-items: center;
	justify-items: center;

	padding: 18px 22px 18px 0;
}

.td-hero__img {
	width: 100%;
	height: 100%;
	display: block;

	object-fit: contain;        
	object-position: center;    
	border-radius: 22px;

	filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.32));
}

.td-hero__visual {
	min-height: 360px;
}

.td-hero__img {
	max-width: 100%;
	max-height: 100%;
}


.td-hero__hint {
	position: absolute;
	right: 24px;
	bottom: 22px;

	padding: 10px 12px;
	border-radius: 16px;

	background: rgba(30, 2, 45, 0.55);
	border: 1px solid rgba(224, 224, 224, 0.10);
	backdrop-filter: blur(10px);

	display: grid;
	gap: 2px;
}

.td-hero__hint span {
	font-weight: 900;
	font-size: 12px;
	letter-spacing: 0.2px;
}

.td-hero__hint small {
	color: rgba(224, 224, 224, 0.75);
	font-weight: 700;
	font-size: 11px;
}


@media (max-width: 980px) {
	.td-hero {
		padding: 18px 0 0;
	}

	.td-hero__grid {
		grid-template-columns: 1fr;
		min-height: unset;
	}


	.td-hero__visual {
		order: -1;
		padding: 14px;
	}

	.td-hero__img {
		border-radius: 20px;
	}

	.td-hero__content {
		padding: 18px 16px 18px;
	}

	.td-hero__title {
		font-size: 40px;
        text-align: center;
	}

    	.td-hero__subtitle {

        text-align: center;
	}

	.td-hero__stats {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.td-hero__divider {
		display: none;
	}

	.td-hero__actions {
		grid-template-columns: 1fr;
	}

	.td-hero__or {
		text-align: center;
	}

	.td-hero__socials {
		justify-content: center;
	}

    .td-hero__statTop {
        text-align: center;
    }

    .td-hero__statBottom {
        text-align: center;
    }
}

@media (max-width: 520px) {
	.td-hero__wrap {
		padding: 0 12px;
	}

	.td-hero__card {
		border-radius: 22px;
	}

	.td-hero__img {
		min-height: 220px;
		border-radius: 18px;
	}

	.td-hero__title {
		font-size: 34px;
	}

	.td-hero__cta {
		border-radius: 16px;
		padding: 13px 14px;
	}

	.td-hero__social {
		width: 46px;
		height: 46px;
		border-radius: 16px;
	}
}

@media (max-width: 980px) {
	.td-hero__visual {
		padding: 14px;
		border-radius: 20px;
	}

	.td-hero__img {
		width: 100%;
		height: 260px;
		object-fit: contain;        
		object-position: center;
	}
}


.td-top {
	padding: 22px 0 0;
}

.td-top__wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 18px;
}

.td-top__bar {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.td-top__title {
	font-weight: 900;
	font-size: 18px;
	letter-spacing: 0.3px;
}

.td-top__all {
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2px;
	color: rgba(224, 224, 224, 0.85);

	padding: 10px 12px;
	border-radius: 14px;

	background: rgba(77, 28, 101, 0.22);
	border: 1px solid rgba(224, 224, 224, 0.10);

	transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.td-top__all:hover {
	transform: translateY(-1px);
	color: #F0F0F0;
	border-color: rgba(151, 79, 208, 0.40);
	background: rgba(118, 44, 178, 0.22);
}


.td-top__rail {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 6px 0 4px;

	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.td-top__rail::-webkit-scrollbar {
	height: 8px;
}

.td-top__rail::-webkit-scrollbar-track {
	background: rgba(224, 224, 224, 0.06);
	border-radius: 999px;
}

.td-top__rail::-webkit-scrollbar-thumb {
	background: rgba(151, 79, 208, 0.35);
	border-radius: 999px;
}

.td-top__grid {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, 120px);
	gap: 12px;

	grid-auto-columns: 120px;

	padding: 6px 2px 8px;
}


.td-game {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 18px;
	overflow: hidden;

	background: rgba(30, 2, 45, 0.22);
	border: 1px solid rgba(224, 224, 224, 0.10);

	scroll-snap-align: start;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
	transform: translateZ(0);
	text-decoration: none;
}

.td-game__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.03) contrast(1.02);
}


.td-game__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 180ms ease;
}


.td-game__actions {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 8px;

	opacity: 0;
	transform: translateY(4px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.td-game:hover .td-game__overlay {
	opacity: 1;
}

.td-game:hover .td-game__actions {
	opacity: 1;
	transform: translateY(0);
}


.td-game__btn {
	width: 86px;
	height: 32px;
	border-radius: 12px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	font-weight: 900;
	font-size: 12px;
	letter-spacing: 0.3px;

	user-select: none;
}

.td-game__btn--ghost {
	color: rgba(240, 240, 240, 0.92);
	background: rgba(77, 28, 101, 0.35);
	border: 1px solid rgba(224, 224, 224, 0.14);
}

.td-game__btn--cta {
	color: #2A0538;
	background: #F87070;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 14px 26px rgba(248, 112, 112, 0.22);
}

.td-game:focus-visible .td-game__overlay {
	opacity: 1;
}

.td-game:focus-visible .td-game__actions {
	opacity: 1;
	transform: translateY(0);
}


@media (max-width: 980px) {
	.td-top {
		padding: 18px 0 0;
	}

	.td-top__wrap {
		padding: 0 12px;
	}

	.td-top__grid {
		grid-template-rows: repeat(2, 110px);
		grid-auto-columns: 110px;
		gap: 10px;
	}

	.td-game {
		width: 110px;
		height: 110px;
		border-radius: 16px;
	}

	.td-game__btn {
		width: 80px;
		height: 30px;
		border-radius: 11px;
		font-size: 11px;
	}
}

@media (max-width: 520px) {
	.td-top__title {
		font-size: 16px;
	}

	.td-top__all {
		padding: 8px 10px;
		border-radius: 12px;
		font-size: 12px;
	}
}

main.td-content {
	max-width: 1280px;
	margin: 30px auto 0;
	padding: 0 18px 28px;

	color: rgba(240, 240, 240, 0.92);
}

main.td-content h1 {
	font-size: 34px;
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

main.td-content h2 {
	font-size: 22px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: 0.2px;
	margin: 22px 0 12px;
}

main.td-content h3 {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: 0.2px;
	margin: 18px 0 10px;
}

main.td-content p {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(224, 224, 224, 0.86);
	margin-bottom: 12px;
}

main.td-content img {
	max-width: 100%;
	height: auto;
	display: block;

	border-radius: 22px;
	margin: 16px auto 16px;

	border: 1px solid rgba(224, 224, 224, 0.10);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.30);
}

main.td-content blockquote {
	margin: 16px 0;
	padding: 14px 16px;
	border-radius: 18px;

	background: rgba(77, 28, 101, 0.20);
	border: 1px solid rgba(224, 224, 224, 0.10);

	color: rgba(240, 240, 240, 0.92);
	font-weight: 700;
	line-height: 1.55;

	backdrop-filter: blur(10px);
}

main.td-content ul,
main.td-content ol {
	margin: 10px 0 14px;
	padding-left: 18px;
}

main.td-content li {
	margin: 8px 0;
	color: rgba(224, 224, 224, 0.86);
	line-height: 1.55;
}
main.td-content table {
	width: 100%;
	margin: 14px 0 12px;

	border-collapse: separate;
	border-spacing: 0;

	border-radius: 18px;
	overflow: hidden;

	background: rgba(30, 2, 45, 0.35);
	border: 1px solid rgba(224, 224, 224, 0.10);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

main.td-content thead,
main.td-content tbody {
	display: table;
	width: max-content;
	min-width: 100%;
	table-layout: auto;
}

main.td-content tr {
	display: table-row;
}

main.td-content th,
main.td-content td {
	display: table-cell;
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;

	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;

	font-size: 13px;
	line-height: 1.35;
}

main.td-content th {
	color: rgba(240, 240, 240, 0.92);
	font-weight: 900;
	background: rgba(118, 44, 178, 0.18);
	border-bottom: 1px solid rgba(224, 224, 224, 0.10);
}

main.td-content td {
	color: rgba(224, 224, 224, 0.86);
	border-bottom: 1px solid rgba(224, 224, 224, 0.08);
}

main.td-content tbody tr:last-child td {
	border-bottom: none;
}

main.td-content th:nth-child(1),
main.td-content td:nth-child(1) {
	min-width: 160px;
}

main.td-content th:nth-child(2),
main.td-content td:nth-child(2) {
	min-width: 240px;
}

main.td-content th:nth-child(3),
main.td-content td:nth-child(3) {
	min-width: 260px;
}

main.td-content th:nth-child(4),
main.td-content td:nth-child(4) {
	min-width: 250px;
}

main.td-content table::-webkit-scrollbar {
	height: 8px;
}

main.td-content table::-webkit-scrollbar-track {
	background: rgba(224, 224, 224, 0.06);
	border-radius: 999px;
}

main.td-content table::-webkit-scrollbar-thumb {
	background: rgba(151, 79, 208, 0.35);
	border-radius: 999px;
}


@media (max-width: 980px) {
	main.td-content {
		padding: 0 12px 24px;
	}

	main.td-content h1 {
		font-size: 26px;
	}

	main.td-content h2 {
		font-size: 19px;
	}

	main.td-content h3 {
		font-size: 16px;
	}

	main.td-content p {
		font-size: 13.5px;
	}

	main.td-content img {
		border-radius: 18px;
	}
}

@media (max-width: 520px) {
	main.td-content h1 {
		font-size: 24px;
	}

	main.td-content th,
	main.td-content td {
		padding: 10px 12px;
		font-size: 12.5px;
	}
}


.td-footer {
	margin-top: 28px;
	padding: 26px 0 16px;

	background:
		radial-gradient(900px 380px at 20% 0%, rgba(151, 79, 208, 0.18) 0%, rgba(151, 79, 208, 0) 58%),
		radial-gradient(900px 420px at 90% 20%, rgba(248, 112, 112, 0.10) 0%, rgba(248, 112, 112, 0) 55%),
		linear-gradient(180deg, rgba(12, 0, 22, 0.10) 0%, rgba(8, 0, 16, 0.55) 100%);

	border-top: 1px solid rgba(224, 224, 224, 0.08);
}

.td-footer__wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 18px;
}

.td-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 0.9fr 0.95fr;
	gap: 34px;

	padding: 10px 0 0;
}

.td-footer__logo {
	display: inline-grid;
	grid-auto-flow: column;
	align-items: center;
	gap: 10px;

	text-decoration: none;
	color: rgba(240, 240, 240, 0.92);
}

.td-footer__logo img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	display: block;
}

.td-footer__logo span {
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.td-footer__brand p {
	margin-top: 12px;
	font-size: 13.5px;
	line-height: 1.7;
	color: rgba(224, 224, 224, 0.82);
	max-width: 52ch;
}

.td-footer__brand blockquote {
	margin-top: 14px;
	padding: 12px 14px;

	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);

	color: rgba(240, 240, 240, 0.90);
	font-weight: 700;
	font-size: 12.5px;
	line-height: 1.55;
}

.td-footer__title {
	display: block;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.28px;
	text-transform: uppercase;

	color: rgba(240, 240, 240, 0.92);
	margin-bottom: 12px;
}

.td-footer__nav ul {
	list-style: none;
	padding: 0;
	margin: 0;

	display: grid;
	gap: 10px;
}

.td-footer__nav a {
	position: relative;
	text-decoration: none;

	color: rgba(224, 224, 224, 0.82);
	font-weight: 700;
	font-size: 13.5px;
	line-height: 1.25;

	padding-left: 14px;
	transition: color 180ms ease, transform 180ms ease;
}

.td-footer__nav a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;

	width: 6px;
	height: 6px;
	border-radius: 999px;

	background: rgba(151, 79, 208, 0.55);
	box-shadow: 0 0 0 3px rgba(151, 79, 208, 0.12);
	transform: translateY(-50%);
}

.td-footer__nav a:hover {
	color: #FFFFFF;
	transform: translateX(2px);
}

.td-footer__contacts {
	display: grid;
	align-content: start;
	gap: 10px;
}

.td-footer__contactLink {
	text-decoration: none;
	color: rgba(224, 224, 224, 0.82);

	font-weight: 800;
	font-size: 13.5px;
	line-height: 1.25;

	transition: color 180ms ease;
}

.td-footer__contactLink:hover {
	color: #FFFFFF;
}

.td-footer__chips {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.td-footer__chip {
	text-decoration: none;
	color: rgba(240, 240, 240, 0.86);

	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.2px;

	padding: 8px 12px;
	border-radius: 14px;

	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);

	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.td-footer__chip:hover {
	transform: translateY(-1px);
	border-color: rgba(151, 79, 208, 0.28);
	background: rgba(151, 79, 208, 0.10);
}

.td-footer__bottom {
	margin-top: 18px;
	padding-top: 14px;

	border-top: 1px solid rgba(255, 255, 255, 0.06);

	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 14px;
}

.td-footer__copy {
	color: rgba(224, 224, 224, 0.70);
	font-weight: 700;
	font-size: 12.5px;
}

.td-footer__mini {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.td-footer__mini a {
	text-decoration: none;
	color: rgba(224, 224, 224, 0.76);
	font-weight: 700;
	font-size: 12.5px;
	transition: color 180ms ease;
}

.td-footer__mini a:hover {
	color: #FFFFFF;
}

.td-footer__mini a + a {
	position: relative;
	padding-left: 14px;
}

.td-footer__mini a + a::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: rgba(224, 224, 224, 0.35);
}

@media (max-width: 980px) {
	.td-footer__wrap {
		padding: 0 12px;
	}

	.td-footer__grid {
		grid-template-columns: 1fr;
		gap: 22px;

		/* ✅ центрируем все колонки */
		justify-items: center;
		text-align: center;
	}

	.td-footer__brand {
		display: grid;
		justify-items: center;
	}

	.td-footer__brand p {
		max-width: 100%;
	}

	/* ✅ центрируем навигацию */
	.td-footer__nav ul {
		justify-items: center;
	}

	.td-footer__nav a {
		padding-left: 0;
	}

	.td-footer__nav a::before {
		display: none;
	}

	.td-footer__contacts {
		justify-items: center;
		text-align: center;
	}

	.td-footer__chips {
		justify-content: center;
	}

	.td-footer__bottom {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.td-footer__mini {
		justify-content: center;
		flex-wrap: wrap;
	}
}

.td-lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	padding: 6px 10px;
	border-radius: 14px;

	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);

	backdrop-filter: blur(10px);
}

.td-lang__item {
	text-decoration: none;

	color: rgba(240, 240, 240, 0.82);
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.35px;

	padding: 6px 10px;
	border-radius: 999px;

	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.td-lang__item:hover {
	color: #FFFFFF;
	background: rgba(151, 79, 208, 0.16);
	transform: translateY(-1px);
}

.td-lang__item.is-active,
.td-lang__item[aria-current="page"] {
	color: #FFFFFF;
	background: rgba(248, 112, 112, 0.18);
	box-shadow: 0 10px 30px rgba(248, 112, 112, 0.12);
}

.td-lang__sep {
	color: rgba(240, 240, 240, 0.35);
	font-weight: 900;
	user-select: none;
}

.td-drawer__lang {
	padding: 12px 16px 0;
	display: grid;
	gap: 10px;
}

.td-drawer__langTitle {
	color: rgba(240, 240, 240, 0.72);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.td-lang--drawer {
	display: inline-flex;
	width: fit-content;
}

@media (max-width: 980px) {
	.td-header__right .td-lang {
		display: none;
	}
}


.td-nav ul li:nth-child(-n + 2),
.td-drawer__nav ul li:nth-child(-n + 2) {
	display: none;
}