body,
html {
  height: 100%;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
}

.bg {
  /* Location of the image */
  background-image: url(./img/background.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* This is what makes the background image rescale based
     on the container's size */
  background-size: cover;

  /* Set a background color that will be displayed
     while the background image is loading */
  background-color: #FEC0CD;
  height: 100%;
}


.img {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 20px;
  margin-bottom: 30px;
  width: 350px;
}

.foto {
  width: 80%;
  max-width: 400px;
  min-width: 300px;
  margin-top: 100px;
  /* margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px; */
  display: inline-block;
  /* vertical-align: middle;
  line-height: normal; */
}



/* Paper */
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Handlee);


.paper {
  font-family: 'Roboto', sans-serif;
  position: relative;
  width: 90%;
  max-width: 800px;
  min-width: 300px;
  height: 540px;
  margin: 50px auto;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  overflow: hidden;
}

.paper:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 45px;
  background: radial-gradient(#616161 6px, transparent 7px) repeat-y;
  background-size: 30px 30px;
  border-right: 3px solid #D44147;
  box-sizing: border-box;
}

.paper-content {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 30px;
  left: 50px;
  background: linear-gradient(transparent, transparent 28px, #91D1D3 28px);
  background-size: 30px 30px;
}

.paper-content .teks {
  text-align: left;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  line-height: 30px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Handlee', cursive;
  font-size: 20px;
  font-weight: 500;
  box-sizing: border-box;
  z-index: 1;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Mobile-specific enhancements for paper text */
@media screen and (max-width: 480px) {
  .paper-content .teks {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  }
}

.kotak {
  position: fixed;
  width: 90%;
  max-width: 550px;
  min-width: 200px;
  max-height: 350px;
  min-height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 0;
  display: block;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  overflow: hidden;
  z-index: 100;
}

.btn {
  border-radius: 40px;
}

#tap {
  display: block;
  margin: 20px auto;
  position: relative;
  border: none;
  background: transparent;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
}

#tap:hover {
  color: #000;
  background: transparent;
  border: none;
}

#slideLima {
  position: relative;
  top: 300px;
}

#trims {
  position: relative;
  top: 300px;
  display: inline-block;
}

h1 {
  font-weight: normal;
}

#timer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

li {
  display: inline-block;
  font-size: 16px;
  list-style-type: none;
  margin-top: 10px;
  padding: 12px;
  text-transform: uppercase;
}

li span {
  display: block;
  font-size: 36px;
  font-weight: 600;
}

body {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.container {
  color: #333;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  text-align: center;
  width: 100%;
}

.container h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Skip Popup Styles */
.skip-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.skip-popup-modal {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 35, 0.98));
  border-radius: 24px;
  padding: 50px 40px;
  width: 90%;
  max-width: 420px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(138, 43, 226, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.3);
  animation: modalSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.skip-popup-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(138, 43, 226, 0.15) 0%, transparent 50%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.skip-popup-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.skip-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.skip-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.skip-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-style: italic;
}

.skip-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(138, 43, 226, 0.4);
  border-radius: 12px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 1px;
}

.skip-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.skip-input:focus {
  border-color: rgba(138, 43, 226, 0.8);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.skip-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 12px;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

.skip-submit-btn {
  width: 100%;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, #8a2be2 0%, #9b59b6 50%, #8a2be2 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.skip-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.skip-submit-btn:active {
  transform: translateY(0);
}

.skip-success {
  animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Exit Notification Styles */
.exit-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.exit-notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 107, 129, 0.2);
  border: 1px solid rgba(255, 107, 129, 0.3);
}

.exit-icon {
  font-size: 1.5rem;
  animation: wave 1.5s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(20deg);
  }

  75% {
    transform: rotate(-10deg);
  }
}

.exit-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.exit-dismiss-btn {
  background: rgba(255, 107, 129, 0.1);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.2rem;
  color: #ff6b81;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.exit-dismiss-btn:hover {
  background: rgba(255, 107, 129, 0.25);
  transform: scale(1.1);
}

.exit-notification.hiding {
  animation: slideOutRight 0.4s ease-in forwards;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100px);
  }
}