/* Layout */
.m2-container {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
}

.m2-main {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.05));
    padding: 48px 0 64px;
}

.m2-section {
    padding: 32px 0;
}

.m2-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.m2-heading {
    margin: 0;
    font-size: 32px;
    color: #0f172a;
}

.m2-subheading {
    margin: 8px 0 0;
    font-size: 16px;
    color: rgba(15, 23, 42, 0.65);
    max-width: 560px;
    line-height: 1.6;
}

.m2-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.m2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.m2-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.m2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.16);
}

.m2-card__thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.m2-card__body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m2-card__title {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.m2-card__text {
    margin: 0;
    font-size: 14px;
    color: rgba(15, 23, 42, 0.65);
}

.m2-card__cta {
    padding: 0 20px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    font-weight: 700;
}

.m2-empty {
    padding: 24px;
    text-align: center;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    color: #475569;
}

.m2-article {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    padding: 36px 42px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.8);
}

.m2-article h2 {
    margin: 16px 0 8px;
    font-size: 24px;
    color: #0f172a;
}

.m2-article p {
    margin: 0;
}

.m2-article ol {
    margin: 0 0 0 20px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.m2-article li {
    margin: 0;
    color: rgba(15, 23, 42, 0.8);
}

.m2-footer {
    background: #0f172a;
    color: #f8fbff;
    padding: 28px 0;
    border-top: 1px solid rgba(248, 251, 255, 0.08);
}

.m2-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

.m2-footer__links {
    display: flex;
    gap: 16px;
}

.m2-footer__link {
    color: rgba(248, 251, 255, 0.82);
    text-decoration: none;
}

.m2-footer__link:hover {
    color: #f8fbff;
}

.m2-footer__cta {
    display: flex;
    justify-content: center;
}

.m2-footer__copy {
    display: flex;
    justify-content: flex-end;
    color: rgba(248, 251, 255, 0.6);
    font-size: 14px;
}

/* Dark theme */
.m2-dark {
    background: #0b1323;
    color: #f8fbff;
}

.m2-dark .m2-main {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.03), rgba(248, 251, 255, 0.05));
}

.m2-dark .m2-section {
    color: #f8fbff;
}

.m2-dark .m2-heading {
    color: #f8fbff;
}

.m2-dark .m2-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(248, 251, 255, 0.08);
}

.m2-dark .m2-card__title {
    color: #f8fbff;
}

.m2-dark .m2-card__text {
    color: rgba(248, 251, 255, 0.7);
}

.m2-dark .m2-card__cta {
    color: #38bdf8;
}

.m2-dark .m2-link {
    color: #38bdf8;
}

.m2-dark .m2-subheading {
    color: rgba(248, 251, 255, 0.7);
}

.m2-dark .m2-article {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(248, 251, 255, 0.08);
    color: rgba(248, 251, 255, 0.75);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.35);
}

.m2-dark .m2-article h2 {
    color: #f8fbff;
}

.m2-dark .m2-article li {
    color: rgba(248, 251, 255, 0.8);
}

/* Error page */
.error-page .error-hero {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 32px 68px rgba(15, 23, 42, 0.15);
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: center;
}

