* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(135deg, #141414 0%, #141414 100%);
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Iosevka Aile Web", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1f;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #3a3a44;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5a5a66;
}

.header {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #121212 0%, #16213e 100%);
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

@keyframes animateBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -960px;
  }
}
.layer1, .layer2, .layer3 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: repeat;
  pointer-events: none;
}

.layer1 {
  background-image: url("../img/layer1_fancy.png");
  animation: animateBackground 80s linear infinite;
}

.layer2 {
  background-image: url("../img/layer2_fancy.png");
  animation: animateBackground 40s linear infinite;
}

.layer3 {
  background-image: url("../img/layer3_fancy.png");
  animation: animateBackground 20s linear infinite;
}

.header-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
}

.header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .lead {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.header-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  flex: 1;
}
@media (max-width: 1240px) {
  .container {
    max-width: 95%;
  }
}
@media (max-width: 992px) {
  .container {
    padding: 2rem 0;
  }
}

.bgimage {
  position: fixed;
  top: 10%;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: -1;
  opacity: 0.2;
}
.bgimage img {
  width: 60vmin;
}

.info-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.info-card p {
  margin-bottom: 1rem;
}
.info-card p:last-child {
  margin-bottom: 0;
}

.alert {
  background: rgba(220, 53, 69, 0.2);
  border-left: 4px solid #dc3545;
  padding: 1rem;
  border-radius: 4px;
}
.alert a {
  color: rgb(235.0632911392, 139.9367088608, 149.0506329114);
  text-decoration: none;
}
.alert a:hover {
  text-decoration: underline;
}

.btn-success {
  background: #28a745;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-block;
  transition: background 0.3s;
}
.btn-success:hover {
  background: #218838;
  color: #fff;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
}

.date-header {
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 3px solid #337ab7;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.changelog-date-section {
  margin-bottom: 2rem;
  text-align: center;
}
.changelog-date-section .date-header {
  margin-left: auto;
  margin-right: auto;
}
.changelog-date-section .source-group {
  text-align: left;
}

.source-group {
  margin-bottom: 2rem;
}

.source-header {
  font-size: 1.3rem;
  color: #337ab7;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid #337ab7;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  .container {
    padding: 1rem;
  }
  .date-header {
    font-size: 1rem;
    border-bottom-width: 2px;
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
  }
  .source-header {
    font-size: 1.1rem;
  }
}
.changelog-card {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(5px);
}

