.home {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: url("./../assets/bg.png") center center no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
}
/* Main layout */
.home .main-container {
  position: relative;
  min-height: 100vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.home .header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50px;
}

/* GSK logo */
.home .gsk-logo {
  position: absolute;
  left: 70px;
  top: 70px;
}

.home .logo-img {
  width: 100px;
}

/* Spot text */
.home .spot-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  top: 70px;
}

.home .red-flag-text {
  color: #b31919;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.home .small-text {
  font-size: 12px;
  color: #444;
}

.home .top-text {
  position: absolute;
  top: 10px;
  right: 30px;
  text-align: right;
  z-index: 2;
}

.home .footer-section {
  position: relative;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 150px;
  bottom: -10px;
}

.home .footer-text {
  font-size: 10px;
  color: #000000;
  text-align: left;
  margin-bottom: -10px;
}

.home .bottom-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.home .play-btn {
  background-color: #e9590d;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 25px;
  transition: 0.3s;
}

.home .play-btn:hover {
  background-color: #e9590d;
  color: white;
}

.home .btn-start {
  background-color: #e9590d;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 25px;
  transition: 0.3s;
}

.home .btn-start:hover {
  background-color: #e9590d;
  color: white;
}
.home .btn-start {
  background-color: #e9590d;
  color: white;
  border: none;
}

.home .btn-start:hover,
.home .btn-start:active,
.home .btn-start:focus,
.home .play-btn:hover,
.home .play-btn:focus,
.home .play-btn:active {
  background-color: #e9590d !important;
  color: white !important;
  outline: none;
  box-shadow: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* @media (max-width: 575.98px) {
    .main-container {
      padding: 20px;
    }
  
    .header {
      flex-direction: column;
      align-items: center;
      top: 20px;
    }
  
    .gsk-logo {
      position: static;
      margin-bottom: 10px;
    }
  
    .spot-text {
      text-align: center;
      margin-top: 5px;
    }
  
    .top-text {
      position: static;
      text-align: center;
      margin: 20px 0;
    }
  
    .footer-text {
      text-align: start;
    }
  
    .bottom-btn {
      position: static;
      margin-top: 20px;
      transform: none;
    }
  } */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home {
    background: url("./../assets/bg-ipad.jpg") center center no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
  }
  .home .header {
    top: 120px;
  }

  .home .footer-text {
    margin-bottom: 0px;
  }

  .home .play-btn {
    /* margin-left: 140px !important; */
    padding: 10px !important;
    margin-bottom: 10px !important;
  }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .home {
    background: url("./../assets/mobile.png") center center no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    overflow-y: auto;
  }

  .home .spot-text {
    display: none;
  }

  .home .gsk-logo {
    left: 0;
    top: 60px;
  }

  .home .top-text {
    top: 17%;
    font-size: 7px;
    right: 20px;
  }

  /* ===== footer===== */
  .home .footer-section {
    position: fixed;
    bottom: 0px;
    left: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    z-index: 10;

    /* gap:5px;  */
  }

  /* ===== Play ===== */
  .home .bottom-btn {
    width: 100%;
    text-align: center;
    /* margin-top: 30px;  */
    position: relative;
    order: -1;
  }

  .home .play-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    background-color: #e9590d;
    border-radius: 30px;
    border: none;
    color: white;
    font-weight: bold;
    min-height: 44px;
    position: relative;
  }

  .home .footer-text {
    font-size: 10px;
    color: #000;
    text-align: left;
    width: 100%;
    line-height: 1.4;
    /* margin-top: 10px; */
    padding: 0;
    position: relative;
  }
}
html,
body {
  width: 100%;
  overflow-x: hidden;
}

@media screen and (max-width: 1024px) and (max-height: 767px) and (orientation: landscape) {
  .home {
    background: url("./../assets/landscape_mobile.png") center center no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  html {
    overflow-x: hidden;
  }
  html,
  body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
  }

  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  .home .spot-text {
    display: none;
  }

  .home .top-text {
    top: 22%;
    right: 10px;
  }

  .home .gsk-logo {
    left: 30px;
    top: 30px;
  }

  .home .red-flag-text {
    font-size: 1.2rem;
    line-height: 1.1;
    margin: 0;
  }

  .home .footer-section {
    position: static;
  }

  .home .footer-text {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 10px;
    color: #000;
  }

  .home .bottom-btn {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: auto; */
    text-align: center;
    z-index: 999;
  }

  .home .play-btn {
    background-color: #f57c00;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 25px;
    /* min-height: 44px; */
    font-size: 14px;
    width: 150px;
  }
}

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

