:root {
    --fuchsia-500: #d946ef;
    --fuchsia-600: #c026d3;
    --pink-600: #db2777;
    --neutral-950: #0a0a0a
}

.c-layout {
    min-height: 100vh;
    background-color: var(--neutral-950);
    color: #fff
}

.c-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

::selection {
    background: rgba(217, 70, 239, .4)
}

.btn-gradient, .btn-secondary {
    border-radius: .75rem;
    border: 1px solid rgba(0, 0, 0, 0);
    padding: .5rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, opacity .2s ease
}

.btn-gradient {
    background-image: linear-gradient(120deg, var(--fuchsia-600), var(--pink-600));
    color: #fff
}

.btn-gradient:hover {
    opacity: .9
}

.btn-secondary {
    background-color: hsla(0, 0%, 100%, .1);
    border-color: hsla(0, 0%, 100%, .2);
    color: #fff
}

.btn-secondary:hover {
    background-color: hsla(0, 0%, 100%, .18)
}

.c-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid hsla(0, 0%, 100%, .1);
    background-color: rgba(10, 10, 10, .8);
    backdrop-filter: blur(8px)
}

.c-header .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem
}

.c-header .brand {
    display: flex;
    align-items: center;
    gap: .5rem
}

.c-header .brand__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: .75rem;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .06);
    color: inherit
}

.c-header .brand__logo {
    height: 36px;
    width: 36px;
    display: grid;
    place-content: center;
    border-radius: .75rem;
    background: linear-gradient(to bottom right, var(--fuchsia-600), var(--pink-600));
    box-shadow: 0 10px 15px -3px rgba(192, 38, 211, .3)
}

.c-header .brand__text {
    font-weight: 800;
    letter-spacing: -0.025em;
    font-size: 1.25rem
}

.c-header .brand__text span:last-child {
    color: var(--fuchsia-500)
}

.c-header .header-search {
    flex: 1 1 auto;
    display: none
}

@media (min-width: 768px) {
    .c-header .header-search {
        display: flex
    }
}

.c-header .header-search input {
    width: 100%;
    border-radius: 9999px;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .08);
    color: inherit;
    padding: .6rem 1rem
}

.c-header .header-actions {
    display: flex;
    align-items: center;
    gap: .5rem
}

.c-header .lang-switcher {
    appearance: none;
    border-radius: .75rem;
    border: 1px solid hsla(0, 0%, 100%, .15);
    background-color: hsla(0, 0%, 100%, .08);
    color: inherit;
    padding: .45rem 1.75rem .45rem .75rem;
    font-weight: 500;
    position: relative
}

.c-header .header-balance {
    display: none;
    align-items: center;
    gap: .5rem
}

@media (min-width: 992px) {
    .c-header .header-balance {
        display: inline-flex
    }
}

.c-header .header-balance__amount {
    border-radius: .75rem;
    border: 1px solid rgba(74, 222, 128, .35);
    background-color: rgba(34, 197, 94, .16);
    color: #bbf7d0;
    padding: .45rem .9rem;
    font-weight: 700
}

.c-header .header-avatar {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid hsla(0, 0%, 100%, .2);
    display: grid;
    place-content: center
}

.c-sidebar {
    position: sticky;
    top: 64px;
    z-index: 30;
    height: calc(100vh - 64px);
    display: none
}

@media (min-width: 768px) {
    .c-sidebar {
        display: block
    }
}

.c-sidebar .sidebar-container {
    position: relative;
    height: 100%;
    width: 72px;
    overflow: visible;
    transition: width 200ms
}

.c-sidebar .sidebar-container:hover {
    width: 260px
}

.c-sidebar nav {
    height: 100%;
    overflow-y: auto;
    border-radius: 1.5rem;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .05);
    padding: .75rem
}

.c-sidebar nav ul {
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.c-sidebar nav a {
    display: flex;
    align-items: center;
    padding: .5rem;
    border-radius: .75rem;
    color: #fff;
    text-decoration: none;
    font-size: .875rem
}

.c-sidebar nav a:hover {
    background-color: hsla(0, 0%, 100%, .1)
}

.c-sidebar nav a svg {
    flex-shrink: 0
}

.c-sidebar nav a span {
    margin-left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: all 200ms
}

.c-sidebar .sidebar-bonus {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid hsla(0, 0%, 100%, .12);
    background: linear-gradient(160deg, rgba(217, 70, 239, 0.25), rgba(13, 148, 136, 0.25));
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.c-sidebar .sidebar-bonus__label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: hsla(0, 0%, 100%, .75)
}

.c-sidebar .sidebar-bonus__value {
    font-weight: 700;
    font-size: 1.25rem
}

.c-sidebar:hover nav a span {
    margin-left: .75rem;
    width: auto;
    opacity: 1
}

.c-grid {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns:1fr;
    padding: 0 .75rem
}

@media (min-width: 768px) {
    .c-grid {
        grid-template-columns:80px 1fr;
        gap: 1.5rem;
        padding: 0 1rem
    }
}

.c-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.hero-carousel {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .05);
    padding: 1rem
}