.card-main {
  flex: 1;
  padding: 1rem;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.card-title a:hover {
  color: #5bc0de;
  text-decoration: underline;
}

.pr-number {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgb(139.7299270073, 76.6058394161, 245.3941605839);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.pr-number::before {
  font-family: "Font Awesome 6 Free";
  content: "\f126";
  font-weight: 900;
  font-size: 0.65rem;
}
.pr-number:hover {
  background: #ab7df8;
  box-shadow: 0 0 8px rgba(171, 125, 248, 0.6);
  color: #fff;
}

.card-sidebar {
  width: 180px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card-sidebar .pr-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-sidebar .pr-number::before {
  font-family: "Font Awesome 6 Free";
  content: "\f126";
  font-weight: 900;
  font-size: 0.65rem;
}
.card-sidebar .pr-number:hover {
  background: rgba(171, 125, 248, 0.15);
  border-color: #ab7df8;
  color: #ab7df8;
  text-decoration: none;
}
.card-sidebar .pr-number:hover::before {
  color: #ab7df8;
}

.card-meta {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.author {
  color: #f39c12;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.author::before {
  font-family: "Font Awesome 6 Free";
  content: "\f007";
  font-weight: 900;
  font-size: 0.7rem;
}

.sidebar-info {
  font-size: 0.75rem;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-info div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-info i {
  width: 16px;
  color: #777;
}

@media (max-width: 768px) {
  .changelog-card {
    flex-direction: column;
  }
  .card-main {
    padding: 0.75rem;
  }
  .card-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
  }
  .card-sidebar .pr-number {
    width: auto;
    min-width: 70px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    margin: 0;
  }
  .card-sidebar .sidebar-info {
    flex-direction: row;
    gap: 0.75rem;
    width: auto;
  }
  .card-sidebar .sidebar-info div {
    font-size: 0.7rem;
  }
  .card-sidebar .sidebar-info div i {
    font-size: 0.65rem;
  }
  .card-title {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
  .card-meta {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }
  .changelog li {
    font-size: 0.75rem;
    padding: 2px 6px 2px 5px;
    margin-bottom: 3px;
  }
}
.fix, .admin, .bugfix, .add, .rscadd, .del, .rscdel,
.code_imp, .image, .sound, .spellcheck,
.tweak, .balance, .map, .server, .label-changelog {
  background-color: rgba(51.25, 51.25, 51.25, 0.5);
}
.fix::before, .admin::before, .bugfix::before, .add::before, .rscadd::before, .del::before, .rscdel::before,
.code_imp::before, .image::before, .sound::before, .spellcheck::before,
.tweak::before, .balance::before, .map::before, .server::before, .label-changelog::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  display: inline-block;
}

.bugfix::before {
  content: "\f188";
  color: #99dba1;
}

.rscadd::before {
  content: "\f058";
  color: #23c358;
}

.rscdel::before {
  content: "\f057";
  color: #dd3c3c;
}

.image::before {
  content: "\f03e";
  color: #54e0e0;
}

.map::before {
  content: "\f279";
  color: #54e0e0;
}

.sound::before {
  content: "\f025";
  color: #54e0e0;
}

.spellcheck::before {
  content: "\f891";
  color: #fff;
}

.tweak::before {
  content: "\f4be";
  color: #23c358;
}

.balance::before {
  content: "\f516";
  color: #fcd203;
}

.code_imp::before {
  content: "\f121";
  color: #708090;
}

.admin::before {
  content: "\f505";
  color: #bb47d1;
}

.server::before {
  content: "\f233";
  color: #bb47d1;
}

.label-changelog::before {
  content: "\f02e";
  color: rgb(51.25, 51.25, 51.25);
}

.changelog li.bugfix {
  border-left-color: #99dba1 !important;
}
.changelog li.rscadd {
  border-left-color: #23c358 !important;
}
.changelog li.rscdel {
  border-left-color: #dd3c3c !important;
}
.changelog li.balance {
  border-left-color: #fcd203 !important;
}
.changelog li.spellcheck {
  border-left-color: #fff !important;
}
.changelog li.admin {
  border-left-color: #bb47d1 !important;
}
.changelog li.image {
  border-left-color: #54e0e0 !important;
}
.changelog li.map {
  border-left-color: #54e0e0 !important;
}
.changelog li.sound {
  border-left-color: #54e0e0 !important;
}
.changelog li.tweak {
  border-left-color: #23c358 !important;
}
.changelog li.code_imp {
  border-left-color: #708090 !important;
}
.changelog li.server {
  border-left-color: #bb47d1 !important;
}

.fas,
.far,
.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.changelog-controls {
  position: sticky;
  top: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto;
  padding: 6px;
  background: #202020;
  border: 1px solid #404040;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

.month-nav {
  background: #2a2a2a;
  border: 1px solid #404040;
  border-radius: 3px;
  color: #d4d4d4;
  font-size: 18px;
  font-weight: bold;
  padding: 4px 16px;
  cursor: pointer;
  transition: all 0.05s linear;
  font-family: "Segoe UI", "Iosevka Aile Web", monospace;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.month-nav:hover:not(:disabled) {
  background: #3a5a3a;
  border-color: #609060;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.month-nav:active:not(:disabled) {
  background: #1a3a1a;
  transform: translateY(1px);
}
.month-nav:disabled {
  opacity: 0.4;
  cursor: default;
  filter: grayscale(0.3);
}

.month-select {
  min-width: 200px;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #404040;
  border-radius: 3px;
  color: #d4d4d4;
  padding: 6px 24px 6px 8px;
  font-family: "Segoe UI", "Iosevka Aile Web", monospace;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.05s linear;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23609060' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}
.month-select:hover {
  background-color: #2a2a2a;
  border-color: #609060;
  color: #ffffff;
}
.month-select:focus {
  outline: none;
  border-color: #80b080;
  box-shadow: 0 0 0 1px rgba(64, 160, 64, 0.3);
}
.month-select option {
  background: #202020;
  color: #d4d4d4;
  padding: 4px;
}

@media (max-width: 768px) {
  .changelog-controls {
    gap: 6px;
    padding: 6px;
    max-width: 95%;
  }
  .month-nav {
    font-size: 16px;
    padding: 4px 12px;
  }
  .month-select {
    min-width: 150px;
    font-size: 12px;
    padding: 5px 20px 5px 6px;
  }
}
.legend-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
}
@media (max-width: 768px) {
  .legend-container {
    right: 10px;
    bottom: 10px;
  }
}

.btn-legend {
  background: #337ab7;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.btn-legend::before {
  font-family: "Font Awesome 6 Free";
  content: "\f059";
  font-weight: 900;
  font-size: 0.7rem;
}
.btn-legend:hover {
  background: #286090;
  transform: translateY(-1px);
}
.btn-legend.active {
  background: rgb(34.3269230769, 82.1153846154, 123.1730769231);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}

.legend-content {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 60px;
  width: 320px;
  max-height: 70vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 768px) {
  .legend-content {
    right: 10px;
    bottom: 50px;
    width: calc(100% - 20px);
    max-width: 320px;
  }
}
.legend-content.show {
  opacity: 1;
}
.legend-content.hide {
  opacity: 0;
}

.legend-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.legend-item {
  padding: 4px 6px;
  border-left: 3px solid;
  font-size: 0.75rem;
  transition: all 0.2s;
  border-radius: 0 6px 6px 0;
}
.legend-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.05);
}
.legend-item.bugfix {
  border-left-color: #99dba1;
}
.legend-item.rscadd {
  border-left-color: #23c358;
}
.legend-item.rscdel {
  border-left-color: #dd3c3c;
}
.legend-item.map {
  border-left-color: #54e0e0;
}
.legend-item.image {
  border-left-color: #54e0e0;
}
.legend-item.sound {
  border-left-color: #54e0e0;
}
.legend-item.balance {
  border-left-color: #fcd203;
}
.legend-item.tweak {
  border-left-color: #23c358;
}
.legend-item.code_imp {
  border-left-color: #708090;
}
.legend-item.spellcheck {
  border-left-color: #fff;
}
.legend-item.admin {
  border-left-color: #bb47d1;
}
.legend-item.server {
  border-left-color: #bb47d1;
}

.footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
}
@media (max-width: 1240px) {
  .footer {
    max-width: 95%;
  }
}
@media (max-width: 992px) {
  .footer {
    padding: 1.25rem 1.5rem;
  }
}
@media (max-width: 768px) {
  .footer {
    max-width: 100%;
    padding: 1rem;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

.footer-left,
.footer-right,
.footer-load-time {
  font-size: 0.7rem;
  color: #777;
}
@media (max-width: 768px) {
  .footer-left,
  .footer-right,
  .footer-load-time {
    font-size: 0.65rem;
  }
}

.footer-left {
  color: #aaa;
}

.footer-load-time {
  color: #666;
}
.footer-load-time span {
  color: #337ab7;
  font-weight: 500;
}

.changelog {
  list-style: none;
  padding: 0;
  margin: 0;
}
.changelog li {
  padding: 2px 10px 2px 5px;
  margin: 0 0 5px 0;
  border-left: 3px solid;
  background-position: 6px center;
  background-repeat: no-repeat;
  word-wrap: break-word;
}

/*# sourceMappingURL=style.css.map */
