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;
    align-items: baseline;
    padding: 20px;
	gap: 85px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 10px;
}

.logo {
    width: 150px;
    height: 150px;
	border-radius: 10px;
    object-fit: cover;
	box-shadow: 0px 0 13px 3px rgb(64 255 0 / 79%)
}

.status-indicator {
    display: flex;
	gap: 5px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ping-circle {
    width: 15px;
    height: 15px;
    background-color: #00ff00;
    border-radius: 50%;
    animation: blink 1s 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: 1.2rem;
	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: #00ff00;
    text-align: left;
    text-shadow: 0px 0px 4px rgb(0 255 22);
    margin-bottom: 10px;
}

.spacer {
    margin: 20px 0;
}

.target-box {
    background-color: #2c2c2c;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
	outline-color: #00ff00;
	outline-width: 1px;
	outline-style: solid;
    text-align: center;
    margin-bottom: 20px;
	box-shadow: 0px 0 13px 3px rgb(64 255 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, #05aa00, #00ff00);
    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(0, 255, 127, 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, #32cd32, #00ff7f);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 255, 127, 0.7);
}

#process-button:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 3px 7px rgba(0, 255, 127, 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: #00ff00;
    margin-top: 10px;
    white-space: pre-line;
}

.close-popup {
    margin-top: 20px;
    padding: 10px 20px;
    background: #00ff00;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-popup:hover {
    background: #32cd32;
}

.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 #00ff00;
	outline-style: ridge;
	outline-width: 1px;
	outline-color: #00ff00;
}

.popup.hide {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 10px;
	color: #00ff00;
	font-family: Arial Narrow;
	text-shadow: 0 0 15px #00ff00;
}
.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 #333;
}
.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, #00ff00, #008e00);
	box-shadow: 0 5px 10px 2px #00ff20;
    color: #000;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.popup-button:hover {
    background: #00cc00;
}

@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: #00ff00;
  font-weight: bold;
  text-shadow: 0 0 10px #00ff00;
  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 #35ff00;
  animation: rotate 2s linear infinite;
  box-shadow: 0 0 10px #00a300, 0 0 20px #00ff00, 0 0 30px #45ff00;
}

@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(47, 255, 0.7);
    font-family: Arial, sans-serif;
	color: #000000;
}

.activity-container h1 {
    font-size: 24px;
	font-family: Arial Narrow;
	color: #00ff00;
	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: #00ff00;
    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;
    }
}