@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
body {
  font-family: "Lobster", sans-serif;
  font-style: normal;
}

body {
  min-height: 100svh;
  max-width: 1100px;
  margin-inline: auto;
}

.h-100svh {
  height: 100svh;
}

.py-07rem {
  padding-block: 0.7rem;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.action-bg {
  background-color: #ff5333;
}
.action-bg:hover {
  background-color: #ff2800;
}

.cancel-color {
  color: #d20020;
}

.border-black {
  border: 1.6px solid rgba(0, 0, 0, 0.4745098039);
}

@keyframes moveIn {
  0% {
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes startBtnWave {
  0% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}
@keyframes faceFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(2deg);
  }
}
@keyframes eyeBlink {
  0%, 46%, 100% {
    transform: scaleY(1);
  }
  48%, 52% {
    transform: scaleY(0.1);
  }
}
@keyframes eyeLook {
  0%, 18%, 100% {
    margin-left: 0;
  }
  26%, 42% {
    margin-left: -3px;
  }
  58%, 76% {
    margin-left: 3px;
  }
}
@keyframes waitDots {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes progressBarShimmer {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 56px 0;
  }
}
@keyframes endGamePop {
  from {
    transform: translateY(16px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes confettiFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(18deg);
  }
}
@keyframes shakePulse {
  0%, 100% {
    transform: translateX(0) scale(1);
  }
  35% {
    transform: translateX(-2px) scale(1.05);
  }
  65% {
    transform: translateX(2px) scale(0.98);
  }
}
@keyframes endGameOrbit {
  0%, 100% {
    transform: translateY(0) scale(0.95) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) scale(1) rotate(8deg);
  }
  50% {
    transform: translateY(6px) scale(1.04) rotate(-8deg);
  }
  75% {
    transform: translateY(-6px) scale(0.98) rotate(6deg);
  }
}
.action-btn, .main-btn {
  background-color: #ff5333;
}
.action-btn:hover, .main-btn:hover {
  background-color: #ff2800;
}

.animated-start-btn {
  animation: moveIn 1s ease-out 0.5s backwards;
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.animated-start-btn > * {
  position: relative;
  z-index: 2;
}
.animated-start-btn::before, .animated-start-btn::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 2px solid rgba(255, 83, 51, 0.75);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.32);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
  animation: startBtnWave 2.2s ease-out infinite;
}
.animated-start-btn::after {
  animation-delay: 1.1s;
}

.cancel-btn {
  background-color: transparent;
  border: 2px solid #d20020;
  color: #d20020;
  transition: 0.3s;
}
.cancel-btn:hover {
  background-color: #d20020;
  color: #ffffff;
}

.main-btn {
  color: #ffffff;
  transition: 0.3s;
}
.main-btn:hover {
  color: #ffffff;
}

.mute-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #ffffff;
  color: #151515;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.mute-btn:hover {
  background: #ffefe9;
  border-color: rgba(255, 83, 51, 0.5);
}

.mute-btn.is-muted {
  background: #d20020;
  border-color: #d20020;
  color: #ffffff;
}

.mute-btn-floating {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #ffffff;
  z-index: 9001;
}

.pause-btn {
  background: #ffffff;
  color: #151515;
}

.pause-btn:hover {
  background: #eef7ff;
  border-color: rgba(27, 102, 209, 0.45);
}

.pause-btn.is-paused {
  background: #1c6bd6;
  border-color: #1c6bd6;
  color: #ffffff;
}

.pause-btn-floating {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 56px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #ffffff;
  z-index: 9001;
}

@media (max-width: 575.98px) {
  .mute-btn-floating {
    width: 42px;
    height: 42px;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .pause-btn-floating {
    width: 42px;
    height: 42px;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 50px);
  }
}
.modal-dialog.modal-dialog-centered.modal-sm {
  max-width: 500px;
  width: 100%;
}

.username-modal-card {
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f6 100%);
}
.username-modal-card .form-label {
  font-weight: 600;
}
.username-modal-card .form-control {
  border: 1px solid rgba(255, 83, 51, 0.2);
}
.username-modal-card .form-control:focus {
  border-color: #ff5333;
  box-shadow: 0 0 0 0.2rem rgba(255, 83, 51, 0.15);
}

.waiting-face {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd6cc 0%, #ffb6a6 35%, #ff8a70 100%);
  position: relative;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  animation: faceFloat 2.6s ease-in-out infinite;
}
.waiting-face::before, .waiting-face::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: rgba(75, 31, 22, 0.65);
  animation: waitDots 1.4s ease-in-out infinite;
}
.waiting-face::before {
  width: 10px;
  height: 10px;
  right: -8px;
  top: 20px;
}
.waiting-face::after {
  width: 6px;
  height: 6px;
  right: -16px;
  top: 12px;
  animation-delay: 0.3s;
}
.waiting-face .face-eye {
  width: 12px;
  height: 12px;
  background-color: #4b1f16;
  border-radius: 50%;
  position: absolute;
  top: 42px;
  transform-origin: center;
  animation: eyeBlink 3.2s infinite, eyeLook 4.5s infinite;
}
.waiting-face .face-eye-left {
  left: 34px;
}
.waiting-face .face-eye-right {
  right: 34px;
  animation-delay: 0.15s;
}
.waiting-face .face-mouth {
  position: absolute;
  left: 50%;
  top: 66px;
  width: 32px;
  height: 16px;
  transform: translateX(-50%);
  border-bottom: 4px solid #4b1f16;
  border-radius: 0 0 20px 20px;
  opacity: 0.85;
}

