.box {
  margin-top: 80px;
}

.box-title {
  margin-bottom: 40px;
}

.math-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.math-tiles-tile {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #e6eef8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.math-tiles-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.math-tiles-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 183, 0.12),
    rgba(110, 231, 183, 0.04)
  );
  border: 1px solid rgba(110, 231, 183, 0.15);
  flex-shrink: 0;
  color: #6ee7b7;
}

.math-tiles-logo svg {
  width: 32px;
  height: 32px;
}

.math-tiles-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.math-tiles-title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.math-tiles-subtitle {
  font-size: 14px;
  color: #cacaca;
  margin: 0;
}

@media (max-width: 991px) {
  .math-tiles-tile {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .box {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  .math-tiles {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .math-tiles-tile {
    flex-direction: column;
  }
}
