@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Mitr", sans-serif;
    overflow: hidden;
    height: 100vh;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #422d00;
}

header {
    display: none;
    position: fixed;
    top: 30px;
    right: 10px;
    z-index: 9;
}

#splash-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #e8a87c, #d49c76, #c28f6c);
    position: relative;
    z-index: 100;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 9999999;
}

#splash-container:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

#logo-container {
    opacity: 0;
    transform: scale(0.5);
    transition: all 1.5s ease-in-out;
    text-align: center;
}

#logo-container > img {
    width: 200px;
}

#logo {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

#logo-text {
    font-size: 48px;
    font-weight: bold;
    color: gold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 30px;
}

#loading-container {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    position: absolute;
    bottom: 0;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    z-index: 9;
}

#loading-container > img {
    width: 80px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #16213e;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to bottom, #f98063 0%, #f3b26a 100%);
    transition: width 0.5s ease-out;
    border-radius: 2px;
}

.loading-text {
    font-size: 25px;
    color: #E7E1D0;
    font-weight: 500;
    margin-bottom: 10px;
}

.percentage {
    font-size: 20px;
    color: #E7E1D0;
    margin-bottom: 5px;
}

#start-container {
    height: 100%;
    display: flex;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 20px;
    color: #422d00;
    background: linear-gradient(
      to bottom,
      #e8a87c 0%,
      #d49c76 50%,
      #c28f6c 100%
    );
    box-shadow:
      inset 0 2px 5px rgba(255, 255, 255, 0.15),
      0 4px 8px rgba(0, 0, 0, 0.35);
    border: 2px solid #815025;
    letter-spacing: 1px;
    text-decoration: none;
    transition: .3s ease-in-out;
  }

.button:hover {
    transform: scale(1.1);
}
  
.start-buton-wrapper {display: flex;align-items: center;justify-content: center;}


*{
  margin: 0;
  padding: 0;
  position: relative;
  font-size: 1.3vw;
  font-weight: 500;
  font-family: "Mitr", sans-serif;
}
#background{
  width: 100%;
  height: 100%;
  margin: 0;
}

#years{
  position: absolute;
  top: 5vw;
  left: 1vw;
}
.big{
  font-size: 2vw;
}
#name{
  position: absolute;
  bottom: 2vw;
  left: 1vw;
}
#year{
  position: absolute;
  top: 5vw;
  right: 1vw;
}
#achievements{
  position: absolute;
  right: 1vw;
  bottom: 2vw;
}
#achievements ul{
  list-style: circle;
}
#main{
  width: 35%;
  background: #EBE5D1;
  height: 90%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  padding-top: 1rem;
  z-index: 3;
  border-radius: 15px;
}
#top{
  width: 100%;
  height: 13%;
  background: #EBE5D1;
  box-sizing: border-box;
  border-radius: 15px;
}
#topicons{
  height: 50%;
  width: 85%;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}
.topicon{
  width: 25%;
  height: 100%;
  padding: 0.6rem;
  background-color: #DED4B8;
  border-radius: 15px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.topicon svg{
  height: 100%;
}
.topicon svg path{
  stroke: none;
  fill: rgb(247,244,191);
}
#bottom{
  width: 100%;
  height: 11%;
  background: #f1f1bd;
  position: absolute;
  bottom: 0;
}
#bottom>div{
  width: 50%;
  height: 35%;
}
#bottom>div>span{
  background: rgb(48,33,20);
  height: 100%;
  width: 14.28%;
}
#bottom>div>span:nth-of-type(even){
  background: none;
}
#card{
  width: 75%;
  height: 45%;
  background-color: #EBE5D1;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
}
#card>div{
  width: 101%;
  height: 100%;
  background-color: blue;
  transform-origin: 50% 50%;
  background-color: rgb(47,46,41);
  border-bottom: none;
  overflow: hidden;
  position: absolute;
  z-index: 9999999;
}
#card>div svg{
  height: 100%;
  width: 100%;
}
.option{
    position: absolute;
    left: 0%;
    width: 104%;
    background-color: rgba(0,0,0,0.5) !important;
    display: flex;
    align-items: end;
    box-sizing: border-box;
    z-index: 1;
    transition-duration: .3s;
    opacity: 0;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    transform: unset !important;
    padding: 1rem;
    height: auto !important;
    top: 0 !important;
}
.left.option{
  justify-content: right;
  transform: rotate(9deg);
  right: -1%;
  left: unset;
}
.right.option{
  justify-content: left;
  transform: rotate(-9deg);
  left: -1%;
}
#cardname{
    position: absolute;
    bottom: 20px;
    font-weight: 400;
    font-size: 16px;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
    background-color: #ff755766;
    border-top: 3px solid #ff7557;
    color: #493400;
}

#cardname::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ff7557;
    border-bottom-color: var(--before-border-color);
}

#msg{
  width: 100%;
  height: 25%;
  padding: 0 5%;
  box-sizing: border-box;
  font-size: clamp(11px, calc(8px + 0.80vw), 15px);
  font-weight: 400;
  color: #493400;
}
.textfix{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(8,11,2);
}
.bgsvg{
  position: absolute;
  height: 100%;
  width: 100%;
}

.control-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent !important;
    border: none !important;
}

.control-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.control-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.popup .control-button > img {
    width: 15px;
    height: 15px;
}

/* Dil menÃ¼sÃ¼ iÃ§in stil */
.language-dropdown {
    position: relative;
}

.language-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: linear-gradient(to bottom, #e8a87c, #d49c76, #c28f6c);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 120px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.language-menu.show {
    display: flex;
}

.language-item {
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.language-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-item.active {
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.15);
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-container.active {
    transform: translate(-50%,-50%) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 999;
}

.popup {
    position: relative;
    width: 450px;
    height: 270px;
    background-color: #ebe4d4;
    border: 2px solid #433b2b;
    border-radius: 10px;
    z-index: 99;
}

.inner-border {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    border-radius: 10px;
    border: 1px dashed rgba(0,0,0,0.3);
    pointer-events: none;
}

.header {
    width: 100%;
    height: 50px;
    background-color: #e9f37a;
    border-bottom: 2px solid #433b2b;
    border-radius: 2px 2px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.header-shine {
    position: absolute;
    top: 4px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 7px);
    border-radius: 2px;
    border: 1px solid rgba(211, 154, 97, 0.5);
    pointer-events: none;
}

.brick {
    position: absolute;
    width: 28px;
    height: 12px;
    background-color: rgba(195, 129, 82, 0.7);
}

/* Ä°lk sÄ±ra tuÄŸlalar */
.brick-row-1:nth-child(1) { left: 5px; top: 8px; }
.brick-row-1:nth-child(2) { left: 40px; top: 8px; }
.brick-row-1:nth-child(3) { left: 75px; top: 8px; }
.brick-row-1:nth-child(4) { left: 110px; top: 8px; }
.brick-row-1:nth-child(5) { left: 145px; top: 8px; }
.brick-row-1:nth-child(6) { left: 180px; top: 8px; }
.brick-row-1:nth-child(7) { left: 215px; top: 8px; }

/* Ä°kinci sÄ±ra tuÄŸlalar */
.brick-row-2:nth-child(1) { left: 23px; top: 25px; }
.brick-row-2:nth-child(2) { left: 58px; top: 25px; }
.brick-row-2:nth-child(3) { left: 93px; top: 25px; }
.brick-row-2:nth-child(4) { left: 128px; top: 25px; }
.brick-row-2:nth-child(5) { left: 163px; top: 25px; }
.brick-row-2:nth-child(6) { left: 198px; top: 25px; }

.header-title {
    color: #422d00;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    z-index: 2;
}

.content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 50px);
    justify-content: center;
}

