/* 三张直接跳转的大图入口，沿用美术稿的深色原画与橙色重点。 */
.game-link-section {
    padding: 82px 0 94px;
    background: radial-gradient(ellipse 70% 45% at 50% 0, rgba(255, 139, 37, .055), transparent 75%), #0d0f14;
}
.game-link-section .section-heading {
    margin-bottom: 32px;
}
.game-link-section .section-heading h2 {
    color: #f7f7f9;
    font-style: normal;
    font-weight: 800;
}
.game-link-section .section-description { color: #9fa5af; }
.game-link-section .heading-note { color: #9298a3; }
.game-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.game-link-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --art-x: 0px;
    --art-y: 0px;
    --spot-x: 50%;
    --spot-y: 50%;
    --lift: 0px;
    --scale: 1;
    --cut-shape: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    position: relative;
    display: block;
    min-width: 0;
    height: 430px;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: 16px;
    clip-path: var(--cut-shape);
    background: linear-gradient(135deg, #a96f32, #473221 60%, #d39443);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .045);
    color: #fff;
    text-decoration: none;
    transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift)) scale(var(--scale));
    transform-style: preserve-3d;
    transition: transform .18s ease-out, background .3s ease, box-shadow .3s ease;
}
.game-rpg-link {
    --cut-shape: polygon(22px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 22px);
}
.game-link-card::before,
.game-link-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    clip-path: var(--cut-shape);
    pointer-events: none;
}
.game-link-card::before {
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate3d(var(--art-x), var(--art-y), 0) scale(1.055);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}
.game-dota-link::before { background-image: url(../images/zone-dota.jpg); background-position: 56% center; }
.game-rpg-link::before { background-image: url(../images/zone-rpg.jpg); background-position: 66% center; }
.game-web-link::before { background-image: url(../images/zone-webgame.jpg); background-position: 51% center; }
.game-link-card::after {
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 9, 14, .14) 0%, rgba(6, 9, 14, .05) 35%, rgba(6, 9, 14, .76) 71%, rgba(6, 9, 14, .97) 100%);
}
.game-link-card:hover,
.game-link-card:focus-visible {
    --lift: -6px;
    --scale: 1.018;
    background: linear-gradient(135deg, #f7ac4d, #966330 60%, #ffbc63);
    box-shadow: 0 24px 52px rgba(0, 0, 0, .42), 0 0 25px rgba(255, 139, 37, .16);
}
.game-link-card:hover::before,
.game-link-card:focus-visible::before { filter: brightness(1.08); }
.game-link-card:focus-visible { outline: 2px solid #ffb059; outline-offset: 3px; }
.game-link-glow {
    position: absolute;
    z-index: 2;
    inset: 1px;
    clip-path: var(--cut-shape);
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle 170px at var(--spot-x) var(--spot-y), rgba(255, 190, 105, .24), transparent 75%);
    mix-blend-mode: screen;
    transition: opacity .24s ease;
}
.game-link-card:hover .game-link-glow,
.game-link-card:focus-visible .game-link-glow { opacity: 1; }
.game-link-badge {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 170, 71, .46);
    border-radius: 6px;
    background: rgba(12, 15, 20, .7);
    color: #ffad4a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}
.game-link-copy {
    position: absolute;
    z-index: 3;
    right: 26px;
    bottom: 26px;
    left: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.game-link-kicker { color: #c7cbd2; font-size: 12px; line-height: 1.5; }
.game-link-copy strong {
    margin-top: 9px;
    color: #fff;
    font-size: clamp(29px, 2.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}
.game-link-description { margin-top: 8px; color: #c7cbd1; font-size: 14px; }
.game-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 38px;
    margin-top: 22px;
    padding: 0 13px;
    border-radius: 6px;
    background: #ff941f;
    box-shadow: 0 6px 20px rgba(255, 133, 19, .24);
    color: #16100b;
    font-size: 12px;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}
.game-link-card:hover .game-link-cta,
.game-link-card:focus-visible .game-link-cta { background: #ffae42; transform: translateX(3px); }
.game-link-cta span { font-size: 18px; line-height: 1; }
@media (max-width: 1000px) {
    .game-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .game-link-card:last-child { grid-column: 1 / -1; height: 370px; }
}
@media (max-width: 640px) {
    .game-link-section { padding: 52px 0 64px; }
    .game-link-grid { grid-template-columns: 1fr; gap: 16px; }
    .game-link-card, .game-link-card:last-child { grid-column: auto; height: 330px; }
    .game-link-copy { right: 22px; bottom: 21px; left: 22px; }
    .game-link-copy strong { font-size: 31px; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
    .game-link-card { transition: none; transform: none; }
    .game-link-card::before { transition: none; transform: scale(1.055); }
    .game-link-glow { display: none; }
}