.game {
  font-family: "Poppins", sans-serif;
  background: url("./../assets/bg-timer.png") no-repeat center center/cover;
  background-size: 100% 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game .top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  z-index: 10;
}

.game .logo {
  display: flex;
  align-items: center;
}

.game .logo img {
  height: 40px;
  width: auto;
}

/* .game .timer {
  border: 3px solid #3ba745;
  color: #3ba745;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  background: white;
} */
.timer {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #3ba745;                
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}


.timer::before {
  content: "";
  position: absolute;
  width: 42px;                       
  height: 42px;
  border-radius: 50%;
  border: 3px solid #ffffff;           
  box-sizing: border-box;
}

.timer span {
  position: relative;
  z-index: 1;
}


.game .main-title {
  /* margin-top: 110px; */
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
}

.game .container-game {
  width: 90%;
  /* max-width: 1200px; */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 80px;
}

.game .dropped-item {
  opacity: 1;
  cursor: default;
}

.game .box {
  width: 40%;
  height: 550px;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 10px;
}

.game .flu-box {
  background: #e6f2ff;
  border: 2px solid #a8ccf7;
}

.game .meningitis-box {
  background: #ffe5e5;
  border: 2px solid #f5b4b4;
}

.game .box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
  text-align: left;
  font-size: 20px;
}

.game .drop-zone {
  width: 100%;
  height: 400px;
  border: 2px dashed #a8ccf7;
  border-radius: 15px;
  /* background-color: rgba(255, 255, 255, 0.5); */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  position: relative;
  /* padding: 10px; */
  gap: 4px;
}

.game .meningitis-box .drop-zone {
  border-color: #f5b4b4;
}

.game .icon img {
  width: 30px;
}

.game .placeholder-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0072ce;
  opacity: 0.8;
  font-weight: bold;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  font-size: 17px;
}

.game .meningitis-box .placeholder-text {
  color: #d83a3a;
  
}

.game .symptoms {
  width: 35%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  /* margin-top: 50px; */
}

.game .drag-item {
  background: white;
  color: #333;
  border-radius: 25px;
  padding: 10px 15px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  cursor: grab;
  transition: 0.2s;
  user-select: none;
  width: 45%;
  text-align: center;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  position: relative;
}

.game .drag-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 114, 206, 0.1);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.game .drag-item:active::after {
  opacity: 1;
}

.game .drag-item:active {
  transform: scale(1.1);
  cursor: grabbing;
}

.game .correct {
  background-color: #edfff0 !important;
  color: #0eae3b !important;
  border-radius: 99px;
  border: 1px solid #0eae3b;
}