.hero-carousel .carousel-container {
    position: relative;
    height: 13rem
}

@media (min-width: 640px) {
    .hero-carousel .carousel-container {
        height: 16rem
    }
}

@media (min-width: 768px) {
    .hero-carousel .carousel-container {
        height: 18rem
    }
}

.hero-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: opacity 500ms;
    opacity: 0
}

.hero-carousel .carousel-slide.active {
    opacity: 1
}

.hero-carousel .carousel-slide__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 9999px;
    background-color: hsla(0, 0%, 100%, .12);
    font-size: .75rem;
    margin-bottom: .75rem
}

.hero-carousel .carousel-slide__title {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
    font-weight: 800;
    line-height: 1.1
}

.hero-carousel .carousel-slide__subtitle {
    margin-top: .75rem;
    font-size: 1rem;
    color: hsla(0, 0%, 100%, .8);
    max-width: 32rem
}

.hero-carousel .dots {
    margin-top: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.hero-carousel .dots button {
    height: .5rem;
    width: 2rem;
    border-radius: 9999px;
    background-color: hsla(0, 0%, 100%, .3);
    border: none;
    padding: 0;
    cursor: pointer
}

.hero-carousel .dots button.active {
    background-color: #fff
}

.categories {
    margin-top: 1.25rem
}

.categories .categories-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem
}

.categories .categories-search {
    flex: 1 1 200px;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: .5rem
}

.categories .categories-search input {
    flex: 1 1 auto;
    border-radius: 9999px;
    border: 1px solid hsla(0, 0%, 100%, .12);
    background-color: hsla(0, 0%, 100%, .06);
    color: inherit;
    padding: .45rem .9rem
}

.categories button {
    border-radius: 9999px;
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .05);
    color: #fff;
    cursor: pointer;
    transition: background-color 200ms
}

.categories button:hover {
    background-color: hsla(0, 0%, 100%, .1)
}

.categories button.active {
    background-color: var(--fuchsia-600);
    border-color: var(--fuchsia-500)
}

.providers {
    margin-top: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid hsla(0, 0%, 100%, .08);
    background-color: hsla(0, 0%, 100%, .04);
    padding: .75rem 1rem
}

.providers .providers-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center
}

.providers .providers-strip__item {
    border-radius: 9999px;
    border: 1px solid hsla(0, 0%, 100%, .1);
    padding: .4rem .85rem;
    font-size: .8rem;
    color: hsla(0, 0%, 100%, .85);
    background-color: hsla(0, 0%, 100%, .06);
    white-space: nowrap
}

.game-grid {
    margin-top: 1rem;
    display: grid;
    gap: .75rem;
    grid-template-columns:repeat(2, 1fr)
}

@media (min-width: 640px) {
    .game-grid {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (min-width: 1024px) {
    .game-grid {
        grid-template-columns:repeat(5, 1fr)
    }
}

@media (min-width: 1280px) {
    .game-grid {
        grid-template-columns:repeat(6, 1fr)
    }
}

.game-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsla(0, 0%, 100%, .1);
    background-color: hsla(0, 0%, 100%, .05);
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: transform 200ms
}

.game-card:hover {
    transform: translateY(-2px)
}

.game-card__art {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #1e293b, #0f172a)
}

.c-footer {
    margin-top: auto;
    padding: 3rem 1rem;
    border-top: 1px solid hsla(0, 0%, 100%, .08);
    background: radial-gradient(circle at top, rgba(217, 70, 239, 0.12), transparent 60%)
}

.c-footer .footer-columns {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))
}

.c-footer .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.c-footer .footer-badges span {
    border-radius: 9999px;
    border: 1px solid hsla(0, 0%, 100%, .12);
    padding: .35rem .85rem;
    background-color: hsla(0, 0%, 100%, .06);
    font-size: .75rem
}

.c-footer .footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
    color: hsla(0, 0%, 100%, .6)
}

.c-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none
}

.c-drawer.open {
    display: block
}

.c-drawer .drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .8);
    backdrop-filter: blur(4px)
}

.c-drawer .drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 90vw);
    background-color: rgba(10, 10, 10, .95);
    border-left: 1px solid hsla(0, 0%, 100%, .1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem
}

.c-drawer .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem
}

.c-drawer .drawer-close {
    border: none;
    background: rgba(0, 0, 0, 0);
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer
}

.c-drawer .drawer-nav {
    display: grid;
    gap: .75rem
}

