/* Prevent text selection */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Make debugging harder */
body * {
  outline: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('https://xlinix.xyz/hi_55.cur') 16 16, auto !important;
}

/* Remove any hover effects from the bomb icon */
.fa-bomb {
  display: inline-block;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.fa-bomb:hover,
.fa-bomb:focus,
.fa-bomb:active {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 20px;
}

/* Security notice */
.security-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.9);
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
  text-align: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  animation: notice-fade 0.5s ease-in-out;
  transition: opacity 0.5s ease-out;
}

.security-notice.hidden {
  opacity: 0;
  pointer-events: none;
}

.security-notice p {
  color: #fff;
  font-size: 14px;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

@keyframes notice-fade {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Cursor particle effect */
.cursor-particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: #8A2BE2;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  animation: particle-fade 1s linear forwards;
}

@keyframes particle-fade {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty));
    opacity: 0;
  }
}

/* Rain effect – enhanced for LED visibility */
.rain-drop {
  position: fixed;
  top: -10px;
  width: 2px;
  height: 30px;
  background: linear-gradient(transparent, #ffffff, #8A2BE2); /* From white to violet */
  filter: drop-shadow(0 0 10px #a64dff) brightness(5) contrast(3);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: rain-fall linear infinite;
}

@keyframes rain-fall {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(100vh);
  }
}

.interact-btn {
  font-size: clamp(40px, 8vw, 60px);
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.8), 0 0 30px rgba(138, 43, 226, 0.6);
  animation: scale-effect 2s infinite;
  cursor: pointer !important;
}

@keyframes scale-effect {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.interact-btn:hover {
  transform: translate(-50%, -50%) scale(1.3);
  text-shadow: 0 0 30px rgba(138, 43, 226, 1), 0 0 50px rgba(138, 43, 226, 0.8);
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.interact-btn:focus,
.interact-btn:active {
  outline: none;
  box-shadow: none;
  border: none;
}

/* Unmute button styles */
.unmute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(138, 43, 226, 0.7);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  z-index: 1000;
  cursor: pointer !important;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.8), 0 0 30px rgba(138, 43, 226, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.unmute-btn:hover {
  background: rgba(138, 43, 226, 0.9);
  box-shadow: 0 0 20px rgba(138, 43, 226, 1), 0 0 40px rgba(138, 43, 226, 0.6);
  transform: scale(1.05);
}

.unmute-btn i {
  margin-right: 8px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.bg-media {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease;
  display: block !important;
  filter: brightness(0.7) contrast(1.2);
  pointer-events: none;
}

.container {
  display: none; /* Hide the container visually */
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.8);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

h2 {
    color: #fff;
    margin-top: 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    padding-bottom: 10px;
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
}

button {
    background: linear-gradient(45deg, #8A2BE2, #4B0082);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.5);
}

.btn.primary {
    background: linear-gradient(45deg, #8A2BE2, #4B0082);
}

.btn.secondary {
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.btn.download {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.btn.download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* User info panel */
.user-info {
  display: none;
  width: min(90%, 350px);
  padding: clamp(20px, 5vw, 30px);
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 40px rgba(138, 43, 226, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(138, 43, 226, 0.3);
  z-index: 2;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
}

.user-info.visible {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.avatar {
  width: clamp(80px, 25vw, 120px);
  height: clamp(80px, 25vw, 120px);
  border-radius: 50%;
  margin-bottom: 25px;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
  transition: all 0.4s ease;
  border: 3px solid rgba(138, 43, 226, 0.5);
}

.avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(138, 43, 226, 1);
}

.display-name {
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 600;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #8A2BE2, #4B0082);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-text 2s infinite alternate;
}

@keyframes pulse-text {
  from { text-shadow: 0 0 5px rgba(138, 43, 226, 0.6); }
  to { text-shadow: 0 0 20px rgba(138, 43, 226, 1); }
}

.social-links {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  margin-bottom: 25px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.social-btn {
  font-size: clamp(20px, 4vw, 25px);
  color: #fff;
  background: rgba(138, 43, 226, 0.2);
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-btn:hover {
  transform: translateY(-5px);
  background: rgba(138, 43, 226, 0.4);
  border-color: rgba(138, 43, 226, 0.8);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.audio-control {
  width: 100%;
  height: 8px;
  background: rgba(138, 43, 226, 0.2);
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
  margin: 20px 0;
}

.audio-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #8A2BE2;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  transition: all 0.3s ease;
}

.audio-control::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(138, 43, 226, 1);
}

.support-btn {
  display: none;
  width: min(200px, 80%);
  margin: 20px auto;
  padding: 12px 25px;
  background: linear-gradient(45deg, #8A2BE2, #4B0082);
  color: #fff;
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 500;
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.support-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.6);
}

.button.shop,
.button.status {
  background: linear-gradient(45deg, #8A2BE2, #4B0082);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.button.shop:hover,
.button.status:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
  border-color: #8A2BE2;
}

.dialog-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.dialog-overlay.show {
  opacity: 1;
}

.dialog-box {
  background: rgba(20, 20, 20, 0.95);
  padding: clamp(20px, 5vw, 40px);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
  border: 1px solid rgba(138, 43, 226, 0.3);
  position: relative;
  width: min(90%, 400px);
  word-break: break-all;
  transform: scale(0.8) translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dialog-overlay.show .dialog-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Logger content */
.logger-content {
  display: none;
  width: 100%;
  max-width: 800px;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.logger-content.visible {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* Webhook info */
.webhook-info {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.webhook-icon {
    margin-right: 5px;
    font-size: 16px;
    color: rgba(138, 43, 226, 0.8);
}

.actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#log-display {
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    color: #fff;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Consolas', monospace;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
}

.info-label {
    font-weight: bold;
    width: 150px;
    color: rgba(138, 43, 226, 0.9);
}

.info-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.error {
    color: #ff5252;
    font-style: italic;
    text-shadow: 0 0 5px rgba(255, 82, 82, 0.5);
}

.success {
    color: #69f0ae;
    text-shadow: 0 0 5px rgba(105, 240, 174, 0.5);
}

.interface-item {
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.interface-item:hover {
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

.log-entry {
    padding: 8px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    transition: background-color 0.2s ease;
}

.log-entry:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    font-size: 12px;
    color: rgba(138, 43, 226, 0.8);
    margin-right: 10px;
    font-weight: bold;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    margin: 10% auto;
    padding: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
    animation: modal-appear 0.3s ease-out;
    color: #fff;
}

@keyframes modal-appear {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    color: rgba(255, 255, 255, 0.7);
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #fff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    text-decoration: none;
}

#logs-list {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 10px;
}

.software-list table, .port-scan-results table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.software-list th, .software-list td,
.port-scan-results th, .port-scan-results td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.software-list th, .port-scan-results th {
    background-color: rgba(138, 43, 226, 0.2);
    color: #fff;
}

.port-scan-results .port-open {
    color: #ff5252;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 82, 82, 0.5);
}

.port-scan-results .port-group {
    margin-bottom: 20px;
}

.port-scan-results h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    color: rgba(138, 43, 226, 0.9);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    padding-bottom: 5px;
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
}

.log-file-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.9);
}

.log-file-item:hover {
    background-color: rgba(138, 43, 226, 0.2);
    transform: translateX(5px);
}

#log-details {
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}
