* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #f3f4f7;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}


/* HEADER */

.header {
    background: #fff3ae;
    padding: 24px 15px;
    text-align: center;
    border-bottom: 1px solid #e8dc95;
}

.header-title {
    margin: 0;
    color: #082451;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 900;
}

.header-subtitle {
    margin: 12px 0 0 0;
    color: #172a48;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
}


/* SECTIONS */

.section-news {
    --section-color: #1769e0;
}

.section-games {
    --section-color: #149538;
}

.section-movies {
    --section-color: #6d2eb9;
}

.section-tv {
    --section-color: #ef6600;
}

.section-misc {
    --section-color: #e91e78;
}



.section {
    margin: 14px;
    border: 3px solid var(--section-color);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.section-button {
    width: 100%;
    min-height: 92px;
    border: 0;
    padding: 14px 18px;
    background: #fff;
    color: var(--section-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    font-family: inherit;
}

.section-button:focus {
    outline: 4px solid #222;
    outline-offset: -5px;
}

.section-icon {
    width: 66px;
    min-width: 66px;
    margin-right: 14px;
    text-align: center;
    font-size: 46px;
    line-height: 1;
}

.section-title {
    flex: 1;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
}

.section-arrow {
    width: 40px;
    min-width: 40px;
    text-align: center;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
}


/* EXPANDED CONTENT */

.section-content {
    border-top: 2px solid var(--section-color);
    background: #fafafa;
    padding: 0 14px 14px 14px;
}

.section-description {
    margin: 0 -14px 10px -14px;
    padding: 14px 18px;
    background: #f3f3f3;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}


/* LINKS */

.link-item {
    display: flex;
    align-items: center;
    min-height: 92px;
    margin-top: 10px;
    padding: 12px 15px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 13px;
    color: #111;
    text-decoration: none;
}

.link-item:active {
    background: #eee;
}

.link-image {
    width: 72px;
    height: 72px;
    margin-right: 15px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.link-text {
    flex: 1;
    min-width: 0;
}

.link-title {
    display: block;
    margin-bottom: 4px;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 900;
}

.link-description {
    display: block;
    color: #555;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
}

.link-arrow {
    margin-left: 12px;
    color: var(--section-color);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}


/* FOOTER */

.footer {
    margin-top: 18px;
    padding: 25px 15px 35px 15px;
    background: #eeecff;
    color: #09234c;
    text-align: center;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}


/* SMALLER PHONES */

@media (max-width: 430px) {

    .header-title {
        font-size: 36px;
    }

    .header-subtitle {
        font-size: 20px;
    }

    .section {
        margin: 10px;
    }

    .section-button {
        min-height: 82px;
        padding: 12px;
    }

    .section-icon {
        width: 54px;
        min-width: 54px;
        margin-right: 10px;
        font-size: 39px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-arrow {
        font-size: 34px;
    }

    .link-image {
        width: 64px;
        height: 64px;
        margin-right: 12px;
    }

    .link-title {
        font-size: 25px;
    }

    .link-description {
        font-size: 18px;
    }
}