.input-container {
    position: relative;
    width: 300px;
    height: 45px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-box {
    width: 100%;
    height: 100%;
    background-color: #f8f5e6;
    border: 2px solid #635c4a;
    border-radius: 3px;
    font-size: 14px;
    color: #433b2b;
    padding: 0 10px;
    outline: 0;
    font-weight: 300;
}

.input-shine {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 2px;
    border: 1px solid #c7c0a1;
    pointer-events: none;
    display: none;
}

.input-box::placeholder {
    color: #817b66;
    font-weight: 300;
}

.button-container {
    margin-top: 25px;
}

.submit-button {
    position: relative;
    width: 130px;
    height: 40px;
    background-color: #b5bb4f;
    border: 2px solid #433b2b;
    border-radius: 3px;
    font-size: 18px;
    color: #433b2b;
    cursor: pointer;
    letter-spacing: 1px;
}

.button-shine {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 2px;
    border: 1px solid #d4dd76;
    pointer-events: none;
}

.submit-button:hover {
    background-color: #c8cf5e;
}

.plant {
    position: absolute;
    top: -35px;
    left: 30px;
    z-index: 1;
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #433b2b;
    opacity: 0.05;
    border-radius: 5px;
    pointer-events: none;
}

.popup-container .button-container > button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 0;
    width: 140px;
    height: 55px;
}

.popup-container-before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}


.popup-container-before.active {
    opacity: 1;
    visibility: visible;
}

.loading-container-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-bottom: 2rem;
    z-index: 9;
}

.loading-logo {
    position: fixed;
    top: 30px;
    left: 60px;
    width: 280px;
}

.loading-logo > img {
    width: 100%;
}

.hint-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hint-wrapper > span {
    font-weight: 300;
    font-size: 20px;
    display: flex;
    color: #E7E1D0;
}

.hint-wrapper > strong {
    font-weight: 400;
    color: #E7E1D0;
    font-size: 16px;
}

.load-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.35) 0%, 
    rgba(0, 0, 0, 0.1) 30%, 
    rgba(0, 0, 0, 0) 100%);
}

/* Yeni eklenen CSS */
.setting-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    gap: 1rem;
}

.setting-label {
    width: 50px;
    color: #422d00;
    font-weight: 500;
    font-size: 18px;
    text-align: left;
    margin-right: 10px;
}

.volume-control {
    display: flex;
    align-items: center;
    flex: 1;
}

.volume-slider {
    margin: 0 10px;
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #acac00;
    border: 1px solid #422d00;
    border-radius: 3px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #acac00;
    border: 2px solid #acac00;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #acac00;
    border: 2px solid #acac00;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-value {
    width: 50px;
    font-size: 14px;
    color: #422d00;
    text-align: center;
    font-weight: 400;
}

.control-button {
    width: 45px;
    height: 45px;
}

.popup .control-button {
    width: 35px;
    height: 35px;
}

.language-selector {
    flex: 1;
    display: flex;
    align-items: center;
}

.language-dropdown-select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 14px;
    font-weight: 400;
    font-size: 16px;
    color: #422d00;
    background: transparent;
    border: 1px solid #422d00;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    cursor: pointer;
    outline: 0 !important;
    margin: 0 10px;
    text-transform: uppercase;
}

.button-row {
    margin-top: 20px;
    text-align: center;
}


.popup-container.settings-popup .popup {
    width: 550px;
    height: 330px; /* Daha fazla alan iÃ§in yÃ¼ksekliÄŸi artÄ±rÄ±ldÄ± */
}

/* Adjust content padding to fit everything */
.content {
    padding: 0 2rem;
}

.start-container-top {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5rem;
}

.start-logo {
    width: 600px;
}

.start-logo > img {
    width: 100%;
}

.start-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 70px;
    transition: .3s ease-in-out;
    width: 150px;
}

.start-button > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.start-button > span {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-weight: 500;
    font-size: 25px;
    color: #422d00;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.start-button:hover {
    transform: scale(1.05);
}

.control-button-image {
    display: flex;
    width: 100%;
    height: 100%;
}

.control-button-image > img {
    width: 100%;
    height: 100%;
    position: relative;
}

.controls-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0rem;
}

.remove-popup {
    position: absolute;
    right: 10px;
    width: 30px;
    cursor: pointer;
}

.background-button {
    position: absolute;
    inset: 0;
}

.background-button > img {
    width: 100%;
    height: 100%;
}

.popup-remove {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.help-popup .popup-remove {
    position: absolute;
    top: 30px;
    right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9;
}

.popup-remove .remove-btn {
    display: flex;
    width: 100%;
    height: 100%;
}

.popup-remove > img {
    width: 15px;
    position: absolute;
}

.language-select-contain {
    display: flex;
    position: relative;
    width: 50%;
}

.language-select-contain > i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    color: #422d00;
    z-index: -1;
    font-size: 20px;
}

.popup-container.help-popup .popup {
    width: 70%;
    height: 90%;
}

.popup-container.help-popup .popup .content {
    justify-content: flex-start;
}

.help-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 0;
}

.help-wrapper-top > span {
    color: #422d00;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.help-wrapper-top {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.help-wrapper-top > p {
    color: #422d00;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    width: 86%;
}

.first-overlay {
    position: fixed;
    z-index: 9999;
    background-color: rgba(0,0,0,.5);
    inset: 0;
    display: none;
}

.first-overlay.first-start {
    display: flex;
}

#help-button {
    position: relative;
    z-index: 99999;
}

#help-button.first-start::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(    ellipse at center,    rgba(255, 255, 150, 0.8) 0%,    rgba(255, 255, 150, 0.4) 40%,    rgba(255, 255, 150, 0) 70%  );
    border-radius: 5px;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

.click-image {
    position: absolute;
    right: 15px;
    width: 60px;
    top: 60px;
    z-index: 9999;
    display: none;
    transform: rotate(80deg);
}

.click-image.first-start {
    display: flex;
}

.click-image > img {
    width: 100%;
}

.help-wrapper {
    position: relative;
}

.login-button > img {
    width: 100%;
    height: 100%;
}

.login-button > span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    color: #422d00;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
}

.help-front-cover-image {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 45%;
    transform: translateY(-50%);
}

.help-front-cover-image > img {
    width: 65% !important;
}

.help-front-cover-text {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    left: 10px;
    top: 56%;
    transform: translateY(-50%);
}

.help-front-cover-text > span {
    color: #3f2e00;
    font-weight: 400;
    font-size: clamp(16px, calc(2vw), 56px);
}

