.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.purple-accent {
  position: fixed; 
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(138, 85, 255, 0.2) 0%, rgba(138, 85, 255, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none; 
}

.purple-accent.bottom-left {
  top: auto;
  right: auto;
  bottom: -150px;
  left: -150px;
}

.main-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin: 20px auto 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.card-header {
  padding: 30px 40px 10px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.header-content {
  flex: 1;
}

.card-title {
  font-size: var(--font-size-title);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-white);
}

.card-subtitle {
  font-size: var(--font-size-subtitle);
  color: var(--text-gray);
}

.mascot-container {
  max-width: 200px;
}

.mascot {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mascot:hover {
  transform: scale(1.02);
}

.card-body {
  padding: 40px;
  position: relative;
}

.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
  margin-top: 56px;
}

.content-sections {
  display: none;
  margin-top: 30px;
  position: relative;
}

.section-back {
  margin-bottom: 30px;
  position: absolute;
  top: -66px;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 101;
}

.section-back::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(138, 85, 255, 0.1), rgba(255, 255, 255, 0.03));
  margin-left: 20px;
  opacity: 0.5;
}

.section-content {
  color: var(--text-gray);
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-content h2 {
  font-size: calc(var(--font-size-title) - 4px);
  margin-bottom: 20px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 12px 15px;
  position: relative;
  border-radius: 8px;
  background-color: rgba(40, 40, 50, 0.5);
  box-shadow: none;
  border: none;
}

.section-content h2 i {
  color: var(--primary-purple);
  font-size: 28px;
  margin-right: 0;
}

footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 30px;
}

.footer-text {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.copyright {
  font-size: 12px;
  color: var(--text-gray);
}

.heart {
  color: var(--diretor-color);
  display: inline-block;
}

@media (max-width: 768px) {
  .hub-cards {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .header-content {
    margin-bottom: 20px;
  }

  .mascot-container {
    margin-left: 0;
    order: -1;
    margin-bottom: 20px;
  }

  .card-body {
    padding: 30px 20px;
  }

  .section-content h2 {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    box-shadow: none;
    border: none;
  }

  .section-content h2 i {
    margin-right: 0;
    margin-bottom: 0;
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .section-back {
    position: relative;
    top: auto;
    margin-bottom: 20px;
    margin-top: 10px;
    z-index: 1;
  }

  .section-back::after {
    display: none;
  }

  .section-content {
    margin-top: 20px;
  }

  .search-container {
    z-index: 102;
    position: relative;
  }
}

@media (max-width: 480px) {
  .card-title {
    font-size: var(--font-size-title);
  }

  .card-subtitle {
    font-size: var(--font-size-subtitle);
  }

  .hub-cards {
    grid-template-columns: 1fr;
  }
}