.c-drawer .drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-radius: .9rem;
    border: 1px solid hsla(0, 0%, 100%, .08);
    background-color: hsla(0, 0%, 100%, .05);
    color: inherit;
    text-decoration: none;
    font-weight: 600
}

.c-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 70
}

.c-modal.open {
    display: flex
}

.c-modal .modal-dialog {
    width: min(440px, 100%);
    border-radius: 1.25rem;
    border: 1px solid hsla(0, 0%, 100%, .08);
    background-color: rgba(12, 10, 16, .92);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column
}

.c-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0
}

.c-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 700
}

.c-modal .modal-close {
    border: none;
    background: rgba(0, 0, 0, 0);
    color: hsla(0, 0%, 100%, .7);
    font-size: 1.25rem;
    cursor: pointer
}

.c-modal .modal-body {
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 1rem
}

.c-modal .input-with-button {
    display: flex;
    align-items: center;
    gap: .5rem
}

.c-modal .input-with-button input {
    flex: 1;
    border-radius: .9rem;
    border: 1px solid hsla(0, 0%, 100%, .12);
    background-color: hsla(0, 0%, 100%, .05);
    color: inherit;
    padding: .6rem .9rem
}

.c-modal .modal-note {
    font-size: .8rem;
    color: hsla(0, 0%, 100%, .6)
}

.c-modal .modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 1.5rem 1.5rem
}

.cookie-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 100vw - 2rem);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid hsla(0, 0%, 100%, .09);
    background-color: rgba(10, 10, 10, .9);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    gap: 1rem;
    z-index: 80
}

.cookie-bar.show {
    display: flex
}

.cookie-bar__text {
    flex: 1;
    font-size: .85rem;
    color: hsla(0, 0%, 100%, .75)
}

.cookie-bar__actions {
    display: flex;
    align-items: center;
    gap: .5rem
}

.c-footer {
    margin-top: auto;
    padding: 3rem 1rem;
    border-top: 1px solid hsla(0, 0%, 100%, .08);
    background: radial-gradient(circle at top, rgba(217, 70, 239, 0.12), transparent 60%)
}

.c-footer .footer-columns {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))
}

.c-footer .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.c-footer .footer-badges span {
    border-radius: 9999px;
    border: 1px solid hsla(0, 0%, 100%, .12);
    padding: .35rem .85rem;
    background-color: hsla(0, 0%, 100%, .06);
    font-size: .75rem
}

.c-footer .footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
    color: hsla(0, 0%, 100%, .6)
}

.c-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none
}

.c-drawer.open {
    display: block
}

.c-drawer .drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .8);
    backdrop-filter: blur(4px)
}

.c-drawer .drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 90vw);
    background-color: rgba(10, 10, 10, .95);
    border-left: 1px solid hsla(0, 0%, 100%, .1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem
}

.c-drawer .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem
}

.c-drawer .drawer-close {
    border: none;
    background: rgba(0, 0, 0, 0);
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer
}

.c-drawer .drawer-nav {
    display: grid;
    gap: .75rem
}

.c-drawer .drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-radius: .9rem;
    border: 1px solid hsla(0, 0%, 100%, .08);
    background-color: hsla(0, 0%, 100%, .05);
    color: inherit;
    text-decoration: none;
    font-weight: 600
}

.c-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 70
}

.c-modal.open {
    display: flex
}

.c-modal .modal-dialog {
    width: min(440px, 100%);
    border-radius: 1.25rem;
    border: 1px solid hsla(0, 0%, 100%, .08);
    background-color: rgba(12, 10, 16, .92);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column
}

.c-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0
}

.c-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 700
}

.c-modal .modal-close {
    border: none;
    background: rgba(0, 0, 0, 0);
    color: hsla(0, 0%, 100%, .7);
    font-size: 1.25rem;
    cursor: pointer
}

.c-modal .modal-body {
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 1rem
}

.c-modal .input-with-button {
    display: flex;
    align-items: center;
    gap: .5rem
}

.c-modal .input-with-button input {
    flex: 1;
    border-radius: .9rem;
    border: 1px solid hsla(0, 0%, 100%, .12);
    background-color: hsla(0, 0%, 100%, .05);
    color: inherit;
    padding: .6rem .9rem
}

.c-modal .modal-note {
    font-size: .8rem;
    color: hsla(0, 0%, 100%, .6)
}

.c-modal .modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 1.5rem 1.5rem
}

.cookie-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 100vw - 2rem);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid hsla(0, 0%, 100%, .09);
    background-color: rgba(10, 10, 10, .9);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    gap: 1rem;
    z-index: 80
}

.cookie-bar.show {
    display: flex
}

.cookie-bar__text {
    flex: 1;
    font-size: .85rem;
    color: hsla(0, 0%, 100%, .75)
}

.cookie-bar__actions {
    display: flex;
    align-items: center;
    gap: .5rem
}
