body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 2.5s ease-in-out; 
}


.container {
  text-align: left;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8); 
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.title {
  margin-bottom: 30px;
  font-size: 2rem;
}
.subtitle {
  margin-bottom: 20px;
  font-size: 2rem;
}
.boxes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.box {
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  box-shadow: 0 0 15px #2FFF2F;
}

.box h2 {
  margin-bottom: 10px;
}

.dark-mode-textbox {
  padding: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 14px;
  width: 250px;
  background-color: #333;
  color: #fff;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  margin-bottom: 10px;
}

.dark-mode-textbox::placeholder {
  color: #999;
}

.dark-mode-textbox:focus {
  border-color: #007bff;
  background-color: #111;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.button {
  padding: 10px 20px;
  background-image: linear-gradient(45deg, rgb(25, 0, 255), rgb(0, 0, 0), rgb(0, 255, 0), rgb(47, 0, 255));
  background-size: 400%;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(47, 128, 237, 0.5);
}

.patch-notes {
  background-color: #111111;
  color: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(1, 33, 75, 0.5);
  font-family: "Courier New", monospace;
}

.patch-table {
  margin-top: 10px;
}

.patch-table table {
  width: 100%;
  border-collapse: collapse;
}

.patch-table th, .patch-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #666;
}

.patch-table th {
  font-weight: bold;
}

.green-text {
  color: #00fe2f;
}

.red-text {
  color: #ff0000;
}

.yellow-text {
  color: rgb(255, 255, 0);
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  75% {
    background-position: 100% 50%;
  }
}


/* Index Page & Partners Page Styles */
body.index-page,
body.partners-page {
  margin: 0;
  padding: 0;
  display: flex;
  background: #000;
  overflow: hidden;
  height: 100vh;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
}

.sidebar {
  width: 220px;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  border-right: 2px solid #2FFF2F;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  box-shadow: 0 0 20px #2FFF2F;
}

.sidebar a {
  color: #2FFF2F;
  text-decoration: none;
  margin: 15px 0;
  font-weight: bold;
  font-size: 18px;
  text-shadow:
    0 0 5px #FF3B3B,
    0 0 10px #FF3B3B,
    0 0 20px #FF3B3B;
  transition: 0.2s ease-in-out;
}

.sidebar a:hover {
  color: #FF3B3B;
  text-shadow:
    0 0 5px #FF3B3B,
    0 0 15px #FF3B3B,
    0 0 35px #FF3B3B;
  transform: scale(1.1);
}

.container.index-container {
  margin-left: 220px;
  width: calc(100% - 220px);
  height: 100vh;
  padding: 20px;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#homework-material {
  width: 300px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #2FFF2F;
  border-radius: 4px;
  background-color: #000;
  color: #FF3B3B;
  text-align: center;
}

.terminal {
  border: 2px solid #2FFF2F;
  border-radius: 5px;
  background-color: #000;
  padding: 10px;
  width: 300px;
  max-width: 90%;
  line-height: 1.5;
  box-shadow: 0 0 15px #2FFF2F;
}

.terminal:before {
  content: '#';
  color: #2FFF2F;
  margin-right: 5px;
}

.terminal-output {
  color: #FFB347;
  display: block;
  width: 100%;
  white-space: pre-wrap;
}

.proxy-button {
  margin-top: 15px;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  background-color: #8B0000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 0 10px #FF3B3B;
  transition: 0.2s;
}

.proxy-button:hover {
  background-color: #FF3B3B;
  box-shadow: 0 0 20px #FF3B3B;
  transform: scale(1.05);
}

/* Partners Page Specific */
.container.partners-container {
  margin-left: 220px;
  width: calc(100% - 220px);
  height: 100vh;
  padding: 20px;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
}

.partner-card {
  background: #111;
  border: 1.5px solid #2FFF2F;
  border-radius: 12px;
  box-shadow: 0 0 10px #2FFF2F;
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  width: 220px;
}

.partner-card:hover {
  box-shadow: 0 0 20px #FF3B3B;
  transform: scale(1.05);
}

.partner-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.2s;
  border: 2px solid #2FFF2F;
  background: #222;
}

.partner-card a:hover img {
  transform: scale(1.07);
  border-color: #FF3B3B;
}

.partner-name {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 8px;
  color: #2FFF2F;
  text-shadow:
    0 0 5px #2FFF2F,
    0 0 10px #2FFF2F;
}

h1.partners-title {
  color: #2FFF2F;
  text-shadow: 0 0 10px #2FFF2F;
  margin-bottom: 30px;
  text-align: center;
}

/* Science Page Styles */
body.science-page {
  margin: 0;
  overflow: hidden;
  background: #000;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#game-frame {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  border: none;
  z-index: 5;
  background: transparent;
}
