@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

#corsair-pixel .font-press-start {
    font-family: 'Press Start 2P', monospace !important;
    letter-spacing: 2px;
}

#corsair-pixel .font-verdana {
    font-family: Verdana, sans-serif;
}

/* #corsair-pixel {
    cursor: none !important;
} */


/* .cursor {
    position: fixed;
    width: 24px;
    height: 34px;
    background-image: url(https://assets.corsair.com/image/upload/v1742409949/pages/april-fools/cursor-pixel.svg);
    background-size: cover;
    pointer-events: none; 
    z-index: 9999; 
    transform: translate(-4px, -4px);
    left: 0;
    top: 0;
    transition: opacity 0.2s ease;
}

.cursor.hidden {
    opacity: 0;
}
.particle,
.particle-cross {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
}

.particle {
    width: 6px;
    height: 6px;
    background-color: #FFDD00;
    border-radius: 0;
    opacity: 0.8;
}

.particle.cyan {
    background-color: #00FFFF;
}

.particle-cross::before,
.particle-cross::after {
    content: '';
    position: absolute;
    background-color: #FFDD00;
}

.particle-cross::before {
    width: 100%;
    height: 30%;
    top: 35%;
    left: 0;
}

.particle-cross::after {
    width: 30%;
    height: 100%;
    top: 0;
    left: 35%;
}

.particle-cross.cyan::before,
.particle-cross.cyan::after {
    background-color: #00FFFF;
} */

.pixel-corners,
.pixel-corners--wrapper {
    clip-path: polygon(
            /* Top-left pixelated corner */
            0px 20px,
            5px 20px,
            5px 15px,
            10px 15px,
            10px 10px,
            15px 10px,
            15px 5px,
            20px 5px,
            20px 0px,

            /* Top-right normal corner */
            100% 0px,

            /* Bottom-right pixelated corner */
            100% calc(100% - 20px),
            calc(100% - 5px) calc(100% - 20px),
            calc(100% - 5px) calc(100% - 15px),
            calc(100% - 10px) calc(100% - 15px),
            calc(100% - 10px) calc(100% - 10px),
            calc(100% - 15px) calc(100% - 10px),
            calc(100% - 15px) calc(100% - 5px),
            calc(100% - 20px) calc(100% - 5px),
            calc(100% - 20px) 100%,

            /* Bottom-left normal corner */
            0px 100%);
}

.pixel-corners--wrapper {
    width: 100%;
    background: black;
}

.pixel-corners--wrapper .pixel-corners {
    clip-path: polygon(
            /* Inner shape - top-left pixelated */
            5px 20px,
            10px 20px,
            10px 15px,
            15px 15px,
            15px 10px,
            20px 10px,
            20px 5px,

            /* Inner shape - top-right normal */
            calc(100% - 5px) 5px,

            /* Inner shape - bottom-right pixelated */
            calc(100% - 5px) calc(100% - 20px),
            calc(100% - 10px) calc(100% - 20px),
            calc(100% - 10px) calc(100% - 15px),
            calc(100% - 15px) calc(100% - 15px),
            calc(100% - 15px) calc(100% - 10px),
            calc(100% - 20px) calc(100% - 10px),
            calc(100% - 20px) calc(100% - 5px),

            /* Inner shape - bottom-left normal */
            5px calc(100% - 5px));
}

.highlighted {
    background-color: #ffff00;
    font-weight: bold;
}

.pixel-button {
    padding: 8px 16px;
    background-color: #4CAF50;
}

#corsair-pixel {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/april-fools/trihex-purple.png), linear-gradient(180deg, #8C00A5 0%, #6A4984 100%);
}

.page-container {
    max-width: 1440px;
    margin: auto;
    gap: 2rem;
    padding: 2rem;
    display: flex;
    padding-top: 4rem;
    padding-bottom: 7rem;
}

.left-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.logo-banner {
    background-color: #ECE81A;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.logo-banner h2.font-press-start {
    font-weight: 400;
    font-size: 1.5rem;
}

.mouse-banner {
    border: 5px solid #000;
}

.upgrade-cooling-banner h3 {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    color: white;
    text-shadow: -5px 5px 8px #8A17B0,
        0px 0px 8px #8A17B0;
}

.upgrade-cooling-banner h3 .upgrade {
    font-size: 2.25rem;
}

.upgrade-cooling-banner h3 .your {
    align-self: center;
    font-size: 1.25rem;
}

.upgrade-cooling-banner h3 .cooling {
    align-self: flex-end;
    font-size: 2.25rem;
}

.giveaway-banner {
    background-color: #3bfefe;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
}

.giveaway-banner h3 {
    font-size: 1rem;
    font-weight: 400;
}

.giveaway-banner a {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/april-fools/State_Default.png);
    width: fit-content;
    padding: 16px 35px 18px;
    align-self: flex-end;
    font-size: 1rem;
    font-weight: 700;
}