.book {
    position: relative;
    width: 65vh;
    height: 75vh;
    transition: transform 0.5s;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1500px;

}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;
}

.front {
    z-index: 1;
    backface-visibility: hidden;
}

.back {
    z-index: 0;
}

.front-content,
.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 15px;
    border: 2px solid #422d00;
}

.back-content {
    transform: rotateY(180deg)
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
}

/* Controller Buttons */
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-top: 12vh;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

body button {
    position: relative;
    z-index: 5;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.5s;
}

button:focus {
    outline: none;
}

button i {
    color: #636363;
}

i {
    font-size: 50px;
    color: gray;
}

/* Style book covers here */
#f1, #b4 {
    background-color: #ff7955;
}

/* style content here */
.paper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* Paper stack order */
#p1 {
    z-index: 7;
}

#p2 {
    z-index: 6;
}

#p3 {
    z-index: 5;
}

#p4 {
    z-index: 4;
}

#p5 {
    z-index: 3;
}

#p6 {
    z-index: 2;
}

#p7 {
    z-index: 1;
}

.help-page-wrapper {
    display: flex;
    width: 100%;
    padding: 1.5rem;
}

.first-page-wrapper,
.second-page-wrapper,
.three-page-wrapper,
.four-page-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.first-page-wrapper > span {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: fit-content;
    font-weight: 400;
    font-size: clamp(19px, calc(1vw), 26px);
    color: #3f2e00;
    margin-top: 10px;
}

.first-page-wrapper > span > b {
    font-weight: 600;
    display: flex;
    font-size: clamp(16px, calc(1vw), 26px);
    color: #3f2e00;
    padding: 0 0.2rem;
}

.first-page-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0vw;
}

.first-page-image > img {
    width: 60%;
}

.first-page-content .first-letter {
    font-size: 3.5em;
    font-weight: 400;
    float: left;
    line-height: 0.8;
    margin-right: 0.1em;
    margin-top: -0.1em;
}

.first-page-content > p {
    font-size: 12px;
    font-weight: 400;
    width: 100%;
    margin: 0;
    font-weight: 300;
    font-size: 14px;
}

.first-page-content {
    display: flex;
    width: 100%;
    margin-top: 1.5vw;
    padding: 0 0.8rem;
}

.left-number {
    position: absolute;
    bottom: -2rem;
    left: 0rem;
    display: flex;
}

.right-number {
    position: absolute;
    bottom: -2rem;
    right: 0rem;
    display: flex;
}

.left-number > img,
.right-number > img {display: flex;height: 14px;}

.second-page-image {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: fit-content;
}

.second-page-image > img {
    width: 60%;
}

.card-types-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-types-title > img {
    width: 40px;
}

.card-types-title > span {
    color: #96933d;
    font-size: 20px;
    font-weight: 500;
}

.card-types-wrapper {
    margin-top: 1rem;
}

.card-types-wrapper > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    row-gap: 0.8rem;
}

.card-types-wrapper > ul > li {
    display: flex;
    align-items: center;
    width: calc(50% - (1rem) / 2);
    gap: 0.5rem;
}

.card-types-list-image {
    width: 50px;
}

.card-types-list-text {
    width: calc(100% - 50px);
}

.card-types-list-text > span {
    font-size: 13px;
    font-weight: 400;
    color: #96933d;
    display: flex;
    width: 100%;
}

.card-types-list-text > p {
    margin: 0;
    font-size: 10px;
    font-weight: 300;
    font-weight: 300;
    font-size: 13px;
}

.card-types-list-image > img {
    width: 100% !important;
    height: fit-content !important;
}

.forgot-title {
    display: flex;
    gap: 1rem;
}

.forgot-title-icon > img {
    height: 40px;
}

.forgot-title-text {
    position: relative;
    width: 145px;
}

.forgot-title-text > img {
    width: 100%;
    height: 43px;
}

.forgot-title-text > span {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 1rem;
}

.forgot-list > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forgot-list > ul > li > span {
    display: flex;
    gap: 1rem;
    font-weight: 300;
    font-size: 13px;
    width: 100%;
    justify-content: flex-start;
}

.forgot-list > ul > li > span > img {
    width: 25px;
    min-width: 25px;
}

.forgot-list > ul > li > img {
    width: 35%;
}

.forgot-list > ul > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.forgot-list {
    margin-top: 2rem;
}

.three-page-wrapper .forgot-list > ul > li:first-child > img {
    width: 70%;
}

.forgot-images {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.forgot-images > img {
    width: 40%;
}

.popup-remove.finish {
    position: relative;
    right: 50px !important;
    z-index: 9;
}

#prev-btn > img,
#next-btn > img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#prev-btn,
#next-btn {
    width: 45px;
    height: 45px;
}

#prev-btn > i {
    margin: 0;
    padding: 5px !important;
    margin-left: .2rem;
}

#next-btn > i {
    margin: 0;
    padding: 5px !important;
    margin-right: .2rem;  
}

.carddiv > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-help-wrapper {
    display: none;
}
/* 
.help-popup {
    overflow: hidden;
} */

.swiper {
    width: 430px;
    height: 600px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.topicon > img {
    height: 40px;
}

.card-direction-wrapper {
    position: absolute;
    width: 121% !important;
    background-color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: unset !important;
    left: -10%;
    height: min-content !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.card-direction > img {
    height: 20px;
}

.point-button {
    position: fixed;
    width: 200px;
    top: 10px;
    left: 20px;
}

.point-button > img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

.point-button > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 400;
    font-size: 55px;
    color: #493400;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.background-video > video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Bu en önemli kısım */
    position: absolute;
    top: 0;
    left: 0;
}

.background-video {
    position: fixed;
    inset: 0;
    z-index: -1;
}

#optionup {
    text-align: center;
    justify-content: center;
    top: -18%;
}

.card-direction-wrapper {
    z-index: -1 !important;
}

.settings-popup .content {
    padding: 20px !important;
}

.pause-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease-in-out;
}

.pause-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.pause-contain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pause-contain-button {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pause-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.pause-button > span {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%,-50%);
    font-size: 31px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 1px;
    color: #422d00 !important;
}

.pause-button > img {
    height: 85px;
    width: 280px;
}

.pause-button {
    transform: scale(0.8);
}

.pause-button:nth-child(1) {
    transform: scale(1.1);
    margin-bottom: 1rem;
}

.pause-small-buttons {
    display: flex;
    align-items: center;
    transform: scale(1.1);
}

.continue-button:hover {
    transform: scale(1.2);
}

.new-button:hover {
    transform: scale(0.9);
}

.name-popup .popup {
    height: auto;
    width: 550px;
}

.name-popup #regForm {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: transparent;
}

.name-popup .content {
    padding: 1.5rem;
}

.popup-content-text > span {
    font-size: 18px;
    color: #422d00;
    text-align: center;
    font-weight: 400;
}

.popup-content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
}

