body {
     margin: 0;
     background-color: #795548;
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
     width: 100vw;
     transition: background-color 500ms;
 }

 
 .timer-container {
     position: fixed;
     top: 20px;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 10px 20px;
     border-radius: 30px;
     font-size: 1.5rem;
     font-weight: bold;
     z-index: 1000;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
     display: none;
     
     transition: all 0.3s ease;
 }

 .timer-container.active {
     display: block;
     animation: pulse 2s infinite;
 }

 .timer-display {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .timer-icon {
     color: #ffcc00;
     font-size: 1.3rem;
 }

 
 .game-header {
     position: fixed;
     top: 20px;
     left: 20px;
     display: flex;
     align-items: center;
     gap: 15px;
     z-index: 1000;
     pointer-events: none;
     background: rgba(255, 255, 255, 0.1);
     padding: 10px 20px;
     border-radius: 50px;
     backdrop-filter: blur(5px);
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .mini-logo {
     width: 40px;
     height: 40px;
     object-fit: contain;
     filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
 }

 .game-header h1 {
     font-size: 1.2rem;
     color: white;
     font-weight: 700;
     margin: 0;
     text-transform: uppercase;
     letter-spacing: 1px;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }

 
 @keyframes pulse {
     0% {
         box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4);
     }

     70% {
         box-shadow: 0 0 0 10px rgba(255, 204, 0, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
     }
 }

 .wrapper {
     position: relative;
     height: fit-content;
     width: fit-content;
     min-width: 300px;
     min-height: 300px;
     max-width: 90vw;
     overflow: hidden !important;
     padding: 10px;
     margin: 20px auto;
     background-color: rgba(255, 255, 255, 0.9);
     box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
     border-radius: 12px;
     touch-action: none;
     user-select: none;
     border: 3px solid rgba(255, 255, 255, 0.8);
     display: flex;
     justify-content: center;
     align-items: center;
 }

 #slide0 {
     position: relative;
     display: block;
     overflow: hidden;
 }

 .slide {
     position: relative;
     outline: 0;
 }

 .slick-arrow {
     position: absolute;
     top: 50%;
     transform: translate3d(0, -50%, 0);
     font-size: 26px;
     border: 3px solid;
     border-radius: 50%;
     width: 45px;
     height: 45px;
     display: flex;
     justify-content: center;
     align-items: center;
     color: #fff;
     background-color: rgba(255, 255, 255, 0.3);
     cursor: pointer;
 }

 .slick-arrow div::before {
     content: '';
     width: 16px;
     height: 2px;
     background-color: #ffffff;
     transform: rotate(-45deg);
     position: absolute;
     left: calc(50% - 8px);
     top: 50%;
     transform-origin: right;
 }

 .slick-arrow div::after {
     content: '';
     width: 16px;
     height: 2px;
     background-color: #ffffff;
     transform: rotate(45deg);
     position: absolute;
     left: calc(50% - 8px);
     top: 50%;
     transform-origin: right;
 }

 .slick-prev {
     left: -80px;
 }

 .slick-prev div {
     transform: rotate(180deg);
 }

 .slick-next {
     right: -80px;
 }

 .slick-disabled {
     opacity: 0;
 }

 @media(max-width:512px) {
     .slick-arrow {
         display: none !important;
     }
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Poppins', sans-serif;
     background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
     min-height: 100vh;
     overflow: hidden;
     display: flex;
     justify-content: center;
     align-items: center;
     touch-action: none;
     user-select: none;
     -webkit-user-select: none;
     -webkit-touch-callout: none;
     overscroll-behavior: none;
     -webkit-tap-highlight-color: transparent;
 }

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

 
 .css-game-icon {
     position: relative;
     width: 120px;
     height: 120px;
     background: #ffd93d;
     border-radius: 20px;
     margin-bottom: 30px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
     animation: float 4s infinite ease-in-out;
 }

 .css-game-icon::before,
 .css-game-icon::after {
     content: '';
     position: absolute;
     background: #ffd93d;
     width: 40px;
     height: 40px;
     border-radius: 50%;
 }

 
 .css-game-icon::before {
     top: -20px;
     left: 50%;
     transform: translateX(-50%);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .css-game-icon::after {
     right: -20px;
     top: 50%;
     transform: translateY(-50%);
     box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
 }

 
 .icon-hole {
     position: absolute;
     background: #764ba2;
     
     width: 40px;
     height: 40px;
     border-radius: 50%;
     box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
 }

 .hole-bottom {
     bottom: -20px;
     left: 50%;
     transform: translateX(-50%);
 }

 .hole-left {
     left: -20px;
     top: 50%;
     transform: translateY(-50%);
 }

 .logo {
     font-size: 3.5rem;
     font-weight: 800;
     color: white;
     margin-bottom: 2rem;
     text-transform: uppercase;
     letter-spacing: 2px;
     text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
 }

 .loading-text {
     font-size: 1.5rem;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 3rem;
     animation: fadeInOut 3s infinite ease-in-out;
 }

 .progress-container {
     width: 400px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 15px;
 }

 .progress-bar {
     width: 100%;
     height: 8px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50px;
     overflow: hidden;
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .progress-fill {
     height: 100%;
     background: linear-gradient(90deg, #00b09b, #96c93d);
     background-size: 400% 100%;
     width: 0%;
     transition: width 0.3s ease;
     border-radius: 50px;
     animation: gradientMove 2s linear infinite;
 }

 .progress-text {
     color: rgba(255, 255, 255, 0.8);
     font-size: 1.1rem;
     font-weight: 600;
 }

 .puzzle-pieces {
     position: absolute;
     width: 100%;
     height: 100%;
     pointer-events: none;
     overflow: hidden;
 }

 .floating-piece {
     position: absolute;
     width: 60px;
     height: 60px;
     background: rgba(255, 255, 255, 0.1);
     border: 2px solid rgba(255, 255, 255, 0.2);
     border-radius: 8px;
     animation: float 6s infinite ease-in-out;
 }

 .floating-piece:nth-child(1) {
     top: 10%;
     left: 10%;
     animation-delay: 0s;
     animation-duration: 8s;
 }

 .floating-piece:nth-child(2) {
     top: 20%;
     right: 15%;
     animation-delay: 1s;
     animation-duration: 7s;
 }

 .floating-piece:nth-child(3) {
     bottom: 30%;
     left: 20%;
     animation-delay: 2s;
     animation-duration: 9s;
 }

 .floating-piece:nth-child(4) {
     bottom: 15%;
     right: 10%;
     animation-delay: 0.5s;
     animation-duration: 6s;
 }

 .floating-piece:nth-child(5) {
     top: 50%;
     left: 5%;
     animation-delay: 3s;
     animation-duration: 8s;
 }

 .floating-piece:nth-child(6) {
     top: 40%;
     right: 5%;
     animation-delay: 1.5s;
     animation-duration: 7s;
 }

 @keyframes pulse {

     0%,
     100% {
         transform: scale(1);
         opacity: 1;
     }

     50% {
         transform: scale(1.1);
         opacity: 0.8;
     }
 }

 @keyframes fadeInOut {

     0%,
     100% {
         opacity: 0.7;
     }

     50% {
         opacity: 1;
     }
 }

 @keyframes gradientMove {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0px) rotate(0deg);
         opacity: 0.3;
     }

     25% {
         transform: translateY(-20px) rotate(5deg);
         opacity: 0.6;
     }

     50% {
         transform: translateY(-40px) rotate(-5deg);
         opacity: 0.8;
     }

     75% {
         transform: translateY(-20px) rotate(3deg);
         opacity: 0.4;
     }
 }

 .loading-dots {
     display: inline-flex;
     gap: 4px;
     margin-left: 10px;
 }

 .dot {
     width: 8px;
     height: 8px;
     background: rgba(255, 255, 255, 0.8);
     border-radius: 50%;
     animation: bounce 1.4s infinite ease-in-out both;
 }

 .dot:nth-child(1) {
     animation-delay: -0.32s;
 }

 .dot:nth-child(2) {
     animation-delay: -0.16s;
 }

 .dot:nth-child(3) {
     animation-delay: 0s;
 }

 @keyframes bounce {

     0%,
     80%,
     100% {
         transform: scale(0);
         opacity: 0.5;
     }

     40% {
         transform: scale(1);
         opacity: 1;
     }
 }

 @media (max-width: 768px) {
     .logo {
         font-size: 3rem;
         margin-bottom: 1.5rem;
     }

     .loading-text {
         font-size: 1.2rem;
         margin-bottom: 2rem;
     }

     .progress-container {
         width: 300px;
     }

     .floating-piece {
         width: 40px;
         height: 40px;
     }
 }

 @media (max-width: 480px) {
     .logo {
         font-size: 2.5rem;
     }

     .loading-text {
         font-size: 1rem;
     }

     .progress-container {
         width: 250px;
     }
 }

 .wrapper {
     display: none;
 }

 

 
 .picture-selector {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 1000;
     opacity: 0;
     visibility: hidden;
     transition: all 0.5s ease;
 }

 .picture-selector.active {
     opacity: 1;
     visibility: visible;
 }

 .selector-content {
     background: white;
     border-radius: 15px;
     padding: 30px;
     width: 90%;
     max-width: 650px;
     box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
     transform: translateY(30px);
     transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     position: relative;
 }

 .close-selector {
     position: absolute;
     top: 15px;
     right: 15px;
     width: 35px;
     height: 35px;
     background: #f1f1f1;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     color: #666;
     transition: all 0.3s ease;
 }

 .close-selector:hover {
     background: #ff6b6b;
     color: white;
     transform: rotate(90deg);
 }

 .picture-selector.active .selector-content {
     transform: translateY(0);
 }

 .selector-content h2 {
     text-align: center;
     color: #333;
     margin-bottom: 25px;
     font-size: 22px;
 }

 .picture-options {
     display: flex;
     justify-content: flex-start;
     gap: 20px;
     flex-wrap: nowrap;
     margin-bottom: 30px;
     overflow-x: auto;
     padding: 15px 5px;
     scroll-behavior: smooth;
     -webkit-overflow-scrolling: touch;
     overscroll-behavior-x: contain;
 }

 .picture-options::-webkit-scrollbar {
     height: 8px;
 }

 .picture-options::-webkit-scrollbar-track {
     background: rgba(0, 0, 0, 0.05);
     border-radius: 10px;
 }

 .picture-options::-webkit-scrollbar-thumb {
     background: linear-gradient(90deg, #00b09b, #96c93d);
     border-radius: 10px;
 }

 .picture-options::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(90deg, #008d7a, #7cb342);
 }

 .picture-option {
     width: 150px;
     height: 150px;
     flex: 0 0 auto;
     border-radius: 10px;
     overflow: hidden;
     position: relative;
     cursor: pointer;
     border: 3px solid transparent;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 .picture-option:hover {
     transform: translateY(-5px) scale(1.05);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
 }

 .picture-option.active {
     border-color: #00b09b;
     transform: scale(1.05);
     box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
 }

 .picture-option img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .picture-option:hover img {
     transform: scale(1.1);
 }

 .checkmark {
     position: absolute;
     top: 10px;
     right: 10px;
     width: 25px;
     height: 25px;
     background: #00b09b;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     opacity: 0;
     transform: scale(0);
     transition: all 0.3s ease;
 }

 .picture-option.active .checkmark {
     opacity: 1;
     transform: scale(1);
 }

 .checkmark i {
     color: white;
     font-size: 12px;
 }

 .start-btn {
     display: block;
     width: 100%;
     padding: 15px;
     background: linear-gradient(90deg, #00b09b, #96c93d);
     border: none;
     border-radius: 50px;
     color: white;
     font-size: 18px;
     font-weight: bold;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 176, 155, 0.4);
 }

 .start-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(0, 176, 155, 0.6);
 }

 .start-btn:active {
     transform: translateY(1px);
 }

 
 .settings-btn {
     position: fixed;
     top: 20px;
     right: 20px;
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.2);
     border: 2px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     color: white;
     font-size: 22px;
     cursor: pointer;
     z-index: 100;
     transition: all 0.3s ease;
     backdrop-filter: blur(5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 .settings-btn:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: rotate(30deg) scale(1.1);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
 }

 
 .floating-piece {
     animation: float 6s infinite ease-in-out, pulse 2s infinite alternate;
 }

 @keyframes pulse {
     0% {
         transform: translateY(0) scale(1);
     }

     100% {
         transform: translateY(0) scale(1.1);
     }
 }

 
 .wrapper {
     animation: slideIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
     opacity: 0;
     transform: translateY(50px);
 }

 @keyframes slideIn {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 
 @media (max-width: 768px) {
     .picture-option {
         width: 120px;
         height: 120px;
     }

     .selector-content {
         padding: 20px;
     }
 }

 @media (max-width: 480px) {
     .picture-option {
         width: 100px;
         height: 100px;
     }

     .selector-content h2 {
         font-size: 24px;
     }
 }
