/* ESRONE formal player identity homepage */

body.home-index-page {
    background: #f5f6f8;
    color: #1f2328;
}

.home-index-page a {
    border-bottom: 0;
}

.home-index {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 34px 0 56px;
    box-sizing: border-box;
}

.home-index-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.home-index-hero,
.home-index-feature,
.home-index-event {
    border: 1px solid #e1e4ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(26, 30, 36, .06);
}

.home-index-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 28px;
    min-height: 430px;
    padding: 42px;
    background: linear-gradient(135deg, #15181f 0%, #24191b 50%, #fff 50%, #fff 100%);
    color: #fff;
    overflow: hidden;
}

.home-index-kicker,
.home-index-rank-meta span,
.home-index-locked {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff0f1;
    color: #d90012;
    font-size: 12px;
    font-weight: 800;
}

.home-index-hero .home-index-kicker {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.home-index-hero h1 {
    max-width: 780px;
    margin: 18px 0 16px;
    color: inherit;
    font-size: 46px;
    line-height: 1.12;
    letter-spacing: 0;
}

.home-index-hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.75;
}

.home-index-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-index-actions--spaced {
    margin-top: 18px;
}

.home-index-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    background: #fff;
    color: #252a31;
    font-weight: 800;
    font-size: 14px;
}

.home-index-btn--primary {
    border-color: #e60012;
    background: #e60012;
    color: #fff;
}

.home-index-player-hero {
    align-self: stretch;
    display: grid;
}

.home-index-main-card,
.home-index-rank-card {
    position: relative;
    padding: 16px;
    border: 1px solid #e2d7da;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(230, 0, 18, .12), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
    color: #171a20;
    overflow: hidden;
}

.home-index-main-card {
    min-height: 320px;
    padding: 18px;
}

.home-index-rank-card {
    min-height: 250px;
}

.home-index-rank-card-link,
.home-index-shop-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-index-rank-card-link:hover,
.home-index-shop-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.home-index-rank-card-link:hover .home-index-rank-card,
.home-index-shop-card-link:hover {
    border-color: rgba(230, 0, 18, .38);
    box-shadow: 0 12px 28px rgba(26, 30, 36, .08);
}

.home-index-rank-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #171a20, #343944);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.home-index-rank-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-index-rank-card-image span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.home-index-rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.home-index-rank-meta span {
    min-height: 24px;
    padding: 0 8px;
}

.home-index-main-card h3,
.home-index-rank-card h3 {
    margin: 0 0 8px;
    color: #171a20;
    font-size: 20px;
    letter-spacing: 0;
}

.home-index-main-card h3 {
    font-size: 24px;
}

.home-index-main-card p,
.home-index-rank-card p {
    margin: 0;
    color: #606a78;
    font-size: 13px;
    line-height: 1.55;
}

.home-index-feature-order {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.home-index-feature {
    overflow: hidden;
}

.home-index-feature__head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #eef0f3;
}

.home-index-feature__head h2,
.home-index-section h2 {
    margin: 0;
    color: #15191f;
    font-size: 24px;
    letter-spacing: 0;
}

.home-index-feature__head p {
    margin: 4px 0 0;
    color: #697382;
    font-size: 14px;
}

.home-index-feature__body {
    padding: 22px 24px 24px;
}

.home-index-cardwall,
.home-index-throne-status,
.home-index-shop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.home-index-status-card,
.home-index-task-item {
    min-height: 128px;
    padding: 16px;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    background: #fbfcfd;
}

.home-index-status-card b,
.home-index-task-item b {
    display: block;
    margin-bottom: 8px;
    color: #171a20;
}

.home-index-status-card span,
.home-index-task-item span {
    color: #647080;
    font-size: 13px;
    line-height: 1.55;
}

.home-index-checkin {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.home-index-checkin__day {
    min-height: 76px;
    padding: 10px 8px;
    border: 1px solid #e1e4ea;
    border-radius: 8px;
    background: #fbfcfd;
    text-align: center;
    color: #5f6978;
    font-size: 12px;
}

.home-index-checkin__day strong {
    display: block;
    margin-bottom: 6px;
    color: #171a20;
    font-size: 14px;
}

.home-index-checkin__day.is-reward {
    border-color: rgba(230, 0, 18, .35);
    background: #fff0f1;
    color: #bd0010;
}

.home-index-daily-task {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-index-task-item span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f0f2f5;
    color: #596474;
    font-size: 12px;
    font-weight: 800;
}

.home-index-empty {
    padding: 24px;
    border: 1px dashed #cfd5dd;
    border-radius: 8px;
    color: #687181;
    background: #fbfcfd;
}

.home-index-section {
    margin-top: 22px;
}

.home-index-section h2 {
    margin-bottom: 14px;
}

.home-index-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
    gap: 22px;
    padding: 28px;
}

.home-index-event h3 {
    margin: 12px 0 8px;
    color: #171a20;
    font-size: 24px;
    letter-spacing: 0;
}

.home-index-event p {
    color: #687181;
    font-size: 14px;
    line-height: 1.65;
}

.home-index-event-card {
    align-self: end;
    padding: 18px;
    border: 1px solid #eceff3;
    border-radius: 8px;
    background: #fff;
}

.home-index-event-card img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: cover;
    border-radius: 8px;
    background: #f2f3f5;
}

.home-index-event-card h3 {
    font-size: 20px;
}

@media (max-width: 860px) {
    .home-index {
        width: 100%;
        padding-top: 22px;
    }

    .home-index-hero,
    .home-index-feature__head,
    .home-index-event {
        grid-template-columns: 1fr;
    }

    .home-index-hero {
        padding: 28px 20px;
    }

    .home-index-hero h1 {
        font-size: 32px;
    }

    .home-index-cardwall,
    .home-index-throne-status,
    .home-index-shop,
    .home-index-daily-task,
    .home-index-checkin {
        grid-template-columns: 1fr;
    }
}
