/* =========================================================
   JLPTEXAM - PREMIUM ANDROID APPS
   ========================================================= */

.apps-premium {
    padding: 70px 0 85px;
    background: #ffffff;
}

.apps-premium-panel {
    position: relative;
    overflow: hidden;

    padding: 38px 36px 34px;

    border: 1px solid #d9e9e0;
    border-radius: 28px;

    background:
        linear-gradient(
            110deg,
            #f4fcf8 0%,
            #f0faf5 42%,
            #ffffff 100%
        );

    box-shadow:
        0 18px 50px rgba(20, 70, 45, .07);
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.apps-bg-mountain {
    position: absolute;
    top: -90px;
    right: 18%;
    width: 520px;
    height: 260px;

    opacity: .16;

    background:
        radial-gradient(
            ellipse at center,
            #9bd6b7,
            transparent 70%
        );

    pointer-events: none;
}

.apps-bg-sakura {
    position: absolute;
    top: -35px;
    right: -5px;

    font-size: 110px;

    opacity: .14;

    transform: rotate(-10deg);

    pointer-events: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.apps-premium-heading {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.apps-eyebrow {
    margin-bottom: 8px;

    color: #078c46;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.apps-heading-content h2 {
    margin: 0;

    color: #10251c;

    font-size: clamp(34px, 3.2vw, 46px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -1.5px;
}

.apps-heading-content h2 span {
    color: #079447;
}

.apps-heading-content p {
    margin: 10px 0 0;

    color: #65776e;

    font-size: 15px;

    line-height: 1.5;
}


/* =========================================================
   VIEW ALL
   ========================================================= */

.apps-view-all {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    height: 50px;

    padding: 0 20px;

    border: 1.5px solid #079447;
    border-radius: 12px;

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

    color: #078842;

    font-size: 14px;
    font-weight: 850;

    text-decoration: none;

    transition: all .25s ease;
}

.apps-view-all:hover {
    background: #079447;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(7,148,71,.18);
}


/* =========================================================
   CONTENT
   ========================================================= */

.apps-premium-content {
    position: relative;
    z-index: 3;

    display: grid;

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

    gap: 28px;

    align-items: center;
}


/* =========================================================
   APP LIST
   ========================================================= */

.apps-premium-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   APP CARD
   ========================================================= */

.app-premium-card {
    position: relative;

    min-height: 126px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid #dfe9e4;
    border-radius: 16px;

    background: #ffffff;

    text-decoration: none;

    box-shadow:
        0 5px 18px rgba(20,60,40,.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.app-premium-card:hover {
    transform: translateY(-4px);

    border-color: rgba(7,148,71,.25);

    box-shadow:
        0 15px 32px rgba(20,60,40,.10);
}


/* =========================================================
   LEVEL
   ========================================================= */

.app-premium-level {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    margin-left: 17px;

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

    border-radius: 14px;

    color: #ffffff;

    font-size: 23px;
    font-weight: 900;

    box-shadow:
        0 8px 16px rgba(0,0,0,.08);
}


/* Level colors */

.app-premium-card.n5 .app-premium-level {
    background: #079447;
}

.app-premium-card.n4 .app-premium-level {
    background: #18a75e;
}

.app-premium-card.n3 .app-premium-level {
    background: #287fd2;
}

.app-premium-card.n2 .app-premium-level {
    background: #f29420;
}

.app-premium-card.n1 .app-premium-level {
    background: #7138cf;
}


/* =========================================================
   INFO
   ========================================================= */

.app-premium-info {
    position: relative;
    z-index: 3;

    padding: 16px 10px 15px 13px;

    min-width: 0;
}

.app-premium-info strong {
    display: block;

    margin-bottom: 3px;

    color: #14271f;

    font-size: 15px;
    font-weight: 900;
}

.app-premium-info small {
    display: block;

    margin-bottom: 7px;

    color: #73827c;

    font-size: 11px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.app-features {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 9px;
}

.app-features span {
    color: #527066;

    font-size: 10px;
    font-weight: 650;
}


/* =========================================================
   GOOGLE PLAY
   ========================================================= */

.google-play-button {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 6px;

    background: #111111;

    color: #ffffff;

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

    transition: transform .2s ease;
}

.app-premium-card:hover .google-play-button {
    transform: translateY(-1px);
}


/* =========================================================
   CARD ART
   ========================================================= */

.app-card-art {
    position: absolute;

    right: 0;
    top: 0;
    bottom: 0;

    width: 42%;

    overflow: hidden;

    opacity: .9;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 25%
        );
}

.app-card-art img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;
}

.app-premium-card:hover .app-card-art img {
    transform: scale(1.06);
}


/* =========================================================
   PHONE
   ========================================================= */

.apps-phone-area {
    position: relative;

    min-height: 370px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-phone-glow {
    position: absolute;

    width: 230px;
    height: 300px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(87,190,130,.25),
            transparent 68%
        );

    filter: blur(10px);
}


/* Phone body */

.apps-phone {
    position: relative;
    z-index: 3;

    width: 185px;
    height: 350px;

    padding: 8px;

    border-radius: 34px;

    background: #111c18;

    box-shadow:
        0 25px 45px rgba(0,0,0,.22);

    transform: rotate(3deg);
}

.phone-top-camera {
    position: absolute;

    top: 10px;
    left: 50%;

    z-index: 5;

    width: 70px;
    height: 17px;

    margin-left: -35px;

    border-radius: 20px;

    background: #07100c;
}


/* Screen */

.phone-screen {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    padding: 48px 15px 15px;

    border-radius: 27px;

    background:
        linear-gradient(
            160deg,
            #f2fff7,
            #ffffff 70%
        );
}


/* Logo */

.phone-logo {
    text-align: center;

    color: #087f42;

    font-size: 17px;
    font-weight: 900;
}

.phone-logo span {
    color: #111f18;
}

.phone-title {
    margin: 7px 0 13px;

    text-align: center;

    color: #708078;

    font-size: 9px;
}


/* Phone levels */

.phone-level-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 7px;
}

.phone-level-grid span {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 37px;

    border-radius: 9px;

    background: #ffffff;

    color: #079447;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 4px 10px rgba(30,70,50,.07);
}

.phone-level-grid .phone-n3 {
    color: #247dd2;
}

.phone-level-grid .phone-n2 {
    color: #f08c1d;
}

.phone-level-grid .phone-n1 {
    grid-column: 1 / 3;

    color: #7138cf;
}


/* Menu */

.phone-learning-list {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 17px;

    padding: 13px;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 5px 15px rgba(30,70,50,.06);
}

.phone-learning-list div {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #586c62;

    font-size: 9px;
}

.phone-learning-list b {
    color: #079447;
}


/* Mini mountain */

.phone-mini-mountain {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 58px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 9px;

    background:
        linear-gradient(
            to top,
            #dcefe4,
            transparent
        );

    color: rgba(7,148,71,.25);

    font-size: 38px;
    font-weight: 900;
}


/* Android */

.android-decoration {
    position: absolute;

    right: -22px;
    bottom: 14px;

    z-index: 5;

    font-size: 45px;

    filter:
        drop-shadow(0 7px 8px rgba(0,0,0,.14));
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .apps-premium-content {
        grid-template-columns: 1fr;
    }

    .apps-phone-area {
        display: none;
    }

}


@media (max-width: 800px) {

    .apps-premium-panel {
        padding: 30px 22px;
    }

    .apps-premium-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .apps-premium-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .apps-premium {
        padding: 55px 0 65px;
    }

    .apps-premium-list {
        gap: 12px;
    }

    .app-card-art {
        width: 35%;
    }

    .app-premium-level {
        width: 58px;
        height: 58px;
        margin-left: 12px;
    }

    .app-premium-info {
        padding-left: 10px;
    }

}