@font-face {
    font-family: 'CocoSharp';
    src: url('fonts/cocosharp/CocoSharp-Bold.woff2') format('woff2'),
        url('fonts/cocosharp/CocoSharp-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocoSharp';
    src: url('fonts/cocosharp/CocoSharp-Light.woff2') format('woff2'),
        url('fonts/cocosharp/CocoSharp-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocoSharp';
    src: url('fonts/cocosharp/CocoSharp-Regular.woff2') format('woff2'),
        url('fonts/cocosharp/CocoSharp-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocoSharp';
    src: url('fonts/cocosharp/CocoSharp-Italic.woff2') format('woff2'),
        url('fonts/cocosharp/CocoSharp-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
body, html {
    font-family: 'CocoSharp';
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}
video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}
.btn-zoom-effect {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}
.btn-zoom-effect:hover {
    transition: all 0.3s ease;
    animation: pulse 1.2s infinite;
    transform: scale(1.1) !important;
}
#start_game_btn {
    position: absolute;
    bottom: 120px;
    left: 50%;
    background:transparent;
    border: none;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}
#start_game_btn:hover {
    animation: pulse 1.2s infinite;
    transform: translateX(-50%) scale(1.1);
}
section.pci-game .attempts-container {
    position: absolute;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 250px;
    height: 100px;
    top: 50px;
    right: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
}
section.pci-game .attempts-container.show {
    opacity: 1;
}
section.pci-game .title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    color: #FFF;
    line-height: 18px;
}
section.pci-game .numbers {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 50px;
    color: #FFF;
}

#word_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#word_container.show {
    opacity: 1;
}
#word_container>div.letter {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: #FFF;
    width: 120px;
    height: 150px;
    font-size: 100px;
    line-height: 50px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#word_container>div.letter.covered::after {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "?";
}
#word_container>div.letter.covered>div {
    display: none;
}
.count-down-container {
    position: absolute;
    top: 50px;
    left: 50px;
    gap: 10px;
    display: inline-flex;
    flex-direction: column;
    width: 200px;
    height: 102px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.count-down-container.pulse-glass {
    animation: pulseGlass 2s infinite alternate;
}
.count-down-container.pulse-red {
    animation: pulseRed 2s infinite alternate;
}
section.pci-game .count-down-container .title {
    font-size: 12px;
    line-height: 12px;
}
section.pci-game .count-down-container #count_down {
    font-size: 50px;
    line-height: 50px;;
    color: #FFF;
}
#game_over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #FFF;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 750px;
    height: 200px;
}
#game_over>div.box {
    font-size: 120px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulseRed 2s infinite alternate;
    padding: 0 30px;
    margin-bottom: 25px;;
}
#next_game_container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}
#wrong_letters {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    bottom: 50px;
    left:0;
    right: 0;
}
section#wrong_letters .title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    color: #FFF;
    line-height: 18px;
    text-align: center;
}
#wrong_letters div.wl {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
#wrong_letters div.wl>div {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    width: 80px;
    height: 80px;;
    font-size: 50px;
    color: #FFF;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
@keyframes pulseGlass {
  0% {
    background: rgba(255, 255, 255, 0.2);
  }
  100% {
    background: rgba(255, 255, 255, 0.5);
  }
}
@keyframes pulseRed {
  0% {
    background: rgb(255, 0, 0, 0.2);
  }
  100% {
    background: rgba(255, 0, 0, 0.5);
  }
}