.avatar-list {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px dashed rgba(0,0,0,0.3);
    border-left: 1px dashed rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.avatar-list .avatar-content {
    width: 16.66%;
    padding: 0.7rem;
    border-right: 1px dashed rgba(0,0,0,0.3);
    border-bottom: 1px dashed rgba(0,0,0,0.3);
    cursor: pointer;
    transition: .2s ease-in-out;
}

.avatar-list .avatar-content > img {
    width: 100%;
}

.avatar-content.selected {
    background-color: #e9f37a;
    transform: scale(1.15);
    border: none;
    z-index: 9;
}

.avatar-content.selected > img {
    border: 2px solid #422d00;
    border-radius: 50%;
}

.name-popup .input-container {
    width: 100%;
    margin: 1.5rem 0;
    height: 55px;
}

.otp-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.otp-input {
    height: 55px;
    text-align: center;
}

.regFormButton {
    display: flex;
    align-items: center;
    justify-content: center;
}

.regFormButton .button-container {
    margin-top: 5px;
}

.statistics-popup .popup {
    height: auto;
    width: 800px;
}

.statistics-popup .nav {
    flex-wrap: nowrap;
    width: 100%;
    border: none !important;
    background-color: transparent;
    gap: 1rem;
}

.statistics-popup .nav > li {
    width: 100%;
    display: flex;
    border: none !important;
}

.statistics-popup .content {
    padding: 0 1rem;
}

.statistics-popup .nav > li > button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    background-color: transparent !important;
    border: none;
    border-bottom: 2px solid #422d00 !important;
    border-radius: 0 !important;
    font-size: 18px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 400;
    padding-bottom: 1rem;
    position: relative;
    opacity: .3;
}

.statistics-popup .nav > li > button.active {
    opacity: 1;
}

.statistics-popup .nav > li > button.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    border-radius: 2px 2px 0 0;
    width: 60%;
    background-color: #cdcc6a;
}

.statistics-popup .nav > li > button.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    border-radius: 0 0 2px 2px;
    width: 60%;
    background-color: #abab48;
}

.statistics-popup .tab-content {
    width: 100%;
    padding: 1rem 0;
    padding-top: 1.5rem;
}

.statistics-popup .tab-content h1 {
    font-size: 18px;
    color: #422d00 !important;
    text-align: left;
    font-weight: 400;
}

.statistics-popup .tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.statistics-popup .tab-content th {
    padding: 15px 10px;
    border: 1px dashed rgba(0,0,0,0.3);
    font-size: 16px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 400;
}

.statistics-popup .tab-content td {
    padding: 10px;
    border: 1px dashed rgba(0,0,0,0.3);
    font-size: 12px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 300;
}

.rank {
    width: 50px;
}

