/* Ajuste desktop compacto */
@media (min-width: 1200px) {
  .sidebar {
    width: 230px;
    padding: 22px 16px;
  }

  .main {
    margin-left: 230px;
    width: calc(100% - 230px);
  }

  .topbar {
    height: 68px;
    padding: 0 26px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    padding: 22px 28px;
  }

  .hero {
    min-height: 300px;
    padding: 42px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-buttons button {
    height: 46px;
    padding: 0 26px;
  }

  .courses {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .course-img {
    height: 120px;
    font-size: 24px;
  }

  .course-body {
    padding: 15px;
  }

  .categories {
    gap: 14px;
  }

  .categories div {
    min-height: 88px;
  }

  .community,
  .messages {
    padding: 18px;
  }

  .post {
    padding: 14px;
  }

  .chat-box {
    width: 330px;
    height: 460px;
    right: 26px;
    bottom: 20px;
  }

  .chat-body {
    height: 295px;
  }
}


@media (min-width: 1200px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .hero {
    min-height: 260px;
    padding: 36px 42px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-visual {
    height: 220px;
  }

  .server-card {
    width: 280px;
    height: 180px;
    right: 10px;
    top: 20px;
  }

  .play-btn {
    width: 58px;
    height: 58px;
    left: 105px;
    top: 82px;
  }

  .features {
    padding: 16px;
  }

  .course-img {
    height: 105px;
  }

  .course-body h3 {
    font-size: 14px;
  }

  .right-panel {
    max-width: 320px;
    overflow: hidden;
  }

  .chat-box {
    width: 300px;
    height: 410px;
    right: 22px;
    bottom: 16px;
  }

  .chat-header {
    height: 62px;
  }

  .chat-body {
    height: 270px;
    padding: 14px;
  }

  .chat-input {
    height: 78px;
  }

  .bubble {
    font-size: 12px;
    padding: 10px 12px;
  }
}