.error-hero__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.error-hero__code {
    font-size: clamp(56px, 12vw, 112px);
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.08em;
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.error-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.error-hero__illustration {
    position: relative;
    width: 240px;
    height: 240px;
    flex: 0 0 auto;
}

.error-card {
    position: absolute;
    width: 136px;
    height: 184px;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fbff, #dbeafe);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}

.error-card--one {
    top: 24px;
    left: 44px;
    transform: rotate(-10deg);
}

.error-card--two {
    top: 0;
    right: 32px;
    transform: rotate(8deg);
    background: linear-gradient(145deg, #fff7ed, #ffe4d6);
}

.error-card--three {
    bottom: 18px;
    left: 72px;
    transform: rotate(18deg);
    background: linear-gradient(145deg, #ecfccb, #d9f99d);
}

.error-help {
    margin-top: 16px;
}

.error-help__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.error-help__list li {
    line-height: 1.6;
}

.error-help__list strong {
    color: #0f172a;
}

.m2-dark .error-page .error-hero {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(248, 251, 255, 0.08);
    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.5);
}

.m2-dark .error-hero__code {
    color: #93c5fd;
}

.m2-dark .error-help__list strong {
    color: #f8fbff;
}

.m2-dark .error-card {
    border-color: rgba(248, 251, 255, 0.08);
    color: #0f172a;
}

@media (max-width: 1024px) {
    .error-page .error-hero {
        flex-direction: column;
        text-align: center;
    }

    .error-hero__actions,
    .error-hero__links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 720px) {
    .m2-container {
        width: min(100%, 100% - 32px);
    }

    .m2-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .m2-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .m2-footer__links,
    .m2-footer__cta,
    .m2-footer__copy {
        justify-content: center;
    }

    .m2-article {
        padding: 28px 24px;
    }

    .error-page .error-hero {
        padding: 32px 24px;
    }

    .error-hero__illustration {
        width: 200px;
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ============================================
   Additional styles from main.v2.css
   ============================================ */

/* A-Z Page Styles */
.az-page .m2-section {
    padding-top: 48px;
    padding-bottom: 64px;
}

.az-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.az-nav {
    margin-top: 24px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 6px;
}

.az-nav__link {
    border-radius: 999px;
    font-weight: 600;
    color: #0f172a;
    background: #edf2ff;
    height: 36px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.az-nav__link:hover {
    background: #dbe4ff;
    color: #121a2f;
}

.az-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.az-letter {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.az-letter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.az-letter__badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eef2ff;
    color: #0f172a;
    font-weight: 700;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.az-letter__count {
    font-size: 15px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.6);
}

.az-letter__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.az-entry {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #f8f9ff;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.az-entry:hover {
    border-color: #c1d3ff;
    background: #eef2ff;
    transform: translateY(-2px);
}

.az-entry__title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.az-entry__meta {
    font-size: 13px;
    color: rgba(15, 23, 42, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.m2-dark .az-nav {
    background: #061121;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: none;
}

body.m2-dark .az-nav__link {
    color: #e2e8f0;
    background: rgba(255,255,255,0.06);
}

body.m2-dark .az-nav__link:hover {
    background: rgba(93, 174, 255, 0.2);
    color: #8ecbff;
}

body.m2-dark .az-letter {
    background: #050b16;
    border-color: rgba(148, 163, 184, 0.15);
    box-shadow: none;
}

body.m2-dark .az-letter__badge {
    background: rgba(147, 197, 253, 0.15);
    color: #f8fbff;
}

body.m2-dark .az-letter__count {
    color: rgba(226, 232, 240, 0.7);
}

body.m2-dark .az-entry {
    background: rgba(255,255,255,0.04);
    color: #f8fbff;
}

body.m2-dark .az-entry__title {
    color: #f8fbff;
}

body.m2-dark .az-entry__meta {
    color: rgba(226, 232, 240, 0.6);
}

body.m2-dark .az-entry:hover {
    background: rgba(147, 197, 253, 0.08);
    border-color: rgba(147, 197, 253, 0.4);
}

@media (max-width: 1024px) {
    .az-letter {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .az-header__actions {
        justify-content: flex-start;
        margin-top: 24px;
    }
    .az-letter__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    .az-letter {
        padding: 24px;
    }
    .az-letter__badge {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Fonts */
@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Black.eot');
    src: local('Proxima Nova Black'), local('ProximaNova-Black'),
        url('fonts/proxima/ProximaNova-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Black.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Black.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Extrabld.eot');
    src: local('Proxima Nova Extrabold'), local('ProximaNova-Extrabld'),
        url('fonts/proxima/ProximaNova-Extrabld.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Extrabld.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Extrabld.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Extrabld.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-SemiboldIt.eot');
    src: local('Proxima Nova Semibold Italic'), local('ProximaNova-SemiboldIt'),
        url('fonts/proxima/ProximaNova-SemiboldIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-SemiboldIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-SemiboldIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-SemiboldIt.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNovaT-Thin.eot');
    src: local('Proxima Nova Thin'), local('ProximaNovaT-Thin'),
        url('fonts/proxima/ProximaNovaT-Thin.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNovaT-Thin.woff2') format('woff2'),
        url('fonts/proxima/ProximaNovaT-Thin.woff') format('woff'),
        url('fonts/proxima/ProximaNovaT-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Light.eot');
    src: local('Proxima Nova Light'), local('ProximaNova-Light'),
        url('fonts/proxima/ProximaNova-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Light.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Light.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-BlackIt.eot');
    src: local('Proxima Nova Black Italic'), local('ProximaNova-BlackIt'),
        url('fonts/proxima/ProximaNova-BlackIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-BlackIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-BlackIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-BlackIt.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-BoldIt.eot');
    src: local('Proxima Nova Bold Italic'), local('ProximaNova-BoldIt'),
        url('fonts/proxima/ProximaNova-BoldIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-BoldIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-BoldIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-BoldIt.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-ThinIt.eot');
    src: local('Proxima Nova Thin Italic'), local('ProximaNova-ThinIt'),
        url('fonts/proxima/ProximaNova-ThinIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-ThinIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-ThinIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-ThinIt.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Bold.eot');
    src: local('Proxima Nova Bold'), local('ProximaNova-Bold'),
        url('fonts/proxima/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Bold.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Bold.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-RegularIt.eot');
    src: local('Proxima Nova Regular Italic'), local('ProximaNova-RegularIt'),
        url('fonts/proxima/ProximaNova-RegularIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-RegularIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-RegularIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-RegularIt.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-ExtrabldIt.eot');
    src: local('Proxima Nova Extrabold Italic'), local('ProximaNova-ExtrabldIt'),
        url('fonts/proxima/ProximaNova-ExtrabldIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-ExtrabldIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-ExtrabldIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-ExtrabldIt.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Regular.eot');
    src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
        url('fonts/proxima/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Regular.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Regular.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-LightIt.eot');
    src: local('Proxima Nova Light Italic'), local('ProximaNova-LightIt'),
        url('fonts/proxima/ProximaNova-LightIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-LightIt.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-LightIt.woff') format('woff'),
        url('fonts/proxima/ProximaNova-LightIt.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/proxima/ProximaNova-Semibold.eot');
    src: local('Proxima Nova Semibold'), local('ProximaNova-Semibold'),
        url('fonts/proxima/ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'),
        url('fonts/proxima/ProximaNova-Semibold.woff2') format('woff2'),
        url('fonts/proxima/ProximaNova-Semibold.woff') format('woff'),
        url('fonts/proxima/ProximaNova-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Base Styles */
html, body {
	margin: 0;
	padding: 0;
	color: #222;
	font-size: 14px;
	font-family: 'Proxima Nova';
	background: #f8f9fa;
}

body.m2-dark {
    background: #050b16;
    color: #f8fbff;
}

body.m2-dark a {
    color: #93c5fd;
}

a {
	color: #222;
	text-decoration: none;
	transition: all 0.3s ease;
}

* {
 	outline: none;
}

h2 {
	font-weight: bold;
    font-size: 29px;
    line-height: 33px;
    color: #222;
    margin: 0;
    margin-bottom: 27px;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 0;
	margin: 0;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-bottom: 60px;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.hero-title {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px 0;
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
	font-size: 20px;
	font-weight: 300;
	margin: 0;
	opacity: 0.95;
}

/* Section Titles */
.section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 35px;
	color: #1a1a1a;
}

.section-title-icon {
	font-size: 36px;
	line-height: 1;
}

.content-two {
    display: flex;
    justify-content: space-between;
}

.content-two .content-main .grap-list {
    margin-left: -8px;
    justify-content: start;
}

.content-two .grap-list .grap-item, .content-two .grap-list .grap-item a {
    width: 240px;
    height: 240px;
}

.sidebar {
    max-width: 300px;
    min-width: 300px;
    width: 100%;
}

.header-title, .body-description__header {
	margin-bottom: 27px;
}

.header-title__text, .body-description__header-text {
	font-weight: bold;
    font-size: 29px;
    line-height: 33px;
    color: #222;
    margin: 0;
}

.body-description {
	background: #fff;
	border-radius: 16px;
	padding: 40px;
	margin-top: 60px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.body-description__content {
	max-width: 900px;
	margin: 0 auto;
}

.body-description__text p {
	margin: 0;
	font-size: 17px;
    line-height: 28px;
    margin-bottom: 20px;
	color: #444;
}

.body-description__text h2 {
	font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    color: #222;
    margin: 0;
    margin-top: 25px;
    margin-bottom: 15px;
}

.body-description__text ol {
	font-size: 16px;
    line-height: 23px;
    margin: 0;
    padding: 0;
    padding-left: 50px;
}

.body-description__text ol li:not(:last-child) {
	margin-bottom: 7px;
}

.flex {
	display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}

.jc-spbeet {
	-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
}

.ai-center {
	-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
}

.container {
	width: 100%;
	margin: 0 auto;
	max-width: 1340px;
	padding: 0 20px;
}

.site-header {
    background: #0f172a;
    color: #f8fbff;
    border-bottom: 1px solid rgba(248, 251, 255, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 20px;
}

@media screen and (max-width: 1400px) {
    .site-header__inner {
        padding: 16px 20px;
    }

    .site-header .container {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

.site-header + .main {
    margin-top: 32px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 18px;
}

.site-logo__icon {
    font-size: 26px;
}

.site-logo__title {
    margin: 0;
}

.site-nav {
    display: flex;
    gap: 20px;
}

.site-nav__link {
    color: rgba(248, 251, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
}

.site-nav__link:hover {
    color: #f8fbff;
}

.site-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-search {
    position: relative;
}

.site-search__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(248, 251, 255, 0.15);
    position: relative;
}

.site-search__field .search-input {
    width: auto;
    padding: 4px 0;
    border: none;
    background: transparent;
    font-size: 13px;
    min-width: 190px;
    color: rgba(248, 251, 255, 0.92);
    caret-color: #38bdf8;
}

.site-search__field .search-input:focus {
    border: none;
    background: transparent;
    box-shadow: none;
    color: rgba(248, 251, 255, 1);
}

.site-search__field:focus-within {
    border-color: rgba(56, 189, 248, 0.35);
}

.site-search__btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
}

.site-search__btn svg {
    color: inherit;
    fill: currentColor;
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.site-search__field .site-search__btn {
    color: rgba(248, 251, 255, 0.85);
    margin-left: auto;
}

.site-toggle {
    border: none;
    background: rgba(15, 23, 42, 0.6);
    color: inherit;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 16px;
}

.site-toggle__icon {
    display: inline-block;
    line-height: 1;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.site-btn--ghost {
    color: #f8fbff;
    border: 1px solid rgba(248, 251, 255, 0.3);
    background: transparent;
}

.site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
}

.m2-dark .site-header {
    background: #050b16;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.m2-dark .site-nav__link {
    color: rgba(148, 186, 255, 0.85);
}

.m2-dark .site-nav__link:hover {
    color: #f8fbff;
}

.m2-dark .site-search__field {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 186, 255, 0.25);
}

.m2-dark .site-search__field .site-search__btn {
    color: #38bdf8;
}

.m2-dark .site-btn--ghost {
    border-color: rgba(148, 186, 255, 0.35);
}

.main {
	padding: 0;
}

.header {
	border-bottom: 1px solid #EEEEEE;
	margin-bottom: 0;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.logo {
	padding-top: 30px;
    padding-bottom: 30px;
}

.logo-link .title {
	min-width: 120px;
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    color: #222;
    margin: 0;
}

.logo-link .title::before {
	content: '';
	width: 25px;
    height: 25px;
    margin-right: 10px;
    margin-bottom: -4px;
    display: inline-block;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 274 304' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27.004 300.04c0-3.139 2.129-4.15 10.86-5.159 33.343-3.852 50.111-10.016 67.639-24.865 18.15-15.377 27.738-36.061 30.369-65.519 1.602-17.929 1.566-17.932-11.393-.829-15.556 20.529-36.02 30.606-62.035 30.546-18.688-.045-28.858-3.372-41.827-13.69C6.832 209.557 1.03 197.351.887 179.018c-.102-13.303.85-16.941 7.643-29.194 6.21-11.202 12.331-17.818 30.644-33.125 69.158-57.806 83.249-73.145 93.251-101.52l5.33-15.12 5.95 14.845c10.46 26.094 18.815 35.877 67.649 79.208 53.368 47.354 60.373 56.367 62.068 79.858.563 7.812-.147 18.016-1.578 22.676-3.698 12.041-15.327 24.348-29.745 31.481-10.281 5.085-14.981 6.145-27.438 6.184-8.267.025-18.904-1.132-23.638-2.573-13.02-3.965-29.658-16.591-40.226-30.527l-9.471-12.489v12.994c0 15.815 7.158 41.505 14.738 52.894 12.14 18.241 39.556 33.394 67.873 37.512 24.876 3.618 24.852 3.611 24.852 7.832 0 3.921-1.88 3.989-110.893 3.989-108.2 0-110.892-.095-110.892-3.903Z' fill='%23000'/%3E%3C/svg%3E") no-repeat;
}

.search-form {
	min-width: 600px;
}

.search-box {
	position: relative;
}

.search-input {
	width: 100%;
	padding: 15px 22px;
    border: none;
    border-radius: 12px;
    background: #fbfbfb;
    font-size: 14px;
    line-height: 18px;
    font-family: 'Proxima Nova';
    font-weight: 500;
    border: 1px solid transparent;
}

.search-input:focus {
	background: #fff;
	border: 1px solid #EEEEEE;
}

.search-input::-webkit-input-placeholder,
.search-input::-moz-placeholder,
.search-input:-moz-placeholder,
.search-input:-ms-input-placeholder,
.search-input::placeholder {
	color: #777;
}

.search-btn {
	border: none;
	background: transparent;
	cursor: pointer;
	position: static;
	width: auto;
	height: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-btn svg {
	width: 20px;
	height: 20px;
	display: block;
}

.item-menu {
	padding: 0;
	border: none;
	margin-left: 23px;
	background: transparent;
}

.item-menu:first-child {
	margin-left: 0;
}

.item-menu span {
	height: 16px;
	display: block;
	font-size: 16px;
	line-height: 19px;
}

.icon-mygm, .icon-auth {
	margin-right: 8px;
}

.btn-shirts {
	padding: 5px;
	cursor: pointer;
    border: 1px solid #E9E9E9;
    box-sizing: border-box;
    border-radius: 3px;
}

.btn-shirts_box {
	border: none;
	padding: 10px 7px;
	background: #4CA949;
	border-radius: 2px;
}

.icon-shirts {
	width: 16px;
	height: 16px;
}

.icon-mygm {
	width: 22px;
	height: 22px;
	margin-bottom: -3px;
}

.icon-auth {
	width: 19px;
	height: 21px;
	margin-bottom: -1px;
}

.top-box {
	margin-bottom: 64px;
}

.alphabet-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.alphabet-list {
    line-height: 25px;
    column-width: 300px;
    column-count: 4;
    column-gap: 20px;
    margin-bottom: 23px;
}

.alphabet-link {
    margin-bottom: 7px;
}

.alphabet-link a {
    font-size: 16px;
}

.alphabet-link a:hover {
    text-decoration: underline;
}

.grap-list {
    margin: 0 auto;
    margin: 0 -20px;
    display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
    -webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
    -webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.grap-list .grap-item {
    width: 320px;
    margin: 0 10px;
    margin-bottom: 30px;
    height: 320px;
    display: inline-block;
    position: relative;
}

.grap-list .grap-two {
    height: 150px;
    margin-top: 20px;
}

.grap-list .grap-two:first-child {
    margin-top: 0;
}

.grap-list .grap-item a {
    font-size: 16px;
    width: 320px;
    height: 320px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    color: #fff;
}

.grap-list .grap-two a {
    height: 150px;
}

/* Game Card Styles */
.game-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.game-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grap-list .grap-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .grap-list .grap-item img,
.game-card:hover img {
    transform: scale(1.08);
}

.grap-list .grap-item svg {
	border-radius: 12px;
}

.game-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__play-btn {
    background: #fff;
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__play-btn {
    transform: translateY(0);
}

.grap-item__title {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: padding 0.3s ease;
}

.game-card:hover .grap-item__title {
    padding-bottom: 24px;
}

body > .autocomplete-suggestions {
	overflow: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.autocomplete-suggestions > .autocomplete-suggestion {
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
    font-family: arial;
    font-size: 14px;
    padding: 5px 10px;
    display: block;
    color: #357e35;
    padding-top: 10px;
}

.autocomplete-suggestions > .autocomplete-suggestion:hover {
    background: #e1f0e5;
}

.site-footer {
    background: #0f172a;
    color: #f8fbff;
    padding: 28px 0;
    border-top: 1px solid rgba(248, 251, 255, 0.08);
    margin-top: 50px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 20px;
}

.site-footer__nav {
    display: flex;
    gap: 16px;
}

.site-footer__link {
    color: rgba(248, 251, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
}

.site-footer__link:hover {
    color: #f8fbff;
}

.site-footer__actions {
    display: flex;
    justify-content: center;
}

.site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.site-footer__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
}

.site-footer__copy {
    display: flex;
    justify-content: flex-end;
    color: rgba(248, 251, 255, 0.6);
    font-size: 14px;
}

.search-mobile {
	display: none;
}

@media screen and (max-width: 960px) {
	.site-header__inner {
		flex-wrap: wrap;
		justify-content: center;
	}
	.site-nav {
		order: 3;
	}
}

@media screen and (max-width: 720px) {
	.site-header__inner {
		gap: 16px;
		text-align: center;
		padding: 16px 16px;
	}
    .site-header .container {
        padding-top: 16px;
        padding-bottom: 16px;
    }
	.site-controls {
		flex-wrap: wrap;
		justify-content: center;
	}
	.site-nav {
		width: 100%;
		justify-content: center;
	}
	.site-btn {
		width: 100%;
	}

    .site-search__field .search-input {
        width: 100%;
        min-width: unset;
        flex: 1 1 auto;
    }

	.site-header + .main {
		margin-top: 20px;
	}
}

@media screen and (max-width: 1400px) {
	.top-box img {
		width: 100%;
		height: 100%;
		display: block;
	}
	.logo-img {
		padding-left: 0;
	}
	.container {
		width: auto;
		padding: 0 20px;
	}
	.container.footer-box {
		padding: 21px 20px;
	}
	.grap-list .grap-item {
		width: calc((100% / 4) - (100px / 4));
	    margin: 0 10px;
	    margin-bottom: 20px;
	    height: calc((100% / 4) - (100px / 4));
	    display: block;
	}
	.grap-list .grap-item a {
		width: 100%;
		height: 100%;
		display: block;
	}
	.grap-list .grap-two {
		height: 100%;
		margin-top: 11px;
	}
	.grap-item__title {
		bottom: 4px;
	}
}

@media screen and (max-width: 1023px) {
	.grap-list .grap-item {
		width: calc((100% / 3) - (82px / 3));
		height: calc((100% / 3) - (82px / 3));
	}
}

@media screen and (max-width: 875px) {
	.header {
		margin-bottom: 0;
	}
	.hero-section {
		padding: 60px 0;
		margin: 0 0 40px 0;
	}
	.hero-title {
		font-size: 36px;
	}
	.hero-subtitle {
		font-size: 18px;
	}
	.section-title {
		font-size: 28px;
	}
	.content-box {
		padding: 30px 20px;
	}
	.body-description {
		padding: 30px 20px;
	}
	.search {
		display: none;
	}
	.search-mobile {
		display: block;
		margin-bottom: 30px;
	}
	.search-form {
		min-width: 100%;
	}
	.search-mobile .search-input {
		font-size: 15px;
		padding: 20px 22px;
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	.search-mobile .search-input:focus {
		border: none;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #eee;
	}
	.search-mobile .search-btn {
		position: absolute;
    	right: 15px;
    	width: 32px;
    	height: 32px;
	}
}

@media screen and (max-width: 768px) {
	.grap-list .grap-item {
		width: calc((100% / 2) - (63px / 2));
		height: calc((100% / 2) - (63px / 2));
	}
    .site-footer {
        margin-top: 20px;
    }
}

@media screen and (max-width: 609px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .site-footer__nav,
    .site-footer__actions,
    .site-footer__copy {
        justify-content: center;
    }
    .site-footer__nav {
        flex-direction: column;
        gap: 12px;
    }
    .site-footer__copy {
        margin-top: 8px;
    }
}

@media screen and (max-width: 576px) {
	a.item-menu span {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	.hero-section {
		padding: 40px 0;
	}
	.hero-title {
		font-size: 28px;
	}
	.hero-subtitle {
		font-size: 16px;
	}
	.section-title {
		font-size: 24px;
		margin-bottom: 25px;
	}
	.section-title-icon {
		font-size: 28px;
	}
	.content-box {
		padding: 20px 15px;
	}
	.body-description {
		padding: 20px 15px;
		margin-top: 40px;
	}
	.grap-list {
		margin-bottom: 15px;
	}
	.grap-list .grap-item {
		width: calc((100% / 2) - (63px / 2));
		height: calc((100% / 2) - (63px / 2));
	}
	.grap-item__title {
		font-size: 14px;
		padding: 12px 15px;
	}
	.header-title__text, .body-description__header-text {
		font-size: 27px;
    	line-height: 31px;
	}
	.body-description__text h2 {
		font-size: 24px;
    	line-height: 28px;
	}
	.body-description__text p {
		font-size: 15px;
		line-height: 24px;
	}
}

@media screen and (max-width: 470px) {
	.logo {
		margin-right: 0;
		padding-right: 0;
		border: none;
	}
	.top-box {
		display: none;
	}
	.content-box {
		margin-top: 30px;
		background: #fff;
		border-radius: 16px;
		padding: 40px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.05);
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 359px) {
	.header {
		height: auto;
    	padding: 10px 0;
	}
	.logo-img {
		display: none;
	}
	.grap-list .grap-item {
		width: calc(100% - 42px);
		height: calc(100% - 42px);
	}
	.grap-item__title {
		font-size: 18px;
	}
	.header-title__text, .body-description__header-text {
		font-size: 25px;
    	line-height: 29px;
	}
	.body-description__text h2 {
		font-size: 22px;
    	line-height: 26px;
	}
}

@media screen and (max-width: 356px) {
	.content-box h2 {
		font-size: 25px;
	}
}

.auth-btn__item {
	color: #fff;
    background: #4CA949;
    border-color: #4CA949;
    padding: 0 15px;
    font-size: 16px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    border: 1px solid;
    border-radius: 4px;
}

.auth-btn__item:hover {
	opacity: 0.9;
}
