.gtw-container {
  display: flex;
  gap: 30px;
  margin: 20px 0;
  align-items: flex-start;
}

.gtw-word-box {
  flex: 1;
  border-radius: 40px;
  background: rgb(0, 77, 143);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.gtw-gift-box {
  flex: 0 0 350px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.today-gft {
  font-size: 22px;
  font-weight: 600;
  width: 200px;
  text-align: center;
  border-radius: 50px;
  padding: 7px 10px;
  border: 4px solid #ffb42e;
  margin: 0 auto;
}
.main-label {
  font-size: 24px;
  color: whitesmoke;
  font-weight: 700;
  margin-bottom: 14px;
}

.main-sub-label {
  font-size: 24px;
  color: whitesmoke;
  font-weight: 600;
  margin-bottom: 14px;
}
.gtw-gift-box img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.gtw-scrambled,
.gtw-inputs {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border: 2px solid black;
}

.gtw-letter {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 2px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  outline: none !important;
}

.gtw-input {
  width: 60px !important;
  height: 60px !important;
  background: #fff;
  border: 2px solid black !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px!important;
  font-weight: bold;
  text-transform: uppercase;
  outline: none !important;
  text-align: center;
}

.gtw-submit {
  background: white;
  color: black;
  border: none;
  transition: background 0.3s;
  font-size: 20px;
  border-radius: 53px;
  padding: 15px 44px;
  font-weight: 600;
}
.gtw-submit:hover {
  background: white;
  color: black;
  border: none;
  transition: background 0.3s;
  font-size: 20px;
  border-radius: 53px;
  padding: 15px 44px;
  font-weight: 600;
}

.gtw-result {
  padding: 15px;
  margin-top: 20px;
  border-radius: 5px;
  display: none;
}

.gtw-result.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.gtw-result.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

.gtw-login-required,
.gtw-max-reached,
.gtw-no-words,
.gtw-no-winners {
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 20px 0;
  font-size: 17px;
}

.gtw-winners ul {
  list-style: none;
  padding: 0;
}

.gtw-winners li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.gtw-winner-name {
  font-weight: bold;
  flex: 2;
}

.gtw-win-date {
  flex: 1;
  color: #777;
}

.gtw-win-word {
  flex: 1;
  text-align: right;
  font-family: monospace;
}

/* Winners Section */
.gtw-winners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gtw-winners-title {
  text-align: center;
  color: #000000bf;
  margin-bottom: 30px;
  font-size: 28px;
  position: relative;
}

.gtw-winners-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #004d8f;
  margin: 10px auto 0;
}

.gtw-winners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gtw-winner-card {
  background: white;
  border: 2px solid #004d8f;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 77, 143, 0.1);
  transition: transform 0.3s ease;
  width: calc(33.333% - 20px);
}

.gtw-winner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 77, 143, 0.15);
}

.gtw-trophy-icon {
  position: absolute;
  top: -12px;
  right: -12px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffd700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gtw-winner-image {
  margin-bottom: 15px;
  text-align: center;
}

.gtw-winner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  max-height: 150px;
  object-fit: cover;
}

.gtw-winner-details {
  flex-grow: 1;
}

.gtw-winner-field {
  margin-bottom: 8px;
  display: flex;
}

.gtw-field-label {
  font-weight: bold;
  color: #000000bf;
  min-width: 60px;
  margin-right: 10px;
  font-size: 16px;
}

.gtw-field-value {
  font-size: 16px;
  color: #333;
}

.gtw-no-winners {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 5px;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .gtw-winner-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .gtw-winner-card {
    width: 100%;
  }
}

.gtw-cooldown {
  padding: 15px;
  background: #fff8e5;
  border: 1px solid #ffd700;
  border-radius: 5px;
  color: #856404;
  text-align: center;
  margin: 20px 0;
  font-size: 16px;
}

@media screen and (max-width: 900px) {
  .gtw-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .gtw-word-box {
    width: 95%;
  }
}

@media screen and (max-width: 600px) {
  .gtw-word-box {
    padding: 20px;
    border-radius: 30px;
  }
  .main-label,
  .main-sub-label {
    font-size: 18px;
    text-align: center;
  }

  .gtw-letter,
  .gtw-input {
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
  }

  button.gtw-submit {
    font-size: 16px;
    padding: 8px 20px;
  }
}

.gtw-final-result {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  width: 100%;
}

.gtw-final-result svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.gtw-final-result.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.gtw-final-result.warning {
  background-color: #fff8e1;
  color: #ff8f00;
  border-left: 4px solid #ffc107;
}

.gtw-login-required {
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 20px 0;
  text-align: center;
}

.gtw-login-link {
  color: #004d8f;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gtw-login-link:hover {
  color: #002b50;
  text-decoration: underline;
}

.gtw-faq-section {
  display: flex;
  justify-content: center;
  align-items: self-start;
  background: #171717;
  width: 100%;
  padding: 30px;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.gtw-faq-content h3 {
  font-size: 18px;
  color: white;
}
.gtw-faq-image {
  flex: 1;
  min-width: 300px;
}
.gtw-faq-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gtw-faq-content {
  flex: 1;
  min-width: 300px;
}
.gtw-faq-item {
  margin-bottom: 15px;
  border: 1px solid white;
  border-radius: 8px;
  overflow: hidden;
}
.gtw-faq-question {
  font-weight: 600;
  cursor: pointer;
  padding: 15px;
  background: transparent;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gtw-faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.gtw-faq-item.active .gtw-faq-answer {
  padding: 15px;
  max-height: 500px;
  padding-top: 0;
  color: white;
}
.gtw-faq-answer ul {
  padding-left: 20px;
  margin: 10px 0;
}
.gtw-faq-answer li {
  margin-bottom: 8px;
}

.qtwmainsec {
  display: flex;
  justify-content: center;
  align-items: center;
}
img.quiz-img-qtw {
  width: 200px;
}

.ineer-text-qte {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin: 0 18px;
  color: #084e8d;
}
.qtw-bolddwsc {
  text-align: center;
  font-size: 23px;
  line-height: 28px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 12px;
}

.qtw-dwsc {
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 40px;
}
.ineer-text-qte {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin: 0 18px;
  color: #084e8d;
}
@media (max-width: 768px) {
  .gtw-faq-section {
    flex-direction: column;
  }
  .gtw-faq-content {
    width: 100%;
  }

  img.quiz-img-qtw {
    width: 120px;
  }
  .ineer-text-qte {
    font-size: 25px;
    line-height: 26px;
  }
  .qtw-bolddwsc {
    font-size: 17px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
  }
  .qtw-dwsc {
    font-size: 16px;
    text-align: center;
  }
  .today-gft {
    width: 100%;
  }
}
