body {
  margin: 0;
  height: 100vh;
  background: url("images/Background.png") no-repeat center center fixed;
  background-size: cover;
  font-family: "Lobster", cursive;
}

.landing {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  background: url("images/Logo.png") no-repeat center;
  background-size: contain;
  width: 700px;
  height: 500px;
  margin-bottom: 100px;
  transform: translateY(-20px);
}

.buttons {
  position: absolute;
  bottom: 25%;
  left: 50%;
  width: 60%;
  display: flex;
  justify-content: center;
  gap: 100px;
  transform: translateX(-50%);
}

@keyframes gradient {
  0% { background-position: left; }
  100% { background-position: right; }
}

.btn {
  width: 150px;
  height: 50px;
  border: 3px solid #5a4110;
  border-radius: 15px;
  background: linear-gradient(to right,#bf953f,#fcf6ba,#b38728,#fbf5b7,#aa771c);
  background-size: 200% 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 8px;
  font-size: 1.5em;
  color: rgb(121, 103, 3);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-family: "Lobster", cursive;
  transition: box-shadow 0.3s ease;
  box-shadow:
    0 6px 0 0 #5a4110,
    inset 0 2px 4px rgba(255,255,255,.4),
    inset 0 -2px 4px rgba(0,0,0,.25);
}

.btn:hover {
  transform: translateY(2px);
  animation: gradient 1s ease-in-out;
  background-position: right;
  box-shadow:
    0 2px 0 0 #5a4110;
}

.btn:active {
  transform: translateY(4px);
  transition: 200ms;
  animation: none;
  box-shadow:
    0 0 0 0 #5a4110,
    0 2px 4px rgba(0,0,0,.4),
    inset 0 -2px 4px rgba(0,0,0,.25);
}

.form-page {
  height: 100vh;
  background: url("images/Background.png") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-title {
  font-family: "Lobster", cursive;
  font-size: 2.5em;
  margin-bottom: 10px;
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  padding: 10px;
  border: none;
}

.form-box input {
  font-size: 1em;
  border-radius: 10px;
  outline: 2px solid #FEBF00;
  border: 0;
  background-color: #fff;
  outline-offset: 3px;
  padding: 10px 1rem;
  transition: 0.25s;
}

.form-box input:focus {
  outline-offset: 7px;
  background-color: #fff;
}

.form-box .btn {
  margin-top: 5px;
  cursor: pointer;
}

.lang-switcher-index {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
}

.lang-switcher-index img {
  width: 45px;
  height: 30px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 5px;
}

.lang-switcher-index img:hover {
  transform: scale(1.1);
}

.lang-switcher-login {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
}

.lang-switcher-login img {
  width: 45px;
  height: 30px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 5px;
}

.lang-switcher-login img:hover {
  transform: scale(1.1);
}

.captcha-section {
  margin-top: 5px;
  padding: 20px;
  background: rgba(12, 60, 45, 0.3);
  border-radius: 15px;
  border: 2px solid #FEBF00;
}

.captcha-title {
  color: white;
  font-size: 1.3em;
  margin-bottom: 20px;
  text-align: center;
}

.captcha-question {
  color: white;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 2px solid rgba(191, 149, 63, 0.5);
}

.captcha-input-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.captcha-input-group input {
  flex: 1;
  max-width: 200px;
}

.refresh-btn {
  background: none;
  border: 2px solid #FEBF00;
  color: white;
  font-size: 1.5em;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: rgba(254, 191, 0, 0.2);
}

.error {
  color: white;
  margin-top: 20px;
  text-align: center;
}

.error a {
  color: gold;
}

.success {
  color: #4caf50;
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 1024px) {
  .logo {
    width: 600px;
    height: 430px;
  }

  .buttons {
    gap: 80px;
  }

  .form-title {
    font-size: 2.3em;
  }
  
  .lang-switcher-login img,
  .lang-switcher-index img {
    width: 42px;
    height: 28px;
  }
}

@media (max-width: 900px) {
  .logo {
    width: 500px;
    height: 350px;
  }

  .buttons {
    gap: 60px;
  }

  .form-title {
    font-size: 2.2em;
  }
  
  .btn {
    width: 140px;
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 400px;
    height: 280px;
    margin-bottom: 80px;
  }

  .buttons {
    gap: 40px;
    width: 70%;
  }

  .btn {
    width: 130px;
    font-size: 1.3em;
  }

  .form-box {
    width: 280px;
  }
  
  .form-title {
    font-size: 2.1em;
  }
  
  .captcha-section {
    padding: 18px;
  }
  
  .captcha-title {
    font-size: 1.2em;
  }
  
  .captcha-question {
    font-size: 1.1em;
    padding: 12px;
  }
  
  .lang-switcher-login img,
  .lang-switcher-index img {
    width: 40px;
    height: 27px;
  }
}

@media (max-width: 600px) {
  .logo {
    width: 300px;
    height: 130px;
    transform: translateY(-10px);
    margin-bottom: 60px;
  }

  .buttons {
    position: static;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: auto;
  }

  .btn {
    width: 140px;
    height: 50px;
    font-size: 1.2em;
  }

  .form-title {
    font-size: 2em;
  }

  .form-box {
    width: 280px;
  }
  
  .form-box input {
    font-size: 0.95em;
    padding: 9px 1rem;
  }

  .captcha-section {
    padding: 20px;
  }
  
  .captcha-title {
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  
  .captcha-question {
    font-size: 1em;
    padding: 12px;
    margin-bottom: 12px;
  }

  .captcha-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .captcha-input-group input {
    max-width: 100%;
  }

  .refresh-btn {
    width: 100%;
    height: 50px;
    font-size: 1.3em;
  }

  .lang-switcher-login,
  .lang-switcher-index {
    top: 15px;
    right: 15px;
  }

  .lang-switcher-login img,
  .lang-switcher-index img {
    width: 38px;
    height: 25px;
  }
}

@media (max-width: 400px) {
  .logo {
    width: 250px;
    height: 110px;
    margin-bottom: 50px;
  }

  .btn {
    width: 120px;
    font-size: 1.1em;
    height: 48px;
  }

  .form-box {
    width: 270px;
  }
  
  .form-box input {
    font-size: 0.9em;
    padding: 8px 0.9rem;
  }

  .form-title {
    font-size: 1.8em;
  }
  
  .captcha-section {
    padding: 18px;
  }
  
  .captcha-title {
    font-size: 1em;
    margin-bottom: 12px;
  }
  
  .captcha-question {
    font-size: 0.95em;
    padding: 10px;
  }
  
  .refresh-btn {
    height: 48px;
    font-size: 1.2em;
  }
  
  .lang-switcher-login,
  .lang-switcher-index {
    top: 12px;
    right: 12px;
  }
  
  .lang-switcher-login img,
  .lang-switcher-index img {
    width: 35px;
    height: 23px;
  }
  
  .error,
  .success {
    font-size: 0.95em;
    margin-top: 15px;
  }
}