* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    background: url("../../../images/game_psi/image_general/background.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
html,
body {
    overflow-x: hidden; /*Khóa cuộn */
}
body {
    font-family: "Baloo 2", cursive;
    min-height: 100%;
}

main.game-content {
    min-height: 110vh;
    padding: 0px 0px;
    text-align: center;
    top: -100px;
}

/* Header */
header {
    color: #2591fd;
    padding: 22px;
    text-align: center;
    font-size: 13px;
}
.header-wrapper {
    position: relative;
    padding: 10px 0px 0px 50px;
    left: -20px;
}
header p {
    margin-top: 12px;
    font-size: 14px;
}
.breadcrumb {
    position: absolute;
    top: -8px;
    left: 220px;
    font-size: 14px;
    color: #555;
}
.breadcrumb a {
    color: #050505;
    text-decoration: none;
    font-weight: 500;
    left: 100px;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.corner-image {
    position: fixed;
    bottom: 40px;
    right: 80px;
    width: 300px;
    height: auto;
    z-index: 999;
}
.mota-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px;
    padding: 0 20px;
    position: relative;
    transform: translateX(-50px);
}

.number-wrapper {
    position: relative;
    width: 100px;
    height: 130px;
    flex-shrink: 0;
}

.number-wrapper .stroke,
.number-wrapper .fill {
    font-family: "Baloo 2", cursive;
    font-weight: 900;
    font-size: 130px;
    line-height: 1;
}

.number-wrapper .stroke {
    color: transparent;
    -webkit-text-stroke-width: 18px;
    -webkit-text-stroke-color: #e13b3b;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.number-wrapper .fill {
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

/* Phần mô tả màu xanh đậm */
.mota {
    display: flex;
    align-items: center;
    background-color: #1e0db5;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding: 20px 30px 20px 0;
    flex: 1;
    height: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mota img.puzzle {
    height: 100px;
    width: auto;
    margin-right: 100px;
}

.mota p {
    color: white;
    font-size: 18px;
    text-align: left;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
}

.trochoi-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cột */
    gap: 30px 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 20px;
}
.trochoi {
    background-color: #1e0db5;
    border-radius: 20px;
    padding: 40px 10px;
    text-align: center;
    height: 80px;
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trochoi:hover {
    transform: translateY(-5px);
}

.trochoi a {
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 16px;
    font-family: "Baloo 2", cursive;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .trochoi-container {
        grid-template-columns: repeat(2, 1fr);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .mota-container {
        flex-direction: column;
        align-items: center;
        transform: none;
        margin-top: 20px;
    }

    .number-wrapper {
        width: 70px;
        height: 90px;
    }

    .number-wrapper .stroke,
    .number-wrapper .fill {
        font-size: 90px;
        -webkit-text-stroke-width: 10px;
    }
    .number-wrapper {
        margin: 0 0 0 10%;
    }

    .number-wrapper .stroke,
    .number-wrapper .fill {
        font-size: 100px;
        -webkit-text-stroke-width: 2px;
    }
    .number-wrapper .stroke {
        -webkit-text-stroke-width: 28px;
    }

    .mota {
        flex-direction: column;
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .mota img.puzzle {
        height: 60px;
        margin: 0 0 10px 0;
    }

    .mota p {
        font-size: 16px;
        text-align: center;
    }

    .corner-image {
        width: 100px;
        position: absolute;
        top: 1300px;
        right: 0;
        z-index: 10;
    }

    .header-wrapper {
        padding: 0;
        left: 0;
    }

    .breadcrumb {
        position: static;
        text-align: center;
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 24px;
    }

    header p {
        font-size: 13px;
    }
}

@media (max-width: 500px) {
    .trochoi-container {
        grid-template-columns: 1fr;
    }
    .trochoi {
        width: 90%;
        padding: 20px 10px;
        font-size: 14px;
    }

    .trochoi a {
        font-size: 14px;
    }
}
