@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;900&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #191919;
}

::-webkit-scrollbar-thumb {
  background: #f02e0c;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f02e0c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #f02e0c #191919;
}

body {
  background: #191919;
  font-family: 'Poppins', sans-serif;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}

.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(35, 35, 35, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 35, 35, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
}

.popup-container {
  background: #202020;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  padding: 30px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  opacity: 0;
  border: 1px solid #333;
}

.popup-overlay.active .popup-container {
  transform: translateY(0);
  opacity: 1;
}

.popup-header {
  font-weight: 900;
  font-size: 2rem;
  color: #f02e0c;
  margin-bottom: 15px;
  text-align: center;
}

.popup-separator {
  height: 2px;
  background: linear-gradient(90deg, transparent,#f02e0c, transparent);
  margin: 10px 0 20px;
  width: 100%;
}

.popup-content {
  overflow-y: auto;
  padding-right: 15px;
  flex-grow: 1;
}

.popup-content ul {
  list-style-type: none;
  padding-left: 20px;
}

.popup-content li {
  margin-bottom: 15px;
  position: relative;
  font-weight: 300;
  line-height: 1.5;
}

.popup-content li:before {
  content: "•";
  color: #f02e0c;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #f02e0c;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.1);
}

.spacer {
  height: 50px;
  width: 100%;
}


.intro-text {
  font-weight: 900;
  font-size: 3rem;
  transition: all 0.5s ease;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#firstText {
  color: white;
}

#secondText {
  color: #f02e0c;
}

.main-content {
  opacity: 0;
  transition: opacity 0.8s ease;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding-top: 1px;
  padding-bottom: 60px; 
}

.logo-hover-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 20px;
}

.logo-text-group {
  display: flex;
  align-items: center;
}

.logo {
  width: 120px;
  transition: transform 0.4s ease;
}

.visual-text {
  font-weight: 900;
  font-size: 2.5rem;
  color: #f02e0c;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-hover-area:hover .logo {
  transform: translateX(-10px);
}

.logo-hover-area:hover .visual-text {
  opacity: 1;
  max-width: 200px;
  margin-left: 15px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 8px 20px;
  font-weight: 300;
  font-size: 0.9rem;
  background: #202020;
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  border-color: #f02e0c;
  box-shadow: 0 0 12px 4px rgba(251, 152, 102, 0.3);
}

footer {
  background: #202020;
  padding: 30px 20px;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  width: 40px;
}

.footer-visual-text {
  font-weight: 900;
  color: #f02e0c;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-links a {
  color: #f02e0c;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Updated popup styles */
.popup-container {
  background: #202020;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  padding: 30px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  opacity: 0;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
}

.popup-header {
  font-weight: 900;
  font-size: 2rem;
  color: #f02e0c;
  margin-bottom: 15px;
  text-align: left;
  padding-left: 0;
}

.popup-separator {
  height: 2px;
  background: linear-gradient(90deg, #f02e0c, transparent);
  margin: 10px 0 20px;
  width: 100%;
}

.popup-content {
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.popup-content ul {
  list-style-type: none;
  padding-left: 0;
}

.popup-content li {
  margin-bottom: 15px;
  position: relative;
  font-weight: 300;
  line-height: 1.5;
  padding-left: 20px;
}

.popup-content li:before {
  content: "•";
  color: #f02e0c;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.acceptance-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: auto;
}

.btn-accept, .btn-decline {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
}

.btn-accept {
  border-color: #4CAF50;
  color: #4CAF50;
}

.btn-decline {
  border-color: #F44336;
  color: #F44336;
}

.btn-accept:hover {
  background: rgba(76, 175, 80, 0.1);
  transform: translateY(-2px);
}

.btn-decline:hover {
  background: rgba(244, 67, 54, 0.1);
  transform: translateY(-2px);
}

/* Icons for buttons */
.btn-accept::before, .btn-decline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-accept::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.btn-decline::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F44336'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E");
}

/* Make sure the acceptance steps display properly */
.acceptance-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes slideUpFadeOut {
  to {
    transform: translate(-50%, -80%);
    opacity: 0;
  }
}

@keyframes slideDownFadeOut {
  to {
    transform: translate(-50%, 80%);
    opacity: 0;
  }
}

audio {
  visibility: hidden;
  position: absolute;
  top: 0;

}


.status {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.status-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #1a1a1a;
  border-left: 5px solid red;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

.online {
  background-color: #00ff00;
  color: #000;
}

.warning {
  background-color: #ffaa00;
  color: #000;
}

.offline {
  background-color: #ff0000;
  color: #fff;
}


/* Navigation Bar Styles */
.navbar {
  display: flex;
  justify-content: center; /* Center the navbar horizontally */
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.5rem 1rem; /* Adjust padding for the desired height */
  box-shadow: 0 0 15px red;
  border: 2px solid red; /* Add a border to match the design */
  position: fixed; /* Keep it fixed at the top */
  top: 20px; /* Add some space from the top */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center the navbar */
  width: auto; /* Adjust width to fit content */
  z-index: 1000;
}

.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: 1rem; /* Add spacing between the logo and the links */
}

.navbar-logo img {
  width: 30px; /* Adjust logo size */
  margin-right: 10px;
}

.navbar-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  color: red;
  font-size: 1.2rem; /* Adjust font size for "ALONE" */
  margin-right: 1rem; /* Add spacing between "ALONE" and the links */
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1rem; /* Adjust spacing between links */
  margin: 0;
  padding: 0;
}

.navbar-links li {
  display: inline;
}

.navbar-links a {
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: white;
  font-size: 0.9rem; /* Adjust font size for links */
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: red;
  font-weight: 900;
}