.score-high {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.icon-purple { background-color: #8B4F9F; }
.icon-blue { background-color: #4A90E2; }
.icon-red { background-color: #E24A4A; }
.icon-green { background-color: #7ED321; }
.icon-cyan { background-color: #50E3C2; }
.icon-orange { background-color: #F5A623; }

.top-points td {
    background-color: #e9f37a;
}

.rank-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 35px;
    height: 35px;
}

.rank-wrapper > img {
    width: 100%;
}

.rank-wrapper > span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 16px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 400;
}

.icons > img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.user-td {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.5rem;
}

.user-td > img {
    width: 45px;
}

.user-td > span {
    font-size: 12px;
    color: #422d00 !important;
    font-weight: 300;
}

.popup-container.statistics-popup.active {
    width: 100%;
}

.statistics-popup .tab-content {
    overflow: auto;
}

.death-screen,
.win-screen {
   position: fixed;
   inset: 0;
   z-index: 9;
   transition: .2s ease-in-out;
   display: flex;
   flex-direction: column;
   justify-content: center;
   opacity: 0;
   visibility: hidden;
}

.death-screen.active,
.win-screen.active {
   opacity: 1;
   visibility: visible;
}

.death-top, .death-bottom,
.win-top, .win-bottom {
   display: flex;
   width: 100%;
   height: 70px;
   min-height: 70px;
   z-index: -1;
}

.death-top > img, .death-bottom > img,
.win-top > img, .win-bottom > img {
   width: 100%;
   height: 100%;
}

.death-content,
.win-content {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 2rem;
}

.death-content-card,
.win-content-card {
   position: relative;
   width: 350px;
   display: flex;
   flex-direction: column-reverse;
}

.death-content-card > img,
.win-content-card > img {
   width: 100%;
}

.death-content-card > span,
.win-content-card > span {
   display: flex;
   font-size: 17px;
   color: #fff !important;
   text-align: center;
   font-weight: 400;
   align-items: center;
   justify-content: center;
   text-align: center;
   width: 100%;
   margin-bottom: 20px;
}

.death-content-button,
.win-content-button {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 4rem;
}

.death-content-button > button,
.win-content-button > button {
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   height: 50px;
   margin: 0;
}

.death-content-button > button > img,
.win-content-button > button > img {
   height: 100%;
   width: 190px;
}

.death-content-button > button > span,
.win-content-button > button > span {
   position: absolute;
   left: 50%;
   top: 45%;
   transform: translate(-50%, -50%);
   font-size: 17px;
   display: flex;
   width: 100%;
   align-items: center;
   justify-content: center;
   font-weight: 400;
   letter-spacing: 1px;
   color: #422d00 !important;
}

.welcome-popup .popup {
    height: auto;
    width: 800px;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    padding-bottom: 0;
}

.welcome-title > span {
    font-size: 25px;
    color: #3f2e00;
    font-weight: 500;
}

.welcome-desc > p {
    font-size: 17px;
    font-weight: 400;
}

.welcome-img > img {
    width: 100%;
}

.welcome-img {
    width: 350px;
    margin-bottom: 1.5rem;
}

.welcome-title {
    margin-bottom: 0.5rem;
}



.badge-list {
    display: flex;
    flex-wrap: wrap;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 25%;
    border-right: 1px dashed rgba(0,0,0,0.3);
    border-bottom: 1px dashed rgba(0,0,0,0.3);
    gap: 0.4rem;
    padding: 0.6rem;
    position: relative;
}

.badge-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.badge-img > img {
    width: 70px;
}

.badge-text {
    font-size: 18px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 400;
}

.badge-desc > p {
    font-size: 11px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 300;
}

.badge-list {
    border-top: 1px dashed rgba(0,0,0,0.3);
    border-left: 1px dashed rgba(0,0,0,0.3);
}

.badge-content::before {
    content: "";
    position: absolute;
    z-index: 9;
    background-color: #ebe4d4bd;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
}

.badge-content.active::before {
    display: none;
}

.social-media-content > a {
    font-size: 14px;
    color: #433b2b;
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-media-content {
    background-color: #f8f5e6;
    border: 2px solid #635c4a;
    border-radius: 3px;
    padding: 0.7rem 1rem;
    width: calc(33.33% - (.5rem * 2) / 3);
    transition: .2s ease-in-out;
}

.social-media-content  > a > i {
    color: #433b2b;
    font-size: 23px;
}

.social-media-list {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,.3);
    padding-bottom: 40px;
}

.social-media-content:hover {
    background-color: #d4d1c3;
}

.death-content-wrap ,
.win-content-wrap {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.end-video-image {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.end-video-image > img {
    width: 95%;
}

.end-video-title > span {
    font-size: 15px;
    color: #422d00 !important;
    text-align: center;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.end-popup.video .popup {
    height: auto;
    width: auto;
}

.end-popup .popup .content {
    padding: 1rem;
}

.end-video-title {
    margin-bottom: 25px;
}

.end-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 70px;
    height: 70px;
}

.end-play-button > img {
    width: 100%;
}

.end-card-overlay {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.end-card-overlay.active {
    opacity: 1;
    visibility: visible;
}

.copy-button > span {
    font-weight: 400;
}

.social-media-content > a > img {
    height: 20px;
}

.tab-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-form-content {
    display: flex;
    width: calc(50% - (1rem) / 2);
}

.tab-form-content .input-container {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    margin: 0.7rem 0;
}

.tab-form-content .input-container > label {
    font-size: 14px;
    font-weight: 400;
    color: #422d00;
    position: absolute;
    top: -25px;
    left: 0;
    z-index: 9;
}

.tab-form-content .input-container > input{
    font-size: 12px;
}

.kvkk-wrapper,
.constent-wrapper {
    position: absolute;
    inset: 0;
    overflow: auto;
    background-color: #ebe4d4;
    z-index: 99;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
}

.kvkk-wrapper::-webkit-scrollbar, 
.constent-wrapper::-webkit-scrollbar {
    width: 8px;
}

.kvkk-wrapper::-webkit-scrollbar-track, 
.constent-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.kvkk-wrapper::-webkit-scrollbar-thumb, 
.constent-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.kvkk-wrapper::-webkit-scrollbar-thumb:hover, 
.constent-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.kvkk-wrapper.active,
.constent-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.kvkk-content > span,
.constent-content > span {
    color: #422d00;
    font-size: 15px;
    font-weight: 300;
    display: flex;
    line-height: 1.6;
    flex-direction: column;
}

input[type="checkbox"] {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.3);
    /* border-radius: 2px; */
    background: none;
    /* background-color: #f0f0f0; */
    cursor: pointer;
    line-height: 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 25px;
    width: 25px;
    -webkit-appearance: none;
    opacity: 0.5;
    color: transparent;
}

input[type="checkbox"]:hover {
    opacity: 1;
}

input[type="checkbox"]:checked {
    background-color: #422d00 !important;
    border: 2px solid #422d00;
    opacity: 1;
}

input[type="checkbox"]:before {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 6px;
    height: 12px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    margin: -1px -1px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

input[type="checkbox"]:checked:before {
    border-color: #fff;
}

.kvkk-input > span {
    font-size: 13px;
    color: #422d00;
    font-weight: 400;
}

.kvkk-input > span > a {
    font-size: 13px;
    color: #422d00;
    font-weight: 500;
}

.kvkk-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.kvkk-content .button-container,
.constent-content .button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.welcome-popup .button-container {
    margin-top: 10px;
    margin-bottom: 20px;
}

.regFormButton.active {
    justify-content: space-around;
}

.badge-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
  
.badge-wrapper {
    position: relative;
    text-align: center;
    animation: scaleIn 0.6s ease-out;
}

.badge-image {
    width: 300px;
    height: 300px;
    z-index: 2;
    position: relative;
    /* animation: rotateOnce 1.2s ease-out; */
}
  
.badge-label {
    background-color: #FCC3D3;
    color: #493400;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 2;
    position: relative;
    font-weight: 300;
    position: absolute;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -75px;
}
  
  /* 🔆 Sabit, gradient ışınlar */
.rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(200, 200, 200, 0.2) 40%,
      rgba(0, 0, 0, 0) 70%
    );
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
  
  /* 🔄 Sadece bir kere dönsün */
@keyframes rotateOnce {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
  
@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.badge-label > strong {
    font-weight: 400;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-label br {
    display: none;
}

.badge-label::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    border-radius: 3px;
    border: 1px dashed rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.freeze-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    /* backdrop-filter: blur(8px) brightness(0.7); */
    z-index: 1000;
    display: none;
    animation: freezeIn 2s ease-in-out;
}

.freeze-overlay.active {
    display: block;
}

/* Buzlanma animasyonu */
@keyframes freezeIn {
    0% {
        background-color: rgba(0, 0, 0, 0);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.6);
    }
}

/* Buz kristalleri efekti */
.ice-crystal {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Çözülme efekti - sadece arkaplan için */
.freeze-overlay.melting {
    animation: meltOut 1.5s ease-in-out forwards;
}

@keyframes meltOut {
    0% {
        backdrop-filter: blur(8px) brightness(0.7);
        background-color: rgba(0, 0, 0, 0.6);
    }
    100% {
        backdrop-filter: blur(0px) brightness(1);
        background-color: rgba(0, 0, 0, 0);
    }
}

.freeze-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff6b6;
    font-size: 2em;
    font-weight: 400;
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Message için ayrı çözülme animasyonu */
.freeze-overlay.melting .freeze-message {
    animation: messageOut 1.5s ease-in-out forwards;
}

@keyframes messageOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

#freeze-click {
    width: 150px;
    position: absolute;
    bottom: -120px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.freeze-subtitle {
    font-size: 0.5em;
    margin-top: 10px;
}

.topicon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    left: 0;
    bottom: 0;
    border-radius: 15px;
    transition: .35s ease-in-out;
}

.topicon.increase::before {
    background-color: #84c000;
    height: 100%;
}

.topicon.decrease::before {
    background-color: #e0491f;
    height: 100%;
}

input.invalid {
    border-color: #e0491f;
}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.badge-shine {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.badge-shine > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-animation:spin 36s linear infinite;
    -moz-animation:spin 36s linear infinite;
    animation:spin 36s linear infinite;
}

.badge-lock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    z-index: 9;
    opacity: 1;
    visibility: visible;
}

.badge-content.active .badge-lock {
    opacity: 0;
    visibility: hidden;
}

.badge-lock > img {
    width: 100%;
}

input[type="checkbox"].invalid {
    background-color: #e0491f;
}

input[type="checkbox"].invalid::before {
    border-color: #fff;
}

.end-popup.text .popup {
    height: auto;
}

.video-play-button {
    position: absolute;
    width: 100%;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-button > img {
    width: 90px;
}

.video-popup .popup {
    height: auto;
    width: auto;
}

.end-video-content {
    width: 100%;
    display: flex;
}

.end-video-content > video {
    width: 100%;
}

.video-popup .content {
    padding: 25px;
}

.cookie-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-image > img {
    width: 80px;
}

.cookie-holder {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.cookie-popup .popup {
    height: auto;
    width: 320px;
}

.cookie-popup .content {
    padding: 10px;
}

.cookie-holder > a {
    font-size: 13px;
    font-weight: 500;
    color: #422d00;
}

.popup-container.cookie-popup.active {
    z-index: 1;
    top: unset;
    left: unset;
    transform: unset;
    right: 20px !important;
    bottom: 20px !important;
    width: auto;
}

.cookie-popup .button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-button > img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

.card-button {
    width: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2rem;
}

#cardCounter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 400;
    font-size: 20px;
    color: #493400;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.book-title > span {
    font-size: 14px;
    font-weight: 500;
}

.book-title {
    background-color: #dcd0b3;
    width: max-content;
    padding: 0.2rem .5rem;
    margin-bottom: 20px;
}

.book-gif-wrapper > span {
    font-size: 13px;
    font-weight: 400;
}

.book-gif-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

.book-gif-wrapper > img {
    width: 90%;
}

.three-page-wrapper > span {
    font-size: 13px;
    font-weight: 400;
}

.indicators-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.indicators-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dcd0b3;
}

.indicators-text {
    width: calc(100% - 60px);
}

.indicators-text > span {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
}

.indicators-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.indicators-image > img {
    width: 45px;
    height: 45px;
}

.book-card-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 35px;
}

.book-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.book-card-image {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
}

.book-card-text {
    width: calc(100% - 100px);
}

.book-card-text > span {
    font-size: 13px;
    font-weight: 500;
}

.book-card-text > p {
    font-size: 13px;
    font-weight: 400;
}

.four-page-wrapper {
    justify-content: center;
}

.back-cover-logo {
    position: absolute;
    bottom: 0;
    width: 300px;
    left: 50%;
    transform: translateX(-50%);
}

.back-cover-logo > img {
    width: 100%;
}

.book-card-image > img {
    width: 100%;
}

.last-page-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.last-page-image > img {
    width: 100%;
    position: absolute;
    height: initial;
    object-fit: contain;
    z-index: 1;
}

.statistics-popup .tab-content td > strong {
    display: none;
}

.topicon > span {
    color: #493400;
    font-weight: 300;
    font-size: 11px;
    display: flex;
    position: relative;
    width: 110px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
}

.hint-list-content {
    display: flex;
    align-items: center;
    width: 70%;
    gap: .5rem;
}

.hintlist-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
}

.hintlist-image > img {
    width: 100%;
}

.hintlist-text > span {
    font-size: 13px;
    font-weight: 400;
    font-weight: 400;
    display: flex;
    line-height: 1.6;
}

.hint-list {
    position: relative;
    z-index: 2;
    height: 85%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.freeze-gif {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
}

.freeze-gif > img {
    width: 100%;
}

.how-play-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* backdrop-filter: blur(8px) brightness(0.7); */
    z-index: 1000;
    display: none;
    animation: freezeIn 1s ease-in-out;
}

.how-play-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff6b6;
    font-weight: 400;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.how-play-gif {
    display: flex;
    width: 350px;
}

.how-play-gif > img {
    width: 100%;
}

.how-play-text > span {
    font-size: 25px;
}

.level-bar .progress-container {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
}

.level-bar .bird-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.level-bar .bird {
    width: 28px;
    height: 22px;
    position: relative;
}

.level-bar .bird-body {
    width: 18px;
    height: 16px;
    background: #d2691e;
    border-radius: 50% 40% 50% 60%;
    position: absolute;
    top: 3px;
    left: 5px;
}

.level-bar .bird-head {
    width: 12px;
    height: 12px;
    background: #d2691e;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.level-bar .bird-beak {
    width: 0;
    height: 0;
    border-left: 6px solid #ff6b35;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    position: absolute;
    top: 4px;
    left: -4px;
}

.level-bar .bird-eye {
    width: 3px;
    height: 3px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 2px;
}

.level-bar .progress-bar {
    width: 200px;
    height: 33px;
    background: #F0E5D0;
    border-radius: 5px;
    border: 2px solid #4D3300;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.level-bar .progress-segments {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    display: flex;
    gap: 7px;
}

.level-bar .segment {
    flex: 1;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.level-bar .segment.filled {
    background: #C9D200;
}

.level-bar .segment.filled::before {
    /* content: ''; */
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 10px;
}

.level-bar {
    position: absolute;
    left: 65%;
    transform: translateX(-50%);
    margin-top: 7.5rem;
    /* width: 250px; */
}

.level-bar .bird-icon .control-button {
    margin: 0;
    width: 100%;
    height: 100%;
}

.level-bar .bird-icon .control-button > img {
    width: 35px;
    height: 35px;
}

@media screen and (min-width: 3000px) {
    #cardname {
        font-size: 40px !important;
        bottom: 80px;
        border-top: 7px solid #ff7557;
    }

    #cardname::before {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 20px solid #ff7557;
        top: -20px;
    }

    .option {
        font-size: 50px !important;
        padding: 1rem !important;
    }

    #msg {
        font-size: clamp(12px, calc(7px + 0.80vw), 40px) !important;
    }

    .topicon > img {
        height: 90px !important;
    }

    header .control-button {
        width: 100px !important;
        height: 100px !important;
    }
    
    header .control-button > img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .start-logo {
        width: 35% !important;
    }
    
    .start-button {
        width: 450px !important;
        height: 140px !important;
    }
    
    .start-button > span {
        font-size: 54px !important;
    }

    .popup-container.settings-popup .popup, .popup-container.name-popup .popup {
        transform: scale(2.5) !important;
    }

    .loading-text {
        font-size: 45px !important;
    }
    
    .hint-wrapper > strong {
        font-size: 35px !important;
    }
    
    .hint-wrapper > span {
        font-size: 34px !important;
    }
    
    .progress-bar {
        height: 13px !important;
    }
    
    .loading-logo {
        width: 592px !important;
        top: 60px !important;
        left: 90px !important;
    }

    #logo-container > img {
        width: 500px !important;
    }

    .pause-button > img {
        width: 320px  !important;
        height: 100px  !important;
    }
    
    .pause-contain-button {
        transform: scale(2.1)  !important;
    }

    .point-button > span {
        font-size: 120px  !important;
    }
    
    .point-button {
        top: 90px !important;
        left: 50px !important;
    }

    .statistics-popup.active {
        transform: translate(-50%, -50%) scale(2.1) !important;
    }

    .death-content, .win-content {
        transform: scale(2.4) !important;
        gap: 0 !important;
    }

    .death-content-wrap, .win-content-wrap{
        gap: 2rem;
    }
    
    .death-content-button, .win-content-button {
        margin-top: 0.5rem !important;
        gap: 2rem;
    }

    .popup-container.welcome-popup.active {
        transform: translate(-50%,-50%) scale(1.6) !important;
    }
    
    .welcome-img {
        margin-bottom: 0rem !important;
    }
    
    .welcome-title {
        margin-bottom: 0 !important;
    }
    
    .welcome-content {
        padding: 0.5rem 0 !important;
    }
}

@media screen and (min-width: 2500px){
    .start-button > span {
        font-size: 42px;
        top: 45%;
    }

    .start-container-top {
        gap: 5rem;
    }
    
    .start-button {
        height: 100px;
        width: 330px;
    }
    
    .start-logo {
        width: 900px;
    }

    #logo-container > img {
        width: 350px;
    }

    .control-button {
        width: 70px;
        height: 70px;
    }
    
    .control-button > img {
        height: 35px;
        width: 35px;
    }

    .popup-container.settings-popup .popup,.popup-container.name-popup .popup {
        transform: scale(1.5);
    }

    .book {
        position : relative;
        width: 55vh;
        height: 78vh;
        transition: transform 0.5s;
    }

    .popup-container.help-popup .popup-remove {
        width: 70px;
        height: 70px;
        right: -90px;
    }
    
    .popup-container.help-popup .popup-remove > img {
        width: 35px;
    }

    #prev-btn, #next-btn {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #prev-btn > i,#next-btn > i {
        padding: 7px !important;
    }

    .first-page-wrapper > span > b {
        font-size: clamp(16px, calc(5vw), 39px);
    }
    
    .first-page-content > p {
        font-size: 19px;
    }

    .card-types-title > img {
        width: 65px;
    }
    
    .card-types-title > span {
        font-size: 30px;
    }
    
    .card-types-list-image {
        width: 70px;
    }
    
    .card-types-list-text > span {
        font-size: 18px;
    }
    
    .card-types-list-text > p {
        font-size: 14px;
    }

    .forgot-list {
        margin-top: 1rem;
    }

    .forgot-list > ul > li > span {
        font-size: 20px;
    }
    
    .forgot-list > ul > li > span > img {
        width: 35px;
        min-width: 35px;
    }
    
    .forgot-title-text > img {
        height: 80px;
    }
    
    .forgot-title-text {
        width: 245px;
    }
    
    .forgot-title-text > span {
        font-size: 31px;
    }
    
    .forgot-list > ul > li > img {
        width: 30%;
    }
  
    .forgot-images > img {
        width: 50%;
    }

    .left-number > img, .right-number > img {
        height: 25px;
    }
    
    .left-number, .right-number {
        bottom: -1rem;
    }

    .loading-logo {
        width: 350px;
    }
    
    .loading-text {
        font-size: 30px;
    }
    
    .hint-wrapper > strong {
        font-size: 25px;
    }
    
    .hint-wrapper > span {
        font-size: 20px;
    }
    
    .progress-bar {
        height: 7px;
    }

    .card-types-wrapper {
        margin: .5rem;
    }
    
    .card-types-title {
        margin-bottom: .5rem;
    }
    
    .card-types-wrapper > ul {
        row-gap: .5rem;
    }

    .background-video > video {
        width: 100%;
    }

    .topicon > img {
        height: 55px;
    }
    
    .topicon {
        padding: 1.1rem;
    }
    
    #cardname {
        font-size: 25px;
    }
    
    .point-button > span {
        font-size: 75px;
    }
    
    .point-button {
        left: 30px;
        top: 60px;
    }
    
    .option {
        font-size: 28px;
        height: auto !important;
        top: 0 !important;
    }

    #msg {
        font-size: clamp(12px, calc(11px + 0.80vw), 27px);
    }
    
    .pause-contain-button {
        transform: scale(1.5);
    }

    .statistics-popup.active {
        transform: translate(-50%, -50%) scale(1.5);
    }

    .death-content, .win-content {
        transform: scale(1.6);
        height: 100%;
    }

    .popup-container.welcome-popup.active {
        transform: translate(-50%,-50%) scale(1.4);
    }

    .popup-container.end-popup.video.active {
        transform: translate(-50%, -50%) scale(0.7);
    }

    .avatar-list .avatar-content {
        padding: 10px;
    }
    
    .name-popup .content {
        padding: 20px;
    }
    
    .popup-content-text {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .welcome-desc > p {
        font-size: 16px;
    }
    
    .welcome-title > span {
        font-size: 26px;
    }
    
    #msg {
        font-size: 19px;
    }
    
    .option {
        font-size: 18px;
    }
    
    .welcome-popup .content {
        padding: 20px;
    }

    .book-gif-wrapper > span {
        font-size: 19px;
    }
    
    .three-page-wrapper > span {
        font-size: 19px;
    }
    
    .indicators-text > span {
        font-size: 19px;
    }
    
    .book-card-text > span {
        font-size: 19px;
    }
    
    .book-card-text > p {
        font-size: 19px;
    }
    
    .book-title > span {
        font-size: 20px;
    }
}

