body{
    position: relative;
    margin: 0;
    background-color: #1a1a2e;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

.no-scroll {
    overflow: hidden;
}

.container{
    z-index: 2;
}

.red-glow{
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 100, 0.5));
    top: 10%;
    left: 15%;
    /* transform: translate(-50%, -50%); */
    filter: blur(120px);
    animation: glowMove 3s ease-in-out infinite;
    z-index: 0;

}

.blue-glow{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 68, 255, 0.5));
    bottom: 5%;
    right: 20%;
    /* transform: translate(-50%, -50%); */
    filter: blur(120px);
    animation: glowMove 2s ease-in-out infinite;
    z-index: 0;

}

@keyframes glowMove{
    0%, 100% {
        opacity: 0.2;
        /* top: 30%; */
    }
    50% {
        opacity: 0.7;
        /* top: 40%; */
    }
}

/* Header */
header{
    background-color: rgb(26 26 46);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
header a{
    text-decoration: none;
    
}
.header{
    display: flex;
    align-items: center;
    height: 64px;
}
.navbar{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.logo-text{
    font-size: 22px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    opacity: 100%;
    transition: 0.3s linear all;
    text-shadow: 0px 0px 10px #873434;
}
.logo-text:hover{
    text-shadow: 0px 0px 10px rgb(255, 51, 102)
}
/* .logo-img{
    
} */
.user-btn{
    display: block;
}
.user-btn-a{
    display: flex;
    height: 36px;
    align-items: center;
    column-gap: 8px;
    color: rgb(248, 249, 250);
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.2);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border-radius: 12px;
    padding: 12px 8px;
    font-size: 14px;
    transition: 0.2s linear all;
}
.user-btn-a:hover{
    border:1px solid oklab(0.656469 0.228589 0.0542164 / 0.4);
    background: oklab(0.656469 0.228589 0.0542164 / 0.1);
}

.login-btn{
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background-color: transparent;
    transition: 0.2s linear all;
    border: 0;
}
.login-btn:hover{
    background-color:oklab(0.656469 0.228589 0.0542164 / 0.1);
    
}
.register-btn{
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    transition: 0.2s linear all;
    opacity: 100%;
}

.logout-btn{
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background: transparent;
    transition: 0.2s linear all;
    border: 0;
    margin-left: 10px;

}
.logout-btn:hover{
    background-color:oklab(0.656469 0.228589 0.0542164 / 0.1);
    
}

.logout-form{
    color: white;
    display: flex;
    align-items: center;
}

.register-btn:hover{
    opacity: 80%;
    
}


/* Main welcome */
main{
    background: #1a1a2e;
}

.welcome{
    padding: 64px 16px;
    z-index: 0;
}
.title{
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-size: 72px;
    font-weight: 600;
    text-align: center;
}
.subtitle{
    color: rgb(180, 184, 197);
    font-size: 20px;
    text-align: center;
    margin: 0 112px;
}
/* Main cards */
.welcome-cards{
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 112px;
    z-index: 1;
}
.card{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgb(33 33 54);
    border-radius: 10px;
    transition: 0.2s linear all;
}
.card:hover{
    transform: scale(1.05);
    border-color: rgba(244, 5, 5, 0.559);

}
.card:nth-child(2):hover{
    border-color: oklab(0.605616 0.0845671 -0.201916/0.5);
}
.card-text{
    font-size: 14px;
    color: rgb(180, 184, 197);
}
.card-number{
    background:linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-size: 36px;
}
/* .card-img{
    transition: 0.2s linear all;
}
.card-img:hover{
    transform: scale(1.2);
} */


.flame-container {
  width: fit-content;
  margin: 0 auto;
}

.flame {
  transition: transform 0.3s;
}

.card:hover .flame {
  transform: scale(1.2); 
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.icon-container{
    width: fit-content;
    margin: 0 auto;  
}
.icon{
    transition: transform 0.3s;
}
.card:hover .icon {
  transform: scale(1.2);      
  animation: rotate 1s linear infinite; 
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cup-container{
    width: fit-content;
    margin: 0 auto;  
}
.cup{
    transition: transform 0.3s;
}
.card:hover .cup {
  transform: scale(1.2);      
  animation: bounce 1s infinite; 
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Games */

.games{
    margin-top: 64px;
    width: 100%;
    z-index: 1;
}
.games-title{
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.games-title span{
    font-size: 36px;
    color: transparent;
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;

 
}
.zap-icon{
    margin: 0 10px;
    animation: pulse 1s infinite;
}

/* Game cards */

.games-cards{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:30px;
    margin: 0 48px;
}
.game-card{
    border-radius: 16px;
    border:1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: 0.3s linear all;
    position: relative;
}
.game-card:hover{
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(233, 50, 50, 0.21);
}
.game-card:hover .game-img img{
    transform: scale(1.1);
}
.game-card:hover .game-btn{
    box-shadow: 0 5px 20px rgba(233, 50, 50, 0.21);
}
.game-overlay{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    height: 100%;
    width: 100%;
    z-index: 4;
    background: rgba(0,0,0,0.3);
}
.game-overlay-text{
    font-size: 24px;
    color: white;
    font-weight: 500;
}
.game-img{
    position: relative;
    overflow: hidden;
    opacity: 0.8;
    height: 224px;
    background: linear-gradient(to top, rgb(35, 35, 56) 0%, oklab(0.266539 0.00905494 -0.0378196 / 0.5) 50%, rgba(0, 0, 0, 0) 100%)
}
.game-normal{
    position: absolute;
    display: flex;
    align-items: center;
    right: 10px;
    top: 10px;
    margin-right: 5px;
    padding: 2px 8px;
    background: oklab(0.795 0.0126846 0.183562 / 0.2);
    border: 0.8px solid oklab(0.795 0.0126846 0.183562 / 0.4);
    border-radius: 10px;
    color:oklch(0.852 0.199 91.936);
    backdrop-filter: blur(8px);
}

.game-hard{
    position: absolute;
    display: flex;
    align-items: center;
    right: 10px;
    top: 10px;
    margin-right: 5px;
    padding: 2px 8px;
    background: oklab(0.637 0.214213 0.1014 / 0.2);
    border: 0.8px solid oklab(0.637 0.214213 0.1014 / 0.4);
    border-radius: 10px;
    color:oklch(0.704 0.191 22.216);
    backdrop-filter: blur(8px);
}

.game-easy{
    position: absolute;
    display: flex;
    align-items: center;
    right: 10px;
    top: 10px;
    margin-right: 5px;
    padding: 2px 8px;
    background: oklab(0.723 -0.18885 0.110891 / 0.2);
    border: 0.8px solid oklab(0.723 -0.18885 0.110891 / 0.4);
    border-radius: 10px;
    color:oklch(0.792 0.209 151.711);
    backdrop-filter: blur(8px);
}

.game-img img{
    position: absolute;
    width: 100%;             
    height: 224px;           
    object-fit: cover;       
    object-position: center; 
    transition: 0.3s linear all;
}
.game-award{
    margin-right: 5px;
}
.game-information{
    padding: 40px 24px 0 24px;
}
.game-title{
   color: white;
   font-weight: 600;
}
.game-subtitle{
    color: rgb(180, 184, 197);
}
.game-btn{
    cursor: pointer;
    margin: 30px 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    transition: 0.3s linear all
}

.game-bottom{
    display: flex;
    justify-content: end;
}
.game-bottom a{
    text-decoration: none;
    color: white;
}
.game-btn svg{
    margin-right: 15px;
}
.game-btn span{
    transition: 0.2s linear all;
    opacity: 100%;
}
.game-btn:hover{
    opacity: 80%;   
}

/* Game phrase */

.game-phrase{
    margin-top: 60px;
    padding-bottom: 60px;
    color: white;
    font-size: 20px;
    text-align: center
}

.game-phrase .game-back{
    border-radius: 50px;
    padding: 16px 32px;
    background-image: linear-gradient(to right, oklab(0.656469 0.228589 0.0542164 / 0.2) 0%, oklab(0.605616 0.0845671 -0.201916 / 0.2) 100%);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
}

.game-phrase .game-highlight{
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
}


/* Registration */

.signup{
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.signup-head{
    font-size: 36px;
    text-align: center;
    margin: 10px;
}

.signup-head span{
    font-size: 36px;
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.signup-form{
    border-radius: 16px;
    background: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    backdrop-filter: blur(24px);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    padding: 24px;
    min-width: 448px;
}

.signup-title{
    text-align: center;
}

.signup-title span{
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-size: 26px;
}

.signup-subtitle{
    text-align: center;
    font-size: 16px;
    color: oklab(0.783442 0.000778347 -0.0188738 / 0.8);
    margin: 10px;
}

.signup-input{
    color: white;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.signup-input input{
    margin: 5px 0;
    padding: 4px 12px;
    color: rgb(248, 249, 250);
    background: rgb(45, 45, 66);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    border-radius: 10px;
    height: 36px;
}

.signup-input input:focus{
    border-color: rgb(255, 51, 102);
    outline: oklab(0.656469 0.228589 0.0542164 / 0.5);
    box-shadow: 0 0 10px rgb(255, 51, 102);
}
.signup-input span{
    font-size: 12px;
    color: oklab(0.783442 0.000778347 -0.0188738 / 0.8);
}
.signup-btn{
    padding: 0px 12px;
    margin-top: 15px;
    border: 0;
    background: linear-gradient(to right in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    color: white;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    transition: 0.1s linear all;
}
.signup-google-btn{
    display: block;
    padding: 0px 12px;
    margin-top: 15px;
    border: 0;
    background: white;
    color: black;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    transition: 0.1s linear all;
}
.signup-google-btn:hover{
    opacity: 0.8;
}

.signup-btn:hover{
    opacity: 0.8;
}
.signup-btn svg{
    margin-right: 10px;
}

.signup-bottom{
    color: oklab(0.783442 0.000778347 -0.0188738 / 0.8);
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}
.signup-bottom span{
    color: rgb(255, 51, 102);
    font-size: 16px;
    font-weight: 500;
}
.signup-bottom a{
    text-decoration: none;
    color:rgb(255, 51, 102);
}

.signup-bottom2{
    margin-top: 15px;
    text-align: center;
}
.signup-bottom2 a{
    text-decoration: none;
    font-size: 14px;
    color:oklab(0.783442 0.000778347 -0.0188738 / 0.8);
    transition: 0.2s linear all;
    
}

.signup-bottom2 a:hover{
    color:rgb(255, 51, 102);
}

/* game */

.game-main{
    z-index: 3;
    padding: 48px 16px;
    margin: 0px 20%;
}

.game-back-btn{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 8px 16px;
    transition: 0.2s linear all;
    border: 0;
    padding: 8px 16px;
    border-radius: 10px;
}
.game-back-btn:hover{
    background-color:oklab(0.656469 0.228589 0.0542164 / 0.1);
}
.game-back-btn svg{
    margin-right: 10px;
}

.game-label{
    display: flex;
    /* height: 72px; */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-titles{
    display: flex;
    flex-direction: column;
}

.game-title{
    font-size: 36px;
    color: transparent;
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    margin-bottom: 8PX;
}

.game-subtitle{
    color: rgb(180, 184, 197);
}

.play-again{
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    transition: 0.2s linear all;
    opacity: 100%;
    text-decoration: none;
}

.play-again svg{
    margin-right: 10px;
}

.game-attempts{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 8px;
    color: rgb(180, 184, 197);
    font-size: 14px;
}

.attempt-circles{
    display: flex;
    align-items: center;
}
.attempt-circle{
    background: linear-gradient(to right in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    height: 12px;
    width: 12px;
    margin: 0px 2px;
    border-radius: 50%;
    border: 1px solid rgb(255, 51, 102);
}

.attempts-used{
    padding: 2px 8px;
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.3);
    border-radius: 10px;
}

.game-window{
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    padding: 24px;
    background: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    border-radius: 16px;
    margin-top: 24px;
}

.game-header{
    text-align: center;
    font-size: 16px;
    color: white;
}

.game-photo{
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* height: 484px; */
    border-radius: 16px;
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.2)
}
.game-photo img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* height: 484px; */

}
.next-game{
    position: absolute;
    top: 0%;
    right: 0%;
    height: 100%;
    width: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.next-title{
    font-size: 24px;
    color: white;
    font-weight: 500;

}

.game-select{
    display: flex;
    flex-direction: column;
    color: rgb(180, 184, 197);
    font-size: 14px;
}
.game-brand{
    background: rgb(35, 35, 56);
    width: 100%;
    font-size: 16px;
    border-radius: 16px;
    padding: 12px 16px;
    color: white;
    margin-bottom: 5px;
    border: 2px;
    transition: all 0.3s linear;
}

.game-brand-right{
    border: 2px solid green
}

.game-brand-false{
    border: 2px solid red
}

.game-submit{
    padding: 8px 16px;
    border-radius: 10px;
    color: rgb(248, 249, 250);
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    transition: 0.2s linear all;
    opacity: 100%;
    margin-top: 10px;
    border:0;
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
}
.game-submit.hide{
    opacity: 0.6;
}
.game-submit:hover{
    opacity: 80%; 
}

.game-hints{
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    border-radius: 16px;
    margin-top: 24px;
}

.hint-title{
    font-size: 18px;
    color: white;
    margin-bottom: 24px;
    font-weight: 600;
}
.hint-subtitle{
    font-size: 14px;
    color:rgb(180, 184, 197);
    margin-bottom: 8px;
}

.hint-subtitle svg{
    margin-right: 8px;
}


.result-overlay {
    position: fixed;
    inset: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.3);
    display: flex;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    z-index: 7;
    opacity: 0;
    transition: all 0.3s ease;
}
.result-overlay.show{
    visibility: visible;
    opacity: 1;
}

.result-screen{
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    width: min(448px, 95%);
    background: rgb(35, 35, 56);
    padding: 18px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.2);
    margin: 10px auto;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    margin: 0 10px;
    /* left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); */
}
.result-overlay.show .result-screen{
    transform: translateY(0) scale(1);
}
.result-close{
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 0;
    opacity: 0.8;
    color: rgb(227, 229, 233);
    transition: all 0.3s linear;
}
.result-close:hover{
    opacity: 1;
}
.result-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    background: oklab(0.723 -0.18885 0.110891 / 0.2);
    border-radius: 50%;
    margin-bottom: 6px;
}
.result-title{
    font-size: 30px;
    color: white;
    text-align: center;
    margin-bottom: 8px;
}
.result-subtitle{
    font-size: 16px;
    color: rgb(180, 184, 197);
    text-align: center;
    margin-bottom: 12px;
}
.result-subtitle span{
    color: white;
    font-weight: 400;
}
.result-border{
    background:oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    height: 1px;
    width: 100%;
    margin-bottom: 10px;
}
.result-inscription{
    font-size: 14px;
    font-weight: 600;
    color: rgb(180, 184, 197);
    text-align: center;
}
.result-number{
    font-size: 48px;
    color: transparent;
    background:linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}
.result-attempts{
    font-size: 14px;
    color:rgb(180, 184, 197);
    text-align: center;
    margin-bottom: 10px;
}
.result-cards{
    display: flex;
    justify-content: center;
    column-gap: 8px;
    width: 100%;
    margin-bottom: 14px;
}
.result-card{
    height: 48px;
    width: 48px;
    background: rgb(26, 26, 46);
    border-radius: 4px;
    border: 1.6px solid rgba(255, 255, 255, 0.15);
    opacity: 0.6;
    transform: scale(-0.85);
    transition: 0.5s all linear;
}
.result-model{
    height: 48px;
    width: 48px;
    background: rgb(26, 26, 46);
    border-radius: 4px;
    border: 1.6px solid rgba(255, 255, 255, 0.15);
    opacity: 0.6;
    transform: scale(-0.85);
    transition: 0.5s all linear;
}
.result-model.show{
    opacity: 1;
    transform: scale(1);
}

.result-card.show{
    opacity: 1;
    transform: scale(1);
}

.result-wrong{
    display: flex;
    align-items: center;
    justify-content: center;
    background: oklab(0.306821 0.00908412 -0.0364665 / 0.5);
    height: 100%;
    width: 100%;
}
.result-right{
    display: flex;
    align-items: center;
    justify-content: center;
    background: oklab(0.723 -0.18885 0.110891 / 0.2);
    height: 100%;
    width: 100%;
}
.result-name{
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 8px 24px;
    background: oklab(0.637 0.214213 0.1014 / 0.2);
    border: 0.8px solid oklab(0.637 0.214213 0.1014 / 0.4);
    border-radius: 2.68435e+07px;
    color:oklch(0.704 0.191 22.216);
    backdrop-filter: blur(8px);
}
.result-share{
    background: oklch(0.627 0.194 149.214);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    column-gap: 10px;
    border-radius: 10px;
    opacity: 1;
    width: 100%;
    transition: 0.2 linear all;
    color: white;
    height: 40px;
    padding: 0px 16px;
    margin-bottom: 12px;
}
.result-share:hover{
    opacity: 0.8;
}
.result-share:active{
    transform: scale(0.97);
}

.result-home{
    background: rgb(26, 26, 46);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    border-radius: 10px;
    opacity: 1;
    width: 100%;
    transition: 0.2 linear all;
    color: white;
    height: 40px;
    padding: 0px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.toast-copy{
    position: fixed;
    display: flex;
    align-items: center;
    bottom: 20px;
    right: 20px;
    padding: 10px 30px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    background: rgb(236, 253, 243);
    color: rgb(5, 163, 71);
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 5;
}
.toast-copy svg{
    margin-right: 10px;
}
.toast-copy.show{
    opacity: 1;
    transform: translateY(0px);
}

/* Footer */
footer{
    padding: 32px 16px;
    background: oklab(0.266539 0.00905494 -0.0378196 / 0.8);
    border-top: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
}
.footer-content{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
}
.footer-logo{
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-title{
    color:white;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 16px;
}
.footer-rows{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.footer-link{
    display: flex;
    align-items: center;
    column-gap: 8px;
    color:rgb(180, 184, 197);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s linear;
}
.footer-link:hover{
    color: rgb(255, 51, 102);
}
.footer-line{
    background: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    height: 1px;
    width: 100%;
    margin: 32px 0px 24px 0px;
}
.footer-rights{
    text-align: center;
}
/* About */

.about{
    padding: 64px 16px;
    z-index: 4;
}
.about-content{
    margin: 0 150px;
}
.about-mission{
    padding: 24px;
    margin-top: 44px;
    margin-bottom: 24px;
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.7);
    border-radius: 16px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
}
.mission-title{
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 24px;
}
.mission-title span{
    color: white;
    font-size: 26px;
    font-weight: 600;
}
.mission-subtitle{
    color: rgb(180, 184, 197);
    font-size: 18px;
}
.about-cards{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
}
.about-card{
    padding: 24px;
    border-radius: 16px;
}
.about-card-content{
    display: flex;
    align-items: start;
    column-gap: 16px;
}
.about-card-image{
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.about-card-title{
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
}
.about-card-subtitle{
    font-size: 16px;
    color: rgb(180, 184, 197);
}
.about-card-image-red{
    background: oklab(0.656469 0.228589 0.0542164 / 0.2);
    color: rgb(255, 51, 102);
}
.about-card-image-blue{
    background: oklab(0.605616 0.0845671 -0.201916 / 0.2);
    color: rgb(139, 92, 246);
}
.about-card-red{
    background: linear-gradient(to right bottom, oklab(0.656469 0.228589 0.0542164 / 0.1) 0%, oklab(0.605616 0.0845671 -0.201916 / 0.05) 100%);
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.2);
}
.about-card-blue{
    background: linear-gradient(to right bottom, oklab(0.605616 0.0845671 -0.201916 / 0.1) 0%, oklab(0.656469 0.228589 0.0542164 / 0.05) 100%);
    border: 1px solid oklab(0.605616 0.0845671 -0.201916 / 0.2);
}

.about-conclusion{
    margin-top: 30px;
    padding: 32px 24px 24px 24px;
    background: linear-gradient(to right, oklab(0.656469 0.228589 0.0542164 / 0.2) 0%, oklab(0.605616 0.0845671 -0.201916 / 0.2) 100%);
    border-radius: 16px;
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.3);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
}
.conclusion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.conclusion-number{
    font-size: 32px;
    background: linear-gradient(to right in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.conclusion-text{
    color: rgb(180, 184, 197);
    text-transform: uppercase;
}
.about-text{
    margin-top: 48px;
    text-align: center;
    font-style: italic;
    color: rgb(180, 184, 197);
    font-size: 16px;
}

/* Privacy */

.privacy{
    padding: 64px 16px;
}
.privacy-content{
    position: relative;
    z-index: 5;
    margin: 0 150px;
}
.privacy-logo{
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: oklab(0.656469 0.228589 0.0542164 / 0.2);
    margin: 0 auto;
}

.privacy-block{
    padding: 16px;
    color: rgb(180, 184, 197);
    background: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    border-radius: 16px;
    margin-top: 24px;
}
.privacy-block-red{
    background: linear-gradient(to right, oklab(0.656469 0.228589 0.0542164 / 0.2) 0%, oklab(0.605616 0.0845671 -0.201916 / 0.2) 100%);
}

.privacy-title{
    display: flex;
    align-items: center;
    font-size: 18px;
    column-gap: 10px;
    margin-bottom: 24px;
    color: rgb(248, 249, 250);
    
    font-weight: 600;
}
.privacy-subtitle{
    color: rgb(248, 249, 250);
    font-size: 20px;
    font-weight: 600;
    margin-top: 16px;
}
.privacy-text{
    margin-top: 8px;
    font-size: 16px;
}
.privacy-element{
    display: flex;
    font-size: 16px;
    align-items: flex-start;
    color: rgb(180, 184, 197);
    margin-top: 12px;
}
.privacy-round{
    margin-top: 10px;
    margin-right: 10px;
    padding: 4px;
    border-radius: 50%;
    background: rgb(255, 51, 102);
}
.privacy-round-red{
    background: rgb(255, 51, 102);
}
.privacy-round-blue{
    background: rgb(139, 92, 246);
}
.privacy-email{
    color: white;
    font-weight: 600;
}

/* Contact */
.contact{
    padding: 64px 16px;
}
.contact-content{
    margin: 0 150px;
}
.contact-info{
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    row-gap: 15px;
    margin-bottom: 30px;
}
.info-photo{
    height: 72px;
    width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}
.info-title{
    font-size: 24px;
    font-weight: 600;
    color: white;
}
.info-email{
    color: rgb(255, 51, 102);
    font-size: 24px;
    text-align: center;
}
.info-subtitle{
    color:rgb(180, 184, 197);
    font-size: 16px;
    text-align: center;
}

/* Burger menu */

.off-screen-menu {
    background-color:  rgb(26 26 46);
    height: 100vh;
    width: 100%;
    max-width: 320px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 76px 20px;
    font-size: 18px;
    transition: .3s ease;
    z-index: 5;
}
.off-screen-overlay{
    height: 100vh;
    width: 100vw;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: -100vh;
    transition: .3s ease;
    z-index: 6;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.3);

}
.off-screen-menu.active {
    right: 0;
}
.off-screen-overlay.active {
    right: 0;
}


/* nav */
.nav {
    padding: 10px;
    display: none;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 7;
}
/* .nav.active {
    border-radius: 50%;
    background-color: rgb(42, 42, 55);
} */

.ham-menu {
    height: 30px;
    width: 30px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-item{
    color: White;
    font-size: 32px;
}

.menu-link{
    display: inline-flex;
    background: rgb(26, 26, 46);
    border-radius: 16px;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    width: 100%;
}
.login{
    border: 1px solid oklab(0.656469 0.228589 0.0542164 / 0.2);
    background: rgb(26, 26, 46);
}
.register{
    background: linear-gradient(to right in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
}
.menu-photo{
    display: flex;
    align-items: center;
    justify-content: center;
    background:linear-gradient(to right bottom in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);;
    border-radius: 50%;
    margin: 0 auto;
    height: 40px;
    width: 40px;
    overflow: hidden;
}
.menu-photo img{
    height: 40px;
    width: 40px;
}
.menu-username{
    color: white;
    font-size: 16px;
    text-align: center;
}
.menu-line{
    background: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    height: 1px;
    width: 100%;
    margin: 10px 0 0 0;
}
.menu-title{
    font-weight: 600;
}
.menu-item{
    display: inline-flex;
    align-items: center;
    color: rgb(180, 184, 197);
    font-size: 14px;
}
.menu-item svg{
    margin-right: 8px;
}

.profile{
    padding: 40px 16px;
    z-index: 5;
}
.profile-content{
    margin: 0 200px;
    z-index: 5;
    position: relative;
}
.profile-block{
    position: relative;
    padding: 24px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    justify-content: space-between;
    align-items: center;
    z-index: 5;

}
.profile-user{
    display: flex;
    color: white;
    column-gap: 16px;
}
.profile-image{
    background: linear-gradient(to right bottom in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-image img{
    width: 64px;
    height: 64px;
}
.profile-name{
    font-weight: 700;
    font-size: 24px;
}
.profile-email{
    font-size: 14px;
}
.profile-logout-btn{
    display: flex;
    height: 32px;
    align-items: center;
    border-radius: 10px;
    font-size: 14px;
    padding: 0px 10px;
    column-gap: 6px;
    color:rgb(239, 68, 68);
    border: 1px solid rgb(239, 68, 68);
    background: rgb(26, 26, 46);
    border-color: oklab(0.636841 0.187884 0.0889429 / 0.3);
    transition: 0.2s linear all;
}
.profile-logout-btn:hover{
    border:1px solid oklab(0.656469 0.228589 0.0542164 / 0.4);
    background: oklab(0.656469 0.228589 0.0542164 / 0.1);
}
.profile-stats{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 28px;
}
.profile-card{
    padding: 20px 20px 20px 24px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.profile-icon{
    height: 36px;
    width: 36px;
    background: oklab(0.656469 0.228589 0.0542164 / 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 10px;
}
.profile-red{
    background: oklab(0.656469 0.228589 0.0542164 / 0.15);
}
.profile-yellow{
    background: oklab(0.795 0.0126846 0.183562 / 0.2);
}
.profile-blue{
    background: oklab(0.605616 0.0845671 -0.201916 / 0.2);
}
.profile-orange{
    background: oklab(0.705 0.143615 0.157301 / 0.2);
}
.profile-result{
    color: rgb(248, 249, 250);
    font-weight: 700;
    font-size: 24px;
}
.profile-label{
    color: rgb(180, 184, 197);
    font-size: 14px;
}
.profile-graph{
    padding: 24px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border-radius: 12px;
    margin-top: 28px;
}
.graph-label{
    display: flex;
    font-weight: 600;
    align-items: center;
    column-gap: 8px;
    color: rgb(248, 249, 250);
}
.profile-grid{
    display: grid;
    column-gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.graph-stats{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-top: 24px;
    background: oklab(0.228435 0.00861045 -0.037449 / 0.4);
    border-radius: 12px;
}
.graph-result{
    font-size: 20px;
    font-weight: 700;
    color: rgb(248, 249, 250);
}
.graph-description{
    font-size: 12px;
    color: rgb(180, 184, 197);
}
.profile-distribution{
    margin-top: 20px;
}
.distribution-label{
    display: flex;
    align-items: center;
    column-gap: 6px;
    color: rgb(180, 184, 197);
    font-size: 12px;
    margin-bottom: 12px;
}
.distribution-graph{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    
}
.distribution-attempts{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    
}
.distribution-column{
    position: relative;
    padding: 10px 30% 0 30%;
    height: 140px;
    display: flex;
    align-items: end;
    transition: 0.1s linear all;
}
.distribution-column:hover{
    background: rgba(192, 193, 199, 0.071);
}
.distribution-block{
    height: 2%;
    width: 100%;
    background: rgb(255, 51, 102);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.distribution-attempt{
    color: rgb(248, 249, 250);
    font-size: 11px;
    margin: auto;
}
.distribution-result{
    position: absolute;
    top:5%;
    right: -5%;
    display: none;
    height: 50px;
    width: 50px;
    font-size: 12px;
    color: white;
    border-radius: 12px;
    padding: 5px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    transition: 0.2s linear all;
}
.distribution-column:hover .distribution-result{
    display: block;
    
}
.socialaccount{
    margin-top: 20px;
}
.socialaccount-content{
    margin: 0 200px;
    height: 50vh;
    display: flex;
    align-items: center;
    
}
.socialaccount-form{
    width: 100%;
    position: relative;
    padding: 24px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    background-color: oklab(0.266539 0.00905494 -0.0378196 / 0.5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
}

.socialaccount-label{
    font-size: 30px;
    background: linear-gradient(to right, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    background-clip: text;
    color: transparent;
    font-weight: 500;
}
.socialaccount-input{
    margin: 10px 0;
    padding: 4px 12px;
    color: rgb(248, 249, 250);
    background: rgb(45, 45, 66);
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    border-radius: 10px;
    height: 36px;
}
.socialaccount-input:focus{
    border-color: rgb(255, 51, 102);
    outline: oklab(0.656469 0.228589 0.0542164 / 0.5);
    box-shadow: 0 0 10px rgb(255, 51, 102);
}
.socialaccount-btn{
    padding: 0px 12px;
    border: 0;
    background: linear-gradient(to right in oklab, rgb(255, 51, 102) 0%, rgb(139, 92, 246) 100%);
    color: white;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    transition: 0.1s linear all;
}
.socialaccount-btn:hover{
    opacity: 0.8;
}
.socialaccount-error{
    color: rgb(255, 51, 102);
    font-size: 16px;
    font-weight: 500;
}
.socialaccount-error ul{
    list-style: none;
    padding-left: 0;
}
.game-select{
    background: rgb(35, 35, 56);
    font-size: 16px;
    border-radius: 16px;
    padding: 12px 16px;
    color: white;
    margin-bottom: 5px;
    border: 2px;
    transition: all 0.3s linear;
    margin-top: 28px;
    border: 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
}
@media (min-width: 1800px) {
    .container {
        max-width: 1500px;
    }
}
@media(max-width:1400px){
    .welcome-cards{
        margin:0;
    }
    .games-cards{
        margin: 0 0px;
    }
    .subtitle{
        margin: 0 0;
    }
    .about-content{
        margin: 0 0;
    }
    .privacy-content{
        margin: 0 0;
    }
    .about-conclusion{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .about-cards{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .contact-content{
        margin: 0 0;
    }
    .profile-content{
        margin: 0 0;
    }
    .socialaccount-content{
    margin: 0 0;
    }
}
@media(max-width:1200px){
    .game-main{
        z-index: 3;
        padding: 48px 16px;
        margin: 0px 15%;
    }
}
@media(max-width:768px){
    .welcome-cards{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin: 0 10px;
    }
    .games-cards{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin: 0 10px;
    }
    .game-main{
        margin: 0px 0px;
    }
    .profile-stats{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* Result screen */

    
}


@media(max-width:576px){
    .signup-form{
        min-width: 0px;
    }
    .red-glow{
        width: 150px;
        height: 150px;
    }
    .game-back{
        font-size: 15px;
    }
    .games-title span {
        font-size: 28px;
    }
    .title{
        font-size: 55px;
    }
    .subtitle{
        font-size: 18px;
    }
    .game-title {
        font-size: 28px;
    }
    .footer-content{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 32px;
    }
    .info-email{
        font-size: 18px;
    }
    .login-btn{
        font-size: 14px;
        padding: 8px 10px;
    }
    .register-btn{
        font-size: 14px;
        padding: 8px 10px;
    }
    .next-title {
        font-size: 16px;
    }
    .result-card{
        height: 42px;
        width: 42px;
    }
    .result-model{
        height: 42px;
        width: 42px;
    }
    .nav {
        display: block;
    }
    .user-btn{
        display: none;
    }
    .off-screen-overlay{
        visibility: visible;
    }
    .signup-form{
        width: 100%;
    }
    .game-photo img {
        aspect-ratio: 16 / 10;
    }
    .game-photo{
        aspect-ratio: 16 / 10;
    }
    .game-window {
        padding: 12px;
    }
    .distribution-column{
        padding: 10px 25% 0 25%;
    }
}

