/* ==========================================================================
   LegionPlus — страница «Start game»: шаги «аккаунт» и «клиент» с двумя вариантами
   загрузки (лаунчер / файлы игры). Классы с префиксом sg-. Цвета и формы — из style.css темы.
   ========================================================================== */

.sg { padding: 20px; }

/* Шаг */
.sg-step { position: relative; }
.sg-step + .sg-step { margin-top: 40px; padding-top: 36px; }
.sg-step + .sg-step:before {
    content: '';
    position: absolute;
    left: 50%; top: 0;
    width: 70%;
    height: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: -webkit-linear-gradient(left, transparent, #27a700, transparent);
    background: linear-gradient(90deg, transparent, #27a700, transparent);
    opacity: 0.6;
}
.sg-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.sg-head h2 { margin: 0; font-size: 26px; line-height: 1.1; }
.sg-num {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d4525, #27a700);
    color: #fff;
    font-family: "beaufortforlol-bold";
    font-size: 20px;
    box-shadow: 0 0 0 4px rgba(39, 167, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.sg-text { color: #9fbca3; margin: 0 0 22px; max-width: 820px; }

/* Кнопка темы в блоке */
.sg-btn { padding: 12px 36px; font-size: 16px; width: -moz-max-content; width: max-content; max-width: 100%; }

/* Два варианта загрузки */
.sg-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 0 0 25px;
}
.sg-option {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    border-radius: 2em;
    background: linear-gradient(180deg, #191e19, #0d1212);
    border: 1px solid rgba(39, 167, 0, 0.18);
    transition: 0.2s;
}
.sg-option:after {
    content: '';
    position: absolute;
    left: 10px; right: 10px; top: 10px; bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.02);
    border-radius: inherit;
    pointer-events: none;
}
.sg-option:hover { border-color: rgba(39, 167, 0, 0.45); }
.sg-option-launcher {
    border-color: rgba(39, 167, 0, 0.5);
    box-shadow: inset 0 0 60px rgba(39, 167, 0, 0.07), 0 0 40px rgba(39, 167, 0, 0.06);
}
.sg-badge {
    position: absolute;
    top: 20px;
    right: 26px;
    padding: 4px 14px;
    border-radius: 1em;
    background: #093a0a;
    color: #00f541;
    font-family: "beaufortforlol-bold";
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sg-option-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 167, 0, 0.12);
    border: 1px solid rgba(39, 167, 0, 0.3);
    color: #27a700;
    font-size: 34px;
}
.sg-option-icon .iconify { width: 34px; height: 34px; }
.sg-option h3 { margin: 0 0 10px; font-size: 21px; }
.sg-option p { margin: 0 0 22px; color: #9fbca3; flex-grow: 1; }
.sg-os { margin-top: 14px; color: #9fbca3; font-size: 14px; }
.sg-os a { color: #27a700; border-bottom: 1px dotted rgba(39, 167, 0, 0.5); }
.sg-os a:hover { color: #fff; border-bottom-color: #fff; }

/* Список файлов игры */
.sg-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sg-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 1.2em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(39, 167, 0, 0.2);
    color: #fff;
    transition: 0.2s;
}
.sg-file:before {
    content: '';
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    background: url(../images/icon_figure.svg) no-repeat center;
    background-size: contain;
}
.sg-file:hover { border-color: #27a700; background: rgba(39, 167, 0, 0.12); color: #fff; }
.sg-file-name { flex: 1 1 auto; font-family: "beaufortforlol-bold"; text-transform: uppercase; letter-spacing: 0.5px; font-size: 15px; }
.sg-file-meta { flex: 0 0 auto; color: #9fbca3; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.sg-file .iconify { flex: 0 0 auto; color: #27a700; font-size: 20px; transition: 0.2s; }
.sg-file:hover .iconify { color: #fff; }

.sg-note { margin: 0; color: #9fbca3; font-family: "beaufortforlol-italic"; font-size: 15px; }

@media screen and (max-width: 1080px) {
    .sg-options { grid-template-columns: 1fr; }
}
@media screen and (max-width: 680px) {
    .sg { padding: 10px; }
    .sg-option { padding: 28px 20px 24px; border-radius: 1.5em; }
    .sg-head h2 { font-size: 22px; }
    .sg-badge { position: static; align-self: flex-start; margin-bottom: 14px; }
    .sg-btn { padding: 12px 24px; }
    .sg-file { flex-wrap: wrap; }
}