@media screen and (max-width: 1150px){
   #book,
   #prev-btn,
   #next-btn {
    display: none;
   }

   .mobile-help-wrapper {
        display: block;
    }

    .back-cover-logo {
        width: 230px;
        bottom: 20px;
    }

    .swiper-container .indicators-list {
        margin-top: 10px;
    }
    
    .swiper-container .three-page-wrapper > span {
        font-size: 10px;
    }
    
    .swiper-container .indicators-text > span {
        font-size: 10px;
    }

    .card-types-list-text > span {
        font-size: 11px;
    }

    .card-types-list-text > p {
        font-size: 10px;
    }

    .second-page-wrapper {
        justify-content: center;
    }

    .left-number {
        bottom: 2px;
        left: 4px;
    }

    .right-number {
        bottom: 2px;
        right: 4px;
    }

    .card-types-list-image {
        width: 40px;
    }
    
    #main {
        width: 55%;
    }

    .hint-list {
        background-size: cover;
        background-position: center;
    }

    .hint-list-content {
        width: 80%;
    }
}

@media screen and (max-width: 1023px){
    .settings-popup .content .setting-row {
        width: 50%;
    }
    
    .settings-popup .content {
        display: flex;
        flex-direction: unset;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .settings-popup .content .setting-row:last-child {
        width: 100%;
    }
    
    .settings-popup .popup {
        width: 300px !important;
        height: 270px !important;
    }
    
    .language-select-contain {
        width: 80%;
    } 

    .settings-popup .content .setting-row .volume-control .volume-slider,
    .settings-popup .content .setting-row .volume-control .volume-value {
        display: none;
    }

    .how-play-content > div:nth-child(3),.how-play-content > div:nth-child(4) {
        display: none;
    }
    
    .how-play-gif {
        width: 450px;
    }
}

@media screen and (max-width:993px){
    #main {
        width: 50%;
        height: 90%;
    }

    .point-button {
        left: 0%;
    }
}

