/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* General Body Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #1a1a2e, #0f1a2e);
  color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 153, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(0, 230, 118, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Container for main content */
.container {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #1a1a2e; /* Different container background */
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7); /* More pronounced shadow */
  border: 1px solid #4a4a4a; /* Different border color */
  margin-top: 50px;
  margin-bottom: 50px;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Headings */
h1 {
  font-size: 3.2em;
  font-weight: 700;
  color: #8a2be2; /* Purple heading */
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 2px;
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(0, 230, 118, 0.3); }
  to { text-shadow: 0 0 40px rgba(0, 230, 118, 0.6); }
}

p {
  font-size: 1.3em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #e0e0e0;
  text-align: center;
  font-weight: 300;
}

/* Form Section */
.fake-form {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.1), rgba(15, 26, 46, 0.05));
  backdrop-filter: blur(15px);
  padding: 50px 40px;
  border-radius: 20px;
  margin-top: 50px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(74, 74, 74, 0.1);
  overflow: hidden;
}

.fake-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

h2 {
  font-size: 1.8em;
  color: #8a2be2;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

input[type="number"] {
  padding: 18px 25px;
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  border: 2px solid rgba(138, 43, 226, 0.3);
  margin: 25px auto;
  font-size: 1.2em;
  background: rgba(26, 26, 46, 0.1);
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: block;
  font-family: 'Poppins', sans-serif;
}

input[type="number"]:focus {
  border-color: #00e676;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

input[type="number"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

button {
  margin: 30px auto;
  background-color: #8a2be2; /* Purple button */
  color: #1a1a1a;
  padding: 18px 40px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
  display: block;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

button:hover::before {
  left: 100%;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 230, 118, 0.5);
}

button:active {
  transform: translateY(-1px);
}

.warning {
  color: #ffeb3b;
  font-weight: 500;
  margin-top: 35px;
  font-size: 1.1em;
  text-align: center;
  padding: 20px;
  background: rgba(255, 235, 59, 0.1);
  border-radius: 10px;
  border-left: 4px solid #ffeb3b;
}

/* Image Banner */
.image-banner {
  max-width: 60%;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(0, 230, 118, 0.3);
  display: block;
  transition: transform 0.3s ease;
}

.image-banner:hover {
  transform: scale(1.05);
}

/* Loading Screen Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 46, 0.95));
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.loading-text {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #00e676;
  text-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.progress-bar-container {
  width: 80%;
  max-width: 500px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00e676, #00ff99, #4caf50);
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;
}

.modal-content {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(12, 12, 12, 0.95));
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalSlide 0.5s ease-out;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content p {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2em;
  color: #00e676;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-button:hover {
  color: #00ff99;
  background: rgba(0, 230, 118, 0.1);
  transform: rotate(90deg);
}

/* Info Box Styles */
.info-box {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 255, 153, 0.1));
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 230, 118, 0.4);
  padding: 35px;
  margin: 50px auto;
  border-radius: 20px;
  color: #f0f0f0;
  font-size: 1.1em;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 230, 118, 0.1), transparent);
  animation: rotate 10s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.info-box p {
  margin-bottom: 15px;
  text-align: left;
}

.info-box strong {
  color: #00e676;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 30px 20px;
  }
  
  h1 {
    font-size: 2.5em;
  }
  
  p {
    font-size: 1.1em;
  }
  
  .fake-form {
    padding: 30px 20px;
  }
  
  input[type="number"] {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  
  button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  
  .image-banner {
    max-width: 80%;
  }
  
  .info-box {
    margin: 30px 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 255, 153, 0.15));
    color: #f0f0f0;
    border: 2px solid rgba(0, 230, 118, 0.5);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
  
  .loading-text {
    font-size: 2em;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
  
  .info-box {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.25), rgba(0, 255, 153, 0.2));
    color: #303030;
    border: 2px solid rgba(0, 230, 118, 0.6);
    font-size: 1em;
  }
  
  .info-box p {
    color: #303030;
    font-weight: 400;
  }
}


/* Mobile fixes for progress bar */
@media (max-width: 768px) {
  .progress-bar-container {
    width: 90%;
    max-width: 350px;
    height: 6px;
  }
  
  .loading-overlay {
    padding: 20px;
  }
  
  .loading-text {
    font-size: 2em;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .progress-bar-container {
    width: 95%;
    max-width: 280px;
    height: 5px;
  }
  
  .loading-text {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
}


/* Progress bar styles for video page */
.progress {
  width: 100%;
  max-width: 600px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 30px auto;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00e676, #00ff99, #4caf50);
  border-radius: 15px;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.1em;
  text-shadow: none;
}

/* Mobile fixes for video page progress bar */
@media (max-width: 768px) {
  .progress {
    width: 90%;
    max-width: 400px;
    height: 25px;
    margin: 25px auto;
  }
  
  .progress .progress-bar {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .progress {
    width: 95%;
    max-width: 300px;
    height: 20px;
    margin: 20px auto;
  }
  
  .progress .progress-bar {
    font-size: 0.9em;
  }
}

#finalizadoImg {
  display: none;
  max-width: 200px;
  margin: 30px auto;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#finalizadoImg:hover {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  #finalizadoImg {
    max-width: 150px;
    margin: 20px auto;
  }
}



/* Blur effect for WhatsApp image */
.blurred {
  filter: blur(8px);
  transition: filter 0.5s ease-in-out;
}

/* Support message overlay */
.support-message-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.5em;
  text-align: center;
  border-radius: 10px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.support-message-overlay.show {
  opacity: 1;
}

.support-message-overlay p {
  margin: 10px 0;
  color: #ffffff; /* Ensure text is white */
}

.support-message-overlay button {
  margin-top: 20px;
  background: #00e676;
  color: #1a1a1a;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .support-message-overlay {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .support-message-overlay {
    font-size: 1em;
  }
}





