/*Header*/
.header-section {
    background: url("/images/header-background.jpg") no-repeat fixed center;
    min-width: 100%;
    min-height: 400px;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

.header-section .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 150px;
    width: 100%;
}

.header-section .container .info {
    display: flex;
    flex-direction: column;
}

.header-section .container .info .server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.header-section .container .info .title {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 900;
}

.highlight {
    color: var(--main-color);
}

.header-section .container .description {
    color: var(--description-color);
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

/* ===== Rules ===== */
.rules-section {
  padding: 40px 15px;
  background: #161b22;
  border-radius: 12px;
  max-width: 1100px;
  margin: 40px auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.warning {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #202838;
  border-left: 5px solid #ff6969;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.warning .icon {
  color: #ff6969;
  font-size: 1.6rem;
}

.warning-text {
  color: #e2e2e2;
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* Блок правил */
.rules-block {
  background: #1b222e;
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #222c3c;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rules-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(88, 166, 255, 0.15);
}

.rules-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #79b8ff;
  margin-bottom: 18px;
}

.rules-list {
  padding-left: 20px;
  color: #d0d6e2;
  line-height: 1.55;
}

.rules-list li {
  margin-bottom: 10px;
}

.rules-list strong {
  color: #58a6ff;
}

/* ===== Join Section ===== */
.join-server {
  text-align: center;
  margin-top: 50px;
  padding: 40px 20px;
  background: #1e2532;
  border-radius: 14px;
  border: 1px solid #283345;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.join-server .join-title {
  font-size: 1.6rem;
  color: #e9efff;
  font-weight: 600;
  margin-bottom: 24px;
}

.join-server .join-title .highlight {
  color: #58a6ff;
}

/* Кнопки */
.join-server .buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-copy-ip {
  background: linear-gradient(90deg, #3767df 0%, #58a6ff 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

.btn-copy-ip:hover {
  background: linear-gradient(90deg, #56a6fe 0%, #667eea 100%);
  transform: translateY(-2px);
}

.btn-join-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 133, 255, 0.25);
}

.btn-join-discord:hover {
  background: #4652d9;
  transform: translateY(-2px);
}

/* Сообщение о копировании IP */
.ip-copied-message {
  color: #58d68d;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 8px;
}

/* ===== Адаптив ===== */
@media (max-width: 768px) {
  .header-section .title {
    font-size: 2rem;
  }
  .rules-block {
    padding: 18px;
  }
  .join-server .join-title {
    font-size: 1.3rem;
  }
}
