.tm-game-honeycomb {
    --tm-honeycomb-accent: #fece1a;
    --tm-honeycomb-hot: #ffd900;
    --tm-honeycomb-warm: #ffb400;
    --tm-honeycomb-cell: clamp(104px, 11.5vw, 156px);
    --tm-honeycomb-gap-x: clamp(6px, 0.72vw, 10px);
    --tm-honeycomb-gap-y: clamp(8px, 0.9vw, 12px);
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto clamp(36px, 4vw, 58px);
    padding: clamp(24px, 3.4vw, 46px) 0 clamp(34px, 4vw, 58px);
    overflow: visible;
    color: #fff;
    letter-spacing: 0;
}

.tm-game-honeycomb *,
.tm-game-honeycomb *::before,
.tm-game-honeycomb *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.tm-game-honeycomb::before {
    position: absolute;
    z-index: -2;
    inset: 12% 5% 7%;
    background: radial-gradient(ellipse at center, rgba(255, 214, 0, 0.12), rgba(255, 196, 0, 0.035) 44%, transparent 72%);
    content: "";
    pointer-events: none;
}

.tm-game-honeycomb::after {
    position: absolute;
    z-index: -1;
    top: 57%;
    right: 8%;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 217, 0, 0.16), transparent);
    content: "";
    pointer-events: none;
}

.tm-game-honeycomb__heading {
    margin: 0 0 clamp(10px, 1.4vw, 18px);
    color: #fff;
    font-family: "Roboto", "Open Sans", sans-serif;
    font-size: clamp(20px, 2.35vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.tm-game-honeycomb__heading::after {
    display: block;
    width: clamp(48px, 5vw, 66px);
    height: 3px;
    margin: 11px auto 0;
    background: var(--tm-honeycomb-accent);
    box-shadow: 0 0 12px rgba(255, 217, 0, 0.4);
    content: "";
}

.tm-game-honeycomb__stage {
    position: relative;
    width: 100%;
    padding: clamp(20px, 2.8vw, 38px) 0 clamp(22px, 3vw, 42px);
    overflow: visible;
}

.tm-game-honeycomb__stage::before {
    position: absolute;
    inset: 16% 12%;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255, 214, 0, 0.1), transparent 62%);
    content: "";
    pointer-events: none;
}

.tm-game-honeycomb__cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.tm-game-honeycomb__row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tm-honeycomb-gap-x);
    width: max-content;
    max-width: 100%;
}

.tm-game-honeycomb__row + .tm-game-honeycomb__row {
    margin-top: calc(var(--tm-honeycomb-cell) * -0.289 + var(--tm-honeycomb-gap-y));
}

.tm-game-honeycomb__item {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--tm-honeycomb-cell);
    width: var(--tm-honeycomb-cell);
    aspect-ratio: 0.8660254 / 1;
    margin: 0;
    padding: 0;
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(255, 216, 0, 0.7)) drop-shadow(0 9px 10px rgba(0, 0, 0, 0.72));
    animation: tm-honeycomb-enter 520ms cubic-bezier(0.2, 0.75, 0.22, 1) calc(var(--tm-honeycomb-index) * 42ms) forwards;
}

.tm-game-honeycomb__item:hover,
.tm-game-honeycomb__item:focus-within {
    z-index: 20;
}

.tm-game-honeycomb__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateZ(0);
    transition: transform 210ms ease, filter 210ms ease;
}

.tm-game-honeycomb__face {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    padding: 3px;
    background: var(--tm-honeycomb-hot);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    filter: brightness(1);
    transform-origin: 50% 50%;
    animation: tm-honeycomb-neon 2.8s steps(2, end) calc(var(--tm-honeycomb-index) * -0.17s) infinite;
    transition: filter 210ms ease;
}

.tm-game-honeycomb__inside {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111516;
    clip-path: inherit;
}

.tm-game-honeycomb__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.tm-game-honeycomb__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.06);
    transform: scale(1.035);
    transition: filter 240ms ease, transform 330ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tm-game-honeycomb__inside::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 12%, rgba(0, 0, 0, 0.2) 34%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.58) 100%);
    content: "";
    pointer-events: none;
}

.tm-game-honeycomb__title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 14px);
    padding: 2px;
    overflow: hidden;
    color: #ffe36a;
    font-family: "Roboto", "Open Sans", sans-serif;
    font-size: clamp(10px, 0.95vw, 14px);
    font-weight: 900;
    line-height: 1.08;
    paint-order: stroke fill;
    text-align: center;
    text-overflow: clip;
    text-shadow: 0 2px 3px #000, 0 0 4px #000, 0 0 11px rgba(254, 206, 26, 0.5);
    text-transform: uppercase;
    white-space: normal;
    text-wrap: balance;
    word-break: normal;
    -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.96);
}

.tm-game-honeycomb__item.is-featured {
    z-index: 12;
    filter: drop-shadow(0 0 10px rgba(255, 183, 0, 0.64)) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.74));
}

