body .animated-bg { display: none; }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s cubic-bezier(.22,.61,.36,1),
                transform .75s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
.reveal-left { transform: translateX(-28px) }
.reveal-right { transform: translateX(28px) }
.reveal-scale { transform: scale(.94); transform-origin: center }
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-scale.in-view { transform: none }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.reveal-stagger.in-view > * { opacity: 1; transform: none }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .12s }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .19s }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .26s }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .33s }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .4s }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .47s }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: .54s }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.mk-world {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #1e2439;
}

.mk-world__bg {
    position: absolute;
    inset: -40px;
    background-image: url('/images/mkcity.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    filter: blur(6px) saturate(1.05);
    animation: mk-world-breathe 20s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes mk-world-breathe {
    from { transform: scale(1.04); }
    to   { transform: scale(1.08); }
}

.mk-world__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(30,36,57,0) 0%, rgba(30,36,57,0) 55%, rgba(30,36,57,0.6) 88%, rgba(30,36,57,0.95) 100%),
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0,0,0,0.25) 0%, transparent 70%);
}

.mk-petals {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}
.mk-petal {
    position: absolute;
    top: -30px;
    width: 14px;
    height: 14px;
    background: #ffb8d4;
    border-radius: 0 100% 0 100%;
    opacity: 0;
    animation: mk-petal-fall linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.mk-petal:nth-child(1)  { left: 6%;  animation-duration: 14s; animation-delay: 0s;   background: #ffc5d9; }
.mk-petal:nth-child(2)  { left: 15%; animation-duration: 18s; animation-delay: 2s;   background: #ff9fc1; }
.mk-petal:nth-child(3)  { left: 28%; animation-duration: 12s; animation-delay: 5s;   background: #ffb8d4; }
.mk-petal:nth-child(4)  { left: 41%; animation-duration: 20s; animation-delay: 1s;   background: #ffa8ca; }
.mk-petal:nth-child(5)  { left: 55%; animation-duration: 15s; animation-delay: 7s;   background: #ffc5d9; }
.mk-petal:nth-child(6)  { left: 68%; animation-duration: 13s; animation-delay: 3s;   background: #ff9fc1; }
.mk-petal:nth-child(7)  { left: 78%; animation-duration: 17s; animation-delay: 9s;   background: #ffb8d4; }
.mk-petal:nth-child(8)  { left: 88%; animation-duration: 16s; animation-delay: 4s;   background: #ffa8ca; }
.mk-petal:nth-child(9)  { left: 95%; animation-duration: 19s; animation-delay: 11s;  background: #ffc5d9; }
.mk-petal:nth-child(10) { left: 35%; animation-duration: 11s; animation-delay: 8s;   background: #ff9fc1; }
@keyframes mk-petal-fall {
    0%   { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
    8%   { opacity: 0.85; }
    100% { transform: translate(50px, 115vh) rotate(720deg); opacity: 0; }
}

.mk-hero-content {
    position: relative;
    z-index: 10;
    padding: clamp(90px, 14vh, 160px) 24px 0;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    animation: mk-fade-up 1s ease-out both;
}
@keyframes mk-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mk-hero__logo {
    display: block;
    width: clamp(280px, 48vw, 520px);
    height: auto;
    margin: 0 auto 28px;
    filter:
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35))
        drop-shadow(0 18px 50px rgba(0, 0, 0, 0.65));
    animation: mk-logo-float 6s ease-in-out infinite;
}
@keyframes mk-logo-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.mk-hero__sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin: 0 0 36px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.mk-hero__btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 38px;
    border-radius: 14px;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
}
.mk-btn--primary {
    background: linear-gradient(135deg, #ffb800 0%, #fb5607 100%);
    color: #1a1a2e;
    box-shadow:
        0 10px 28px rgba(251, 86, 7, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.mk-btn--primary:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 16px 36px rgba(251, 86, 7, 0.65),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.mk-btn--primary:active { transform: translateY(1px); }

.mk-btn--ghost {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.mk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}
.mk-btn--ghost:active { transform: translateY(1px); }

.mk-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    animation: mk-bounce 2s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
@keyframes mk-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

.mk-world-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 6;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 80 L0 40 Q120 10 240 28 T480 22 T720 38 T960 24 T1200 32 T1440 20 L1440 80 Z' fill='%231e2439'/></svg>");
    background-size: cover;
}

.mk-districts {
    position: relative;
    padding: 90px 24px 50px;
    background: #141828;
}
.mk-districts__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.mk-districts__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mk-districts__head h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    color: #fff;
    margin: 0;
    line-height: 1.02;
    letter-spacing: -1.5px;
}
.mk-districts__head h2 span {
    background: linear-gradient(135deg, #ffcc33, #fb5607);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mk-districts__lead {
    color: #8a92b2;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 340px;
    flex-shrink: 0;
}
@media (max-width: 720px) {
    .mk-districts__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .mk-districts__lead { max-width: 100%; }
}

.mk-districts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}
.mk-districts__list::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.mk-district {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr 48px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "num title icon"
        ".   desc  desc";
    align-items: start;
    gap: 8px 16px;
    padding: 26px 0 26px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: background 0.3s ease;
    cursor: default;
}
.mk-district::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #ffcc33, #fb5607);
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0 2px 2px 0;
}
.mk-district:nth-child(7),
.mk-district:nth-child(8) {
    border-bottom: none;
}
.mk-district:hover {
    background: rgba(255, 204, 51, 0.04);
}
.mk-district:hover::before { height: 100%; }

.mk-district__num {
    grid-area: num;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1.1;
    color: rgba(255, 204, 51, 0.65);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.mk-district:hover .mk-district__num {
    color: #ffcc33;
}

.mk-district__title {
    grid-area: title;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.mk-district__title small {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: rgba(255, 204, 51, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
    transition: color 0.3s;
}
.mk-district:hover .mk-district__title small {
    color: #ffcc33;
}

.mk-district__desc {
    grid-area: desc;
    color: #8a92b2;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

.mk-district__icon {
    grid-area: icon;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.mk-district:hover .mk-district__icon {
    color: #ffcc33;
    border-color: rgba(255, 204, 51, 0.4);
    background: rgba(255, 204, 51, 0.08);
    transform: rotate(-5deg) scale(1.06);
}

@media (max-width: 680px) {
    .mk-districts__list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .mk-districts__list::after {
        display: none;
    }
    .mk-district:nth-child(7) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .mk-district:last-child {
        border-bottom: none;
    }
    .mk-district {
        grid-template-columns: 36px 1fr 40px;
        gap: 6px 12px;
        padding: 22px 0;
    }
    .mk-district__num   { font-size: 1.15rem; }
    .mk-district__title { font-size: 1rem; }
    .mk-district__desc  { font-size: 0.85rem; }
    .mk-district__icon  { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
}

.news {
    background: #141828;
    padding: 50px 24px 80px;
}
.news .container {
    max-width: 1280px;
}
.news .section-header,
body .news .section-header {
    margin-bottom: 40px;
    text-align: left;
    padding: 0;
    background: none;
}
.news .section-title,
body .news .section-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    margin: 0 !important;
    letter-spacing: -0.8px;
    text-transform: none !important;
    display: block;
}
.news .section-subtitle,
body .news .section-subtitle {
    color: #8a92b2 !important;
    font-size: 0.95rem !important;
    margin-top: 6px !important;
    font-weight: 400 !important;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-auto-rows: min-content;
    gap: 20px 32px;
    max-width: 1280px;
    margin: 0 auto;
    align-items: start;
}

.news-grid .news-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease;
}
.news-grid .news-card::before { display: none !important; }
.news-grid .news-card:hover {
    transform: translateY(-4px);
}
.news-grid .news-card .news-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0;
    background: #1e2439;
}
.news-grid .news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.news-grid .news-card:hover .news-image img {
    transform: scale(1.05);
}
.news-grid .news-card .news-content {
    padding-top: 0;
}
.news-grid .news-card .news-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.3px;
    transition: color 0.25s ease;
}
.news-grid .news-card:hover .news-title {
    color: #ffcc33;
}
.news-grid .news-card .news-excerpt {
    color: #8a92b2;
    line-height: 1.55;
}
.news-grid .news-card .news-meta {
    color: #6b7290;
    font-size: 0.85rem;
}
.news-grid .news-card .news-date {
    color: #6b7290;
}
.news-grid .news-card .news-category {
    background: rgba(79, 168, 255, 0.1);
    color: #5dc9ff;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    border: 1px solid rgba(79, 168, 255, 0.25);
}

.news-grid .news-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 4;
    display: flex;
    flex-direction: column;
    align-self: start;
}
.news-grid .news-card:first-child .news-image {
    height: clamp(280px, 38vw, 400px);
    margin-bottom: 18px;
}
.news-grid .news-card:first-child .news-content {
    padding: 0;
}
.news-grid .news-card:first-child .news-title {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    margin: 10px 0 8px;
}
.news-grid .news-card:first-child .news-excerpt {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
}
.news-grid .news-card:first-child::after { display: none; }

.news-grid .news-card:not(:first-child) {
    grid-column: 2;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: center;
    padding: 0;
    border: none;
}
.news-grid .news-card:not(:first-child) .news-image {
    width: 140px;
    height: 92px;
    flex-shrink: 0;
    align-self: start;
}
.news-grid .news-card:not(:first-child) .news-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-grid .news-card:not(:first-child) .news-title {
    font-size: 0.98rem;
    margin: 2px 0 4px;
    line-height: 1.3;
}
.news-grid .news-card:not(:first-child) .news-excerpt {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #8a92b2;
}
.news-grid .news-card:not(:first-child) .news-link {
    display: none;
}
.news-grid .news-card:not(:first-child) .news-meta {
    font-size: 0.75rem;
    margin: 0;
}

.news-toggle {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.news-toggle .btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none;
}
.news-toggle .btn:hover {
    background: rgba(255, 204, 51, 0.12);
    border-color: rgba(255, 204, 51, 0.4);
    color: #ffcc33;
    transform: none;
}

@media (max-width: 860px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .news-grid .news-card:first-child {
        grid-column: 1;
        grid-row: auto;
    }
    .news-grid .news-card:first-child .news-image {
        height: clamp(200px, 48vw, 320px);
        margin-bottom: 14px;
    }
    .news-grid .news-card:first-child .news-title {
        font-size: clamp(1.15rem, 4.2vw, 1.5rem);
    }
    .news-grid .news-card:not(:first-child) {
        grid-column: 1;
        grid-template-columns: 110px 1fr;
        gap: 14px;
    }
    .news-grid .news-card:not(:first-child) .news-image {
        width: 110px;
        height: 78px;
    }
    .news-grid .news-card:not(:first-child) .news-title {
        font-size: 0.95rem;
    }
    .news-grid .news-card:not(:first-child) .news-excerpt {
        -webkit-line-clamp: 2;
        font-size: 0.78rem;
    }
    .news-toggle { justify-content: center; }
}

@media (max-width: 520px) {
    .news-grid { gap: 18px; }
    .news-grid .news-card:first-child .news-image { height: clamp(180px, 52vw, 240px); }
    .news-grid .news-card:first-child .news-title { margin: 8px 0 6px; }
    .news-grid .news-card:first-child .news-excerpt { font-size: 0.88rem; }
    .news-grid .news-card:not(:first-child) {
        grid-template-columns: 92px 1fr;
        gap: 12px;
    }
    .news-grid .news-card:not(:first-child) .news-image {
        width: 92px;
        height: 66px;
    }
    .news-grid .news-card:not(:first-child) .news-title {
        font-size: 0.9rem;
        line-height: 1.25;
    }
    .news-grid .news-card:not(:first-child) .news-excerpt { display: none; }
    .news-grid .news-card:not(:first-child) .news-meta { font-size: 0.7rem; }
    .news-grid .news-card:not(:first-child) .news-category {
        padding: 2px 8px;
        font-size: 0.68rem;
    }
}

@media (max-width: 760px) {
    .mk-world__bg { background-position: center center; }
    .mk-hero-content { padding-top: 80px; }
}

@media (max-width: 480px) {
    .mk-hero__btns { flex-direction: column; align-items: stretch; }
    .mk-btn { width: 100%; }
}