.game .wrong {
  background-color: #ffebeb !important;
  color: #ff0000 !important;
  border-radius: 99px;
  border: 1px solid #f00;
}
.home .custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.home .custom-modal-content {
  background: white;
  border-radius: 25px;
  padding: 20px 45px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.game .custom-modal-content h6 {
  font-weight: 700;
  margin-bottom: 10px;
}

.game .custom-modal-content p {
  color: #000;
  font-size: 20px;
  line-height: 1.5;
}

.game .modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.game .btn-try,
.btn-expose {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.game .btn-try {
  background-color: #f9d5c2;
  color: #e9590d;
  width: 170px;
  /* padding-inline: 50px; */
}

.game .btn-expose {
  background-color: #e9590d;
}

.game .btn-try:hover,
.game .btn-expose:hover {
  opacity: 0.9;
}

.game .btn-ok {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background-color: #3ba745;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  width: 170px;
}

.game .btn-ok:hover {
  opacity: 0.9;
}

/* (Tablet) */

@media (max-width: 1200px) and (min-width: 768px) {
  .game .container-game {
    width: 95%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
  }

  .game .box {
    width: 38%;
    height: 450px;
    padding: 15px;
  }

  .game .box h4 {
    font-size: 18px;
  }

  .game .icon img {
    width: 25px;
  }

  .game .drop-zone {
    height: 320px;
    padding: 10px;
  }

  .game .placeholder-text {
    font-size: 15px;
  }

  .game .symptoms {
    width: 28%;
    gap: 10px;
  }

  .game .drag-item {
    width: 100%;
    font-size: 14px;
    padding: 8px 12px;
  }

  .game .main-title {
    font-size: 1rem;
  }

  .game .timer {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .game .logo img {
    height: 35px;
  }
}

/* (Mobile) */

@media (max-width: 767px) {
  .game {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    padding: 10px 0;
    justify-content: flex-start;
  }

  .game .top-bar {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    z-index: 10;
  }

  .game .logo img {
    height: 30px;
  }

  .game .timer {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

  .game .container-game {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0 10px;
    margin-top: 70px;
  }

  .game .flu-box {
    order: 1;
    width: 100%;
  }

  .game .symptoms {
    order: 2;
    width: 100%;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: space-between;
  }

  .game .main-title {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .game .meningitis-box {
    order: 3;
    width: 100%;
  }

  .game .box {
    width: 100%;
    height: auto;
    padding: 20px 15px;
    min-height: 200px;
    border-radius: 20px;
    margin-bottom: 15px;
  }

  .game .box h4 {
    font-size: 16px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .game .icon img {
    width: 24px;
  }

  .game .drop-zone {
    height: auto;
    min-height: 180px;
    padding: 15px;
    gap: 10px;
    border-width: 3px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
  }

  .game .placeholder-text {
    font-size: 17px;
    top: 50%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
  }

  .game .drag-item {
    width: calc(50% - 6px);
    font-size: 13px;
    padding: 12px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }

  .game .drag-item:hover:not(.used) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border-color: #0072ce;
  }

  .game .custom-modal-content {
    padding: 25px 30px;
    margin: 20px;
    max-width: calc(100vw - 40px);
    width: 90%;
    border-radius: 20px;
  }

  .game .custom-modal-content h5 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .game .custom-modal-content p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .game .modal-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .game .btn-try,
  .game .btn-expose,
  .game .btn-ok {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 16px;
    min-height: 48px;
  }
}

/* Mobile Landscape Modal */
@media screen and (max-width: 767px) and (orientation: landscape) {
  .game .custom-modal-content {
    padding: 20px 25px;
    margin: 10px;
    max-width: calc(100vw - 20px);
    width: 80%;
  }

  .game .custom-modal-content h5 {
    font-size: 16px;
  }

  .game .custom-modal-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .game .modal-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .game .btn-try,
  .game .btn-expose,
  .game .btn-ok {
    width: 140px;
    padding: 10px 15px;
    font-size: 14px;
    min-height: 44px;
  }
}

/* Tablet Modal */
@media (max-width: 1200px) and (min-width: 768px) {
  .game .custom-modal-content {
    padding: 30px 40px;
    max-width: 500px;
    width: 80%;
  }

  .game .custom-modal-content h5 {
    font-size: 20px;
  }

  .game .custom-modal-content p {
    font-size: 18px;
  }

  .game .modal-buttons {
    gap: 20px;
  }

  .game .btn-try,
  .game .btn-expose,
  .game .btn-ok {
    width: 180px;
    padding: 12px 25px;
    font-size: 16px;
    min-height: 48px;
  }
}
@media screen and (max-width: 767px) and (orientation: landscape) {
  .game {
    padding: 5px 0;
    min-height: 100vh;
  }

  .game .top-bar {
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    padding: 0;
    z-index: 10;
  }

  .game .logo img {
    height: 25px;
  }

  .game .timer {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .game .container-game {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
    margin-top: 60px;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .game .flu-box {
    order: 1;
    width: 30%;
    height: auto;
    min-height: 200px;
  }

  .game .symptoms {
    order: 2;
    width: 35%;
    gap: 6px;
  }

  .game .meningitis-box {
    order: 3;
    width: 30%;
    height: auto;
    min-height: 200px;
  }

  .game .box {
    padding: 10px 8px;
    border-radius: 15px;
  }

  .game .box h4 {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .game .icon img {
    width: 18px;
  }

  .game .drop-zone {
    min-height: 150px;
    padding: 8px;
    gap: 6px;
    border-width: 2px;
  }

  .game .placeholder-text {
    font-size: 12px;
    padding: 5px;
  }

  .game .drag-item {
    width: 100%;
    font-size: 11px;
    padding: 8px 4px;
    min-height: 36px;
    margin-bottom: 4px;
  }

  .game .main-title {
    display: none;
  }
}

/* Tablet Portrait */
@media (max-width: 1200px) and (min-width: 768px) and (orientation: portrait) {
  .game {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    padding: 20px 0;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .game .container-game {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 85%;
    max-width: 700px;
    margin: 90px auto 0 auto;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
  }

  .game .top-bar {
    width: 85%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
  }

  .game .flu-box,
  .game .meningitis-box,
  .game .symptoms {
    width: 100%;
  }

  .game .box {
    width: 100%;
    height: auto;
    padding: 25px;
    min-height: 280px;
  }

  .game .drop-zone {
    height: auto;
    min-height: 220px;
    padding: 20px;
    gap: 12px;
  }

  .game .main-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .game .drag-item {
    width: calc(50% - 6px);
    font-size: 16px;
    padding: 12px 15px;
    min-height: 48px;
    margin-bottom: 10px;
  }

  .game .logo img {
    height: 40px;
  }

  .game .timer {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .game .box h4 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .game .icon img {
    width: 32px;
  }
}

/* Tablet Landscape */
@media (max-width: 1200px) and (min-width: 768px) and (orientation: landscape) {
  .game {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    padding: 10px 0;
    justify-content: flex-start;
  }

  .game .container-game {
    width: 95%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 80px;
  }

  .game .box {
    width: 38%;
    /* height: 450px; */
    padding: 20px;
  }

  .game .box h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .game .icon img {
    width: 28px;
  }

  .game .drop-zone {
    height: 350px;
    padding: 15px;
    gap: 12px;
  }

  .game .placeholder-text {
    font-size: 15px;
  }

  .game .symptoms {
    width: 28%;
    gap: 12px;
  }

  .game .drag-item {
    width: 100%;
    font-size: 15px;
    padding: 10px 12px;
    min-height: 44px;
    margin-bottom: 8px;
  }

  .game .main-title {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .game .timer {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .game .logo img {
    height: 35px;
  }

  .game .top-bar {
    padding: 15px 20px;
  }
}
@media (max-width: 767px) {
  .game {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    padding: 10px 0;
    justify-content: flex-start;
  }

  .game .top-bar {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
  }

  .game .logo img {
    height: 30px;
  }

  .game .timer {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .game .container-game {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0 10px;
    margin-top: 70px;
  }
}

.game .custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.game .custom-modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.game .custom-modal-content h5 {
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.game .custom-modal-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}
.game .btn-start {
  background-color: #f57c00;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 25px;
  transition: 0.3s;
}

.game .btn-start:hover {
  background-color: #e96a00;
  color: white;
}
.game .btn-start {
  background-color: #e65100;
  color: white;
  border: none;
  width: 250px;
}

.game .btn-start:hover,
.btn-start:active,
.game .btn-start:focus,
.game .play-btn:hover,
.game .play-btn:focus,
.game .play-btn:active {
  background-color: #e96a00 !important;
  color: white !important;
  outline: none;
  box-shadow: none;
}

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

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

.end {
  font-family: "Poppins", sans-serif;
  background: url("./../assets/bg-timer.png") no-repeat center center fixed;
  background-size: cover;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.end .page {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.end .header {
  margin-bottom: 20px;
  text-align: left;
}

.end .bexsero-logo {
  width: 200px;
  height: auto;
}

.end .references {
  line-height: 1.6;
  margin-bottom: 40px;
}

.end .references h3 {
  margin-bottom: 5px;
}

.end .references ol {
  margin: 0;
  padding-left: 20px;
}

.end .safety {
  line-height: 1.6;
  margin-bottom: 10px;
}

.end .safety h3 {
  margin-bottom: 10px;
}

.end .footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
}

.end .footer-left {
  max-width: 90%;
  line-height: 1.5;
}

.end .footer-left a {
  color: #005590;
  text-decoration: none;
}

.end .gsk-logo {
  width: 80px;
  margin-bottom: 10px;
}

.end .footer-right {
  text-align: right;
}

.end .qr-code {
  width: 80px;
  height: 80px;
}

.end .restart-btn {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #28a745;
  color: white;
  border: none;
  padding: 14px 50px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.end .restart-btn:hover {
  background-color: #218838;
  transform: translate(-50%, -50%) scale(1.05);
}

/* mobiles */
@media (max-width: 600px) {
  .end {
    font-size: 14px;
  }

  .end .page {
    padding: 20px;
  }

  .end .bexsero-logo {
    width: 150px;
  }

  .end .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .end .qr-code {
    width: 60px;
    height: 60px;
  }

  .end .restart-btn {
    /* width: 80%; */
    font-size: 16px;
    /* padding: 12px 0; */
    padding: 7px 30px;
  }
}

/* tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .end {
    font-size: 19px;
  }
  .end .page {
    padding: 30px;
  }

  .end .bexsero-logo {
    width: 180px;
  }

  .end .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .end .qr-code {
    width: 70px;
    height: 70px;
  }

  .end .restart-btn {
    top: 40%;
    padding: 14px 40px;
    font-size: 17px;
  }
}

/* desktop */
@media (min-width: 1025px) {
  .end .page {
    padding: 50px 80px;
  }

  .end .bexsero-logo {
    width: 220px;
  }

  .end .qr-code {
    width: 90px;
    height: 90px;
  }

  .end .restart-btn {
    top: 50%;
  }
}
/* new */
.symptoms-popup {
  max-width: 600px;
}

.symptoms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.symptom-option {
  padding: 8px 16px;
  border-radius: 25px;
  background: #f2f2f2;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 14px;
}

.symptom-option.selected {
  background: #fff;
  border: 1px solid #ff7b00;
  color: #ff7b00;
}
/* ===== Pills Shape ===== */
.symptom-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  /* margin: 6px; */
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: #eaffea;
  color: #2e7d32;
  border: 2px solid #7ed957;
  transition: all 0.3s ease;
}

/* ===== Correct ===== */
.symptom-pill.correct {
  background: #e6f8ea;
  border-color: #2ecc71;
  color: #1e8449;
}

/* ===== Wrong ===== */
.symptom-pill.wrong {
  background: #ffeaea;
  border-color: #ff4d4f;
  color: #c0392b;
}

/* ===== Drop zones layout ===== */
.drop-zone {
  min-height: 120px;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.highlight-red {
  border: 3px solid red;
  box-shadow: 0 0 20px red;
  transition: all 0.5s ease-in-out;
}
/* .click-here {
  font-weight: bold !important;
} */
.symptoms-popup.flu-bg {
  background: linear-gradient(180deg, #bbdefb 0%, #e3f2fd 100%);
  color: #003b73;
}

.symptoms-popup.meningitis-bg {
  background: linear-gradient(180deg, #ffb4b4 27.4%, #e3f2fd 100%);

  color: #b02020;
}

.custom-modal-content.symptoms-popup {
  border-radius: 24px;
  transition: background 0.3s ease;
}

@media screen and (max-width: 768px) {
  .symptoms {
    display: none !important;
  }
}
.game .container-game {
  display: flex;
  align-items: stretch;
}

.game .box {
  width: 40%;
  /* height: 550px;  */
  height: auto;
  min-height: 75vh;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game .drop-zone {
  flex: 1;
  min-height: 0;
}

@media (max-width: 767px) {
  .game .container-game {
    flex-direction: column;
    align-items: stretch;
  }

  .game .box {
    width: 100%;
    min-height: 35vh;
  }

  .game .drop-zone {
    min-height: 30vh;
  }
}

@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
  .game .box {
    width: 100%;
    min-height: 30vh;
  }

  .game .drop-zone {
    min-height: 30vh;
  }
}

@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .game .box {
    width: 50%;
    min-height: 50vh;
  }

  .game .drop-zone {
    min-height: 50vh;
  }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .symptoms-popup .symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .symptoms-popup .symptom-option {
    width: 100%;
    display: block;
    text-align: left;
    padding: 10px 14px;
  }
}
.click-here-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 10px;
}

#fluPlaceholder .click-here-btn {
  background-color: #0D47A1; 
}

#meningitisPlaceholder .click-here-btn {
  background-color: #BD1E0F;
}

.click-here-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
