#headerimg {
  position: relative;
  width: 1100px;
  height: 550px;
  overflow: hidden;

  background-color: #000b19;
  background-image:
    linear-gradient(90deg, rgba(0,11,25,0.80) 0%, rgba(0,11,25,0.18) 28%, rgba(0,11,25,0.12) 72%, rgba(0,11,25,0.74) 100%),
    url(https://smoke-rpg.de/images/orangeblack/Header.png);
  background-repeat: no-repeat;
  background-position: center center;

  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

.headerwrap {
  width: 1100px;
  margin: 0 auto;
}

.header-welcome {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 125px;
  background: linear-gradient(180deg, rgba(6,24,40,0.94), rgba(0,11,25,0.90));
  border: 1px solid rgba(177,174,108,0.30);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
}

.header-welcome:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(177,174,108,0.12);
  pointer-events: none;
}

.header-title {
  margin: 0 0 16px 0;
  font-family: 'Saltwater';
  color: #b1ae6c;
  font-size: 25px;
  letter-spacing: 2px;
  text-align: center;
}

.header-text {
  font-family: 'Antonio';
  font-size: 10px;
  line-height: 1.5em;
  color: #b3b3b3;
  text-align: justify;
}

.header-text b {
  color: #ebefc4;
}

.header-housepoints {
  position: absolute;
  right: 18px;
  top: 34px;
  width: 125px;
  background: linear-gradient(180deg, rgba(6,24,40,0.94), rgba(0,11,25,0.90));
  border: 1px solid rgba(177,174,108,0.30);
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
}

.housepoints-title {
  margin: 0 0 14px 0;
  text-align: center;
  font-family: 'Saltwater';
  color: #b1ae6c;
  font-size: 24px;
  letter-spacing: 2px;
}

.house-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.house-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  background: rgba(3,12,23,0.84);
  border: 1px solid rgba(177,174,108,0.10);
  font-family: 'Antonio';
  font-size: 12px;
  color: #b3b3b3;
}

.house-row span:last-child {
  color: #ebefc4;
  font-weight: 700;
}

.header-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: linear-gradient(180deg, rgba(6,24,40,0.94), rgba(3,12,23,0.96));
  border: 1px solid rgba(177,174,108,0.22);
  border-top: none;
  padding: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.20);
}

.info-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  background: rgba(0,11,25,0.72);
  border: 1px solid rgba(177,174,108,0.12);
  padding: 14px;
  min-height: 42px;
}

.info-label {
  font-family: 'Saltwater';
  font-size: 20px;
  color: #b1ae6c;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.info-value {
  font-family: 'Imbue';
  font-size: 14px;
  line-height: 1.2em;
  color: #b3b3b3;
  text-align: center;
}

.link-panel {
  background: rgba(0,11,25,0.72);
  border: 1px solid rgba(177,174,108,0.12);
  padding: 14px;
}

.link-title {
  font-family: 'Saltwater';
  font-size: 20px;
  color: #b1ae6c;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 12px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 10px 12px;
  text-decoration: none;
  color: #b3b3b3;
  background: linear-gradient(90deg, rgba(6,24,40,0.85), rgba(3,12,23,0.92));
  border: 1px solid rgba(177,174,108,0.10);
  font-family: 'Antonio';
  font-size: 15px;
  text-align: center;
  transition: 0.25s ease;
}

.link-item:hover {
  color: #ebefc4;
  border-color: rgba(177,174,108,0.28);
  transform: translateY(-1px);
}

.headerpostweek {
  width: 1050px;
  margin: 14px auto 0 auto;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Antonio';
  font-size: 14px;
  color: #ebefc4;
  background: linear-gradient(90deg, rgba(6,24,40,0.88), rgba(0,11,25,0.92));
  border: 1px solid rgba(177,174,108,0.18);
}

@media screen and (max-width: 1150px) {
  .headerwrap,
  .headerpostweek,
  #headerimg {
    width: 100%;
  }
}

@media screen and (max-width: 980px) {
  #headerimg {
    height: auto;
    min-height: 520px;
    padding: 24px;
  }

  .header-welcome,
  .header-housepoints {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    margin-bottom: 20px;
  }

  .info-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 720px) {
  .info-table,
  .link-grid {
    grid-template-columns: 1fr;
  }
}