.badge-platform {
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3em 0.6em;
    border-radius: 20px;
    margin-top: 10px;
    background-color: #00bcd4;
}

.badge-platform.PS1 {
    background: linear-gradient(180deg, #e2e2e2 0%, #bdbdbd 55%, #9e9e9e 100%);
    border: 1px solid #7f7f7f;
    border-radius: 999px;
    padding: .25rem .6rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -1px 0 rgba(0, 0, 0, .20),
    0 2px 6px rgba(0, 0, 0, .20);
    color: #8b0000;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, "Arial Black", Arial, sans-serif;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35),
    0 2px 0 rgba(0, 0, 0, .25),
    0 0 6px rgba(139, 0, 0, .25);
    filter: saturate(1.05) contrast(1.05);
    transform: skewX(-6deg);
}

.badge-platform.PS1 > * {
    transform: skewX(6deg);
}

.badge-platform.PS2 {
    background: linear-gradient(180deg, #1a1f27 0%, #0f141c 55%, #0a0f16 100%);
    border: 1px solid rgba(120, 170, 255, .35);
    border-radius: 999px;
    padding: .25rem .6rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 2px 8px rgba(0, 0, 0, .35);
    color: #6bb6ff;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    text-shadow: 0 0 4px rgba(107, 182, 255, .55),
    0 0 10px rgba(107, 182, 255, .35),
    0 1px 0 rgba(0, 0, 0, .55);
    filter: saturate(1.05) contrast(1.1);
    position: relative;
    overflow: hidden;
}

.badge-platform.PS2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
    rgba(255, 255, 255, .10) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(107, 182, 255, .10) 60%,
    rgba(255, 255, 255, 0) 100%);
    mix-blend-mode: screen;
    opacity: .55;
    pointer-events: none;
}

.badge-platform.PS2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, .05) 0px,
        rgba(255, 255, 255, .05) 1px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0) 4px
    );
    opacity: .18;
    pointer-events: none;
}

.badge-platform.PS3 {
    background: linear-gradient(180deg, #2a2a2a 0%, #0f0f10 55%, #000 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: .25rem .6rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(0, 0, 0, .65),
    0 2px 10px rgba(0, 0, 0, .40);
    color: #f3f3f3;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .8),
    0 0 10px rgba(255, 255, 255, .12);
    position: relative;
    overflow: hidden;
}

.badge-platform.PS3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
    rgba(255, 255, 255, .20) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, .10) 60%,
    rgba(255, 255, 255, 0) 100%);
    opacity: .45;
    pointer-events: none;
}

.badge-platform.PS4 {
    background: linear-gradient(180deg, #0a2a4a 0%, #0b1e38 55%, #071526 100%);
    border: 1px solid rgba(90, 170, 255, .45);
    border-radius: 999px;
    padding: .25rem .6rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 2px 10px rgba(0, 0, 0, .35);
    color: #9ad0ff;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-family: "Avenir Next", "Montserrat", "Helvetica Neue", Arial, sans-serif;
    text-shadow: 0 0 5px rgba(90, 170, 255, .55),
    0 0 12px rgba(90, 170, 255, .30),
    0 1px 0 rgba(0, 0, 0, .6);
    position: relative;
    overflow: hidden;
}

.badge-platform.PS4::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, .05) 0px,
        rgba(255, 255, 255, .05) 1px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0) 5px
    );
    opacity: .15;
    pointer-events: none;
}

.badge-platform.PS5 {
    background: linear-gradient(180deg, #ffffff 0%, #f2f5fb 55%, #e6ebf6 100%);
    border: 1px solid rgba(20, 40, 80, .18);
    border-radius: 999px;
    padding: .25rem .6rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(0, 0, 0, .10),
    0 2px 8px rgba(0, 0, 0, .18);
    color: #1a1f2a;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6),
    0 0 10px rgba(30, 90, 255, .10);
    position: relative;
    overflow: hidden;
}

.badge-platform.PS5::before {
    content: "";
    position: absolute;
    inset: -30% -20%;
    background: radial-gradient(circle at 30% 20%,
    rgba(20, 120, 255, .18) 0%,
    rgba(20, 120, 255, 0) 45%,
    rgba(0, 0, 0, 0) 100%);
    opacity: .9;
    pointer-events: none;
}

.badge-platform.PS5::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
    rgba(255, 255, 255, .55) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(0, 0, 0, .03) 65%,
    rgba(255, 255, 255, 0) 100%);
    opacity: .55;
    pointer-events: none;
}

.badge-gold {
    display: inline-block;
    padding: 0.4em 0.8em;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(145deg, #ffbc00, #ff9000);
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid #fff;
    position: relative;
}

.badge-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
}

.badge-steel {
    display: inline-block;
    padding: 0.4em 0.8em;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(145deg, #9ea7ad, #6e767d);
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid #dfe3e6;
    position: relative;
    overflow: hidden;
}

.badge-steel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
}

@keyframes scoreShine {
    0%   { transform: translateX(-120%) rotate(12deg); opacity: 0; }
    20%  { opacity: .85; }
    60%  { opacity: .85; }
    100% { transform: translateX(120%) rotate(12deg); opacity: 0; }
}

.badge-platform.N64 {
    color: #ffffff;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.08em;
    border: 2px solid transparent;
    background:
        linear-gradient(180deg, #2a2a2e 0%, #121215 100%) padding-box,
        conic-gradient(from 45deg, #e60012 0 25%, #0047bb 0 50%, #00a650 0 75%, #ffcc00 0) border-box;
    text-shadow: 0 0 6px rgba(255, 204, 0, 0.35);
}

.badge-platform.GameCube {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #8a72e0 0%, #5038a8 100%);
}

.badge-platform.Wii {
    color: #0097cf;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #e4e7ec 100%);
    border: 1px solid #9aa3ad;
}

.badge-platform.DS {
    color: #1e1e2e;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #f4f4f6 0%, #cfd2da 100%);
}

.badge-platform.GB,
.badge-platform.GBC,
.badge-platform.GBA {
    color: #e8f0c8;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #4d5a2a 0%, #2f3a1a 100%);
    border: 1px solid #8bac0f;
}
