.features-section {
  padding: 40px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
}

.features-header p {
  color: #cccccc;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.servers-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.4rem 1.6rem;
  background: rgba(6, 24, 38, 0.62);
  border: 1px solid rgba(34, 165, 229, 0.22);
  border-radius: 16px;
}

.launcher-section {
  padding: 1.5rem;
  border-radius: 12px;
  flex: 0 1 380px;
  width: 100%;
  max-width: 380px;
  min-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.launcher-title {
  color: #22a5e5;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.launcher-desc {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.launcher-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  color: #cccccc;
}

.launcher-benefits li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.launcher-benefits li::before {
  content: '✓';
  color: #4ade80;
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
}

.wiki-button,
.guide-button {
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  min-height: 46px;
  width: 100%;
}

.wiki-button {
  background: linear-gradient(135deg, #22a5e5 0%, #1a8bc4 100%);
}

.wiki-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 165, 229, 0.3);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.guide-button {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.guide-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 211, 153, 0.3);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.wiki-button:active,
.guide-button:active {
  transform: translateY(0);
}

.features-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  height: 100%;
  flex: 1 1 500px;
  min-width: 320px;
  max-width: 560px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.feature-item {
  display: block;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.text-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-title {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.version-badge {
  display: inline-block;
  background: rgba(34, 165, 229, 0.2);
  border: 1px solid rgba(34, 165, 229, 0.4);
  color: #22a5e5;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ip-container {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.15rem auto 0;
  padding: 0.1rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.ip-container:hover {
  background: transparent;
  border-color: transparent;
}

.ip-text {
  color: #60cbff;
  font-family: var(--font-code);
  font-size: 1.1rem;
  font-weight: 700;
  user-select: all;
  background: transparent;
  border: none;
  padding: 0;
  flex: 0 0 auto;
  min-width: 0;
}

.copy-button {
  background: transparent;
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #22a5e5;
}

.copy-button:hover {
  background: rgba(34, 165, 229, 0.14);
  transform: scale(1.03);
}

.copy-button:active {
  transform: scale(0.95);
}

.copy-button i {
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
}

.copy-button.copied {
  color: #4ade80;
  border-color: transparent;
  background: rgba(74, 222, 128, 0.12);
}

/* ===================== RESPONSIVO ===================== */

/* ≤991px */
@media (max-width: 991px) {
  .features-header {
    margin-bottom: 2rem;
  }

  .launcher-section {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .button-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .wiki-button,
  .guide-button {
    width: 100%;
    padding: 8px 16px;
  }

  .features-list {
    gap: 0.85rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .servers-shell {
    padding: 1.1rem;
  }

  .feature-title {
    font-size: 1.45rem;
    gap: 0.5rem;
  }

  .version-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .ip-container {
    padding: 0.4rem 0.6rem;
  }

  .ip-text {
    font-size: 0.96rem;
  }

  .copy-button {
    padding: 0.35rem 0.5rem;
  }

  .copy-button i {
    font-size: 0.75rem;
    width: 12px;
  }
}

/* iPad 768px–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .button-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .wiki-button,
  .guide-button {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
  }

  .launcher-section {
    padding: 1.5rem;
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .features-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .servers-shell {
    padding: 1rem;
  }

  .features-list {
    order: 1;
  }

  .launcher-section {
    order: 2;
    margin-bottom: 0;
    padding: 0.5rem 1rem 1rem;
  }
}

/* Ultra-small ≤360px */
@media (max-width: 360px) {
  .launcher-section {
    padding: 1rem;
  }

  .launcher-title {
    font-size: 1.05rem;
  }

  .launcher-desc {
    font-size: 0.85rem;
  }

  .launcher-benefits li {
    font-size: 0.82rem;
    padding: 0.3rem 0;
  }

  .wiki-button,
  .guide-button {
    padding: 8px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .ip-container {
    max-width: 100%;
    padding: 0.35rem 0.5rem;
    gap: 0.35rem;
  }

  .ip-text {
    font-size: 0.78rem;
  }
}
