/* ===========================================================
   Ezexzo - Minecraft Server Status Tool Styles
   =========================================================== */

/* Section wrapper */
.tool-section {
  background: linear-gradient(180deg, rgba(35, 25, 55, 1) 0%, rgba(10, 9, 20, 1) 100%);
  padding: 8rem 0 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #eee;
}

.tool-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 500px;
  background: radial-gradient(circle at center, rgba(161, 98, 247, 0.18), transparent 70%);
  z-index: 0;
  filter: blur(60px);
}

.tool-section .container {
  position: relative;
  z-index: 2;
}

/* Form layout */
.status-form {
  margin: 2.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-form input {
  padding: 1rem 1.2rem;
  width: min(90%, 420px);
  border-radius: 10px;
  background: rgba(40, 40, 55, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eee;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  transition: 0.2s;
}

.status-form input:focus {
  border-color: #a162f7;
  box-shadow: 0 0 12px rgba(161, 98, 247, 0.3);
}

.status-form button {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #a162f7 0%, #8b4ce3 100%);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(161, 98, 247, 0.3);
  transition: 0.25s;
}

.status-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(161, 98, 247, 0.6);
}

/* === Compact Status Card Layout === */
.status-result {
  max-width: 680px;
  margin: 2rem auto 0;
  padding: 1.4rem 2rem;
  border-radius: 16px;
  background: rgba(25, 20, 35, 0.65);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(161, 98, 247, 0.08);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  animation: fadeIn 0.4s ease;
  text-align: left;
}

.status-result img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Info wrapper */
.status-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  transform: translateY(2px);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.status-header h3 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}

.status-header .version {
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Status text */
.status-info p {
  margin: 0.15rem 0;
  color: #bbb;
  line-height: 1.3;
  font-size: 0.93rem;
}

.status-info strong {
  color: #fff;
}

/* Online / Offline styles */
.status-online {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #7cff7c;
  font-size: 0.93rem;
}

.status-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #ff6666;
  font-size: 0.93rem;
}

/* Green glowing dot */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7cff7c;
  box-shadow: 0 0 8px #7cff7c, 0 0 12px rgba(124,255,124,0.7);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

/* Hover glow */
.status-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(161, 98, 247, 0.25);
  transition: all 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .status-result {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem;
  }

  .status-result img {
    margin-bottom: 1rem;
  }

  .status-header {
    justify-content: center;
  }

  .status-info {
    align-items: center;
  }

  .status-form {
    flex-direction: column;
  }

  .status-form input,
  .status-form button {
    width: 100%;
  }
}