#game-progress {
  width: 100%;
  height: 35px;
  padding: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.06)), rgba(178, 178, 178, 0.4745098039);
  border-radius: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(178, 178, 178, 0.3);
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}
#game-progress .progress-bar,
#game-progress .progress-bar-number {
  position: absolute;
  z-index: 1;
}
#game-progress .progress-bar {
  top: 0px;
  left: 0px;
  height: 100%;
  border-radius: 30px;
  background-color: #ff5333;
  background-image: linear-gradient(135deg, rgb(255, 108.8, 81.6), #ff2800), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.32) 0 10px, rgba(255, 255, 255, 0) 10px 20px);
  background-size: 100% 100%, 28px 28px;
  background-blend-mode: screen, normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  animation: progressBarShimmer 1.8s linear infinite;
}
#game-progress .progress-bar-number {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  z-index: 2;
}

#cards-container {
  perspective: 1000px;
  margin-top: 2rem;
}
#cards-container figure {
  position: relative;
  aspect-ratio: 2/2.2;
  min-height: 200px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
#cards-container .back-face,
#cards-container .front-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#cards-container .back-face {
  transform: rotateY(0deg);
}
#cards-container .front-face {
  display: flex;
  justify-content: center;
  align-items: center;
  rotate: 0 180deg;
  transform: translateX(-50%) !important;
  background: radial-gradient(circle at 20% 18%, rgba(255, 83, 51, 0.12), transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 246, 0.88) 60%, rgba(255, 83, 51, 0.08) 100%);
  border: 1px solid rgba(255, 83, 51, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -10px 20px rgba(255, 83, 51, 0.08);
  padding: 18px;
  width: 92% !important;
  left: 50%;
}
#cards-container .front-face img {
  max-height: 100%;
  display: block;
  max-width: 100%;
  object-fit: contain;
  max-width: 130px;
}
#cards-container figure.flipped .back-face {
  transform: rotateY(180deg);
}
#cards-container figure.flipped .front-face {
  transform: rotateY(0deg);
}
#cards-container figure.flipped {
  transform: translateY(-2px) scale(1.01);
}
#cards-container .image-mystery {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: normal;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(125, 26, 42, 0.6), 0 4px 10px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.02em;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.34)), radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.35), transparent 34%), linear-gradient(160deg, #ffa285 0%, #ff5333 42%, #b1132b 100%);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
#cards-container .image-mystery::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  pointer-events: none;
}
#cards-container .image-mystery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 83, 51, 0.16);
}
.site-footer .footer-copy p {
  color: #000000;
}
.site-footer .footer-copy p:last-child {
  font-weight: 300;
}
.site-footer .footer-copy p:last-child .footer-owner-name {
  color: #ff5333;
  font-weight: 600;
}
.site-footer .footer-social .social-link {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #ff5333;
  box-shadow: 0 10px 18px rgba(255, 83, 51, 0.22);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-footer .footer-social .social-link::before, .site-footer .footer-social .social-link::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-footer .footer-social .social-link::before {
  content: attr(data-tooltip);
  top: -34px;
  transform: translate(-50%, 6px);
  background-color: rgba(0, 0, 0, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26);
  z-index: 3;
}
.site-footer .footer-social .social-link::after {
  content: "";
  top: -8px;
  transform: translate(-50%, 6px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.92);
  z-index: 2;
}
.site-footer .footer-social .social-link:hover {
  transform: translateY(-2px);
  background: rgb(255, 48.6, 10.2);
  box-shadow: 0 14px 22px rgba(255, 83, 51, 0.3);
}
.site-footer .footer-social .social-link:hover::before, .site-footer .footer-social .social-link:hover::after, .site-footer .footer-social .social-link:focus-visible::before, .site-footer .footer-social .social-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-footer .footer-social .social-link i {
  font-size: 1.05rem;
}

#welcome-message b {
  font-weight: 400;
}

#wrong-tries, #welcome-message {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.pause-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.pause-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 18, 0.6);
  backdrop-filter: blur(4px);
}

.pause-overlay-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 0.4rem 0.8rem;
  text-align: center;
  color: #ffffff;
  animation: endGamePop 0.25s ease;
}

.pause-overlay-card i {
  display: inline-block;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  color: #ffcc75;
  margin-bottom: 0.25rem;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.pause-overlay-card h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.pause-overlay-card p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.32);
}

