.mc-start-page,
.mc-start-page *,
.mc-launcher-modal,
.mc-launcher-modal * {
    box-sizing: border-box;
}

.mc-start-page {
    --mc-start-purple: #5d4776;
    --mc-start-purple-shadow: #462968;
    --mc-start-card: #f6efff;
    --mc-start-orange: #ef733d;
    --mc-start-orange-hover: #ff954f;
    --mc-start-orange-border: #b35329;
    width: 100%;
    max-width: 792px;
    margin: 0 auto;
    color: #1e1b1a;
    font-family: "FSElliotPro", sans-serif;
}

.mc-start-page__hero {
    display: flex;
    min-height: 480px;
    flex-direction: column;
    align-items: center;
    padding-bottom: 28px;
    overflow: hidden;
    background: var(--mc-start-purple);
}

.mc-start-page__hero-header {
    width: 100%;
    padding: 25px 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.mc-start-page__hero-title {
    margin: 0;
    color: #fff;
    font-family: "FSElliotPro-Bold", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 1px;
}

.mc-start-page__intro {
    margin: 36px 20px 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 1px;
}

.mc-start-page__guide {
    width: 490px;
    max-width: calc(100% - 40px);
    margin: 20px auto 0;
    padding: 30px 25px;
    border-radius: 5px;
    background: var(--mc-start-card);
    box-shadow: 0 9px 20px var(--mc-start-purple-shadow);
    font-family: "FSElliotPro-Bold", sans-serif;
    list-style: none;
}

.mc-start-page__step {
    margin: 0;
    padding: 0;
}

.mc-start-page__step + .mc-start-page__step {
    margin-top: 26px;
}

.mc-start-page__step-title {
    margin: 0;
    color: #1e1b1a;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

.mc-start-page__button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0;
    padding: 8px 14px;
    border: 0;
    border-bottom: 2px solid var(--mc-start-orange-border);
    border-radius: 0;
    outline-offset: 3px;
    background: var(--mc-start-orange);
    box-shadow: 3px 5px 14px rgba(237, 100, 41, 0.3);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.mc-start-page__button:hover,
.mc-start-page__button:focus-visible {
    background: var(--mc-start-orange-hover);
    box-shadow: 3px 5px 14px rgba(237, 100, 41, 0.47);
    color: #fff;
    text-decoration: none;
}

.mc-start-page__button--account .mc-start-page__button-icon {
    margin-right: 10px;
}

.mc-start-page__platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mc-start-page__button--platform {
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px;
}

.mc-start-page__button-icon {
    line-height: 1;
}

.mc-start-page__section {
    width: 100%;
}

.mc-start-page__section-header {
    width: 100%;
    padding: 29px 27px 23px;
    border-bottom: 1px solid #e5e4de;
}

.mc-start-page__section-title {
    margin: 0;
    color: #1e1b1a;
    font-family: "FSElliotPro-Heavy", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.mc-start-page__server-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 26px;
}

.mc-start-page__server-link {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 5px;
    outline-offset: 3px;
    overflow: hidden;
}

.mc-start-page__server-image {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0;
    border-radius: 5px;
    object-fit: cover;
    transition: filter 0.2s ease;
}

.mc-start-page__server-link:hover .mc-start-page__server-image,
.mc-start-page__server-link:focus-visible .mc-start-page__server-image {
    filter: brightness(1.1);
}

.mc-start-page__video {
    width: 100%;
    max-width: 750px;
    aspect-ratio: 15 / 8;
    margin: 20px auto 0;
}

.mc-start-page__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.mc-launcher-modal__dialog {
    position: relative;
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mc-launcher-modal__head {
    min-height: 36px;
    background: #5d4776;
}

.mc-launcher-modal .mc-launcher-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    opacity: 0.7;
}

.mc-launcher-modal__close::before,
.mc-launcher-modal__close::after {
    position: absolute;
    top: 17px;
    left: 10px;
    width: 16px;
    height: 2px;
    background: #fff;
    content: "";
}

.mc-launcher-modal__close::before {
    transform: rotate(45deg);
}

.mc-launcher-modal__close::after {
    transform: rotate(-45deg);
}

.mc-launcher-modal .mc-launcher-modal__close:hover,
.mc-launcher-modal .mc-launcher-modal__close:focus-visible {
    opacity: 1;
}

.mc-launcher-modal__body {
    padding: 24px;
}

.mc-launcher-modal__title {
    margin: 0 0 24px;
    color: #1e1b1a;
    font-family: "FSElliotPro-Bold", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}

.mc-launcher-modal__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mc-launcher-modal__option {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 2px solid #b35329;
    background: #ef733d;
    box-shadow: 3px 5px 14px rgba(237, 100, 41, 0.3);
    color: #fff;
    cursor: pointer;
    font-family: "FSElliotPro-Bold", sans-serif;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-launcher-modal__option:hover,
.mc-launcher-modal__option:focus-visible {
    background: #ff954f;
    box-shadow: 3px 5px 14px rgba(237, 100, 41, 0.47);
    color: #fff;
    text-decoration: none;
}

.mc-launcher-modal__option-icon {
    flex: 0 0 auto;
}

@media (max-width: 560px) {
    .mc-launcher-modal__body {
        padding: 20px;
    }

    .mc-launcher-modal__options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
