body {
  background-color: #0f172a;
  color: #e2e8f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.hero-section {
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
  padding: 40px 0 20px;
}

.main-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.feature-icon {
  font-size: 2rem;
  color: #38bdf8;
  margin-bottom: 15px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 15px;
  padding: 25px;
  height: 100%;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.3);
}

.step-circle {
  background: #38bdf8;
  color: #0f172a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 15px;
}

.btn-tg {
  background: linear-gradient(45deg, #0088cc, #00aaff);
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
  transition: all 0.2s;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.btn-tg:hover {
  transform: scale(1.05);
  color: white;
}

.badge-beta {
  background-color: #22c55e;
  color: #0f172a;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.badge-pro {
  background-color: #f59e0b;
  color: #0f172a;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.accordion-button {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

.accordion-button:not(.collapsed) {
  color: #38bdf8 !important;
}

.accordion-item {
  border-color: #334155 !important;
  background-color: transparent !important;
}

.accordion-body {
  background-color: #0f172a;
  color: #94a3b8;
}

.article-inner-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  height: 100%;
  transition: border-color 0.3s;
}

.article-card:hover .article-inner-card {
  border-color: rgba(56, 189, 248, 0.3);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.4);
}

.carousel-nav-btn.prev-btn {
  left: 15px;
}

.carousel-nav-btn.next-btn {
  right: 15px;
}

.article-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin: 20px 0;
}

.article-carousel-container::before {
  left: 0;
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  content: "";
  background: linear-gradient(to right, #0f172a, transparent);
  pointer-events: none;
}

.article-carousel-container::after {
  right: 0;
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  content: "";
  background: linear-gradient(to left, #0f172a, transparent);
  pointer-events: none;
}

.article-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 0;
  -ms-overflow-style: none;
  cursor: grab;
}

.article-carousel-track::-webkit-scrollbar {
  display: none;
}

.article-carousel-track:active {
  cursor: grabbing;
}

.article-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}

.article-card:hover {
  transform: translateY(-5px);
}

.instruction-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 15px 0;
}

.xbox-card {
  background: #13111c;
  border: 1px solid #2d2a3d;
  border-radius: 16px;
  padding: 30px;
}

.dns-value {
  font-family: monospace;
  font-size: 1.8rem;
  color: #22c55e;
  font-weight: bold;
}

.disclaimer {
  font-size: 0.75rem;
  color: #475569;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

.sub-links a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 10px;
}

*:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 3px !important;
}
