.hosting-rules-section {
  padding: 100px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hosting-rules-header {
  text-align: center;
}

.hosting-rules-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hosting-rules-tabs {
  display: inline-flex;
  padding: 8px;
  border-radius: 10px;
  background: rgba(23, 23, 25, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
  margin-bottom: 40px;
  gap: 12px;
  width: fit-content;
}

.hosting-rules-tabs .tab {
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  background: transparent;
  color: #9ca3af;
  transition: 0.18s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;  
}

.hosting-rules-tabs .tab.active {
  color: #fff;
  background: rgba(144, 0, 255, 1);
  box-shadow: 0 0 10px rgba(144, 0, 255, .55), 0 0 22px rgba(144, 0, 255, .40), 0 0 44px rgba(144, 0, 255, .30);
}

.hosting-rules-tabs .tab.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, rgba(64, 64, 64, 0.5), rgba(64, 64, 64, 0.35), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5), rgba(64, 64, 64, 0.35), rgba(249, 249, 249, 1), rgba(255, 255, 255, 0.5), rgba(249, 249, 249, 0.5), rgba(64, 64, 64, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.hosting-rules-card {
  margin-top: 15px;
  background: rgba(15, 15, 20, 0.85);
  border-radius: 24px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(181,77,255,0.15),
    0 20px 60px rgba(0,0,0,0.6);
}

.hosting-rules-pdf {
  width: 100%;
  height: 720px;
  border: none;
  border-radius: 16px;
  background: #0b0b0f;
}

@media (max-width: 768px) {
  .hosting-rules-header h1 {
    font-size: 32px;
  }

  .hosting-rules-pdf {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .hosting-rules-header h1 {
    font-size: 26px;
  }

  .hosting-rules-pdf {
    height: 420px;
  }

  .hosting-rules-tabs{
    font-size: 14px;
  }
}