.giveaway-banner a:hover {
    background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/pages/april-fools/State_Hover.png);
}

.download-flash-banner {
    background-color: #E5B5FF;
    padding: 2rem;
    text-align: center;
}

.adobe-flash {
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.link {
    color: #0000EE;
    text-decoration: none;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

.broken-image-banner {
    padding: 2rem;
    height: 100%;
    background: white;
}

.right-container {
    flex: 2;
    background-color: #E5B5FF;
    border: 5px solid black;
    max-width: 66%;
}

.navbar {
    display: flex;
    text-align: center;
    justify-content: space-evenly;
}

.navbar-item {
    flex: 1;
    padding: 1rem 0rem;
    text-transform: uppercase;
    align-items: center;
    display: flex;
    justify-content: center;
}

.navbar-item:hover {
    text-shadow: -2px 2px 0px #FF00C7;
}

.faded-purple {
    background: linear-gradient(0deg, #E5B5FF, #E5B5FF),
        linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));

}

.border-black-right {
    border-right: 5px solid black;
}

.border-black-bottom {
    border-bottom: 5px solid black;
}

.right-container-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ramguy-banner {
    padding: 0.5rem 1rem;
    border: 5px solid #000;
    background: url('https://assets.corsair.com/image/upload/v1742488113/pages/april-fools/The_RAM_Guy.png') 0 0 / cover no-repeat;
    font-weight: 700;
    display: flex;
    justify-content: center;
    font-size: 19px;
    color: white;
    align-items: center;
}

.pixel-box {
    display: inline-flex;
    flex-direction: column;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 24px;
    color: white;
}

.pixel-text {
    font-family: 'Press Start 2P', cursive;
    text-shadow: -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black,
        -2px 0px 0 black,
        2px 0px 0 black,
        0px -2px 0 black,
        0px 2px 0 black;
    text-align: center;
    line-height: 1;
}

.youtube-video {
    height: 500px;
}

.marquee {
    --gap: 1rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    margin-top: 0.8rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 4rem;
    margin-right: 4rem;
    animation: scroll 20s linear infinite;
}

.marquee-content a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.marquee-content a:hover {
    text-shadow: -2px 2px 0px #FF00C7;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

.marquee--hover-pause:hover .marquee-content {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation-play-state: paused !important;
    }
}

.two-banner-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.card-content h2 {
    font-size: 1rem;
}

.footer-banner {
    border: 5px solid #000;
    padding: 2rem;
    display: flex;
    background-color: #d34cff;
    flex-direction: column;
    gap: 1rem;
}

.under-construction {
    display: flex;
    text-transform: uppercase;
    margin: auto;
    padding: 2rem;
    background: white;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-container a {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(https://assets.corsair.com/image/upload/v1742238334/pages/april-fools/pixel-button-go-default.png);
    width: fit-content;
    padding: 16px 35px 18px;
    align-self: flex-end;
    color: #000;
    margin-top: auto;
    font-size: 1rem;
    font-weight: 700;
}

.product-container a:hover {
    background-image: url(https://assets.corsair.com/image/upload/v1742238335/pages/april-fools/pixel-button-go-hover.png);
}

.card {
    background-color: #383236;
    color: #fff;
    border: 4px solid #000;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
}

.card-content {
    padding: 2rem;
    display: flex;
    height: 100%;
    flex-direction: column;
}

.yellow-link {
    text-decoration: none;
    color: #ECE81A;
    margin-left: 5px;
    margin-right: 1rem;
}

.yellow-link:hover {
    text-decoration: underline;
}

.under-construction h3 {
    text-shadow: -5px 5px 8px #D34CFF, 0px 0px 8px #D34CFF;
    text-align: center;
    font-size: 24px;
}

.mobile-only,
.mobile-only-flex {
    display: none;
}


@media (max-width: 1280px) {
    .left-container {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    .right-container {
        max-width: 100%;
    }

    .right-container-content {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .page-container {
        padding: 1rem;
    }

    .mobile-only {
        display: block;
    }

    .mobile-only-flex {
        display: flex;
    }

    .navbar-item {
        font-size: 10px;
        padding: 0.5rem;
    }

    .youtube-video {
        height: 350px;
    }

    .product-container {
        gap: 0.5rem;
    }

    .upgrade-cooling-banner {
        border: 2px solid black;
    }

    .under-construction h3 {
        font-size: 10px;
        text-wrap: wrap;
    }

    .download-flash-banner {
        background-color: #3bfefe;
    }

    .download-flash-banner a {
        font-size: 12px;
    }

    .card-content {
        padding: 1rem;
    }
    .marquee-content a {
        font-size: 1rem;
    }
    .ramguy-banner {
        padding: 0.5rem;
        background: url('https://assets.corsair.com/image/upload/f_auto,q_auto/pages/april-fools/ram-guy-mobile.png') 0 0 / cover no-repeat;
    }

}