html {
  box-sizing: border-box;
  -webkit-scroll-behavior: smooth;
  -moz-scroll-behavior: smooth;
  -ms-scroll-behavior: smooth;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  background-color: #f4f4f9;
  color: #444;
  font-size: 14px;
  line-height: 20px;
}

.container {
  background-color: #f1d0d0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
   border: 4px solid red;
}

.header p {
  margin: 0;
  font-size: 1.5rem;
  font-family: Poppins, sans-serif;
  color: #333;
  text-align: center;
}

.header p strong {
  font-weight: bold;
}

.header p span {
  font-weight: bold;
}

.banner img {
  width: 100%;
  margin: 10px 0;
  border-radius: 5px;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  padding: 10px;
  background-color: rgba(242, 232, 232, 1);
  border-radius: 10px;
}

.time-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 5px;
}

.time-value {
  font-size: 27px;
  font-weight: bold;
  color: rgba(208, 2, 27, 1);
}

.time-label {
  font-size: 17px;
  color: rgba(155, 155, 155, 1);
  text-transform: uppercase;
}

.time-separator {
  font-size: 27px;
  font-weight: bold;
  color: rgba(208, 2, 27, 1);
  margin-bottom: 20px;
}

.offer-title p {
  text-align: center;
  margin: 10px 0;
  font-size: 20px;
  font-family: Poppins, sans-serif;
  color:  #333333;
}

.offer-title hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #ccc;
}

.offer-button {
  margin: 10px 0;
}

.button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: Kanit, sans-serif;
  font-weight: 400;
  font-style: normal;
  background: rgba(1, 116, 199, 1);
  border: none;
  text-align: center;
  padding: 10px 0; 
  cursor: pointer;
  opacity: 1;
  word-break: break-word;
  align-self: center;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
  font-size: 18px; 
  line-height: 21px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.bllink {
  background-color: #FF6F00; /* Bright Amber */
}

.gplink {
  background-color: #0D8BFF; /* Sky Blue */
}

.rblink {
  background-color: #FF2E4C; /* Vivid Red */
}

.arlink {
  background-color: #C21807; /* Deep Crimson */
}

.blmblink {
  background-color: #FF9100; /* Orange Accent */
}

.gpmblink {
  background-color: #2979FF; /* Vivid Blue */
}


.button:disabled {
  cursor: default;
  opacity: 0.7;
}

.button:hover {
  color: #fff;
  opacity: 0.9;
}

@media only screen and (max-width: 800px) {
  .container {
    width: 100%;
    
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
  }
  .header p {
    font-size: 1.2rem;
  }
  .banner img {
    margin: 5px 0;
  }
  .countdown {
    margin: 10px 0;
    padding: 5px;
  }
  .time-value {
    font-size: 20px;
  }
  .time-label {
    font-size: 14px;
  }
  .time-separator {
    font-size: 20px;
  }
  .offer-title p {
    font-size: 1rem;
    margin: 5px 0;
  }
  .offer-title hr {
    margin: 5px 0;
  }
  .button {
    padding: 8px 0; 
    font-size: 16px; 
    line-height: 20px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 5px;
  }
  .header p {
    font-size: 1rem;
  }
  .time-value {
    font-size: 18px;
  }
  .time-label {
    font-size: 12px;
  }
  .time-separator {
    font-size: 18px;
  }
  .offer-title p {
    font-size: 0.9rem;
  }
  .button {
    font-size: 14px; 
    padding: 6px 0;
  }
}