@media screen and (max-width: 850px){
    #main {
        width: 60%;
        height: 100%;
    }

    .point-button {
        top: 10px;
        z-index: 8;
        height: 45px;
        width: 110px;
        left: 12px;
    }

    .popup-container.active {
        width: 100%;
    }

    .badge-content {
        width: 33.33%;
    }

    .freeze-message {
        font-size: 4em;
    }
}

@media screen and (max-width: 768px){
    .death-content-card, .win-content-card {
        width: 250px;
    }
    
    .death-content-card > span, .win-content-card > span {
        font-size: 11px;
    }
}

@media screen and (max-width: 680px){
    .start-logo {
        width: 250px;
    }
    
    .start-container-top {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        gap: 10rem;
    }
    
    header {
        right: 10px;
        top: 10px;
    }

    .popup {
        width: 99% !important;
    }
    
    .input-container {
        width: 100%;
    }
    
    .content {
        padding: 10px;
    }

    .popup-container.settings-popup .popup .control-button {
        width: 35px;
        height: 35px;
        max-width: 35px !important;
        min-width: 35px !important;
        padding: 0;
    }
    
    .popup-container.settings-popup .popup .control-button > img {
        width: 20px;
        height: 20px;
    }
    
    .setting-label {
        font-size: 15px;
    }

    .hint-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .loading-container-wrap {
        width: 95%;
    }

    .loading-logo {
        left: 50%;
        top: 5%;
        transform: translateX(-50%);
    }

    .control-button {
        margin: 0.7rem;
        width: 40px;
        height: 40px;
    }
    
    .control-button > img {
        width: 20px;
        height: 20px;
    }

    .pause-contain {
        transform: scale(0.9);
    }

    .avatar-list .avatar-content {
        width: 20%;
        padding: 1.5rem;
    }

    .header-title {
        font-size: 20px;
    }
    
    .name-popup .input-container > input {
        width: 90%;
    }
    
    .name-popup .button-container > button {
        height: 50px;
    }

    .popup-content-text > span {
        font-size: 16px;
    }
    
    .login-button > img {
        height: 100%;
    }
    
    .name-popup .content {
        padding: 2rem;
    }
    
    .button-container {
        margin-top: 15px;
    }

    .statistics-popup .content {
        padding: 1.5rem 2rem;
    }
    
    .statistics-popup .tab-content {
        padding-top: 3rem;
    }

    .welcome-img {
        width: 150px;
    }
    
    .welcome-title > span {
        font-size: 15px;
    }
    
    .welcome-desc > p {
        font-size: 12px;
    }

    .avatar-list {
        height: 350px;
        overflow: auto;
    }

    .name-popup .popup {
        width: 75% !important;
    }

    .freeze-message {
        font-size: 6em;
    }
}

