/* ========================================================================
   LEGAL CONTENT — SHAIYA ADDICTED
   Политика конфиденциальности / Правила / другие документы
   ======================================================================== */

.legal-page {
    padding: 18px 20px 28px;
}


/* ------------------------------------------------------------------------
   CARD
   ------------------------------------------------------------------------ */

.legal-card {
    position: relative;

    overflow: hidden;

    padding: 25px 27px 28px;

    color: #bfc6cb;

    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(208, 198, 150, .055),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            rgba(18, 23, 27, .975),
            rgba(10, 14, 17, .99)
        );

    border:
        1px solid rgba(255,255,255,.065);

    border-radius: 5px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.018),
        0 14px 34px rgba(0,0,0,.12);
}


.legal-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            rgba(226,214,160,.96),
            rgba(173,158,99,.30) 48%,
            transparent 100%
        );

    opacity: .74;
}


/* ------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------ */

.legal-card__header {
    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,.05);
}


.legal-card__eyebrow {
    margin-bottom: 7px;

    color: #cfc28b;

    font-size: 11px;
    line-height: 14px;
    font-weight: 700;

    letter-spacing: 1.15px;

    text-transform: uppercase;
}


.legal-card__title {
    margin: 0;

    color: #f0f2f3;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 31px;
    line-height: 37px;
    font-weight: 700;

    letter-spacing: -.35px;

    text-transform: none;
}


.legal-card__lead {
    max-width: 680px;

    margin: 9px 0 0;

    color: #89939b;

    font-size: 14px;
    line-height: 21px;
}


/* ------------------------------------------------------------------------
   CALLOUT
   ------------------------------------------------------------------------ */

.legal-callout {
    display: flex;

    gap: 14px;

    margin: 20px 0 25px;

    padding: 15px 17px;

    background:
        linear-gradient(
            90deg,
            rgba(24, 20, 12, .74),
            rgba(12, 15, 17, .68)
        );

    border:
        1px solid rgba(208,198,150,.09);

    border-left:
        3px solid #c6a54c;

    border-radius: 4px;
}


.legal-callout__icon {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    color: #e6cf79;

    background: rgba(208,198,150,.055);

    border:
        1px solid rgba(208,198,150,.14);

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}


.legal-callout__content {
    min-width: 0;
}


.legal-callout__content strong {
    display: block;

    margin-bottom: 5px;

    color: #e1d39c;

    font-size: 13px;
    line-height: 17px;

    text-transform: uppercase;

    letter-spacing: .45px;
}


.legal-callout__content p {
    margin: 0;

    color: #aeb6bc;

    font-size: 13px;
    line-height: 1.65;
}


/* ------------------------------------------------------------------------
   SECTION
   ------------------------------------------------------------------------ */

.legal-section {
    margin-top: 4px;
}


.legal-section__head {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}


.legal-section__number {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    color: #d7ca8d;

    background:
        rgba(208,198,150,.045);

    border:
        1px solid rgba(208,198,150,.12);

    border-radius: 4px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .6px;
}


.legal-section__head h2 {
    margin: 0;

    color: #e7eaec;

    font-family:
        HelveticaNeue,
        Arial,
        sans-serif;

    font-size: 21px;
    line-height: 26px;
    font-weight: 700;

    text-transform: none;
}


/* ------------------------------------------------------------------------
   RULES
   ------------------------------------------------------------------------ */

.legal-section__content {
    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.055);

    border-radius: 4px;

    background:
        rgba(7,10,12,.30);
}


.legal-rule {
    display: grid;

    grid-template-columns:
        54px
        minmax(0, 1fr);

    border-bottom:
        1px solid rgba(255,255,255,.05);

    transition:
        background .15s ease;
}


.legal-rule:last-child {
    border-bottom: 0;
}


.legal-rule:hover {
    background:
        linear-gradient(
            90deg,
            rgba(208,198,150,.035),
            transparent 62%
        );
}


.legal-rule__number {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    padding-top: 17px;

    color: #c9bd84;

    background:
        rgba(208,198,150,.025);

    border-right:
        1px solid rgba(255,255,255,.045);

    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
}


.legal-rule__text {
    padding:
        15px 17px 16px;
}


.legal-rule__text > p {
    margin: 0;

    color: #b8c0c6;

    font-size: 15px;
    line-height: 1.68;
}


/* ------------------------------------------------------------------------
   SUBRULES
   ------------------------------------------------------------------------ */

.legal-subrule {
    display: grid;

    grid-template-columns:
        43px
        minmax(0, 1fr);

    gap: 9px;

    margin-top: 12px;

    padding:
        11px 12px;

    background:
        rgba(255,255,255,.016);

    border:
        1px solid rgba(255,255,255,.045);

    border-radius: 3px;
}


.legal-subrule__number {
    display: flex;

    align-items: center;
    justify-content: center;

    align-self: start;

    min-height: 25px;

    color: #d2c68d;

    background:
        rgba(208,198,150,.04);

    border:
        1px solid rgba(208,198,150,.09);

    border-radius: 3px;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;
}


.legal-subrule p {
    margin: 0;

    color: #aeb6bc;

    font-size: 14px;
    line-height: 1.66;
}


/* ------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------ */

.legal-card__footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    min-height: 46px;

    margin-top: 20px;
    margin-bottom: -14px;

    padding: 0 14px;

    color: #626c74;

    border-top:
        1px solid rgba(255,255,255,.045);

    font-size: 9px;
    line-height: 12px;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.legal-card__footer > div,
.legal-card__footer > span {
    display: flex;

    align-items: center;

    height: 46px;

    margin: 0;
    padding: 0;

    line-height: 1;
}


.legal-card__footer div {
    color: #8c866c;
}


/* ------------------------------------------------------------------------
   SMALLER WIDTHS
   ------------------------------------------------------------------------ */

@media (max-width: 1250px) {

    .legal-card {
        padding: 22px;
    }


    .legal-card__title {
        font-size: 27px;
        line-height: 33px;
    }


    .legal-rule__text > p {
        font-size: 13px;
    }

}
