/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('https://search.jachu.xyz/images/background.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
  cursor: url('https://search.jachu.xyz/images/cursor.cur'), auto;
}

/* ========== HEADER ========== */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  z-index: 999;
}

.auth-button {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-right: 10px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
}

.auth-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 65, 108, 0.5);
}

/* ========== CONTAINER ========== */
.container {
  max-width: 500px;
  width: 90%;
  padding: 25px 20px;
  background: #1b1b1b;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

h1 {
  color: #ff416c;
  margin-bottom: 20px;
  font-size: 28px;
}

/* ========== SEARCH ========== */
.search-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#search-input {
  padding: 12px 20px;
  width: 250px;
  max-width: 80%;
  border: 2px solid #ff416c;
  border-radius: 30px;
  outline: none;
  font-size: 16px;
  background-color: #121212;
  color: white;
  transition: all 0.4s ease-in-out;
}

#search-input:focus {
  border-color: #ff4b2b;
  box-shadow: 0px 0px 10px rgba(255, 65, 108, 0.4);
  background-color: #181818;
}

#search-input::placeholder {
  color: #cccccc;
}

#search-button {
  padding: 12px 20px;
  margin-left: 10px;
  border: none;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: white;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#search-button:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #ff4b2b, #ff416c);
}

/* ========== GOOGLE SERVICES ========== */
.google-services-wrapper {
  text-align: center;
  margin-top: 30px;
  overflow: hidden;
  width: 100%;
}

.google-services {
  display: flex;
  width: 200%;
  transition: transform 0.4s ease-in-out;
}

.shortcut-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 50%;
  flex-shrink: 0;
}

.service-button {
  text-align: center;
  padding: 15px;
  background: #292929;
  border-radius: 10px;
  transition: 0.3s ease;
  cursor: pointer;
  width: 130px;
  margin: 8px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.service-button:hover {
  transform: translateY(-4px);
  background: #3a3a3a;
}

.service-button img {
  max-width: 50px;
  margin-bottom: 8px;
}

.service-button span {
  font-size: 14px;
}

/* ========== NAV BUTTONS ========== */
.nav-button {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  border-radius: 100px;
  transition: all 0.3s ease-in-out;
  margin: 5px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 20px;
}

.nav-button:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #ff4b2b, #ff416c);
}

/* ========== NEXT BUTTON ========== */
#next-button {
  margin-top: 20px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

#next-button:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #ff4b2b, #ff416c);
}

/* ========== SUGGESTIONS ========== */
.suggestion {
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.suggestion img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.user-text {
  color: #ff4b2b;
  margin-right: 10px;
  font-weight: 600;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media screen and (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .container {
    width: 90%;
    padding: 20px;
  }

  .search-container {
    flex-direction: column;
  }

  #search-button {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .google-services {
    flex-direction: column;
    width: 100%;
  }

  .service-button {
    width: 90%;
  }
}


/* Auth Buttons */
.auth-btn {
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 5px rgba(255, 65, 108, 0.4);
}

.auth-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.6);
}

.auth-btn.danger {
  background: linear-gradient(135deg, #333, #111);
  color: #FF416C;
  border: 1px solid #FF416C;
}

.auth-btn.danger:hover {
  background-color: #1a1a1a;
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.6);
  transform: scale(1.05);
}

/* User Text */
.user-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.user-text.small {
  font-size: 12px;
  opacity: 0.7;
}
