* {
    transition: 0.3s all;
    user-select: none !important;
    outline: none !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #180626;
    height: 90vh;
}

.dashboard {
    width: 100%;
    padding: 50px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.divider {
    position: absolute;
    width: 100%;
    height: 2.5px;
    background: #6d3cc3;
    top: 74px;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0px 4px 9px #4f5ad4;
    padding: 0 10px;
}

.dashboard p {
    color: #8c56ea;
    display: inline-flex;
    background: #180626;
    padding: 10px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    border-width: 7px;
    border-style: double;
    border-color: #6d3cc3;
    z-index: 2;
    position: relative;
}

.dashboard p.active {
    box-shadow: 0 0 14px #8d27b7;
    background: #c416e6;
    color: white;
}

.board {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    justify-content: center;
    margin: 40px auto;
    z-index: 2;
    position: relative;
}

.cell {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 66px;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    box-shadow: 0px 0px 23px #7B1DA0;
    background: #b770db;
    border-radius: 10px;
    color: #6b0b8d !important;
    text-shadow: 0 3px 7px #f4f7ff;
    font-weight: 900;
}

.cell.taken {
    cursor: not-allowed;
    background: #9d53c2;
}

button {
    cursor: pointer;
    background: #4a0c98;
    border: 2px solid #ffffff73;
    border-radius: 60px;
    padding: 16px 40px 20px 40px;
    color: #e8e6ed;
    font-size: 20px;
    box-shadow: 0 0 20px #502f89;
    border: 10px ridge #6d3cc3;
    font-weight: 900;
    font-style: italic;
}

button:hover {
    background: #3f107c;
}


.anim {
    position: absolute;
    background: white;
    border-radius: 30px;
    width: 31px;
    height: 24px;
    top: -10px;
    right: 15px;
    z-index: 1;
    -webkit-animation: cat 10s linear infinite;
    -moz-animation: cat 10s linear infinite;
    animation: cat 10s linear infinite;
    margin-top: 10px;
}

.anim:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-right-width: 14px;
    border-left-width: 6px;
    border-bottom: 15px solid #ffffff;
    left: -4px;
    top: -7px;
    transform: rotate(333deg);
}

.anim:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-right-width: 14px;
    border-left-width: 6px;
    border-bottom: 15px solid #ffffff;
    left: 15px;
    top: -7px;
    transform: rotate(26deg) scaleX(-1);
}

.anim-eyes-1 {
    width: 10px;
    height: 10px;
    background: black;
    z-index: 2;
    position: relative;
    transform: rotate(45deg);
    top: 8px;
    left: 4px;
}

.anim-eyes-2 {
    width: 10px;
    height: 10px;
    background: black;
    z-index: 2;
    position: relative;
    transform: rotate(45deg);
    top: -2px;
    left: 17px;
}

@keyframes cat {
    0% { top: 20px; right: 20px; }
    20% { top: -7px; }
    25% { top: -8px; }
    30% { top: -7px; }
    35% { top: -9px; }
    58% { top: -9px; right: 60px; }
    60% { top: -9px; right: 60px; }
    100% { top: 50px; right: 60px; }
}

footer {
    position: fixed;
    width: 100%;
    bottom: 50px;
}

.round, .games{
    position: relative;
}

.round {
    max-width: 220px;
    margin: 0 auto 30px auto;
    display: inline-block;
    width: 100%;
    height: 55px;
}

.round:before {
    border: 1px solid;
    -webkit-transform: perspective(200px) rotateX(32deg);
    -moz-transform: perspective(200px) rotateX(32deg); 
    -ms-transform: perspective(200px) rotateX(32deg);  
    transform: perspective(200px) rotateX(32deg);
    transform-origin: 50% 100%;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    position: absolute;
    content: '';
    border-color: #2b1743;
    box-shadow: inset 10px 10px 5px #0d061696;
}

.round > div {
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    -webkit-transform: perspective(200px) rotateX(32deg);
    -moz-transform: perspective(200px) rotateX(32deg); 
    -ms-transform: perspective(200px) rotateX(32deg);  
    transform: perspective(200px) rotateX(32deg);
    transform: perspective(200px) rotateX(32deg);
    margin: 0 auto;
    color: white;
    padding: 22px 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    gap: 20px;
}

.round > div > div p:first-child {
    color: #645291;
}

.games, .round, .round > div > div {
    display: flex;
}

.round > div > p {
    color: #bf00fe;
    text-transform: uppercase;
    text-shadow: 0px 6px 3px #850994;
    margin-top: -2px;
    -webkit-animation: vs 4s linear infinite;
    -moz-animation: vs 4s linear infinite;
    animation: vs 4s linear infinite;
}

@keyframes vs {
    50% { text-shadow: 0px 6px 3px #850994a3; }
}

.games {
    background: #210840;
    height: 20px;
    justify-content: space-around;
    padding: 0 10px;
}

.games .game {
    width: 34px;
    height: 26px;
    background: #15051d;
    border-radius: 40px;
    border-width: 1px;
    border-color: #4a41c2;
    border-style: dashed;
    margin-top: -8px;
    position: relative;
    opacity: 0.4;
    text-align: center;
    padding: 8px 0 0 0;
    color: #6e70b3;
    font-weight: 900;
}

.games .game:before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    color: white;
    font-weight: 900;
    margin: 0;
    padding: 7px 0px;
    left: 0;
}

.games .game.active {
    opacity: 1;
    border-color: #8c5ae5;
}

.game.played {
    opacity: 1;
}

.game.active:after {
    content: "";
    position: absolute;
    width: 44px;
    height: 44px;
    left: -5px;
    top: -5px;
    background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2243%22%20height%3D%2242%22%20viewBox%3D%220%200%2043%2042%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2221%22%20cy%3D%2221%22%20r%3D%2220%22%20fill%3D%22%2315051d%22%20fill-opacity%3D%220.37%22%20stroke%3D%22%238d27b7%22%20stroke-width%3D%222%22%20stroke-dasharray%3D%2216%2016%22%3E%3C%2Fcircle%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-animation: play 4s linear infinite;
    -moz-animation: play 4s linear infinite;
    animation: play 4s linear infinite;
}

@keyframes play {
    100% {
        -webkit-transform: rotate(1turn);
        -moz-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

