* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #0e0e0e;
  color: #f1f1f1;
  line-height: 1.6;
  overflow-x:hidden;
}

/* Background Video */
.video-container {
  position: fixed;
  top: 0;
  object-fit:cover;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.home-message{
  position: relative;
  top: 250px;
  color: gold;
}
/* Smooth Fade-In Effect */
.fade-in {
  opacity: 0;
  /* transform: translateY(20px); */
  animation: fadeIn 1.5s ease-out forwards;
}
.auth-box {
  background: rgba(0, 0, 0, 0.85);
  color: gold;
  border: 2px solid gold;
  border-radius: 12px;
  padding: 30px 40px;
  width: 400px;
  max-width: 90%;
  margin-top: 30px;
  transition: 0.6s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
}

/* Smooth fade-in effect */
.auth-box.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.auth-header{
  display:flex;
  align-items:center;
  justify-content: center;
}
.arrow-icon {
  font-size: 2rem;
  color: #c59d5f; /* Gold color */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow-icon:hover {
  color: #ffdd00; /* Lighter gold on hover */
}

.auth-box.move-left {
  animation: slideLeft 0.5s forwards;
}

.auth-box.move-right {
  animation: slideRight 0.5s forwards;
}

@keyframes slideLeft {
  from {
    transform: translate(-50%, -50%) translateX(100%);
  }
  to {
    transform: translate(-50%, -50%) translateX(0);
  }
}

@keyframes slideRight {
  from {
    transform: translate(-50%, -50%) translateX(-100%);
  }
  to {
    transform: translate(-50%, -50%) translateX(0);
  }
}
/* --- Form and Input Styling --- */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 1rem;
  font-weight: bold;
}

input {
  padding: 12px;
  border: 1px solid gold;
  border-radius: 5px;
  background: #111;
  color: gold;
  transition: 0.3s;
}

input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px gold;
}

/* --- Submit Button --- */
.submit-btn {
  background: gold;
  color: black;
  padding: 12px 20px;
  border: 2px solid gold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: 0 0 10px gold;
}

.submit-btn:hover {
  background: black;
  color: gold;
  box-shadow: 0 0 25px gold;
}

/* --- Hidden by default --- */
.hidden {
  display: none;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
}
/* Initial header position when login box is visible */

/* Header Section */
header {
  height: 100vh;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  
  margin-top:0px;
}
.move-login-down{
  transition: margin-top 0.5s ease-out;
  margin-top:190px;
}
header h1 {
  font-size: 5rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #ffdd00, #ff8800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: glow 2s infinite alternate;
}
@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0% 0%;
  }
}
header p {
  font-size: 1.3rem;
  margin: 20px 0;
  z-index: 1;
}

.cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 18px;
  color: #f5f5f5; /* Soft off-white */
  background: transparent; 
  border: 2px solid #c59d5f; /* Elegant gold border */
  border-radius: 30px; 
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(197, 157, 95, 0.4); /* Subtle gold glow */
}

.cta:hover {
  background: #c59d5f; /* Gold fill on hover */
  color: #0f0f0f; 
  box-shadow: 0 0 20px rgba(197, 157, 95, 0.7); /* Brighter glow */
  transform: translateY(-3px); /* Slight lift effect */
}
/* Wheel of Jobs */
.job-wheel {
  display: flex;
  align-items: center;
  position:relative;
  justify-content: center;
  padding: 100px 0;
  background-color: #1c1c1c;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  
  opacity: 1;
}

svg {
  margin-bottom:-40px;
  
   
}
   
.carousel {
  display: flex;
  position:relative;
  align-items: center;
  max-width: 1100px;
  width: 90%;
  gap: 20px; /* Add space between items in carousel */
}


.arrow {
  font-size: 2rem;
  color: #ffdd00;
  cursor: pointer;
  transition: 0.3s;
  padding: 10px;
}

.arrow:hover {
  color: #ff8800;
}

.arrow.prev {
  position: absolute;
  left: 10px;
}

.arrow.next {
  position: absolute;
  right: 10px;
}

.job {
  display:none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  background: #2a2a2a; /* Darker background for sleek look */
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  overflow: hidden; /* Ensure content doesn't overflow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
}
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.job:hover {
  transform: translateY(-5px); /* Slight lift effect on hover */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); /* More prominent shadow */
}

.job-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.job img {
  width: 100px;
  height: auto;
  border-radius: 8px; /* Rounded corners for the image */
  margin-bottom: 15px;
}

#job-title h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffdd00;
  margin-bottom: 15px;
}

#job-description {
  font-size: 1rem;
  color: #f1f1f1;
  margin-bottom: 20px;
  line-height: 1.5;
}

.earnings {
  font-size: 1.1rem;
  color: #ff8800;
  margin-bottom: 20px;
}

.review {
  font-size: 1rem;
  color: #f1f1f1;
}

.review-text {
  font-style: italic;
  color: #ffdd00;
}

/* Active class to display only the active job */
.active {
  display: block; /* Ensure it's shown */
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #111;
  color: #ccc;
}

footer a {
  color: #ff6700;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #fff;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
  100% {
    text-shadow: 0 0 40px rgba(255, 136, 0, 0.9);
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  
  header p {
    font-size: 1.1rem;
  }
  
  .carousel {
    flex-direction: column;
  }
  
  .arrow {
    font-size: 1.5rem;
  }
}

.job.move-left {
  position:absolute;
  width:90%;
  animation: moveLeft 2.5s forwards;
}
.job.move-center {
  animation: moveCenter 2.5s forwards;
}
.job.move-center-2 {
  animation: moveCenter2 2.5s forwards;
}
.job.move-right {
  position: absolute;
  width:90%;
  animation: moveRight 2.5s forwards;
}

@keyframes moveRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes moveLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
@keyframes moveCenter {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes moveCenter2 {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  z-index: 1;
}
