body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #414141;
    color: #fff;
}

.main-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 20px;
    display: flex;
	border-radius: 10px;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
    gap: 15px; 
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0px 0 13px 3px rgba(255, 0, 0, 0.79);
    display: block; 
    margin: 0 auto;
    text-align: center; 
}

.status-indicator {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px; 
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    align-items: center;
}

.ping-circle {
    width: 15px;
    height: 15px;
    background-color: #15ff00;
    border-radius: 50%;
    animation: blink 3s infinite;
    margin-right: 10px;
}
.status-indicator span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.clock {
    font-size: 0.8rem;
	text-align: center;
	margin-top: 10px;
}

.content {
    padding: 5px;
}

.headline-section {
    background-color: #2c2c2c;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
	box-shadow: 0 0 10px 5px rgb(0 0 0 /50%);
}

.headline-title {
    font-size: 1rem;
    font-weight: bold;
    color: #ffff;
    text-align: left;
    text-shadow: 0px 0px 4px rgb(255, 0, 0);
    margin-bottom: 10px;
}

.spacer {
    margin: 20px 0;
}

.target-box {
    background-color: #2c2c2c;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
	outline-color: #ff0900;
	outline-width: 1px;
	outline-style: solid;
    text-align: center;
    margin-bottom: 20px;
	box-shadow: 0px 0 13px 3px rgba(255, 0, 0, 0.79)
}

.target-box:hover {
    background-color: #383838;
}

select {
    background-color: #2c2c2c;
    color: #fff;
    padding: 10px;
    border: none;
	outline-color: #fff;
	outline-width: 1px;
	outline-style: solid;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 100%;
}

.checkbox-section label {
    display: block;
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#process-button {
    background: linear-gradient(360deg, #ff0900, #ff0900);
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
}

#process-button:disabled {
    background: linear-gradient(90deg, #555, #444);
    cursor: not-allowed;
	color: #ffffff;
    box-shadow: none;
}

#process-button:hover:not(:disabled) {
    background: linear-gradient(90deg, #cd3232, #ff0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 0, 0, 0.7);
}

#process-button:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 3px 7px rgba(255, 0, 0, 0.7);
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #000000;
    margin-top: 20px;
}

#matrix-canvas {
    position:fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.username-container {
    margin-bottom: 15px;
}

.username-container input {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 14px;
}

.note-text {
    font-size: 12px;
    color: #ffffff;
    font-style: italic;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 15px;
		align-items: baseline;
        padding: 10px;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .status-indicator {
        justify-content: center;
        gap: 15px;
        padding: 5px;
    }

    .ping-circle {
        width: 15px;
        height: 15px;
    }

    .status-indicator span {
        font-size: 0.8rem;
    }

    .main-container {
        padding: 10px;
    }

    .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 15px;
		align-items: baseline;
        padding: 0px;
    }

    .logo {
        width: 150px;
        height: 150px;
		margin: auto;
		border-radius: 10px;
		object-fit: cover;
    }

    .ping-circle {
        width: 15px;
        height: 15px;
    }

    .status-indicator span {
        font-size: 1.1rem;
    }
	
	.popup {
        width: 95%;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #2c2c2c;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.popup-content {
    text-align: center;
}

.typing-animation {
    font-family: monospace;
    font-size: 1rem;
    color: #ff0900;
    margin-top: 10px;
    white-space: pre-line;
}

.close-popup {
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff0900;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-popup:hover {
    background: #ff0900;
}

.overlay.show,
.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup.show {
    transform: translate(-50%, -50%) scale(1);
}

.hidden {
    display: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #1e1e1e;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
    width: 80%;
    max-width: 500px;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
	box-shadow: 0 0 10px 3px #ff0900;
	outline-style: ridge;
	outline-width: 1px;
	outline-color: #ff0900;
}

.popup.hide {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 10px;
	color: #ff0900;
	font-family: Arial Narrow;
	text-shadow: 0 0 15px #ff0900;
}
.popup-content p {
    margin-bottom: 20px;
    color: #aaa;
}
.popup-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}
.popup-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #fa0303;
}
.popup-table td:first-child {
    font-weight: bold;
    color: #aaa;
	text-align: left;
}
.popup-button {
    display: block;
    width: 30%;
	font-family: Arial Narrow;
    padding: 10px;
	margin: auto;
	margin-top: 40px;
    background: linear-gradient(180deg, #ff0900, #ffffff);
	box-shadow: 0 5px 10px 2px #ff0900;
    color: #000;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.popup-button:hover {
    background: #ff0900;
}

@keyframes popup-open {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes popup-close {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

.popup.open-animation {
    animation: popup-open 0.5s ease-out forwards;
}

.popup.close-animation {
    animation: popup-close 0.5s ease-in forwards;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.show {
    opacity: 1;
    visibility: visible;
}

.circle-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-container span {
  font-size: 1.2rem;
  color: #ff0900;
  font-weight: bold;
  text-shadow: 0 0 10px #ff0900;
  text-align: center;
  margin-top: 10px;
}

.rotating-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #ffffff40;
  border-top: 3px solid #ff0900;
  animation: rotate 2s linear infinite;
  box-shadow: 0 0 10px #a30000, 0 0 20px #ff0900, 0 0 30px #ff0900;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.activity-container {
    padding: 10px 20px;
    margin: 20px auto;
    max-width: 1200px;
    background: #ffffffa3;
    text-align: center;
    border-radius: 12px;
	border-style: inset solid;
	border-color: #505050;
    box-shadow: 0 10px 10px rgb(255, 1, 1);
    font-family: Arial, sans-serif;
	color: #000000;
}

.activity-container h1 {
    font-size: 24px;
	font-family: Arial Narrow;
	color: #ffffff;
	text-shadow: 0 0 7px #000b00;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
	font-style: italic;
	font-family: Arial Narrow;
}

.cheat {
    color: #1eff00;
    font-weight: bold;
	text-align: center;
}

.fade-in {
    animation: fadeIn 1s;
}

.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/* Style untuk popup */
.popup-durian {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.popup-content-mango {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.daftar-button-pineapple {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.close-button-watermelon {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.daftar-button-pineapple:hover,
.close-button-watermelon:hover {
  opacity: 0.8;
}