.pause-state-badge {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  background: rgba(22, 135, 84, 0.12);
  color: #0d6b42;
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-weight: 600;
}

.pause-state-badge.is-paused {
  background: rgba(28, 107, 214, 0.12);
  color: #1452a8;
}

.end-game-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.end-game-scene-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.end-game-scene-decoration span {
  position: absolute;
  width: var(--scene-size, 1.5rem);
  height: var(--scene-size, 1.5rem);
  display: grid;
  place-items: center;
  border-radius: 999px;
  opacity: 0.72;
  animation: endGameOrbit 4s ease-in-out infinite;
}

.end-game-scene-decoration i {
  font-size: calc(var(--scene-size, 1.5rem) * 0.88);
}

.end-game-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.end-game-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: 1.2rem;
  padding: 1.3rem;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  animation: endGamePop 0.35s ease;
  z-index: 2;
}

.end-game-win {
  background: linear-gradient(165deg, #fff8e6 0%, #ffe4a8 45%, #ffc457 100%);
  border: 2px solid #f4ad2c;
}

.end-game-win .end-game-header i {
  color: #b97800;
}

.end-game-win .end-game-decoration span {
  background: linear-gradient(145deg, #fffadf, #ffb21d);
  box-shadow: 0 0 0 1px rgba(185, 120, 0, 0.2);
  animation: confettiFloat 2.7s ease-in-out infinite;
}

.end-game-win .end-game-scene-decoration span {
  background: rgba(255, 220, 122, 0.16);
  color: rgba(181, 120, 0, 0.9);
  text-shadow: 0 6px 14px rgba(181, 120, 0, 0.2);
}

.end-game-lose {
  background: linear-gradient(165deg, #fff5f5 0%, #ffd4d4 45%, #ff9f9f 100%);
  border: 2px solid #e46a6a;
}

.end-game-lose .end-game-header i {
  color: #9b2020;
}

.end-game-lose .end-game-decoration span {
  background: linear-gradient(145deg, #ffd4d4, #d64d4d);
  box-shadow: 0 0 0 1px rgba(126, 19, 19, 0.2);
  animation: shakePulse 1.8s ease-in-out infinite;
}

.end-game-lose .end-game-scene-decoration span {
  background: rgba(255, 160, 160, 0.15);
  color: rgba(132, 26, 26, 0.94);
  text-shadow: 0 6px 14px rgba(132, 26, 26, 0.2);
}

.end-game-header {
  text-align: center;
  margin-bottom: 1rem;
}

.end-game-header i {
  font-size: 2rem;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.end-game-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.end-game-header p {
  margin: 0.3rem 0 0;
  opacity: 0.85;
}

.end-game-stats {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 1rem;
}

.end-game-stats p {
  margin: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.7rem;
  padding: 0.45rem 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.end-game-btn {
  width: 100%;
  border: none;
  border-radius: 0.7rem;
  padding: 0.65rem 1rem;
  font-weight: 700;
  background: #ff5333;
  color: #ffffff;
}

.end-game-btn:hover {
  background: #ff2800;
}

.end-game-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.end-game-decoration span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.end-game-decoration span:nth-child(1) {
  top: 12%;
  left: 12%;
}

.end-game-decoration span:nth-child(2) {
  top: 18%;
  right: 16%;
}

.end-game-decoration span:nth-child(3) {
  top: 54%;
  left: 6%;
}

.end-game-decoration span:nth-child(4) {
  top: 62%;
  right: 10%;
}

.end-game-decoration span:nth-child(5) {
  bottom: 12%;
  left: 22%;
}

.end-game-decoration span:nth-child(6) {
  bottom: 14%;
  right: 24%;
}

#game-timer {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

#timer-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.timer-icon {
  color: #ff5333;
}

@media (max-width: 450px) {
  .welcome-label,
  .timer-label,
  .wrong-tries-text {
    display: none;
  }
}
.page-404 {
  --accent: #ff5333;
  --accent-dark: #e4391a;
  --ink: #111111;
  --paper: #fff5f2;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  margin-inline: auto;
  font-family: "Lobster", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 16% 20%, rgba(255, 83, 51, 0.18), transparent 35%), radial-gradient(circle at 85% 84%, rgba(255, 83, 51, 0.2), transparent 38%), linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}
.page-404 .not-found-card {
  min-height: 100svh;
  width: 100%;
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-404 .code {
  font-size: clamp(3rem, 13vw, 7rem);
  line-height: 1;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.03em;
}
.page-404 .title {
  margin: 0.25rem 0 0;
  font-size: clamp(1.2rem, 4vw, 2rem);
}
.page-404 .actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.page-404 .btn-home {
  border: none;
  border-radius: 0.7rem;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}
.page-404 .btn-home:hover {
  background: var(--accent-dark);
}
.page-404 .btn-cancel {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.7rem;
  padding: 0.6rem 1rem;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}
.page-404 .small-note {
  margin-top: 0.8rem;
  opacity: 0.8;
}

/*# sourceMappingURL=style.css.map */