@media screen and (max-width: 553px){
    .swiper {
        width: 290px;
        height: 500px;
    }

    .first-page-wrapper > span {
        font-size: clamp(13px, calc(1vw), 26px);
    }
    
    .first-page-wrapper > span > b {
        font-size: clamp(13px, calc(1vw), 26px);
    }
    
    .first-page-content > p {
        font-size: 12px;
    }
    
    .first-page-wrapper {
        justify-content: center;
    }
    
    .left-number > img, .right-number > img {
        height: 15px;
    }

    .card-types-list-text {
        width: calc(100% - 35px);
    }
    
    .card-types-list-text > span {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .card-types-list-text > p {
        font-size: 9px;
        line-height: 1.2;
        margin-top: 0.7rem;
    }
    
    .card-types-list-image {
        width: 35px;
        height: 35px;
    }

    .card-types-list-image > img {
        width: 100% !important;
        height: 100% !important;
    }
    
    .card-types-title > span {
        font-size: 18px;
    }
    
    .card-types-title > img {
        width: 35px;
    }

    .forgot-list > ul > li > span > img {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }
    
    .forgot-list > ul > li > span {
        font-size: 12px;
    }
    
    .forgot-list > ul {
        gap: 4rem;
    }
    
    .three-page-wrapper .forgot-list > ul > li:first-child > img {
        width: 80%;
    }
    
    .forgot-list > ul > li > img {
        width: 45%;
    }
    
    .forgot-title-text {
        width: 130px;
    }
    
    .forgot-title-icon > img {
        height: 35px;
    }
    
    .forgot-title-text > span {
        top: 40%;
    }
    
    .forgot-title {
        padding-left: 1rem;
    }
    
    .three-page-wrapper {
        justify-content: center;
    }

    .setting-label {
        margin: 0;
    }
    
    .volume-slider {
        margin: 0 5px;
    }

    #cardname {
        font-size: 10px;
    }
    
    .topicon > img {
        height: 31px;
    }
    
    #topicons {
        width: 90%;
    }
    
    .topicon {
        padding: 2rem 1rem;
    }
    
    .option {
        font-size: 15px;
        padding: 2.5rem 2rem;
    }

    #main {
        width: 95%;
        height: 80%;
    }

    .card-direction-wrapper {
        width: 128% !important;
        left: -14%;
    }
    
    .card-direction > img {
        height: 17px;
    }

    .background-video > video {
        object-position: right;
    }

    .point-button > span {
        font-size: 25px;
    }

    .death-content-wrap, .win-content-wrap {
        flex-direction: column;
        align-items: center;
    }

    .death-content-card, .win-content-card {
        width: 350px;
    }
    
    .death-content-button > button > img, .win-content-button > button > img {
        width: 140px;
    }
    
    .death-content-button > button > span, .win-content-button > button > span {
        font-size: 15px;
    }
    
    .death-content-button > button, .win-content-button > button {
        margin: 1rem;
    }
    
    .death-content-card > span, .win-content-card > span {
        font-size: 25px;
    }

    .badge-content {
        width: 100%;
    }

    .statistics-popup .nav > li > button {
        font-size: 13px;
    }

    .avatar-list {
        height: 330px;
        overflow: auto;
    }

    .name-popup .popup {
        width: 99% !important;
    }

    .avatar-list .avatar-content {
        width: 25%;
        padding: 3rem;
    }

    .login-button > span {
        font-size: 13px;
    }

    .badge-list {
        height: 500px;
        overflow: auto;
    }

    .kvkk-wrapper, 
    .constent-wrapper {
        height: 330px;
    }

    .win-content-wrap .win-content-card,
    .death-content-wrap .death-content-card {
        width: 280px;
    }
    
    .win-content-wrap .win-content-card > span,
    .death-content-wrap .death-content-card > span  {
        font-size: 20px;
    }

    .end-popup.text .popup #textSound {
        font-size: 15px;
    }
    
    .end-popup.text .popup .content {
        padding: 1.5rem;
    }

    .card-button {
        bottom: unset;
        top: 0;
        margin: 0;
        transform: unset;
        left: 120px;
        width: 55px;
    }
    
    #cardCounter {
        font-size: 13px;
    }

    .popup-container.cookie-popup.active {
        right: 0px !important;
        bottom: 10px !important;
        width: auto;
    }

    .kvkk-input > span {
        width: 80%;
        display: block;
    }

    .kvkk-input {
        justify-content: center;
        margin-top: 15px;
    }

    .popup-container tbody,
    .popup-container td,
    .popup-container tfoot,
    .popup-container th,
    .popup-container thead,
    .popup-container tr {
        display: block;
    }

    .statistics-popup .tab-content {
        height: 500px;
    }

    .statistics-popup .tab-content thead > tr {
        display: none;
    }
    
    .statistics-popup .tab-content td {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .statistics-popup .tab-content td > strong {
        font-size: 13px;
        color: #422d00 !important;
        text-align: center;
        font-weight: 400;
        display: flex;
        width: 110px;
        border-right: 1px dashed rgba(0,0,0,0.3);
        height: 100%;
        align-items: center;
        margin-right: 20px;
    }
    
    .statistics-popup .tab-content tr {
        margin-bottom: 30px;
    }
    
    .user-td {
        width: auto;
        gap: 3rem;
    }

    .topicon > span {
        font-size: 9px;
        /* top: -16px; */
        width: auto;
        line-height: 1;
    }
    
    .statistics-popup .tab-content td {
        height: 55px;
        padding: 0 10px;
    }
}