:root {
  --primary-color: #28a745;
  --text-color: #333;
  --background-color: #f5f5f5;
  --white: #ffffff;
  --error-color: #dc3545;
  --success-color: #28a745;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--background-color);
  min-height: 100vh;
}

.app {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  margin-bottom: 40px;
  box-shadow: 0px 7px 22px -5px rgba(0, 0, 0, 0.14);
  background: var(--white);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-color);
  text-transform: lowercase;
  line-height: 1;
  letter-spacing: -1px;
  font-family: 'Arial Black', Arial, sans-serif;
}

.dollar {
  color: #ffd700;
  position: relative;
  display: inline-block;
  background: #ffd700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: black;
  font-size: 1.6rem;
  text-align: center;
  line-height: 28px;
  margin-left: 2px;
  transform: translateY(-2px);
  font-weight: 300;
}

.subtitle {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-top: -2px;
  font-weight: bold;
  letter-spacing: 1px;
  padding-left: 80px;
}

.balance {
  background-color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  border: 2px solid #ffd700;
}

.card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.message {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 30px;
  padding: 0 20px;
  line-height: 1.4;
}

.bonus {
  font-size: 1.6rem;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.instruction {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.start-button,
.verify-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 15px 60px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 300px;
}

.start-button:hover,
.verify-button:hover {
  background-color: #218838;
}

.hidden {
  display: none !important;
}

#game-container {
  text-align: center;
}

.coupon-image-container {
  margin-bottom: 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -2rem;
}

.coupon-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  opacity: 0;
}

.coupon-input-container {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.coupon-input-container h3 {
  margin-bottom: 20px;
  color: var(--text-color);
  text-align: left;
}

#coupon-input {
  width: 100%;
  max-width: 300px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 20px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 90%;
  width: 400px;
}

.modal-content svg {
  width: 120px;
}


.modal-content h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.modal-content p {
  font-size: 1.4rem;
  margin-bottom: 30px;
}


@keyframes fadeImage {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.slide-animation {
  animation: fadeImage 0.3s ease-out forwards;
}


@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.header {
  transition: margin-top 0.3s ease;
}

.header-pushed {
  margin-top: 60px;
}

.notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--success-color);
  color: white;
  text-align: center;
  font-weight: bold;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.notification.error {
  background-color: var(--error-color);
}

.notification.show {
  transform: translateY(0);
}

.notification.fade-out {
  transform: translateY(-100%);
  opacity: 0;
}

.notification.success {
  background-color: var(--success-color);
}

.verify-button.button-disabled,
#verify-button.button-disabled {
  opacity: 0.5;
  pointer-events: none;
}

#assistir-video {
  margin-top: 1rem;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
}

.video-text {
  font-size: 22px;
  text-align: center;
  font-weight: bold;
}

#acesso-liberado, .assistir-video-final {
  background-color: #ffd700;
  color: #000;
  font-weight: bold;
  display: none;
  margin: 20px auto 0;
  max-width: 300px;
}

#acesso-liberado.visible {
  display: block;
}


#final-card-2 {
  margin-top: 20px;
}

#video-section-final {
  margin-top: 30px;
}

#assistir-video-final {
  margin-top: 20px;
}