.tm-game-honeycomb__item.is-featured .tm-game-honeycomb__face {
    padding: 2px;
    background: var(--tm-honeycomb-warm);
    box-shadow: inset 0 0 0 1px rgba(255, 239, 156, 0.65);
}

.tm-game-honeycomb__item.is-featured .tm-game-honeycomb__inside {
    background: linear-gradient(150deg, #ffc927, #f29c00 72%);
}

.tm-game-honeycomb__item.is-featured .tm-game-honeycomb__media img {
    opacity: 0.24;
    filter: grayscale(1) contrast(1.35) brightness(0.5);
    mix-blend-mode: multiply;
}

.tm-game-honeycomb__item.is-featured .tm-game-honeycomb__inside::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 55%, rgba(81, 45, 0, 0.12));
}

.tm-game-honeycomb__item.is-featured .tm-game-honeycomb__title {
    color: #1a1200;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62), 0 0 8px rgba(255, 255, 255, 0.38);
    -webkit-text-stroke: 0.3px rgba(255, 246, 188, 0.72);
}

.tm-game-honeycomb__link:focus-visible {
    outline: none;
    transform: translateY(-5px) scale(1.075);
}

.tm-game-honeycomb__link:focus-visible .tm-game-honeycomb__face {
    filter: brightness(1.18) drop-shadow(0 0 7px rgba(255, 217, 0, 0.95));
}

@media (hover: hover) {
    .tm-game-honeycomb__link:hover {
        transform: translateY(-5px) scale(1.075);
    }

    .tm-game-honeycomb__link:hover .tm-game-honeycomb__face {
        filter: brightness(1.15) drop-shadow(0 0 7px rgba(255, 217, 0, 0.9));
    }

    .tm-game-honeycomb__link:hover .tm-game-honeycomb__media img {
        filter: saturate(1.08) contrast(1.08) brightness(1.06);
        transform: scale(1.105);
    }
}

@keyframes tm-honeycomb-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tm-honeycomb-neon {
    0%, 18%, 22%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 196, 0, 0));
    }

    20% {
        filter: brightness(1.5) drop-shadow(0 0 6px rgba(255, 217, 0, 0.95));
    }

    52% {
        filter: brightness(1.1) drop-shadow(0 0 3px rgba(255, 217, 0, 0.72));
    }
}

@media (max-width: 768px) {
    #service.tm-home-service > .container {
        width: auto;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .tm-game-honeycomb {
        --tm-honeycomb-cell: clamp(34px, 14.2vw, 110px);
        --tm-honeycomb-gap-x: clamp(4px, 1.15vw, 7px);
        --tm-honeycomb-gap-y: clamp(6px, 1.7vw, 9px);
        margin-bottom: 28px;
        padding: 22px 0 34px;
    }

    .tm-game-honeycomb::before {
        inset: 14% 0 5%;
    }

    .tm-game-honeycomb__heading {
        margin-bottom: 8px;
        font-size: clamp(18px, 5.7vw, 24px);
    }

    .tm-game-honeycomb__heading::after {
        width: 46px;
        height: 2px;
        margin-top: 8px;
    }

    .tm-game-honeycomb__stage {
        padding: 18px 0 22px;
    }

    .tm-game-honeycomb__face {
        padding: 1px;
    }

    .tm-game-honeycomb__item.is-featured .tm-game-honeycomb__face {
        padding: 1px;
    }

    .tm-game-honeycomb__title {
        width: calc(100% - 6px);
        padding: 1px;
        font-size: clamp(7px, 2.3vw, 11px);
        -webkit-text-stroke-width: 0.3px;
    }

}

@media (max-width: 350px) {
    .tm-game-honeycomb {
        --tm-honeycomb-cell: clamp(34px, 14.2vw, 50px);
        --tm-honeycomb-gap-x: 4px;
        --tm-honeycomb-gap-y: 6px;
    }
}

@media (max-width: 361px) {
    .tm-game-honeycomb[data-responsive-layout="4-4-4"] {
        --tm-honeycomb-cell: clamp(52px, 18vw, 64px);
        --tm-honeycomb-gap-x: clamp(6px, 1.8vw, 8px);
        --tm-honeycomb-gap-y: clamp(7px, 2vw, 9px);
    }
}

@media (max-width: 286px) {
    .tm-game-honeycomb[data-responsive-layout="3-3-3-3"] {
        --tm-honeycomb-cell: clamp(58px, 22vw, 66px);
        --tm-honeycomb-gap-x: 6px;
        --tm-honeycomb-gap-y: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-game-honeycomb__item,
    .tm-game-honeycomb__face {
        opacity: 1;
        animation: none;
    }

    .tm-game-honeycomb__link,
    .tm-game-honeycomb__media img {
        transition: none;
    }

    .tm-game-honeycomb__link:hover,
    .tm-game-honeycomb__link:focus-visible {
        transform: none;
    }
}
